
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::do_get_time(std::istreambuf_iterator<char, std::char_traits<char> >,
   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)
   const */

void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_time(void)

{
}



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

void FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  undefined4 *unaff_retaddr;
  int *local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x42c809;
  iVar1 = FUN_003c4a50(param_7 + 0x1b);
  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,
               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));
  bVar3 = local_24[0] == -1;
  bVar2 = local_28 != (int *)0x0 && bVar3;
  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {
    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);
    if (iVar1 == -1) {
      local_28 = (int *)0x0;
    }
    bVar3 = iVar1 == -1 && bVar2;
  }
  bVar2 = param_5 == -1;
  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))
  {
    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_28;
  unaff_retaddr[1] = local_24[0];
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x1bd7f7
SUB ESP,0x28
MOV EAX,dword ptr [ESP + 0x54]
MOV ESI,dword ptr [ESP + 0x44]
MOV EDI,dword ptr [ESP + 0x48]
ADD EAX,0x6c
PUSH EAX
CALL 0x003c4a50
LEA EBP,[ESP + 0x18]
POP EDX
POP ECX
MOV EAX,dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x10]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
PUSH EDI
PUSH ESI
PUSH dword ptr [ESP + 0x5c]
PUSH EBP
CALL 0x0042b890
MOV EDI,dword ptr [ESP + 0x38]
MOV ESI,dword ptr [ESP + 0x34]
ADD ESP,0x2c
CMP EDI,-0x1
MOV EBP,ESI
SETZ BL
TEST ESI,ESI
SETNZ DL
AND DL,BL
JNZ 0x0042c8d0
MOV EDX,dword ptr [ESP + 0x40]
CMP dword ptr [ESP + 0x44],-0x1
SETZ AL
TEST EDX,EDX
JZ 0x0042c883
TEST AL,AL
JNZ 0x0042c8a8
CMP BL,AL
JNZ 0x0042c88e
MOV EAX,dword ptr [ESP + 0x4c]
OR dword ptr [EAX],0x2
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX],EBP
MOV dword ptr [EAX + 0x4],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
XOR EAX,EAX
MOV ECX,dword ptr [EDX + 0xc]
CMP dword ptr [EDX + 0x8],ECX
JC 0x0042c883
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH dword ptr [ESP + 0x4c]
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
CMP EAX,-0x1
SETZ AL
JMP 0x0042c883
XOR EBX,EBX
MOV EAX,dword ptr [ESI + 0xc]
CMP dword ptr [ESI + 0x8],EAX
JC 0x0042c86f
MOV byte ptr [ESP + 0x7],DL
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x17]
ADD ESP,0x10
CMP EAX,-0x1
MOV EAX,0x0
CMOVZ EBX,EDX
CMOVZ EBP,EAX
JMP 0x0042c86f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}\n\n" comment (function_definition "void FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" primitive_type (function_declarator "FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x42c809;" (assignment_expression "uStack_14 = 0x42c809" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_003c4a50(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_003c4a50(param_7 + 0x1b)" identifier = (call_expression "FUN_003c4a50(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) )))) ;) (expression_statement "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));" (call_expression "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar1 + 8) + 0x10" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" identifier = (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" identifier = (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" if (parenthesized_expression "((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]))" ( (binary_expression "(bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" (parenthesized_expression "(bVar2)" ( identifier )) && (parenthesized_expression "(bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" ( (comma_expression "bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]" (assignment_expression "bVar3 = false" identifier = false) , (binary_expression "(uint)local_28[3] <= (uint)local_28[2]" (cast_expression "(uint)local_28[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" { (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" { (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" identifier = (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" identifier = (binary_expression "param_5 == -1" identifier == number_literal)) ;) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" if (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" ( (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" ( (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) && (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" ( (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_4[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" ( (pointer_expression "**(code **)(*param_4 + 0x24)" * (pointer_expression "*(code **)(*param_4 + 0x24)" * (cast_expression "(code **)(*param_4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x24)" ( (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" identifier = (binary_expression "iVar1 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar3 == bVar2)" ( (binary_expression "bVar3 == bVar2" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >\n   >::do_get_time(std::istreambuf_iterator<char, std::char_traits<char> >,\n   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)\n   const */\n\nvoid std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_time(void)\n\n{\n}\n\n" comment comment (ERROR "void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_time(void)" primitive_type (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::" identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "std::char_traits<char>>>::" identifier : : identifier < primitive_type >> > : :) (function_declarator "do_get_time(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}\n\n" (function_definition "void FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" primitive_type (function_declarator "FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "int param_5" primitive_type identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 param_8" type_identifier identifier) , (parameter_declaration "undefined4 param_9" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_28;" primitive_type (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24 [4];" primitive_type (array_declarator "local_24 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x42c809;" (assignment_expression "uStack_14 = 0x42c809" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_003c4a50(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_003c4a50(param_7 + 0x1b)" identifier = (call_expression "FUN_003c4a50(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) )))) ;) (expression_statement "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));" (call_expression "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" identifier (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" * (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar1 + 8) + 0x10" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" identifier = (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" identifier = (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" if (parenthesized_expression "((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]))" ( (binary_expression "(bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" (parenthesized_expression "(bVar2)" ( identifier )) && (parenthesized_expression "(bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" ( (comma_expression "bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]" (assignment_expression "bVar3 = false" identifier = false) , (binary_expression "(uint)local_28[3] <= (uint)local_28[2]" (cast_expression "(uint)local_28[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" { (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" identifier = (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" ( (pointer_expression "**(code **)(*local_28 + 0x24)" * (pointer_expression "*(code **)(*local_28 + 0x24)" * (cast_expression "(code **)(*local_28 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_28 + 0x24)" ( (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" * identifier) + number_literal) ))))) )) (argument_list "(local_28)" ( identifier )))) ;) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar1 == -1)" ( (binary_expression "iVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" { (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" identifier = (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" identifier = (binary_expression "param_5 == -1" identifier == number_literal)) ;) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" if (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" ( (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" ( (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" ( (binary_expression "param_4 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar2)" ( identifier ))) )) && (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" ( (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" identifier = false) , (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_4[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_4[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" { (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" identifier = (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" ( (pointer_expression "**(code **)(*param_4 + 0x24)" * (pointer_expression "*(code **)(*param_4 + 0x24)" * (cast_expression "(code **)(*param_4 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_4 + 0x24)" ( (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" * identifier) + number_literal) ))))) )) (argument_list "(param_4)" ( identifier )))) ;) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" identifier = (binary_expression "iVar1 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar3 == bVar2)" ( (binary_expression "bVar3 == bVar2" identifier == identifier) )) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" { (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" * identifier) = (binary_expression "*param_7 | 2" (pointer_expression "*param_7" * identifier) | number_literal)) ;) })) (expression_statement "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_24[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT == LIT) && IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( IDENT ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })))
(function_definition "void FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)\n\n{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0042c800(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" (identifier "FUN_0042c800") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,\n                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) (, ",") (parameter_declaration "uint *param_7" (type_identifier "uint") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "undefined4 param_8" (type_identifier "undefined4") (identifier "param_8")) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  bool bVar3;\n  undefined4 *unaff_retaddr;\n  int *local_28;\n  int local_24 [4];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x42c809;\n  iVar1 = FUN_003c4a50(param_7 + 0x1b);\n  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));\n  bVar3 = local_24[0] == -1;\n  bVar2 = local_28 != (int *)0x0 && bVar3;\n  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }\n  bVar2 = param_5 == -1;\n  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }\n  if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_28;\n  unaff_retaddr[1] = local_24[0];\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "int *local_28;" (primitive_type "int") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (declaration "int local_24 [4];" (primitive_type "int") (array_declarator "local_24 [4]" (identifier "local_24") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x42c809;" (assignment_expression "uStack_14 = 0x42c809" (identifier "uStack_14") (= "=") (number_literal "0x42c809")) (; ";")) (expression_statement "iVar1 = FUN_003c4a50(param_7 + 0x1b);" (assignment_expression "iVar1 = FUN_003c4a50(param_7 + 0x1b)" (identifier "iVar1") (= "=") (call_expression "FUN_003c4a50(param_7 + 0x1b)" (identifier "FUN_003c4a50") (argument_list "(param_7 + 0x1b)" (( "(") (binary_expression "param_7 + 0x1b" (identifier "param_7") (+ "+") (number_literal "0x1b")) () ")")))) (; ";")) (expression_statement "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));" (call_expression "FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" (identifier "FUN_0042b890") (argument_list "(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,\n               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10))" (( "(") (identifier "local_24") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") (, ",") (identifier "param_9") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar1 + 8) + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(iVar1 + 8) + 0x10" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "bVar3 = local_24[0] == -1;" (assignment_expression "bVar3 = local_24[0] == -1" (identifier "bVar3") (= "=") (binary_expression "local_24[0] == -1" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar2 = local_28 != (int *)0x0 && bVar3;" (assignment_expression "bVar2 = local_28 != (int *)0x0 && bVar3" (identifier "bVar2") (= "=") (binary_expression "local_28 != (int *)0x0 && bVar3" (binary_expression "local_28 != (int *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar3"))) (; ";")) (if_statement "if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" (if "if") (parenthesized_expression "((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]))" (( "(") (binary_expression "(bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (&& "&&") (parenthesized_expression "(bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])" (( "(") (comma_expression "bVar3 = false, (uint)local_28[3] <= (uint)local_28[2]" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (, ",") (binary_expression "(uint)local_28[3] <= (uint)local_28[2]" (cast_expression "(uint)local_28[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_28[3]" (identifier "local_28") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)local_28[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);\n    if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }\n    bVar3 = iVar1 == -1 && bVar2;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*local_28 + 0x24))(local_28);" (assignment_expression "iVar1 = (**(code **)(*local_28 + 0x24))(local_28)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*local_28 + 0x24))(local_28)" (parenthesized_expression "(**(code **)(*local_28 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_28 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_28 + 0x24)" (* "*") (cast_expression "(code **)(*local_28 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_28 + 0x24)" (( "(") (binary_expression "*local_28 + 0x24" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_28)" (( "(") (identifier "local_28") () ")")))) (; ";")) (if_statement "if (iVar1 == -1) {\n      local_28 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar1 == -1)" (( "(") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      local_28 = (int *)0x0;\n    }" ({ "{") (expression_statement "local_28 = (int *)0x0;" (assignment_expression "local_28 = (int *)0x0" (identifier "local_28") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "bVar3 = iVar1 == -1 && bVar2;" (assignment_expression "bVar3 = iVar1 == -1 && bVar2" (identifier "bVar3") (= "=") (binary_expression "iVar1 == -1 && bVar2" (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1")) (&& "&&") (identifier "bVar2"))) (; ";")) (} "}"))) (expression_statement "bVar2 = param_5 == -1;" (assignment_expression "bVar2 = param_5 == -1" (identifier "bVar2") (= "=") (binary_expression "param_5 == -1" (identifier "param_5") (== "==") (number_literal "-1"))) (; ";")) (if_statement "if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))\n  {\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" (if "if") (parenthesized_expression "(((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))" (( "(") (binary_expression "((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (parenthesized_expression "((param_4 != (int *)0x0) && (bVar2))" (( "(") (binary_expression "(param_4 != (int *)0x0) && (bVar2)" (parenthesized_expression "(param_4 != (int *)0x0)" (( "(") (binary_expression "param_4 != (int *)0x0" (identifier "param_4") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar2 = false, (uint)param_4[3] <= (uint)param_4[2])" (( "(") (comma_expression "bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (, ",") (binary_expression "(uint)param_4[3] <= (uint)param_4[2]" (cast_expression "(uint)param_4[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[3]" (identifier "param_4") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)param_4[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_4[2]" (identifier "param_4") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);\n    bVar2 = iVar1 == -1;\n  }" ({ "{") (expression_statement "iVar1 = (**(code **)(*param_4 + 0x24))(param_4);" (assignment_expression "iVar1 = (**(code **)(*param_4 + 0x24))(param_4)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*param_4 + 0x24))(param_4)" (parenthesized_expression "(**(code **)(*param_4 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_4 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_4 + 0x24)" (* "*") (cast_expression "(code **)(*param_4 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_4 + 0x24)" (( "(") (binary_expression "*param_4 + 0x24" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_4)" (( "(") (identifier "param_4") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 == -1;" (assignment_expression "bVar2 = iVar1 == -1" (identifier "bVar2") (= "=") (binary_expression "iVar1 == -1" (identifier "iVar1") (== "==") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (bVar3 == bVar2) {\n    *param_7 = *param_7 | 2;\n  }" (if "if") (parenthesized_expression "(bVar3 == bVar2)" (( "(") (binary_expression "bVar3 == bVar2" (identifier "bVar3") (== "==") (identifier "bVar2")) () ")")) (compound_statement "{\n    *param_7 = *param_7 | 2;\n  }" ({ "{") (expression_statement "*param_7 = *param_7 | 2;" (assignment_expression "*param_7 = *param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (binary_expression "*param_7 | 2" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "*unaff_retaddr = local_28;" (assignment_expression "*unaff_retaddr = local_28" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (= "=") (identifier "local_28")) (; ";")) (expression_statement "unaff_retaddr[1] = local_24[0];" (assignment_expression "unaff_retaddr[1] = local_24[0]" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::time_get<char, std::istreambuf_iterator<char, std::char_traits<char> >
   >::do_get_time(std::istreambuf_iterator<char, std::char_traits<char> >,
   std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*)
   const */

void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::do_get_time(void)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (false)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (identifier)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (false)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,int *param_4,int param_5,
                 undefined4 param_6,uint *param_7,undefined4 param_8,undefined4 param_9)

{
  int iVar1;
  bool bVar2;
  bool bVar3;
  undefined4 *unaff_retaddr;
  int *local_28;
  int local_24 [4];
  undefined4 uStack_14;
  
  uStack_14 = 0x42c809;
  iVar1 = FUN_003c4a50(param_7 + 0x1b);
  FUN_0042b890(local_24,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,
               *(undefined4 *)(*(int *)(iVar1 + 8) + 0x10));
  bVar3 = local_24[0] == -1;
  bVar2 = local_28 != (int *)0x0 && bVar3;
  if ((bVar2) && (bVar3 = false, (uint)local_28[3] <= (uint)local_28[2])) {
    iVar1 = (**(code **)(*local_28 + 0x24))(local_28);
    if (iVar1 == -1) {
      local_28 = (int *)0x0;
    }
    bVar3 = iVar1 == -1 && bVar2;
  }
  bVar2 = param_5 == -1;
  if (((param_4 != (int *)0x0) && (bVar2)) && (bVar2 = false, (uint)param_4[3] <= (uint)param_4[2]))
  {
    iVar1 = (**(code **)(*param_4 + 0x24))(param_4);
    bVar2 = iVar1 == -1;
  }
  if (bVar3 == bVar2) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_28;
  unaff_retaddr[1] = local_24[0];
  return;
}

