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

char * expandstr(char *ps,int syntax_type)

{
  int saveint;
  jmploc *savehandler;
  jmploc jmploc;
  
}



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

undefined4 FUN_0005b54a(void)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined1 uVar3;
  int iVar4;
  int iVar5;
  int in_GS_OFFSET;
  __jmp_buf_tag local_ac;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_00052998();
  uVar3 = DAT_000d12f2;
  DAT_000d12f2 = 0;
  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);
  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);
  iVar5 = _setjmp(&local_ac);
  iVar4 = DAT_000d1708;
  if (iVar5 == 0) {
    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;
    FUN_00054f44();
    FUN_0005bc54(0);
  }
  *(undefined4 *)(iVar4 + 0x20) = uVar1;
  iVar4 = DAT_000d1708;
  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;
  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {
    FUN_00052612();
  }
  DAT_000d12f2 = uVar3;
  FUN_000530b7();
  FUN_0005af7c(0x100);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return *(undefined4 *)(DAT_000d1710 + 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}


PUSH ESI
PUSH EBX
SUB ESP,0xc4
CALL 0x00017640
ADD EBX,0x754c9
MOV ESI,EBX
MOV dword ptr [ESP + 0x4],EBX
MOV dword ptr [ESP + 0xc],EDX
MOV EBX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0xbc],EBX
XOR EBX,EBX
CALL 0x00052998
MOV EBX,ESI
MOVSX EAX,byte ptr [ESI + 0x8d2]
MOV dword ptr [ESP + 0x8],EAX
MOV byte ptr [ESI + 0x8d2],0x0
LEA EAX,[ESI + 0xce8]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x20]
MOV dword ptr [ESP + 0x1c],EDX
MOV EAX,dword ptr [EAX + 0x24]
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0xc
LEA EAX,[ESP + 0x2c]
PUSH EAX
MOV dword ptr [ESP + 0x14],ESI
CALL 0x00016280
ADD ESP,0x10
MOV EBX,dword ptr [ESP + 0x4]
LEA EDX,[EBX + 0xce8]
MOV ESI,dword ptr [EDX]
TEST EAX,EAX
JNZ 0x0005b5ec
LEA EAX,[ESP + 0x20]
MOV dword ptr [ESI + 0x20],EAX
CALL 0x00054f44
SUB ESP,0xc
PUSH 0x0
MOV ECX,0x1
MOV EDX,dword ptr [ESP + 0x1c]
CALL 0x0005bc54
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x4]
LEA EAX,[EAX + 0xce8]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x24],EDX
MOV EDX,dword ptr [EAX + 0x24]
TEST EDX,EDX
JNZ 0x0005b619
MOV AL,byte ptr [EAX + 0x28]
TEST AL,AL
JZ 0x0005b619
CALL 0x00052612
MOV AL,byte ptr [ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x4]
MOV byte ptr [ESI + 0x8d2],AL
CALL 0x000530b7
SUB ESP,0xc
PUSH 0x100
XOR ECX,ECX
MOV EDX,dword ptr [ESI + 0x7f4]
MOV EAX,dword ptr [ESI + 0x7f8]
CALL 0x0005af7c
ADD ESP,0x10
LEA EAX,[ESI + 0xcf0]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [ESP + 0xbc]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0005b66e
ADD ESP,0xc4
POP EBX
POP ESI
RET
CALL 0x00017e10
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0005b54a(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}\n\n" comment (function_definition "undefined4 FUN_0005b54a(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" type_identifier (function_declarator "FUN_0005b54a(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "__jmp_buf_tag local_ac;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_00052998();" (call_expression "FUN_00052998()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = DAT_000d12f2;" (assignment_expression "uVar3 = DAT_000d12f2" identifier = identifier) ;) (expression_statement "DAT_000d12f2 = 0;" (assignment_expression "DAT_000d12f2 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x20)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x20)" ( (binary_expression "DAT_000d1708 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x24)" ( (binary_expression "DAT_000d1708 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = _setjmp(&local_ac);" (assignment_expression "iVar5 = _setjmp(&local_ac)" identifier = (call_expression "_setjmp(&local_ac)" identifier (argument_list "(&local_ac)" ( (pointer_expression "&local_ac" & identifier) )))) ;) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" { (expression_statement "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;" (assignment_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac" (pointer_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" * (cast_expression "(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" ( (type_descriptor "__jmp_buf_tag **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d1708 + 0x20)" ( (binary_expression "DAT_000d1708 + 0x20" identifier + number_literal) )))) = (pointer_expression "&local_ac" & identifier)) ;) (expression_statement "FUN_00054f44();" (call_expression "FUN_00054f44()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005bc54(0);" (call_expression "FUN_0005bc54(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "*(undefined4 *)(iVar4 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x20) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" * (cast_expression "(undefined4 *)(iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" identifier = identifier) ;) (expression_statement "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;" (assignment_expression "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2" (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x24)" ( (binary_expression "DAT_000d1708 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }" if (parenthesized_expression "((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0'))" ( (binary_expression "(*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')" (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x24) == 0" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(char *)(iVar4 + 0x28) != '\0')" ( (binary_expression "*(char *)(iVar4 + 0x28) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x28)" * (cast_expression "(char *)(iVar4 + 0x28)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    FUN_00052612();\n  }" { (expression_statement "FUN_00052612();" (call_expression "FUN_00052612()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "DAT_000d12f2 = uVar3;" (assignment_expression "DAT_000d12f2 = uVar3" identifier = identifier) ;) (expression_statement "FUN_000530b7();" (call_expression "FUN_000530b7()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005af7c(0x100);" (call_expression "FUN_0005af7c(0x100)" identifier (argument_list "(0x100)" ( number_literal ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" { (return_statement "return *(undefined4 *)(DAT_000d1710 + 4);" return (pointer_expression "*(undefined4 *)(DAT_000d1710 + 4)" * (cast_expression "(undefined4 *)(DAT_000d1710 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1710 + 4)" ( (binary_expression "DAT_000d1710 + 4" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * expandstr(char *ps,int syntax_type)\n\n{\n  int saveint;\n  jmploc *savehandler;\n  jmploc jmploc;\n  \n}\n\n" comment (function_definition "char * expandstr(char *ps,int syntax_type)\n\n{\n  int saveint;\n  jmploc *savehandler;\n  jmploc jmploc;\n  \n}" primitive_type (pointer_declarator "* expandstr(char *ps,int syntax_type)" * (function_declarator "expandstr(char *ps,int syntax_type)" identifier (parameter_list "(char *ps,int syntax_type)" ( (parameter_declaration "char *ps" primitive_type (pointer_declarator "*ps" * identifier)) , (parameter_declaration "int syntax_type" primitive_type identifier) )))) (compound_statement "{\n  int saveint;\n  jmploc *savehandler;\n  jmploc jmploc;\n  \n}" { (declaration "int saveint;" primitive_type identifier ;) (declaration "jmploc *savehandler;" type_identifier (pointer_declarator "*savehandler" * identifier) ;) (declaration "jmploc jmploc;" type_identifier identifier ;) })))
(translation_unit "undefined4 FUN_0005b54a(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    \n  FUN_00017e10();\n}\n\n" (function_definition "undefined4 FUN_0005b54a(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    \n  FUN_00017e10();\n}" type_identifier (function_declarator "FUN_0005b54a(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    \n  FUN_00017e10();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "__jmp_buf_tag local_ac;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "FUN_00052998();" (call_expression "FUN_00052998()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar3 = DAT_000d12f2;" (assignment_expression "uVar3 = DAT_000d12f2" identifier = identifier) ;) (expression_statement "DAT_000d12f2 = 0;" (assignment_expression "DAT_000d12f2 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x20)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x20)" ( (binary_expression "DAT_000d1708 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24)" identifier = (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x24)" ( (binary_expression "DAT_000d1708 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = _setjmp(&local_ac);" (assignment_expression "iVar5 = _setjmp(&local_ac)" identifier = (call_expression "_setjmp(&local_ac)" identifier (argument_list "(&local_ac)" ( (pointer_expression "&local_ac" & identifier) )))) ;) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" { (expression_statement "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;" (assignment_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac" (pointer_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" * (cast_expression "(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" ( (type_descriptor "__jmp_buf_tag **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d1708 + 0x20)" ( (binary_expression "DAT_000d1708 + 0x20" identifier + number_literal) )))) = (pointer_expression "&local_ac" & identifier)) ;) (expression_statement "FUN_00054f44();" (call_expression "FUN_00054f44()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005bc54(0);" (call_expression "FUN_0005bc54(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "*(undefined4 *)(iVar4 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x20) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" * (cast_expression "(undefined4 *)(iVar4 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" identifier = identifier) ;) (expression_statement "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;" (assignment_expression "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2" (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" * (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x24)" ( (binary_expression "DAT_000d1708 + 0x24" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }" if (parenthesized_expression "((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0'))" ( (binary_expression "(*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')" (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x24) == 0" (pointer_expression "*(int *)(iVar4 + 0x24)" * (cast_expression "(int *)(iVar4 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x24)" ( (binary_expression "iVar4 + 0x24" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(char *)(iVar4 + 0x28) != '\0')" ( (binary_expression "*(char *)(iVar4 + 0x28) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x28)" * (cast_expression "(char *)(iVar4 + 0x28)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x28)" ( (binary_expression "iVar4 + 0x28" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    FUN_00052612();\n  }" { (expression_statement "FUN_00052612();" (call_expression "FUN_00052612()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "DAT_000d12f2 = uVar3;" (assignment_expression "DAT_000d12f2 = uVar3" identifier = identifier) ;) (expression_statement "FUN_000530b7();" (call_expression "FUN_000530b7()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005af7c(0x100);" (call_expression "FUN_0005af7c(0x100)" identifier (argument_list "(0x100)" ( number_literal ))) ;) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" { (return_statement "return *(undefined4 *)(DAT_000d1710 + 4);" return (pointer_expression "*(undefined4 *)(DAT_000d1710 + 4)" * (cast_expression "(undefined4 *)(DAT_000d1710 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1710 + 4)" ( (binary_expression "DAT_000d1710 + 4" identifier + number_literal) )))) ;) })) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_0005b54a(void)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    \n  FUN_00017e10();\n}" (type_identifier "undefined4") (function_declarator "FUN_0005b54a(void)" (identifier "FUN_0005b54a") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined1 uVar3;\n  int iVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  __jmp_buf_tag local_ac;\n  int local_10;\n  \n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00052998();\n  uVar3 = DAT_000d12f2;\n  DAT_000d12f2 = 0;\n  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);\n  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);\n  iVar5 = _setjmp(&local_ac);\n  iVar4 = DAT_000d1708;\n  if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }\n  *(undefined4 *)(iVar4 + 0x20) = uVar1;\n  iVar4 = DAT_000d1708;\n  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;\n  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }\n  DAT_000d12f2 = uVar3;\n  FUN_000530b7();\n  FUN_0005af7c(0x100);\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }\n                    \n  FUN_00017e10();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined1 uVar3;" (type_identifier "undefined1") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "__jmp_buf_tag local_ac;" (type_identifier "__jmp_buf_tag") (identifier "local_ac") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "FUN_00052998();" (call_expression "FUN_00052998()" (identifier "FUN_00052998") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar3 = DAT_000d12f2;" (assignment_expression "uVar3 = DAT_000d12f2" (identifier "uVar3") (= "=") (identifier "DAT_000d12f2")) (; ";")) (expression_statement "DAT_000d12f2 = 0;" (assignment_expression "DAT_000d12f2 = 0" (identifier "DAT_000d12f2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);" (assignment_expression "uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x20)" (* "*") (cast_expression "(undefined4 *)(DAT_000d1708 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x20)" (( "(") (binary_expression "DAT_000d1708 + 0x20" (identifier "DAT_000d1708") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);" (assignment_expression "uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" (* "*") (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x24)" (( "(") (binary_expression "DAT_000d1708 + 0x24" (identifier "DAT_000d1708") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "iVar5 = _setjmp(&local_ac);" (assignment_expression "iVar5 = _setjmp(&local_ac)" (identifier "iVar5") (= "=") (call_expression "_setjmp(&local_ac)" (identifier "_setjmp") (argument_list "(&local_ac)" (( "(") (pointer_expression "&local_ac" (& "&") (identifier "local_ac")) () ")")))) (; ";")) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" (identifier "iVar4") (= "=") (identifier "DAT_000d1708")) (; ";")) (if_statement "if (iVar5 == 0) {\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;\n    FUN_00054f44();\n    FUN_0005bc54(0);\n  }" ({ "{") (expression_statement "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;" (assignment_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac" (pointer_expression "*(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" (* "*") (cast_expression "(__jmp_buf_tag **)(DAT_000d1708 + 0x20)" (( "(") (type_descriptor "__jmp_buf_tag **" (type_identifier "__jmp_buf_tag") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x20)" (( "(") (binary_expression "DAT_000d1708 + 0x20" (identifier "DAT_000d1708") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) (; ";")) (expression_statement "FUN_00054f44();" (call_expression "FUN_00054f44()" (identifier "FUN_00054f44") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0005bc54(0);" (call_expression "FUN_0005bc54(0)" (identifier "FUN_0005bc54") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar4 + 0x20) = uVar1;" (assignment_expression "*(undefined4 *)(iVar4 + 0x20) = uVar1" (pointer_expression "*(undefined4 *)(iVar4 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar4 = DAT_000d1708;" (assignment_expression "iVar4 = DAT_000d1708" (identifier "iVar4") (= "=") (identifier "DAT_000d1708")) (; ";")) (expression_statement "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;" (assignment_expression "*(undefined4 *)(DAT_000d1708 + 0x24) = uVar2" (pointer_expression "*(undefined4 *)(DAT_000d1708 + 0x24)" (* "*") (cast_expression "(undefined4 *)(DAT_000d1708 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x24)" (( "(") (binary_expression "DAT_000d1708 + 0x24" (identifier "DAT_000d1708") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {\n    FUN_00052612();\n  }" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0'))" (( "(") (binary_expression "(*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')" (parenthesized_expression "(*(int *)(iVar4 + 0x24) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x24) == 0" (pointer_expression "*(int *)(iVar4 + 0x24)" (* "*") (cast_expression "(int *)(iVar4 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x24)" (( "(") (binary_expression "iVar4 + 0x24" (identifier "iVar4") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar4 + 0x28) != '\0')" (( "(") (binary_expression "*(char *)(iVar4 + 0x28) != '\0'" (pointer_expression "*(char *)(iVar4 + 0x28)" (* "*") (cast_expression "(char *)(iVar4 + 0x28)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x28)" (( "(") (binary_expression "iVar4 + 0x28" (identifier "iVar4") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    FUN_00052612();\n  }" ({ "{") (expression_statement "FUN_00052612();" (call_expression "FUN_00052612()" (identifier "FUN_00052612") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_000d12f2 = uVar3;" (assignment_expression "DAT_000d12f2 = uVar3" (identifier "DAT_000d12f2") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "FUN_000530b7();" (call_expression "FUN_000530b7()" (identifier "FUN_000530b7") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0005af7c(0x100);" (call_expression "FUN_0005af7c(0x100)" (identifier "FUN_0005af7c") (argument_list "(0x100)" (( "(") (number_literal "0x100") () ")"))) (; ";")) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return *(undefined4 *)(DAT_000d1710 + 4);\n  }" ({ "{") (return_statement "return *(undefined4 *)(DAT_000d1710 + 4);" (return "return") (pointer_expression "*(undefined4 *)(DAT_000d1710 + 4)" (* "*") (cast_expression "(undefined4 *)(DAT_000d1710 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1710 + 4)" (( "(") (binary_expression "DAT_000d1710 + 4" (identifier "DAT_000d1710") (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * function_1(char *ps,int syntax_type)

{
  int saveint;
  type_1 *savehandler;
  type_1 type_1;
  
}


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

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

undefined4 MASKED(void)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined1 uVar3;
  int iVar4;
  int iVar5;
  int in_GS_OFFSET;
  __jmp_buf_tag local_ac;
  int local_10;
  
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_00052998();
  uVar3 = DAT_000d12f2;
  DAT_000d12f2 = 0;
  uVar1 = *(undefined4 *)(DAT_000d1708 + 0x20);
  uVar2 = *(undefined4 *)(DAT_000d1708 + 0x24);
  iVar5 = _setjmp(&local_ac);
  iVar4 = DAT_000d1708;
  if (iVar5 == 0) {
    *(__jmp_buf_tag **)(DAT_000d1708 + 0x20) = &local_ac;
    FUN_00054f44();
    FUN_0005bc54(0);
  }
  *(undefined4 *)(iVar4 + 0x20) = uVar1;
  iVar4 = DAT_000d1708;
  *(undefined4 *)(DAT_000d1708 + 0x24) = uVar2;
  if ((*(int *)(iVar4 + 0x24) == 0) && (*(char *)(iVar4 + 0x28) != '\0')) {
    FUN_00052612();
  }
  DAT_000d12f2 = uVar3;
  FUN_000530b7();
  FUN_0005af7c(0x100);
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return *(undefined4 *)(DAT_000d1710 + 4);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}

