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

char * buildinfo(char *newline)

{
  strbuf *buf;
  char *pcVar1;
  
  buf = strbuf_new();
  pcVar1 = "Unix (GTK + X11)";
  if (buildinfo_gtk_relevant == 0) {
    pcVar1 = "Unix";
  }
  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1);
  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");
  pcVar1 = buildinfo_gtk_version();
  if (pcVar1 != (char *)0x0) {
    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);
    free(pcVar1);
  }
  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);
  pcVar1 = buf->s;
  free(buf);
  return pcVar1;
}



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

undefined4 FUN_0001b7f0(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 *__ptr;
  char *pcVar2;
  void *__ptr_00;
  
  __ptr = (undefined4 *)FUN_0001abb0();
  pcVar2 = "Unix (GTK + X11)";
  if (DAT_00081bf8 == 0) {
    pcVar2 = "Unix";
  }
  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);
  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");
  __ptr_00 = (void *)FUN_000687d0();
  if (__ptr_00 != (void *)0x0) {
    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);
    free(__ptr_00);
  }
  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);
  uVar1 = *__ptr;
  free(__ptr);
  return uVar1;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014970
ADD EBX,0x8e597
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
CALL 0x0001abb0
MOV ESI,EAX
LEA EAX,[EBX + 0xfffd7e68]
LEA EDX,[EBX + 0xfffc7477]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
LEA EAX,[EBX + 0xfffc7466]
CMOVZ EAX,EDX
PUSH EAX
LEA EAX,[EBX + 0xfffc747c]
PUSH 0x20
PUSH EAX
PUSH ESI
CALL 0x0001b170
LEA EAX,[EBX + 0xfffc7496]
PUSH EAX
LEA EAX,[EBX + 0xfffc749c]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001b170
ADD ESP,0x20
CALL 0x000687d0
TEST EAX,EAX
JZ 0x0001b873
PUSH EAX
MOV EBP,EAX
LEA EAX,[EBX + 0xfffc7508]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001b170
MOV dword ptr [ESP],EBP
CALL 0x00014120
ADD ESP,0x10
LEA EAX,[EBX + 0xfffc74af]
PUSH dword ptr [EBX + 0x23c]
PUSH EDI
PUSH EAX
PUSH ESI
CALL 0x0001b170
MOV EDI,dword ptr [ESI]
MOV dword ptr [ESP],ESI
CALL 0x00014120
ADD ESP,0x1c
POP EBX
MOV EAX,EDI
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001b7f0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_0001b7f0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0001b7f0(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  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr = (undefined4 *)FUN_0001abb0();" (assignment_expression "__ptr = (undefined4 *)FUN_0001abb0()" identifier = (cast_expression "(undefined4 *)FUN_0001abb0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001abb0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pcVar2 = "Unix (GTK + X11)";" (assignment_expression "pcVar2 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }" if (parenthesized_expression "(DAT_00081bf8 == 0)" ( (binary_expression "DAT_00081bf8 == 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 "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);" (call_expression "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" identifier (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" ( identifier , (string_literal ""Build platform: %d-bit %s"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001b170(__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_000687d0();" (assignment_expression "__ptr_00 = (void *)FUN_000687d0()" identifier = (cast_expression "(void *)FUN_000687d0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000687d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__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_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" { (expression_statement "FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001b170(__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_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);" (call_expression "FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" identifier (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" ( 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 ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(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  strbuf *buf;\n  char *pcVar1;\n  \n  buf = strbuf_new();\n  pcVar1 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar1 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar1 = buildinfo_gtk_version();\n  if (pcVar1 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);\n    free(pcVar1);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);\n  pcVar1 = buf->s;\n  free(buf);\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * buildinfo(char *newline)\n\n{\n  strbuf *buf;\n  char *pcVar1;\n  \n  buf = strbuf_new();\n  pcVar1 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar1 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar1 = buildinfo_gtk_version();\n  if (pcVar1 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);\n    free(pcVar1);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);\n  pcVar1 = buf->s;\n  free(buf);\n  return pcVar1;\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  strbuf *buf;\n  char *pcVar1;\n  \n  buf = strbuf_new();\n  pcVar1 = "Unix (GTK + X11)";\n  if (buildinfo_gtk_relevant == 0) {\n    pcVar1 = "Unix";\n  }\n  strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1);\n  strbuf_catf(buf,"%sCompiler: gcc %s",newline,"8.3.0");\n  pcVar1 = buildinfo_gtk_version();\n  if (pcVar1 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);\n    free(pcVar1);\n  }\n  strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);\n  pcVar1 = buf->s;\n  free(buf);\n  return pcVar1;\n}" { (declaration "strbuf *buf;" type_identifier (pointer_declarator "*buf" * identifier) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "buf = strbuf_new();" (assignment_expression "buf = strbuf_new()" identifier = (call_expression "strbuf_new()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar1 = "Unix (GTK + X11)";" (assignment_expression "pcVar1 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (buildinfo_gtk_relevant == 0) {\n    pcVar1 = "Unix";\n  }" if (parenthesized_expression "(buildinfo_gtk_relevant == 0)" ( (binary_expression "buildinfo_gtk_relevant == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar1 = "Unix";\n  }" { (expression_statement "pcVar1 = "Unix";" (assignment_expression "pcVar1 = "Unix"" identifier = (string_literal ""Unix"" " string_content ")) ;) })) (expression_statement "strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1);" (call_expression "strbuf_catf(buf,"Build platform: %d-bit %s",0x20,pcVar1)" identifier (argument_list "(buf,"Build platform: %d-bit %s",0x20,pcVar1)" ( 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 "pcVar1 = buildinfo_gtk_version();" (assignment_expression "pcVar1 = buildinfo_gtk_version()" identifier = (call_expression "buildinfo_gtk_version()" identifier (argument_list "()" ( )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);\n    free(pcVar1);\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (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,pcVar1);\n    free(pcVar1);\n  }" { (expression_statement "strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1);" (call_expression "strbuf_catf(buf,"%sCompiled against GTK version %s",newline,pcVar1)" identifier (argument_list "(buf,"%sCompiled against GTK version %s",newline,pcVar1)" ( identifier , (string_literal ""%sCompiled against GTK version %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "free(pcVar1);" (call_expression "free(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier ))) ;) })) (expression_statement "strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);" (call_expression "strbuf_catf(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc)" identifier (argument_list "(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc)" ( identifier , (string_literal ""%sSource commit: %s"" " string_content ") , identifier , identifier ))) ;) (expression_statement "pcVar1 = buf->s;" (assignment_expression "pcVar1 = buf->s" identifier = (field_expression "buf->s" identifier -> field_identifier)) ;) (expression_statement "free(buf);" (call_expression "free(buf)" identifier (argument_list "(buf)" ( identifier ))) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_0001b7f0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_0001b7f0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0001b7f0(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  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr = (undefined4 *)FUN_0001abb0();" (assignment_expression "__ptr = (undefined4 *)FUN_0001abb0()" identifier = (cast_expression "(undefined4 *)FUN_0001abb0()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001abb0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pcVar2 = "Unix (GTK + X11)";" (assignment_expression "pcVar2 = "Unix (GTK + X11)"" identifier = (string_literal ""Unix (GTK + X11)"" " string_content ")) ;) (if_statement "if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }" if (parenthesized_expression "(DAT_00081bf8 == 0)" ( (binary_expression "DAT_00081bf8 == 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 "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);" (call_expression "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" identifier (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" ( identifier , (string_literal ""Build platform: %d-bit %s"" " string_content ") , number_literal , identifier ))) ;) (expression_statement "FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001b170(__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_000687d0();" (assignment_expression "__ptr_00 = (void *)FUN_000687d0()" identifier = (cast_expression "(void *)FUN_000687d0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000687d0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__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_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" { (expression_statement "FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001b170(__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_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);" (call_expression "FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" identifier (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" ( 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 ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(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) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (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 ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0001b7f0(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 *__ptr;\n  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001b7f0(undefined4 param_1)" (identifier "FUN_0001b7f0") (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  char *pcVar2;\n  void *__ptr_00;\n  \n  __ptr = (undefined4 *)FUN_0001abb0();\n  pcVar2 = "Unix (GTK + X11)";\n  if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }\n  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);\n  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");\n  __ptr_00 = (void *)FUN_000687d0();\n  if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }\n  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);\n  uVar1 = *__ptr;\n  free(__ptr);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "void *__ptr_00;" (primitive_type "void") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (expression_statement "__ptr = (undefined4 *)FUN_0001abb0();" (assignment_expression "__ptr = (undefined4 *)FUN_0001abb0()" (identifier "__ptr") (= "=") (cast_expression "(undefined4 *)FUN_0001abb0()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001abb0()" (identifier "FUN_0001abb0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "pcVar2 = "Unix (GTK + X11)";" (assignment_expression "pcVar2 = "Unix (GTK + X11)"" (identifier "pcVar2") (= "=") (string_literal ""Unix (GTK + X11)"" (" """) (string_content "Unix (GTK + X11)") (" """))) (; ";")) (if_statement "if (DAT_00081bf8 == 0) {\n    pcVar2 = "Unix";\n  }" (if "if") (parenthesized_expression "(DAT_00081bf8 == 0)" (( "(") (binary_expression "DAT_00081bf8 == 0" (identifier "DAT_00081bf8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = "Unix";\n  }" ({ "{") (expression_statement "pcVar2 = "Unix";" (assignment_expression "pcVar2 = "Unix"" (identifier "pcVar2") (= "=") (string_literal ""Unix"" (" """) (string_content "Unix") (" """))) (; ";")) (} "}"))) (expression_statement "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);" (call_expression "FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" (identifier "FUN_0001b170") (argument_list "(__ptr,"Build platform: %d-bit %s",0x20,pcVar2)" (( "(") (identifier "__ptr") (, ",") (string_literal ""Build platform: %d-bit %s"" (" """) (string_content "Build platform: %d-bit %s") (" """)) (, ",") (number_literal "0x20") (, ",") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");" (call_expression "FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0")" (identifier "FUN_0001b170") (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_000687d0();" (assignment_expression "__ptr_00 = (void *)FUN_000687d0()" (identifier "__ptr_00") (= "=") (cast_expression "(void *)FUN_000687d0()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000687d0()" (identifier "FUN_000687d0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr_00 != (void *)0x0) {\n    FUN_0001b170(__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_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);\n    free(__ptr_00);\n  }" ({ "{") (expression_statement "FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);" (call_expression "FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00)" (identifier "FUN_0001b170") (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_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);" (call_expression "FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" (identifier "FUN_0001b170") (argument_list "(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc)" (( "(") (identifier "__ptr") (, ",") (string_literal ""%sSource commit: %s"" (" """) (string_content "%sSource commit: %s") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc") () ")"))) (; ";")) (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") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

char * function_1(char *newline)

{
  type_1 *buf;
  char *var_5;
  
  buf = var_1();
  var_5 = "Unix (GTK + X11)";
  if (var_2 == 0) {
    var_5 = "Unix";
  }
  var_3(buf,"Build platform: %d-bit %s",0x20,var_5);
  var_3(buf,"%sCompiler: gcc %s",newline,"8.3.0");
  var_5 = var_4();
  if (var_5 != (char *)0x0) {
    var_3(buf,"%sCompiled against GTK version %s",newline,var_5);
    var_6(var_5);
  }
  var_3(buf,"%sSource commit: %s",newline,PTR_commitid_000a9fcc);
  var_5 = buf->s;
  var_6(buf);
  return var_5;
}


(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (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))))) (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)))) (return_statement (identifier)))))

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

undefined4 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 *__ptr;
  char *pcVar2;
  void *__ptr_00;
  
  __ptr = (undefined4 *)FUN_0001abb0();
  pcVar2 = "Unix (GTK + X11)";
  if (DAT_00081bf8 == 0) {
    pcVar2 = "Unix";
  }
  FUN_0001b170(__ptr,"Build platform: %d-bit %s",0x20,pcVar2);
  FUN_0001b170(__ptr,"%sCompiler: gcc %s",param_1,"8.3.0");
  __ptr_00 = (void *)FUN_000687d0();
  if (__ptr_00 != (void *)0x0) {
    FUN_0001b170(__ptr,"%sCompiled against GTK version %s",param_1,__ptr_00);
    free(__ptr_00);
  }
  FUN_0001b170(__ptr,"%sSource commit: %s",param_1,PTR_s_3cd10509a51edf5a21cdc80aabf7e6a9_000a9fcc);
  uVar1 = *__ptr;
  free(__ptr);
  return uVar1;
}

