
/* 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> >
   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,
   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */

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

{
}



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

void FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,
                 char param_10,char param_11)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  bool bVar4;
  undefined4 *unaff_retaddr;
  int *local_38;
  int local_34 [5];
  undefined1 local_20;
  char local_1f;
  char local_1e;
  undefined1 local_1d;
  undefined4 uStack_14;
  
  uStack_14 = 0x3c96b9;
  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);
  *param_8 = 0;
  if ((char)piVar1[7] == '\0') {
    FUN_003f3f90(piVar1);
    local_20 = 0x25;
    local_38 = piVar1;
    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {
      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);
    }
  }
  else {
    local_20 = *(undefined1 *)((int)piVar1 + 0x42);
  }
  if (param_11 == '\0') {
    local_1e = '\0';
    local_1f = param_10;
  }
  else {
    local_1d = 0;
    local_1f = param_11;
    local_1e = param_10;
  }
  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);
  bVar4 = local_34[0] == -1;
  bVar3 = local_38 != (int *)0x0 && bVar4;
  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {
    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);
    if (iVar2 == -1) {
      local_38 = (int *)0x0;
    }
    bVar4 = iVar2 == -1 && bVar3;
  }
  bVar3 = param_6 == -1;
  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))
  {
    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);
    bVar3 = iVar2 == -1;
  }
  if (bVar4 == bVar3) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_38;
  unaff_retaddr[1] = local_34[0];
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x220947
SUB ESP,0x48
MOV EAX,dword ptr [ESP + 0x70]
MOV ESI,dword ptr [ESP + 0x6c]
MOV EBP,dword ptr [ESP + 0x80]
MOV EDI,dword ptr [ESP + 0x84]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x74]
MOV dword ptr [ESP + 0x14],ESI
ADD EAX,0x6c
PUSH EAX
CALL 0x003c30b0
MOV ECX,dword ptr [ESP + 0x7c]
ADD ESP,0x10
MOV dword ptr [ECX],0x0
CMP byte ptr [EAX + 0x1c],0x0
JZ 0x003c97c0
MOVZX EDX,byte ptr [EAX + 0x42]
MOV EAX,EDI
MOV byte ptr [ESP + 0x2c],DL
TEST AL,AL
JZ 0x003c97b0
MOV byte ptr [ESP + 0x2d],AL
MOV EAX,EBP
MOV byte ptr [ESP + 0x2e],AL
MOV byte ptr [ESP + 0x2f],0x0
LEA EAX,[ESP + 0x18]
SUB ESP,0x8
LEA EDX,[ESP + 0x34]
PUSH EDX
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH dword ptr [ESP + 0x7c]
PUSH EAX
CALL 0x003c8af0
MOV EBP,dword ptr [ESP + 0x48]
MOV EAX,dword ptr [ESP + 0x44]
ADD ESP,0x2c
CMP EBP,-0x1
MOV EDI,EAX
SETZ BL
TEST EAX,EAX
SETNZ DL
AND DL,BL
JNZ 0x003c9800
CMP dword ptr [ESP + 0x10],-0x1
SETZ AL
TEST ESI,ESI
JZ 0x003c978f
TEST AL,AL
JNZ 0x003c9840
CMP BL,AL
JNZ 0x003c979a
MOV EAX,dword ptr [ESP + 0x6c]
OR dword ptr [EAX],0x2
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [EAX],EDI
MOV dword ptr [EAX + 0x4],EBP
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,EBP
MOV byte ptr [ESP + 0x2e],0x0
MOV byte ptr [ESP + 0x2d],AL
JMP 0x003c9729
SUB ESP,0xc
PUSH EAX
MOV dword ptr [ESP + 0x24],EAX
CALL 0x003f3f90
MOV EAX,dword ptr [ESP + 0x24]
ADD ESP,0x10
MOV EDX,dword ptr [EAX]
MOV ECX,dword ptr [EDX + 0x18]
MOV EDX,0x25
CMP ECX,dword ptr [EBX + 0xfffffd2c]
JZ 0x003c970c
SUB ESP,0x8
PUSH 0x25
PUSH EAX
CALL ECX
MOV EDX,EAX
ADD ESP,0x10
JMP 0x003c970c
XOR EBX,EBX
MOV ECX,dword ptr [EAX + 0xc]
CMP dword ptr [EAX + 0x8],ECX
JC 0x003c977b
MOV byte ptr [ESP + 0x8],DL
SUB ESP,0xc
MOV ECX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [ECX + 0x24]
MOVZX EDX,byte ptr [ESP + 0x18]
ADD ESP,0x10
CMP EAX,-0x1
MOV EAX,0x0
CMOVZ EBX,EDX
CMOVZ EDI,EAX
JMP 0x003c977b
XOR EAX,EAX
MOV ECX,dword ptr [ESI + 0xc]
CMP dword ptr [ESI + 0x8],ECX
JC 0x003c978f
SUB ESP,0xc
MOV EAX,dword ptr [ESI]
PUSH ESI
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
CMP EAX,-0x1
SETZ AL
JMP 0x003c978f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}\n\n" comment (function_definition "void FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" primitive_type (function_declarator "FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" ( (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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "char param_10" primitive_type identifier) , (parameter_declaration "char param_11" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34 [5];" primitive_type (array_declarator "local_34 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "char local_1f;" primitive_type identifier ;) (declaration "char local_1e;" primitive_type identifier ;) (declaration "undefined1 local_1d;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3c96b9;" (assignment_expression "uStack_14 = 0x3c96b9" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b)" identifier = (cast_expression "(int *)FUN_003c30b0(param_7 + 0x1b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003c30b0(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }" { (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "local_20 = 0x25;" (assignment_expression "local_20 = 0x25" identifier = number_literal) ;) (expression_statement "local_38 = piVar1;" (assignment_expression "local_38 = piVar1" identifier = identifier) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_005e9d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" { (expression_statement "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);" (assignment_expression "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x25)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" else (compound_statement "{\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" { (expression_statement "local_20 = *(undefined1 *)((int)piVar1 + 0x42);" (assignment_expression "local_20 = *(undefined1 *)((int)piVar1 + 0x42)" identifier = (pointer_expression "*(undefined1 *)((int)piVar1 + 0x42)" * (cast_expression "(undefined1 *)((int)piVar1 + 0x42)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x42)" ( (binary_expression "(int)piVar1 + 0x42" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" if (parenthesized_expression "(param_11 == '\0')" ( (binary_expression "param_11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_1e = '\0';\n    local_1f = param_10;\n  }" { (expression_statement "local_1e = '\0';" (assignment_expression "local_1e = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_1f = param_10;" (assignment_expression "local_1f = param_10" identifier = identifier) ;) }) (else_clause "else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" else (compound_statement "{\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" { (expression_statement "local_1d = 0;" (assignment_expression "local_1d = 0" identifier = number_literal) ;) (expression_statement "local_1f = param_11;" (assignment_expression "local_1f = param_11" identifier = identifier) ;) (expression_statement "local_1e = param_10;" (assignment_expression "local_1e = param_10" identifier = identifier) ;) }))) (expression_statement "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);" (call_expression "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_20" & identifier) ))) ;) (expression_statement "bVar4 = local_34[0] == -1;" (assignment_expression "bVar4 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar3 = local_38 != (int *)0x0 && bVar4;" (assignment_expression "bVar3 = local_38 != (int *)0x0 && bVar4" identifier = (binary_expression "local_38 != (int *)0x0 && bVar4" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" if (parenthesized_expression "((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]))" ( (binary_expression "(bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" (parenthesized_expression "(bVar3)" ( identifier )) && (parenthesized_expression "(bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" ( (comma_expression "bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]" (assignment_expression "bVar4 = false" identifier = false) , (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_38[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" { (expression_statement "iVar2 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar2 = (**(code **)(*local_38 + 0x24))(local_38)" identifier = (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" ( (pointer_expression "**(code **)(*local_38 + 0x24)" * (pointer_expression "*(code **)(*local_38 + 0x24)" * (cast_expression "(code **)(*local_38 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_38 + 0x24)" ( (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" * identifier) + number_literal) ))))) )) (argument_list "(local_38)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      local_38 = (int *)0x0;\n    }" { (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar4 = iVar2 == -1 && bVar3;" (assignment_expression "bVar4 = iVar2 == -1 && bVar3" identifier = (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (if_statement "if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" if (parenthesized_expression "(((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))" ( (binary_expression "((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3)" ( identifier ))) )) && (parenthesized_expression "(bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" ( (comma_expression "bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]" (assignment_expression "bVar3 = false" identifier = false) , (binary_expression "(uint)param_5[3] <= (uint)param_5[2]" (cast_expression "(uint)param_5[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_5[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" { (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar4 == bVar3)" ( (binary_expression "bVar4 == bVar3" 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_38;" (assignment_expression "*unaff_retaddr = local_38" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_34[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   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,\n   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */\n\nvoid std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::get(void)\n\n{\n}\n\n" comment comment (ERROR "void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::get(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 "get(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n}" { }))
(translation_unit "void FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}\n\n" (function_definition "void FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" primitive_type (function_declarator "FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" ( (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 "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) , (parameter_declaration "uint *param_7" type_identifier (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "undefined4 *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "undefined4 param_9" type_identifier identifier) , (parameter_declaration "char param_10" primitive_type identifier) , (parameter_declaration "char param_11" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (declaration "int *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_34 [5];" primitive_type (array_declarator "local_34 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 local_20;" type_identifier identifier ;) (declaration "char local_1f;" primitive_type identifier ;) (declaration "char local_1e;" primitive_type identifier ;) (declaration "undefined1 local_1d;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3c96b9;" (assignment_expression "uStack_14 = 0x3c96b9" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b)" identifier = (cast_expression "(int *)FUN_003c30b0(param_7 + 0x1b)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003c30b0(param_7 + 0x1b)" identifier (argument_list "(param_7 + 0x1b)" ( (binary_expression "param_7 + 0x1b" identifier + number_literal) ))))) ;) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" * identifier) = number_literal) ;) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" if (parenthesized_expression "((char)piVar1[7] == '\0')" ( (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar1[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }" { (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "local_20 = 0x25;" (assignment_expression "local_20 = 0x25" identifier = number_literal) ;) (expression_statement "local_38 = piVar1;" (assignment_expression "local_38 = piVar1" identifier = identifier) ;) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" if (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" ( (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_005e9d2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" { (expression_statement "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);" (assignment_expression "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,0x25)" ( identifier , number_literal )))) ;) })) }) (else_clause "else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" else (compound_statement "{\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" { (expression_statement "local_20 = *(undefined1 *)((int)piVar1 + 0x42);" (assignment_expression "local_20 = *(undefined1 *)((int)piVar1 + 0x42)" identifier = (pointer_expression "*(undefined1 *)((int)piVar1 + 0x42)" * (cast_expression "(undefined1 *)((int)piVar1 + 0x42)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0x42)" ( (binary_expression "(int)piVar1 + 0x42" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) }))) (if_statement "if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" if (parenthesized_expression "(param_11 == '\0')" ( (binary_expression "param_11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_1e = '\0';\n    local_1f = param_10;\n  }" { (expression_statement "local_1e = '\0';" (assignment_expression "local_1e = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_1f = param_10;" (assignment_expression "local_1f = param_10" identifier = identifier) ;) }) (else_clause "else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" else (compound_statement "{\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" { (expression_statement "local_1d = 0;" (assignment_expression "local_1d = 0" identifier = number_literal) ;) (expression_statement "local_1f = param_11;" (assignment_expression "local_1f = param_11" identifier = identifier) ;) (expression_statement "local_1e = param_10;" (assignment_expression "local_1e = param_10" identifier = identifier) ;) }))) (expression_statement "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);" (call_expression "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" identifier (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&local_20" & identifier) ))) ;) (expression_statement "bVar4 = local_34[0] == -1;" (assignment_expression "bVar4 = local_34[0] == -1" identifier = (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" identifier [ number_literal ]) == number_literal)) ;) (expression_statement "bVar3 = local_38 != (int *)0x0 && bVar4;" (assignment_expression "bVar3 = local_38 != (int *)0x0 && bVar4" identifier = (binary_expression "local_38 != (int *)0x0 && bVar4" (binary_expression "local_38 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && identifier)) ;) (if_statement "if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" if (parenthesized_expression "((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]))" ( (binary_expression "(bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" (parenthesized_expression "(bVar3)" ( identifier )) && (parenthesized_expression "(bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" ( (comma_expression "bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]" (assignment_expression "bVar4 = false" identifier = false) , (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[3]" identifier [ number_literal ])) <= (cast_expression "(uint)local_38[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_38[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" { (expression_statement "iVar2 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar2 = (**(code **)(*local_38 + 0x24))(local_38)" identifier = (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" ( (pointer_expression "**(code **)(*local_38 + 0x24)" * (pointer_expression "*(code **)(*local_38 + 0x24)" * (cast_expression "(code **)(*local_38 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_38 + 0x24)" ( (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" * identifier) + number_literal) ))))) )) (argument_list "(local_38)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      local_38 = (int *)0x0;\n    }" { (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "bVar4 = iVar2 == -1 && bVar3;" (assignment_expression "bVar4 = iVar2 == -1 && bVar3" identifier = (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" identifier == number_literal) && identifier)) ;) })) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" identifier = (binary_expression "param_6 == -1" identifier == number_literal)) ;) (if_statement "if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" if (parenthesized_expression "(((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))" ( (binary_expression "((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" ( (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" ( (binary_expression "param_5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3)" ( identifier ))) )) && (parenthesized_expression "(bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" ( (comma_expression "bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]" (assignment_expression "bVar3 = false" identifier = false) , (binary_expression "(uint)param_5[3] <= (uint)param_5[2]" (cast_expression "(uint)param_5[3]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[3]" identifier [ number_literal ])) <= (cast_expression "(uint)param_5[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_5[2]" identifier [ number_literal ])))) ))) )) (compound_statement "{\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" { (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" identifier = (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" ( (pointer_expression "**(code **)(*param_5 + 0x24)" * (pointer_expression "*(code **)(*param_5 + 0x24)" * (cast_expression "(code **)(*param_5 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_5 + 0x24)" ( (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" * identifier) + number_literal) ))))) )) (argument_list "(param_5)" ( identifier )))) ;) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" identifier = (binary_expression "iVar2 == -1" identifier == number_literal)) ;) })) (if_statement "if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" if (parenthesized_expression "(bVar4 == bVar3)" ( (binary_expression "bVar4 == bVar3" 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_38;" (assignment_expression "*unaff_retaddr = local_38" (pointer_expression "*unaff_retaddr" * identifier) = identifier) ;) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" identifier [ number_literal ]) = (subscript_expression "local_34[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 IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (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 , LIT )))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (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_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)\n\n{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003c96b0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" (identifier "FUN_003c96b0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,\n                 char param_10,char param_11)" (( "(") (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 "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (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") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "undefined4 param_9" (type_identifier "undefined4") (identifier "param_9")) (, ",") (parameter_declaration "char param_10" (primitive_type "char") (identifier "param_10")) (, ",") (parameter_declaration "char param_11" (primitive_type "char") (identifier "param_11")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  bool bVar3;\n  bool bVar4;\n  undefined4 *unaff_retaddr;\n  int *local_38;\n  int local_34 [5];\n  undefined1 local_20;\n  char local_1f;\n  char local_1e;\n  undefined1 local_1d;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3c96b9;\n  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);\n  *param_8 = 0;\n  if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }\n  if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }\n  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);\n  bVar4 = local_34[0] == -1;\n  bVar3 = local_38 != (int *)0x0 && bVar4;\n  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }\n  bVar3 = param_6 == -1;\n  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }\n  if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }\n  *unaff_retaddr = local_38;\n  unaff_retaddr[1] = local_34[0];\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (declaration "int *local_38;" (primitive_type "int") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "int local_34 [5];" (primitive_type "int") (array_declarator "local_34 [5]" (identifier "local_34") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined1 local_20;" (type_identifier "undefined1") (identifier "local_20") (; ";")) (declaration "char local_1f;" (primitive_type "char") (identifier "local_1f") (; ";")) (declaration "char local_1e;" (primitive_type "char") (identifier "local_1e") (; ";")) (declaration "undefined1 local_1d;" (type_identifier "undefined1") (identifier "local_1d") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x3c96b9;" (assignment_expression "uStack_14 = 0x3c96b9" (identifier "uStack_14") (= "=") (number_literal "0x3c96b9")) (; ";")) (expression_statement "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);" (assignment_expression "piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_003c30b0(param_7 + 0x1b)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003c30b0(param_7 + 0x1b)" (identifier "FUN_003c30b0") (argument_list "(param_7 + 0x1b)" (( "(") (binary_expression "param_7 + 0x1b" (identifier "param_7") (+ "+") (number_literal "0x1b")) () ")"))))) (; ";")) (expression_statement "*param_8 = 0;" (assignment_expression "*param_8 = 0" (pointer_expression "*param_8" (* "*") (identifier "param_8")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((char)piVar1[7] == '\0') {\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }\n  else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" (if "if") (parenthesized_expression "((char)piVar1[7] == '\0')" (( "(") (binary_expression "(char)piVar1[7] == '\0'" (cast_expression "(char)piVar1[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_003f3f90(piVar1);\n    local_20 = 0x25;\n    local_38 = piVar1;\n    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }\n  }" ({ "{") (expression_statement "FUN_003f3f90(piVar1);" (call_expression "FUN_003f3f90(piVar1)" (identifier "FUN_003f3f90") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "local_20 = 0x25;" (assignment_expression "local_20 = 0x25" (identifier "local_20") (= "=") (number_literal "0x25")) (; ";")) (expression_statement "local_38 = piVar1;" (assignment_expression "local_38 = piVar1" (identifier "local_38") (= "=") (identifier "piVar1")) (; ";")) (if_statement "if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c)" (( "(") (binary_expression "*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c" (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (cast_expression "(code *)PTR_FUN_005e9d2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_005e9d2c"))) () ")")) (compound_statement "{\n      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);\n    }" ({ "{") (expression_statement "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);" (assignment_expression "local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25)" (identifier "local_20") (= "=") (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1,0x25)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar1,0x25)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x25") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" (else "else") (compound_statement "{\n    local_20 = *(undefined1 *)((int)piVar1 + 0x42);\n  }" ({ "{") (expression_statement "local_20 = *(undefined1 *)((int)piVar1 + 0x42);" (assignment_expression "local_20 = *(undefined1 *)((int)piVar1 + 0x42)" (identifier "local_20") (= "=") (pointer_expression "*(undefined1 *)((int)piVar1 + 0x42)" (* "*") (cast_expression "(undefined1 *)((int)piVar1 + 0x42)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0x42)" (( "(") (binary_expression "(int)piVar1 + 0x42" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0x42")) () ")"))))) (; ";")) (} "}")))) (if_statement "if (param_11 == '\0') {\n    local_1e = '\0';\n    local_1f = param_10;\n  }\n  else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" (if "if") (parenthesized_expression "(param_11 == '\0')" (( "(") (binary_expression "param_11 == '\0'" (identifier "param_11") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    local_1e = '\0';\n    local_1f = param_10;\n  }" ({ "{") (expression_statement "local_1e = '\0';" (assignment_expression "local_1e = '\0'" (identifier "local_1e") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "local_1f = param_10;" (assignment_expression "local_1f = param_10" (identifier "local_1f") (= "=") (identifier "param_10")) (; ";")) (} "}")) (else_clause "else {\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" (else "else") (compound_statement "{\n    local_1d = 0;\n    local_1f = param_11;\n    local_1e = param_10;\n  }" ({ "{") (expression_statement "local_1d = 0;" (assignment_expression "local_1d = 0" (identifier "local_1d") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1f = param_11;" (assignment_expression "local_1f = param_11" (identifier "local_1f") (= "=") (identifier "param_11")) (; ";")) (expression_statement "local_1e = param_10;" (assignment_expression "local_1e = param_10" (identifier "local_1e") (= "=") (identifier "param_10")) (; ";")) (} "}")))) (expression_statement "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);" (call_expression "FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" (identifier "FUN_003c8af0") (argument_list "(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20)" (( "(") (identifier "local_34") (, ",") (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 "&local_20" (& "&") (identifier "local_20")) () ")"))) (; ";")) (expression_statement "bVar4 = local_34[0] == -1;" (assignment_expression "bVar4 = local_34[0] == -1" (identifier "bVar4") (= "=") (binary_expression "local_34[0] == -1" (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "-1"))) (; ";")) (expression_statement "bVar3 = local_38 != (int *)0x0 && bVar4;" (assignment_expression "bVar3 = local_38 != (int *)0x0 && bVar4" (identifier "bVar3") (= "=") (binary_expression "local_38 != (int *)0x0 && bVar4" (binary_expression "local_38 != (int *)0x0" (identifier "local_38") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (identifier "bVar4"))) (; ";")) (if_statement "if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" (if "if") (parenthesized_expression "((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]))" (( "(") (binary_expression "(bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (&& "&&") (parenthesized_expression "(bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])" (( "(") (comma_expression "bVar4 = false, (uint)local_38[3] <= (uint)local_38[2]" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (, ",") (binary_expression "(uint)local_38[3] <= (uint)local_38[2]" (cast_expression "(uint)local_38[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_38[3]" (identifier "local_38") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)local_38[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_38[2]" (identifier "local_38") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);\n    if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }\n    bVar4 = iVar2 == -1 && bVar3;\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)(*local_38 + 0x24))(local_38);" (assignment_expression "iVar2 = (**(code **)(*local_38 + 0x24))(local_38)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*local_38 + 0x24))(local_38)" (parenthesized_expression "(**(code **)(*local_38 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_38 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_38 + 0x24)" (* "*") (cast_expression "(code **)(*local_38 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_38 + 0x24)" (( "(") (binary_expression "*local_38 + 0x24" (pointer_expression "*local_38" (* "*") (identifier "local_38")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(local_38)" (( "(") (identifier "local_38") () ")")))) (; ";")) (if_statement "if (iVar2 == -1) {\n      local_38 = (int *)0x0;\n    }" (if "if") (parenthesized_expression "(iVar2 == -1)" (( "(") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      local_38 = (int *)0x0;\n    }" ({ "{") (expression_statement "local_38 = (int *)0x0;" (assignment_expression "local_38 = (int *)0x0" (identifier "local_38") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (expression_statement "bVar4 = iVar2 == -1 && bVar3;" (assignment_expression "bVar4 = iVar2 == -1 && bVar3" (identifier "bVar4") (= "=") (binary_expression "iVar2 == -1 && bVar3" (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1")) (&& "&&") (identifier "bVar3"))) (; ";")) (} "}"))) (expression_statement "bVar3 = param_6 == -1;" (assignment_expression "bVar3 = param_6 == -1" (identifier "bVar3") (= "=") (binary_expression "param_6 == -1" (identifier "param_6") (== "==") (number_literal "-1"))) (; ";")) (if_statement "if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))\n  {\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" (if "if") (parenthesized_expression "(((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))" (( "(") (binary_expression "((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" (parenthesized_expression "((param_5 != (int *)0x0) && (bVar3))" (( "(") (binary_expression "(param_5 != (int *)0x0) && (bVar3)" (parenthesized_expression "(param_5 != (int *)0x0)" (( "(") (binary_expression "param_5 != (int *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar3 = false, (uint)param_5[3] <= (uint)param_5[2])" (( "(") (comma_expression "bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (, ",") (binary_expression "(uint)param_5[3] <= (uint)param_5[2]" (cast_expression "(uint)param_5[3]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(uint)param_5[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))))) () ")"))) () ")")) (compound_statement "{\n    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);\n    bVar3 = iVar2 == -1;\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)(*param_5 + 0x24))(param_5);" (assignment_expression "iVar2 = (**(code **)(*param_5 + 0x24))(param_5)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*param_5 + 0x24))(param_5)" (parenthesized_expression "(**(code **)(*param_5 + 0x24))" (( "(") (pointer_expression "**(code **)(*param_5 + 0x24)" (* "*") (pointer_expression "*(code **)(*param_5 + 0x24)" (* "*") (cast_expression "(code **)(*param_5 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_5 + 0x24)" (( "(") (binary_expression "*param_5 + 0x24" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "(param_5)" (( "(") (identifier "param_5") () ")")))) (; ";")) (expression_statement "bVar3 = iVar2 == -1;" (assignment_expression "bVar3 = iVar2 == -1" (identifier "bVar3") (= "=") (binary_expression "iVar2 == -1" (identifier "iVar2") (== "==") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (bVar4 == bVar3) {\n    *param_7 = *param_7 | 2;\n  }" (if "if") (parenthesized_expression "(bVar4 == bVar3)" (( "(") (binary_expression "bVar4 == bVar3" (identifier "bVar4") (== "==") (identifier "bVar3")) () ")")) (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_38;" (assignment_expression "*unaff_retaddr = local_38" (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (= "=") (identifier "local_38")) (; ";")) (expression_statement "unaff_retaddr[1] = local_34[0];" (assignment_expression "unaff_retaddr[1] = local_34[0]" (subscript_expression "unaff_retaddr[1]" (identifier "unaff_retaddr") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "local_34[0]" (identifier "local_34") ([ "[") (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> >
   >::get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char,
   std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, tm*, char, char) const */

void std::time_get<char,std::istreambuf_iterator<char,std::char_traits<char>>>::get(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: (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: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (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)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) 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) (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier))))) (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,undefined4 param_4,
                 int *param_5,int param_6,uint *param_7,undefined4 *param_8,undefined4 param_9,
                 char param_10,char param_11)

{
  int *piVar1;
  int iVar2;
  bool bVar3;
  bool bVar4;
  undefined4 *unaff_retaddr;
  int *local_38;
  int local_34 [5];
  undefined1 local_20;
  char local_1f;
  char local_1e;
  undefined1 local_1d;
  undefined4 uStack_14;
  
  uStack_14 = 0x3c96b9;
  piVar1 = (int *)FUN_003c30b0(param_7 + 0x1b);
  *param_8 = 0;
  if ((char)piVar1[7] == '\0') {
    FUN_003f3f90(piVar1);
    local_20 = 0x25;
    local_38 = piVar1;
    if (*(code **)(*piVar1 + 0x18) != (code *)PTR_FUN_005e9d2c) {
      local_20 = (**(code **)(*piVar1 + 0x18))(piVar1,0x25);
    }
  }
  else {
    local_20 = *(undefined1 *)((int)piVar1 + 0x42);
  }
  if (param_11 == '\0') {
    local_1e = '\0';
    local_1f = param_10;
  }
  else {
    local_1d = 0;
    local_1f = param_11;
    local_1e = param_10;
  }
  FUN_003c8af0(local_34,param_2,param_3,param_4,param_5,param_6,param_7,param_8,param_9,&local_20);
  bVar4 = local_34[0] == -1;
  bVar3 = local_38 != (int *)0x0 && bVar4;
  if ((bVar3) && (bVar4 = false, (uint)local_38[3] <= (uint)local_38[2])) {
    iVar2 = (**(code **)(*local_38 + 0x24))(local_38);
    if (iVar2 == -1) {
      local_38 = (int *)0x0;
    }
    bVar4 = iVar2 == -1 && bVar3;
  }
  bVar3 = param_6 == -1;
  if (((param_5 != (int *)0x0) && (bVar3)) && (bVar3 = false, (uint)param_5[3] <= (uint)param_5[2]))
  {
    iVar2 = (**(code **)(*param_5 + 0x24))(param_5);
    bVar3 = iVar2 == -1;
  }
  if (bVar4 == bVar3) {
    *param_7 = *param_7 | 2;
  }
  *unaff_retaddr = local_38;
  unaff_retaddr[1] = local_34[0];
  return;
}

