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

char * buildinfo(char *newline)

{
  int iVar1;
  strbuf *buf;
  char *pcVar2;
  int in_GS_OFFSET;
  char str [200];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  buf = (strbuf *)malloc(0xc);
  if (buf == (strbuf *)0x0) {
    builtin_strncpy(str,"Out of memory!",0xf);
    modalfatalbox("%s",str);
  }
  buf->len = 0;
  buf->size = 0x200;
  pcVar2 = (char *)malloc(0x200);
  if (pcVar2 == (char *)0x0) {
    builtin_strncpy(str,"Out of memory!",0xf);
    modalfatalbox("%s",str);
  }
  *pcVar2 = '\0';
  buf->s = pcVar2;
  pcVar2 = "Unix (GTK + X11)";
  if (buildinfo_gtk_relevant == 0) {
    pcVar2 = "Unix";
  }
  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2);
  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");
  pcVar2 = buildinfo_gtk_version();
  if (pcVar2 != (char *)0x0) {
    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);
    free(pcVar2);
  }
  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc);
  pcVar2 = buf->s;
  free(buf);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

undefined4 FUN_0001e480(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 *__ptr;
  undefined1 *puVar2;
  char *pcVar3;
  void *__ptr_00;
  int in_GS_OFFSET;
  undefined4 local_e8;
  undefined4 local_e4;
  undefined4 local_e0;
  undefined2 local_dc;
  undefined1 local_da;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1e489;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  __ptr = (undefined4 *)malloc(0xc);
  if (__ptr == (undefined4 *)0x0) {
    local_e8 = 0x2074754f;
    local_e4 = 0x6d20666f;
    local_e0 = 0x726f6d65;
    local_dc = 0x2179;
    local_da = 0;
    FUN_00023f60("%s",&local_e8);
  }
  __ptr[1] = 0;
  __ptr[2] = 0x200;
  puVar2 = (undefined1 *)malloc(0x200);
  if (puVar2 == (undefined1 *)0x0) {
    local_e8 = 0x2074754f;
    local_e4 = 0x6d20666f;
    local_e0 = 0x726f6d65;
    local_dc = 0x2179;
    local_da = 0;
    FUN_00023f60("%s",&local_e8);
  }
  *puVar2 = 0;
  *__ptr = puVar2;
  pcVar3 = "Unix (GTK + X11)";
  if (DAT_000a0cfc == 0) {
    pcVar3 = "Unix";
  }
  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);
  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");
  __ptr_00 = (void *)FUN_000871c0();
  if (__ptr_00 != (void *)0x0) {
    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);
    free(__ptr_00);
  }
  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);
  uVar1 = *__ptr;
  free(__ptr);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008eb20();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0xb1907
SUB ESP,0xe8
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xd8],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0xfc]
PUSH 0xc
CALL 0x00014360
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x0001e4f9
MOV ECX,0x2179
MOV dword ptr [ESP + 0x4],0x2074754f
LEA EAX,[ESP + 0x4]
SUB ESP,0x8
MOV dword ptr [ESP + 0x10],0x6d20666f
MOV dword ptr [ESP + 0x14],0x726f6d65
MOV word ptr [ESP + 0x18],CX
MOV byte ptr [ESP + 0x1a],0x0
PUSH EAX
LEA EAX,[EBX + 0xfffd0bb3]
PUSH EAX
CALL 0x00023f60
ADD ESP,0x10
SUB ESP,0xc
MOV dword ptr [ESI + 0x4],0x0
PUSH 0x200
MOV dword ptr [ESI + 0x8],0x200
CALL 0x00014360
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x0001e55b
MOV EDX,0x2179
MOV dword ptr [ESP + 0x4],0x2074754f
LEA EAX,[ESP + 0x4]
SUB ESP,0x8
MOV dword ptr [ESP + 0x10],0x6d20666f
MOV dword ptr [ESP + 0x14],0x726f6d65
MOV word ptr [ESP + 0x18],DX
MOV byte ptr [ESP + 0x1a],0x0
PUSH EAX
LEA EAX,[EBX + 0xfffd0bb3]
PUSH EAX
CALL 0x00023f60
ADD ESP,0x10
LEA EAX,[EBX + 0xfffd0f6c]
LEA EDX,[EBX + 0xfffc048b]
MOV byte ptr [EBP],0x0
MOV dword ptr [ESI],EBP
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
LEA EAX,[EBX + 0xfffc047a]
CMOVZ EAX,EDX
PUSH EAX
LEA EAX,[EBX + 0xfffc0490]
PUSH 0x20
PUSH EAX
PUSH ESI
CALL 0x0001d220
LEA EAX,[EBX + 0xfffc04aa]
PUSH EAX
LEA EAX,[EBX + 0xfffc04b0]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001d220
ADD ESP,0x20
CALL 0x000871c0
MOV EBP,EAX
TEST EAX,EAX
JZ 0x0001e5c7
PUSH EAX
LEA EAX,[EBX + 0xfffc064c]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001d220
MOV dword ptr [ESP],EBP
CALL 0x00014120
ADD ESP,0x10
LEA EAX,[EBX + 0xfffc04c3]
PUSH dword ptr [EBX + 0x23c]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001d220
MOV EDI,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL 0x00014120
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xcc]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDI
JNZ 0x0001e605
ADD ESP,0xdc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0008eb20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001e480(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}\n\n" comment (function_definition "undefined4 FUN_0001e480(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}" type_identifier (function_declarator "FUN_0001e480(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008eb20();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_e8;" type_identifier identifier ;) (declaration "undefined4 local_e4;" type_identifier identifier ;) (declaration "undefined4 local_e0;" type_identifier identifier ;) (declaration "undefined2 local_dc;" type_identifier identifier ;) (declaration "undefined1 local_da;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1e489;" (assignment_expression "uStack_14 = 0x1e489" 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) ))))) ;) (expression_statement "__ptr = (undefined4 *)malloc(0xc);" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" identifier = (cast_expression "(undefined4 *)malloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (if_statement "if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" if (parenthesized_expression "(__ptr == (undefined4 *)0x0)" ( (binary_expression "__ptr == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" { (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" identifier = number_literal) ;) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" identifier = number_literal) ;) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" identifier = number_literal) ;) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" identifier = number_literal) ;) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" identifier = number_literal) ;) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" identifier (argument_list "("%s",&local_e8)" ( (string_literal ""%s"" " string_content ") , (pointer_expression "&local_e8" & identifier) ))) ;) })) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = 0x200;" (assignment_expression "__ptr[2] = 0x200" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined1 *)malloc(0x200);" (assignment_expression "puVar2 = (undefined1 *)malloc(0x200)" identifier = (cast_expression "(undefined1 *)malloc(0x200)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x200)" identifier (argument_list "(0x200)" ( number_literal ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" { (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" identifier = number_literal) ;) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" identifier = number_literal) ;) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" identifier = number_literal) ;) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" identifier = number_literal) ;) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" identifier = number_literal) ;) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" identifier (argument_list "("%s",&local_e8)" ( (string_literal ""%s"" " string_content ") , (pointer_expression "&local_e8" & identifier) ))) ;) })) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "*__ptr = puVar2;" (assignment_expression "*__ptr = puVar2" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "pcVar3 = "Unix (GTK + X11)";" (assignment_expression "pcVar3 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }" if (parenthesized_expression "(DAT_000a0cfc == 0)" ( (binary_expression "DAT_000a0cfc == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = "Unix";\n  }" { (expression_statement "pcVar3 = "Unix";" (assignment_expression "pcVar3 = "Unix"" identifier = (string_literal ""Unix"" " string_content ")) ;) })) (expression_statement "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);" (call_expression "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" identifier (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" ( identifier , (string_literal ""Build platform: %d-bit %s"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" identifier (argument_list "(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" ( identifier , (string_literal ""%sCompiler: gcc %s"" " string_content ") , identifier , (string_literal ""8.3.0"" " string_content ") ))) ;) (expression_statement "__ptr_00 = (void *)FUN_000871c0();" (assignment_expression "__ptr_00 = (void *)FUN_000871c0()" identifier = (cast_expression "(void *)FUN_000871c0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000871c0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" if (parenthesized_expression "(__ptr_00 != (void *)0x0)" ( (binary_expression "__ptr_00 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" { (expression_statement "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" identifier (argument_list "(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" ( identifier , (string_literal ""%sCompiled against GTK version %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) })) (expression_statement "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);" (call_expression "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" identifier (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" ( identifier , (string_literal ""%sSource commit: %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "uVar1 = *__ptr;" (assignment_expression "uVar1 = *__ptr" identifier = (pointer_expression "*__ptr" * identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\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 uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "FUN_0008eb20();" (call_expression "FUN_0008eb20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * buildinfo(char *newline)\n\n{\n  int iVar1;\n  strbuf *buf;\n  char *pcVar2;\n  int in_GS_OFFSET;\n  char str [200];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  buf = (strbuf *)malloc(0xc);\n  if (buf == (strbuf *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  buf->len = 0;\n  buf->size = 0x200;\n  pcVar2 = (char *)malloc(0x200);\n  if (pcVar2 == (char *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  *pcVar2 = '\0';\n  buf->s = pcVar2;\n  pcVar2 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar2 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar2 = buildinfo_gtk_version();\n  if (pcVar2 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);\n    free(pcVar2);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc);\n  pcVar2 = buf->s;\n  free(buf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "char * buildinfo(char *newline)\n\n{\n  int iVar1;\n  strbuf *buf;\n  char *pcVar2;\n  int in_GS_OFFSET;\n  char str [200];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  buf = (strbuf *)malloc(0xc);\n  if (buf == (strbuf *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  buf->len = 0;\n  buf->size = 0x200;\n  pcVar2 = (char *)malloc(0x200);\n  if (pcVar2 == (char *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  *pcVar2 = '\0';\n  buf->s = pcVar2;\n  pcVar2 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar2 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar2 = buildinfo_gtk_version();\n  if (pcVar2 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);\n    free(pcVar2);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc);\n  pcVar2 = buf->s;\n  free(buf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (pointer_declarator "* buildinfo(char *newline)" * (function_declarator "buildinfo(char *newline)" identifier (parameter_list "(char *newline)" ( (parameter_declaration "char *newline" primitive_type (pointer_declarator "*newline" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  strbuf *buf;\n  char *pcVar2;\n  int in_GS_OFFSET;\n  char str [200];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  buf = (strbuf *)malloc(0xc);\n  if (buf == (strbuf *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  buf->len = 0;\n  buf->size = 0x200;\n  pcVar2 = (char *)malloc(0x200);\n  if (pcVar2 == (char *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }\n  *pcVar2 = '\0';\n  buf->s = pcVar2;\n  pcVar2 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar2 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar2 = buildinfo_gtk_version();\n  if (pcVar2 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);\n    free(pcVar2);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc);\n  pcVar2 = buf->s;\n  free(buf);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "strbuf *buf;" type_identifier (pointer_declarator "*buf" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char str [200];" primitive_type (array_declarator "str [200]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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 "buf = (strbuf *)malloc(0xc);" (assignment_expression "buf = (strbuf *)malloc(0xc)" identifier = (cast_expression "(strbuf *)malloc(0xc)" ( (type_descriptor "strbuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (if_statement "if (buf == (strbuf *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }" if (parenthesized_expression "(buf == (strbuf *)0x0)" ( (binary_expression "buf == (strbuf *)0x0" identifier == (cast_expression "(strbuf *)0x0" ( (type_descriptor "strbuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }" { (expression_statement "builtin_strncpy(str,"Out of memory!",0xf);" (call_expression "builtin_strncpy(str,"Out of memory!",0xf)" identifier (argument_list "(str,"Out of memory!",0xf)" ( identifier , (string_literal ""Out of memory!"" " string_content ") , number_literal ))) ;) (expression_statement "modalfatalbox("%s",str);" (call_expression "modalfatalbox("%s",str)" identifier (argument_list "("%s",str)" ( (string_literal ""%s"" " string_content ") , identifier ))) ;) })) (expression_statement "buf->len = 0;" (assignment_expression "buf->len = 0" (field_expression "buf->len" identifier -> field_identifier) = number_literal) ;) (expression_statement "buf->size = 0x200;" (assignment_expression "buf->size = 0x200" (field_expression "buf->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar2 = (char *)malloc(0x200);" (assignment_expression "pcVar2 = (char *)malloc(0x200)" identifier = (cast_expression "(char *)malloc(0x200)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x200)" identifier (argument_list "(0x200)" ( number_literal ))))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    builtin_strncpy(str,"Out of memory!",0xf);\n    modalfatalbox("%s",str);\n  }" { (expression_statement "builtin_strncpy(str,"Out of memory!",0xf);" (call_expression "builtin_strncpy(str,"Out of memory!",0xf)" identifier (argument_list "(str,"Out of memory!",0xf)" ( identifier , (string_literal ""Out of memory!"" " string_content ") , number_literal ))) ;) (expression_statement "modalfatalbox("%s",str);" (call_expression "modalfatalbox("%s",str)" identifier (argument_list "("%s",str)" ( (string_literal ""%s"" " string_content ") , identifier ))) ;) })) (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "buf->s = pcVar2;" (assignment_expression "buf->s = pcVar2" (field_expression "buf->s" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar2 = "Unix (GTK + X11)";" (assignment_expression "pcVar2 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (buildinfo_gtk_relevant == 0) {\n    pcVar2 = "Unix";\n  }" if (parenthesized_expression "(buildinfo_gtk_relevant == 0)" ( (binary_expression "buildinfo_gtk_relevant == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "Unix";\n  }" { (expression_statement "pcVar2 = "Unix";" (assignment_expression "pcVar2 = "Unix"" identifier = (string_literal ""Unix"" " string_content ")) ;) })) (expression_statement "strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2);" (call_expression "strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar2)" identifier (argument_list "(buf,"Build platform: %d-bit %s",0x20,pcVar2)" ( identifier , (string_literal ""Build platform: %d-bit %s"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");" (call_expression "strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0")" identifier (argument_list "(buf,"%sCompiler: gcc %s",newline,"8.3.0")" ( identifier , (string_literal ""%sCompiler: gcc %s"" " string_content ") , identifier , (string_literal ""8.3.0"" " string_content ") ))) ;) (expression_statement "pcVar2 = buildinfo_gtk_version();" (assignment_expression "pcVar2 = buildinfo_gtk_version()" identifier = (call_expression "buildinfo_gtk_version()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);\n    free(pcVar2);\n  }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);\n    free(pcVar2);\n  }" { (expression_statement "strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2);" (call_expression "strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar2)" identifier (argument_list "(buf,"%sCompiled against GTK version %s",newline,pcVar2)" ( identifier , (string_literal ""%sCompiled against GTK version %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(pcVar2);" (call_expression "free(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier ))) ;) })) (expression_statement "strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc);" (call_expression "strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc)" identifier (argument_list "(buf,"%sSource commit: %s",newline,PTR_commitid_000cffcc)" ( identifier , (string_literal ""%sSource commit: %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "pcVar2 = buf->s;" (assignment_expression "pcVar2 = buf->s" identifier = (field_expression "buf->s" identifier -> field_identifier)) ;) (expression_statement "free(buf);" (call_expression "free(buf)" identifier (argument_list "(buf)" ( identifier ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(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 pcVar2;\n  }" { (return_statement "return pcVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 FUN_0001e480(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_0008eb20();\n}\n\n" (function_definition "undefined4 FUN_0001e480(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_0008eb20();\n}" type_identifier (function_declarator "FUN_0001e480(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_0008eb20();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined1 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_e8;" type_identifier identifier ;) (declaration "undefined4 local_e4;" type_identifier identifier ;) (declaration "undefined4 local_e0;" type_identifier identifier ;) (declaration "undefined2 local_dc;" type_identifier identifier ;) (declaration "undefined1 local_da;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1e489;" (assignment_expression "uStack_14 = 0x1e489" 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) ))))) ;) (expression_statement "__ptr = (undefined4 *)malloc(0xc);" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" identifier = (cast_expression "(undefined4 *)malloc(0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (if_statement "if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" if (parenthesized_expression "(__ptr == (undefined4 *)0x0)" ( (binary_expression "__ptr == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" { (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" identifier = number_literal) ;) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" identifier = number_literal) ;) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" identifier = number_literal) ;) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" identifier = number_literal) ;) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" identifier = number_literal) ;) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" identifier (argument_list "("%s",&local_e8)" ( (string_literal ""%s"" " string_content ") , (pointer_expression "&local_e8" & identifier) ))) ;) })) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "__ptr[2] = 0x200;" (assignment_expression "__ptr[2] = 0x200" (subscript_expression "__ptr[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined1 *)malloc(0x200);" (assignment_expression "puVar2 = (undefined1 *)malloc(0x200)" identifier = (cast_expression "(undefined1 *)malloc(0x200)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(0x200)" identifier (argument_list "(0x200)" ( number_literal ))))) ;) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" if (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" ( (binary_expression "puVar2 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" { (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" identifier = number_literal) ;) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" identifier = number_literal) ;) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" identifier = number_literal) ;) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" identifier = number_literal) ;) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" identifier = number_literal) ;) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" identifier (argument_list "("%s",&local_e8)" ( (string_literal ""%s"" " string_content ") , (pointer_expression "&local_e8" & identifier) ))) ;) })) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "*__ptr = puVar2;" (assignment_expression "*__ptr = puVar2" (pointer_expression "*__ptr" * identifier) = identifier) ;) (expression_statement "pcVar3 = "Unix (GTK + X11)";" (assignment_expression "pcVar3 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }" if (parenthesized_expression "(DAT_000a0cfc == 0)" ( (binary_expression "DAT_000a0cfc == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = "Unix";\n  }" { (expression_statement "pcVar3 = "Unix";" (assignment_expression "pcVar3 = "Unix"" identifier = (string_literal ""Unix"" " string_content ")) ;) })) (expression_statement "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);" (call_expression "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" identifier (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" ( identifier , (string_literal ""Build platform: %d-bit %s"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" identifier (argument_list "(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" ( identifier , (string_literal ""%sCompiler: gcc %s"" " string_content ") , identifier , (string_literal ""8.3.0"" " string_content ") ))) ;) (expression_statement "__ptr_00 = (void *)FUN_000871c0();" (assignment_expression "__ptr_00 = (void *)FUN_000871c0()" identifier = (cast_expression "(void *)FUN_000871c0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000871c0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" if (parenthesized_expression "(__ptr_00 != (void *)0x0)" ( (binary_expression "__ptr_00 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" { (expression_statement "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" identifier (argument_list "(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" ( identifier , (string_literal ""%sCompiled against GTK version %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) })) (expression_statement "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);" (call_expression "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" identifier (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" ( identifier , (string_literal ""%sSource commit: %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "uVar1 = *__ptr;" (assignment_expression "uVar1 = *__ptr" identifier = (pointer_expression "*__ptr" * identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\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 uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "FUN_0008eb20();" (call_expression "FUN_0008eb20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 = 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression & IDENT) ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression & IDENT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_0001e480(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_0008eb20();\n}" (type_identifier "undefined4") (function_declarator "FUN_0001e480(undefined4 param_1)" (identifier "FUN_0001e480") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  undefined1 *puVar2;\n  char *pcVar3;\n  void *__ptr_00;\n  int in_GS_OFFSET;\n  undefined4 local_e8;\n  undefined4 local_e4;\n  undefined4 local_e0;\n  undefined2 local_dc;\n  undefined1 local_da;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1e489;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  __ptr = (undefined4 *)malloc(0xc);\n  if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  __ptr[1] = 0;\n  __ptr[2] = 0x200;\n  puVar2 = (undefined1 *)malloc(0x200);\n  if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }\n  *puVar2 = 0;\n  *__ptr = puVar2;\n  pcVar3 = "Unix (GTK + X11)";\n  if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }\n  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);\n  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000871c0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\n  }\n                    \n  FUN_0008eb20();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined1 *puVar2;" (type_identifier "undefined1") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "void *__ptr_00;" (primitive_type "void") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_e8;" (type_identifier "undefined4") (identifier "local_e8") (; ";")) (declaration "undefined4 local_e4;" (type_identifier "undefined4") (identifier "local_e4") (; ";")) (declaration "undefined4 local_e0;" (type_identifier "undefined4") (identifier "local_e0") (; ";")) (declaration "undefined2 local_dc;" (type_identifier "undefined2") (identifier "local_dc") (; ";")) (declaration "undefined1 local_da;" (type_identifier "undefined1") (identifier "local_da") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1e489;" (assignment_expression "uStack_14 = 0x1e489" (identifier "uStack_14") (= "=") (number_literal "0x1e489")) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "__ptr = (undefined4 *)malloc(0xc);" (assignment_expression "__ptr = (undefined4 *)malloc(0xc)" (identifier "__ptr") (= "=") (cast_expression "(undefined4 *)malloc(0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(0xc)" (identifier "malloc") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))))) (; ";")) (if_statement "if (__ptr == (undefined4 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" (if "if") (parenthesized_expression "(__ptr == (undefined4 *)0x0)" (( "(") (binary_expression "__ptr == (undefined4 *)0x0" (identifier "__ptr") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" ({ "{") (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" (identifier "local_e8") (= "=") (number_literal "0x2074754f")) (; ";")) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" (identifier "local_e4") (= "=") (number_literal "0x6d20666f")) (; ";")) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" (identifier "local_e0") (= "=") (number_literal "0x726f6d65")) (; ";")) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" (identifier "local_dc") (= "=") (number_literal "0x2179")) (; ";")) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" (identifier "local_da") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" (identifier "FUN_00023f60") (argument_list "("%s",&local_e8)" (( "(") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (pointer_expression "&local_e8" (& "&") (identifier "local_e8")) () ")"))) (; ";")) (} "}"))) (expression_statement "__ptr[1] = 0;" (assignment_expression "__ptr[1] = 0" (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "__ptr[2] = 0x200;" (assignment_expression "__ptr[2] = 0x200" (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0x200")) (; ";")) (expression_statement "puVar2 = (undefined1 *)malloc(0x200);" (assignment_expression "puVar2 = (undefined1 *)malloc(0x200)" (identifier "puVar2") (= "=") (cast_expression "(undefined1 *)malloc(0x200)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(0x200)" (identifier "malloc") (argument_list "(0x200)" (( "(") (number_literal "0x200") () ")"))))) (; ";")) (if_statement "if (puVar2 == (undefined1 *)0x0) {\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" (if "if") (parenthesized_expression "(puVar2 == (undefined1 *)0x0)" (( "(") (binary_expression "puVar2 == (undefined1 *)0x0" (identifier "puVar2") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_e8 = 0x2074754f;\n    local_e4 = 0x6d20666f;\n    local_e0 = 0x726f6d65;\n    local_dc = 0x2179;\n    local_da = 0;\n    FUN_00023f60("%s",&local_e8);\n  }" ({ "{") (expression_statement "local_e8 = 0x2074754f;" (assignment_expression "local_e8 = 0x2074754f" (identifier "local_e8") (= "=") (number_literal "0x2074754f")) (; ";")) (expression_statement "local_e4 = 0x6d20666f;" (assignment_expression "local_e4 = 0x6d20666f" (identifier "local_e4") (= "=") (number_literal "0x6d20666f")) (; ";")) (expression_statement "local_e0 = 0x726f6d65;" (assignment_expression "local_e0 = 0x726f6d65" (identifier "local_e0") (= "=") (number_literal "0x726f6d65")) (; ";")) (expression_statement "local_dc = 0x2179;" (assignment_expression "local_dc = 0x2179" (identifier "local_dc") (= "=") (number_literal "0x2179")) (; ";")) (expression_statement "local_da = 0;" (assignment_expression "local_da = 0" (identifier "local_da") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00023f60("%s",&local_e8);" (call_expression "FUN_00023f60("%s",&local_e8)" (identifier "FUN_00023f60") (argument_list "("%s",&local_e8)" (( "(") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (pointer_expression "&local_e8" (& "&") (identifier "local_e8")) () ")"))) (; ";")) (} "}"))) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*__ptr = puVar2;" (assignment_expression "*__ptr = puVar2" (pointer_expression "*__ptr" (* "*") (identifier "__ptr")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "pcVar3 = "Unix (GTK + X11)";" (assignment_expression "pcVar3 = "Unix (GTK + X11)"" (identifier "pcVar3") (= "=") (string_literal ""Unix (GTK + X11)"" (" """) (string_content "Unix (GTK + X11)") (" """))) (; ";")) (if_statement "if (DAT_000a0cfc == 0) {\n    pcVar3 = "Unix";\n  }" (if "if") (parenthesized_expression "(DAT_000a0cfc == 0)" (( "(") (binary_expression "DAT_000a0cfc == 0" (identifier "DAT_000a0cfc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar3 = "Unix";\n  }" ({ "{") (expression_statement "pcVar3 = "Unix";" (assignment_expression "pcVar3 = "Unix"" (identifier "pcVar3") (= "=") (string_literal ""Unix"" (" """) (string_content "Unix") (" """))) (; ";")) (} "}"))) (expression_statement "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);" (call_expression "FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" (identifier "FUN_0001d220") (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar3)" (( "(") (identifier "__ptr") (, ",") (string_literal ""Build platform: %d-bit %s"" (" """) (string_content "Build platform: %d-bit %s") (" """)) (, ",") (number_literal "0x20") (, ",") (identifier "pcVar3") () ")"))) (; ";")) (expression_statement "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" (identifier "FUN_0001d220") (argument_list "(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" (( "(") (identifier "__ptr") (, ",") (string_literal ""%sCompiler: gcc %s"" (" """) (string_content "%sCompiler: gcc %s") (" """)) (, ",") (identifier "param_1") (, ",") (string_literal ""8.3.0"" (" """) (string_content "8.3.0") (" """)) () ")"))) (; ";")) (expression_statement "__ptr_00 = (void *)FUN_000871c0();" (assignment_expression "__ptr_00 = (void *)FUN_000871c0()" (identifier "__ptr_00") (= "=") (cast_expression "(void *)FUN_000871c0()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000871c0()" (identifier "FUN_000871c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" (if "if") (parenthesized_expression "(__ptr_00 != (void *)0x0)" (( "(") (binary_expression "__ptr_00 != (void *)0x0" (identifier "__ptr_00") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" ({ "{") (expression_statement "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" (identifier "FUN_0001d220") (argument_list "(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" (( "(") (identifier "__ptr") (, ",") (string_literal ""%sCompiled against GTK version %s"" (" """) (string_content "%sCompiled against GTK version %s") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "__ptr_00") () ")"))) (; ";")) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);" (call_expression "FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" (identifier "FUN_0001d220") (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc)" (( "(") (identifier "__ptr") (, ",") (string_literal ""%sSource commit: %s"" (" """) (string_content "%sSource commit: %s") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc") () ")"))) (; ";")) (expression_statement "uVar1 = *__ptr;" (assignment_expression "uVar1 = *__ptr" (identifier "uVar1") (= "=") (pointer_expression "*__ptr" (* "*") (identifier "__ptr"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar1;\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 uVar1;\n  }" ({ "{") (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "FUN_0008eb20();" (call_expression "FUN_0008eb20()" (identifier "FUN_0008eb20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * function_1(char *newline)

{
  int var_11;
  type_1 *var_3;
  char *var_6;
  int var_1;
  char str [200];
  
  var_11 = *(int *)(var_1 + 0x14);
  var_3 = (type_1 *)var_2(0xc);
  if (var_3 == (type_1 *)0x0) {
    var_4(str,"Out of memory!",0xf);
    var_5("%s",str);
  }
  var_3->len = 0;
  var_3->size = 0x200;
  var_6 = (char *)var_2(0x200);
  if (var_6 == (char *)0x0) {
    var_4(str,"Out of memory!",0xf);
    var_5("%s",str);
  }
  *var_6 = '\0';
  var_3->s = var_6;
  var_6 = "Unix (GTK + X11)";
  if (var_7 == 0) {
    var_6 = "Unix";
  }
  var_8(var_3,"Build platform: %d-bit %s",0x20,var_6);
  var_8(var_3,"%sCompiler: gcc %s",newline,"8.3.0");
  var_6 = var_9();
  if (var_6 != (char *)0x0) {
    var_8(var_3,"%sCompiled against GTK version %s",newline,var_6);
    var_10(var_6);
  }
  var_8(var_3,"%sSource commit: %s",newline,PTR_commitid_000cffcc);
  var_6 = var_3->s;
  var_10(var_3);
  if (var_11 == *(int *)(var_1 + 0x14)) {
    return var_6;
  }
                    /* WARNING: Subroutine does not return */
  var_12();
}


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

{
  undefined4 uVar1;
  undefined4 *__ptr;
  undefined1 *puVar2;
  char *pcVar3;
  void *__ptr_00;
  int in_GS_OFFSET;
  undefined4 local_e8;
  undefined4 local_e4;
  undefined4 local_e0;
  undefined2 local_dc;
  undefined1 local_da;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1e489;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  __ptr = (undefined4 *)malloc(0xc);
  if (__ptr == (undefined4 *)0x0) {
    local_e8 = 0x2074754f;
    local_e4 = 0x6d20666f;
    local_e0 = 0x726f6d65;
    local_dc = 0x2179;
    local_da = 0;
    FUN_00023f60("%s",&local_e8);
  }
  __ptr[1] = 0;
  __ptr[2] = 0x200;
  puVar2 = (undefined1 *)malloc(0x200);
  if (puVar2 == (undefined1 *)0x0) {
    local_e8 = 0x2074754f;
    local_e4 = 0x6d20666f;
    local_e0 = 0x726f6d65;
    local_dc = 0x2179;
    local_da = 0;
    FUN_00023f60("%s",&local_e8);
  }
  *puVar2 = 0;
  *__ptr = puVar2;
  pcVar3 = "Unix (GTK + X11)";
  if (DAT_000a0cfc == 0) {
    pcVar3 = "Unix";
  }
  FUN_0001d220(__ptr,"Build platform: %d-bit %s",0x20,pcVar3);
  FUN_0001d220(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");
  __ptr_00 = (void *)FUN_000871c0();
  if (__ptr_00 != (void *)0x0) {
    FUN_0001d220(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);
    free(__ptr_00);
  }
  FUN_0001d220(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000cffcc);
  uVar1 = *__ptr;
  free(__ptr);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008eb20();
}

