
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int stmtNext(sqlite3_vtab_cursor *cur)

{
  sqlite3_vtab_cursor *psVar1;
  sqlite3_vtab *psVar2;
  
  psVar1 = cur + 3;
  psVar2 = psVar1->pVtab;
  psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1);
  cur[4].pVtab = (sqlite3_vtab *)
                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2));
  psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab);
  cur[2].pVtab = psVar2;
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_000207a0(int param_1)

{
  uint *puVar1;
  uint uVar2;
  undefined4 uVar3;
  
  puVar1 = (uint *)(param_1 + 0xc);
  uVar2 = *puVar1;
  *puVar1 = *puVar1 + 1;
  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);
  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));
  *(undefined4 *)(param_1 + 8) = uVar3;
  return 0;
}


PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x12872d
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
ADD dword ptr [ESI + 0xc],0x1
ADC dword ptr [ESI + 0x10],0x0
PUSH dword ptr [ESI + 0x8]
PUSH dword ptr [ESI + 0x4]
CALL 0x0001bc60
MOV dword ptr [ESI + 0x8],EAX
ADD ESP,0x14
XOR EAX,EAX
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000207a0(int param_1)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_000207a0(int param_1)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" type_identifier (function_declarator "FUN_000207a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = (uint *)(param_1 + 0xc);" (assignment_expression "puVar1 = (uint *)(param_1 + 0xc)" identifier = (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = *puVar1 + 1;" (assignment_expression "*puVar1 = *puVar1 + 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 + 1" (pointer_expression "*puVar1" * identifier) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (call_expression "(uint)(0xfffffffe < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar2)" ( (binary_expression "0xfffffffe < uVar2" number_literal < identifier) ))))) ;) (expression_statement "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" identifier = (call_expression "FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint stmtNext(sqlite3_vtab_cursor *cur)\n\n{\n  sqlite3_vtab_cursor *psVar1;\n  sqlite3_vtab *psVar2;\n  \n  psVar1 = cur + 3;\n  psVar2 = psVar1->pVtab;\n  psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1);\n  cur[4].pVtab = (sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2));\n  psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab);\n  cur[2].pVtab = psVar2;\n  return 0;\n}\n\n" comment comment (function_definition "int stmtNext(sqlite3_vtab_cursor *cur)\n\n{\n  sqlite3_vtab_cursor *psVar1;\n  sqlite3_vtab *psVar2;\n  \n  psVar1 = cur + 3;\n  psVar2 = psVar1->pVtab;\n  psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1);\n  cur[4].pVtab = (sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2));\n  psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab);\n  cur[2].pVtab = psVar2;\n  return 0;\n}" primitive_type (function_declarator "stmtNext(sqlite3_vtab_cursor *cur)" identifier (parameter_list "(sqlite3_vtab_cursor *cur)" ( (parameter_declaration "sqlite3_vtab_cursor *cur" type_identifier (pointer_declarator "*cur" * identifier)) ))) (compound_statement "{\n  sqlite3_vtab_cursor *psVar1;\n  sqlite3_vtab *psVar2;\n  \n  psVar1 = cur + 3;\n  psVar2 = psVar1->pVtab;\n  psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1);\n  cur[4].pVtab = (sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2));\n  psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab);\n  cur[2].pVtab = psVar2;\n  return 0;\n}" { (declaration "sqlite3_vtab_cursor *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "sqlite3_vtab *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (expression_statement "psVar1 = cur + 3;" (assignment_expression "psVar1 = cur + 3" identifier = (binary_expression "cur + 3" identifier + number_literal)) ;) (expression_statement "psVar2 = psVar1->pVtab;" (assignment_expression "psVar2 = psVar1->pVtab" identifier = (field_expression "psVar1->pVtab" identifier -> field_identifier)) ;) (expression_statement "psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1);" (assignment_expression "psVar1->pVtab = (sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1)" (field_expression "psVar1->pVtab" identifier -> field_identifier) = (cast_expression "(sqlite3_vtab *)((int)&psVar1->pVtab->pModule + 1)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar1->pVtab->pModule + 1)" ( (binary_expression "(int)&psVar1->pVtab->pModule + 1" (cast_expression "(int)&psVar1->pVtab->pModule" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar1->pVtab->pModule" & (field_expression "psVar1->pVtab->pModule" (field_expression "psVar1->pVtab" identifier -> field_identifier) -> field_identifier))) + number_literal) )))) ;) (expression_statement "cur[4].pVtab = (sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2));" (assignment_expression "cur[4].pVtab = (sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2))" (field_expression "cur[4].pVtab" (subscript_expression "cur[4]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)\n                 ((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2))" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2))" ( (binary_expression "(int)&(cur[4].pVtab)->pModule + (uint)((sqlite3_vtab *)0xfffffffe < psVar2)" (cast_expression "(int)&(cur[4].pVtab)->pModule" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(cur[4].pVtab)->pModule" & (field_expression "(cur[4].pVtab)->pModule" (parenthesized_expression "(cur[4].pVtab)" ( (field_expression "cur[4].pVtab" (subscript_expression "cur[4]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier))) + (call_expression "(uint)((sqlite3_vtab *)0xfffffffe < psVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((sqlite3_vtab *)0xfffffffe < psVar2)" ( (binary_expression "(sqlite3_vtab *)0xfffffffe < psVar2" (cast_expression "(sqlite3_vtab *)0xfffffffe" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )))) )))) ;) (expression_statement "psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab);" (assignment_expression "psVar2 = (sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab)" identifier = (cast_expression "(sqlite3_vtab *)sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_next_stmt((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab)" identifier (argument_list "((sqlite3 *)cur[1].pVtab,(sqlite3_stmt *)cur[2].pVtab)" ( (cast_expression "(sqlite3 *)cur[1].pVtab" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "cur[1].pVtab" (subscript_expression "cur[1]" identifier [ number_literal ]) . field_identifier)) , (cast_expression "(sqlite3_stmt *)cur[2].pVtab" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "cur[2].pVtab" (subscript_expression "cur[2]" identifier [ number_literal ]) . field_identifier)) ))))) ;) (expression_statement "cur[2].pVtab = psVar2;" (assignment_expression "cur[2].pVtab = psVar2" (field_expression "cur[2].pVtab" (subscript_expression "cur[2]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000207a0(int param_1)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000207a0(int param_1)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" type_identifier (function_declarator "FUN_000207a0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar1 = (uint *)(param_1 + 0xc);" (assignment_expression "puVar1 = (uint *)(param_1 + 0xc)" identifier = (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) ;) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*puVar1 = *puVar1 + 1;" (assignment_expression "*puVar1 = *puVar1 + 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 + 1" (pointer_expression "*puVar1" * identifier) + number_literal)) ;) (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + (call_expression "(uint)(0xfffffffe < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xfffffffe < uVar2)" ( (binary_expression "0xfffffffe < uVar2" number_literal < identifier) ))))) ;) (expression_statement "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" identifier = (call_expression "FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000207a0(int param_1)\n\n{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000207a0(int param_1)" (identifier "FUN_000207a0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  \n  puVar1 = (uint *)(param_1 + 0xc);\n  uVar2 = *puVar1;\n  *puVar1 = *puVar1 + 1;\n  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);\n  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));\n  *(undefined4 *)(param_1 + 8) = uVar3;\n  return 0;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "puVar1 = (uint *)(param_1 + 0xc);" (assignment_expression "puVar1 = (uint *)(param_1 + 0xc)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "uVar2 = *puVar1;" (assignment_expression "uVar2 = *puVar1" (identifier "uVar2") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*puVar1 = *puVar1 + 1;" (assignment_expression "*puVar1 = *puVar1 + 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 + 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2)" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (call_expression "(uint)(0xfffffffe < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xfffffffe < uVar2)" (( "(") (binary_expression "0xfffffffe < uVar2" (number_literal "0xfffffffe") (< "<") (identifier "uVar2")) () ")"))))) (; ";")) (expression_statement "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));" (assignment_expression "uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" (identifier "uVar3") (= "=") (call_expression "FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" (identifier "FUN_0001bc60") (argument_list "(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *var_1)

{
  type_1 *psVar1;
  type_2 *var_2;
  
  psVar1 = var_1 + 3;
  var_2 = psVar1->pVtab;
  psVar1->pVtab = (type_2 *)((int)&psVar1->pVtab->pModule + 1);
  var_1[4].pVtab = (type_2 *)
                 ((int)&(var_1[4].pVtab)->pModule + (uint)((type_2 *)0xfffffffe < var_2));
  var_2 = (type_2 *)var_3((type_3 *)var_1[1].pVtab,(type_4 *)var_1[2].pVtab);
  var_1[2].pVtab = var_2;
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(int param_1)

{
  uint *puVar1;
  uint uVar2;
  undefined4 uVar3;
  
  puVar1 = (uint *)(param_1 + 0xc);
  uVar2 = *puVar1;
  *puVar1 = *puVar1 + 1;
  *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + (uint)(0xfffffffe < uVar2);
  uVar3 = FUN_0001bc60(*(undefined4 *)(param_1 + 4),*(undefined4 *)(param_1 + 8));
  *(undefined4 *)(param_1 + 8) = uVar3;
  return 0;
}

