
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void __regparm3 decode_format_string(char *param_1)

{
  int in_GS_OFFSET;
  
  if (*param_1 != '\0') {
    decode_one_format();
                    /* WARNING: Subroutine does not return */
    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);
  }
  if (*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void __regparm3 FUN_00089058(char *param_1)

{
  char *pcVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  int in_GS_OFFSET;
  byte bVar5;
  undefined4 local_38 [6];
  int local_20;
  
  bVar5 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (*param_1 != '\0') {
    do {
      pcVar1 = (char *)FUN_00088c41();
      _DAT_000d1304 = FUN_000b411d();
      puVar3 = local_38;
      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);
      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {
        *puVar4 = *puVar3;
        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;
        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;
      }
      DAT_000d1300 = DAT_000d1300 + 1;
    } while (*pcVar1 != '\0');
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
CALL 0x00017e71
ADD EDX,0x479bc
MOV dword ptr [ESP + 0x8],EAX
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x2c],EDI
XOR EDI,EDI
CMP byte ptr [EAX],0x0
JZ 0x000890d3
MOV EBP,EAX
LEA EAX,[ESP + 0x14]
MOV dword ptr [ESP + 0xc],EAX
LEA EBX,[EDX + 0x8d8]
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,ESI
MOV EDX,EBP
MOV EAX,dword ptr [ESP + 0x8]
CALL 0x00088c41
MOV EBP,EAX
MOV ECX,dword ptr [EBX + 0x8]
MOV EAX,dword ptr [EBX + 0xc]
MOV EDX,0x1804
CALL 0x000b411d
MOV dword ptr [EBX + 0xc],EAX
MOV ECX,dword ptr [EBX + 0x8]
LEA EDX,[ECX + ECX*0x1]
ADD EDX,ECX
LEA EAX,[EAX + EDX*0x8]
MOV ECX,0x6
MOV EDI,EAX
MOVSD.REP ES:EDI,ESI
INC dword ptr [EBX + 0x8]
CMP byte ptr [EBP],0x0
JNZ 0x00089090
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000890e8
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e10
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid __regparm3 FUN_00089058(char *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}\n\n" comment comment (function_definition "void __regparm3 FUN_00089058(char *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00089058(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00017e10();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "undefined4 local_38 [6];" type_identifier (array_declarator "local_38 [6]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(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) ))))) ;) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" { (do_statement "do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');" do (compound_statement "{\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    }" { (expression_statement "pcVar1 = (char *)FUN_00088c41();" (assignment_expression "pcVar1 = (char *)FUN_00088c41()" identifier = (cast_expression "(char *)FUN_00088c41()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00088c41()" identifier (argument_list "()" ( ))))) ;) (expression_statement "_DAT_000d1304 = FUN_000b411d();" (assignment_expression "_DAT_000d1304 = FUN_000b411d()" identifier = (call_expression "FUN_000b411d()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" identifier = (cast_expression "(undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(_DAT_000d1304 + DAT_000d1300 * 0x18)" ( (binary_expression "_DAT_000d1304 + DAT_000d1300 * 0x18" identifier + (binary_expression "DAT_000d1300 * 0x18" identifier * number_literal)) )))) ;) (for_statement "for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" for ( (assignment_expression "iVar2 = 6" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" { (expression_statement "*puVar4 = *puVar3;" (assignment_expression "*puVar4 = *puVar3" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar5 * -2 + 1" (binary_expression "puVar3 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "DAT_000d1300 = DAT_000d1300 + 1;" (assignment_expression "DAT_000d1300 = DAT_000d1300 + 1" identifier = (binary_expression "DAT_000d1300 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(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;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid __regparm3 decode_format_string(char *param_1)\n\n{\n  int in_GS_OFFSET;\n  \n  if (*param_1 != '\0') {\n    decode_one_format();\n                    /* WARNING: Subroutine does not return */\n    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);\n  }\n  if (*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "void __regparm3 decode_format_string(char *param_1)\n\n{\n  int in_GS_OFFSET;\n  \n  if (*param_1 != '\0') {\n    decode_one_format();\n                    /* WARNING: Subroutine does not return */\n    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);\n  }\n  if (*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "decode_format_string(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  \n  if (*param_1 != '\0') {\n    decode_one_format();\n                    /* WARNING: Subroutine does not return */\n    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);\n  }\n  if (*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (if_statement "if (*param_1 != '\0') {\n    decode_one_format();\n                    /* WARNING: Subroutine does not return */\n    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    decode_one_format();\n                    /* WARNING: Subroutine does not return */\n    xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);\n  }" { (expression_statement "decode_one_format();" (call_expression "decode_one_format()" identifier (argument_list "()" ( ))) ;) comment (expression_statement "xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300);" (call_expression "xrealloc_vector_helper(DAT_000d1304,0x1804,DAT_000d1300)" identifier (argument_list "(DAT_000d1304,0x1804,DAT_000d1300)" ( identifier , number_literal , identifier ))) ;) })) (if_statement "if (*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(in_GS_OFFSET + 0x14) == *(int *)(in_GS_OFFSET + 0x14)" (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) )))) == (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;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00089058(char *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e10();\n}\n\n" (function_definition "void __regparm3 FUN_00089058(char *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e10();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00089058(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e10();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "undefined4 local_38 [6];" type_identifier (array_declarator "local_38 [6]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(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) ))))) ;) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" { (do_statement "do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');" do (compound_statement "{\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    }" { (expression_statement "pcVar1 = (char *)FUN_00088c41();" (assignment_expression "pcVar1 = (char *)FUN_00088c41()" identifier = (cast_expression "(char *)FUN_00088c41()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00088c41()" identifier (argument_list "()" ( ))))) ;) (expression_statement "_DAT_000d1304 = FUN_000b411d();" (assignment_expression "_DAT_000d1304 = FUN_000b411d()" identifier = (call_expression "FUN_000b411d()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" identifier = (cast_expression "(undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(_DAT_000d1304 + DAT_000d1300 * 0x18)" ( (binary_expression "_DAT_000d1304 + DAT_000d1300 * 0x18" identifier + (binary_expression "DAT_000d1300 * 0x18" identifier * number_literal)) )))) ;) (for_statement "for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" for ( (assignment_expression "iVar2 = 6" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" { (expression_statement "*puVar4 = *puVar3;" (assignment_expression "*puVar4 = *puVar3" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar5 * -2 + 1" (binary_expression "puVar3 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "DAT_000d1300 = DAT_000d1300 + 1;" (assignment_expression "DAT_000d1300 = DAT_000d1300 + 1" identifier = (binary_expression "DAT_000d1300 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(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;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) })) (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 ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_00089058(char *param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e10();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00089058(char *param_1)" (identifier "FUN_00089058") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  undefined4 *puVar4;\n  int in_GS_OFFSET;\n  byte bVar5;\n  undefined4 local_38 [6];\n  int local_20;\n  \n  bVar5 = 0;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_00017e10();\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "undefined4 local_38 [6];" (type_identifier "undefined4") (array_declarator "local_38 [6]" (identifier "local_38") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" (identifier "bVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" (if "if") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');\n  }" ({ "{") (do_statement "do {\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    } while (*pcVar1 != '\0');" (do "do") (compound_statement "{\n      pcVar1 = (char *)FUN_00088c41();\n      _DAT_000d1304 = FUN_000b411d();\n      puVar3 = local_38;\n      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);\n      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      DAT_000d1300 = DAT_000d1300 + 1;\n    }" ({ "{") (expression_statement "pcVar1 = (char *)FUN_00088c41();" (assignment_expression "pcVar1 = (char *)FUN_00088c41()" (identifier "pcVar1") (= "=") (cast_expression "(char *)FUN_00088c41()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00088c41()" (identifier "FUN_00088c41") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "_DAT_000d1304 = FUN_000b411d();" (assignment_expression "_DAT_000d1304 = FUN_000b411d()" (identifier "_DAT_000d1304") (= "=") (call_expression "FUN_000b411d()" (identifier "FUN_000b411d") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar3 = local_38;" (assignment_expression "puVar3 = local_38" (identifier "puVar3") (= "=") (identifier "local_38")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);" (assignment_expression "puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(_DAT_000d1304 + DAT_000d1300 * 0x18)" (( "(") (binary_expression "_DAT_000d1304 + DAT_000d1300 * 0x18" (identifier "_DAT_000d1304") (+ "+") (binary_expression "DAT_000d1300 * 0x18" (identifier "DAT_000d1300") (* "*") (number_literal "0x18"))) () ")")))) (; ";")) (for_statement "for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "iVar2 = 6" (identifier "iVar2") (= "=") (number_literal "6")) (; ";") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *puVar4 = *puVar3;\n        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar4 = *puVar3;" (assignment_expression "*puVar4 = *puVar3" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = puVar3 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar5 * -2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + (uint)bVar5 * -2 + 1" (binary_expression "puVar3 + (uint)bVar5 * -2" (identifier "puVar3") (+ "+") (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" (identifier "puVar4") (+ "+") (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "DAT_000d1300 = DAT_000d1300 + 1;" (assignment_expression "DAT_000d1300 = DAT_000d1300 + 1" (identifier "DAT_000d1300") (= "=") (binary_expression "DAT_000d1300 + 1" (identifier "DAT_000d1300") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pcVar1 != '\0')" (( "(") (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (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;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void __regparm3 function_1(char *param_1)

{
  int var_3;
  
  if (*param_1 != '\0') {
    var_1();
                    /* WARNING: Subroutine does not return */
    var_2(DAT_000d1304,0x1804,DAT_000d1300);
  }
  if (*(int *)(var_3 + 0x14) == *(int *)(var_3 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4();
}


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

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void __regparm3 MASKED(char *param_1)

{
  char *pcVar1;
  int iVar2;
  undefined4 *puVar3;
  undefined4 *puVar4;
  int in_GS_OFFSET;
  byte bVar5;
  undefined4 local_38 [6];
  int local_20;
  
  bVar5 = 0;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (*param_1 != '\0') {
    do {
      pcVar1 = (char *)FUN_00088c41();
      _DAT_000d1304 = FUN_000b411d();
      puVar3 = local_38;
      puVar4 = (undefined4 *)(_DAT_000d1304 + DAT_000d1300 * 0x18);
      for (iVar2 = 6; iVar2 != 0; iVar2 = iVar2 + -1) {
        *puVar4 = *puVar3;
        puVar3 = puVar3 + (uint)bVar5 * -2 + 1;
        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;
      }
      DAT_000d1300 = DAT_000d1300 + 1;
    } while (*pcVar1 != '\0');
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00017e10();
}

