
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void random_save_seed(void)

{
  int in_GS_OFFSET;
  int len;
  void *data;
  int local_10;
  undefined4 uStack_8;
  
  uStack_8 = 0x86136;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (random_active != 0) {
    random_get_savedata(&data,&len);
    write_random_seed(data,len);
    safefree(data);
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

void FUN_00086130(void)

{
  int in_GS_OFFSET;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  undefined4 uStack_8;
  
  uStack_8 = 0x86136;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (DAT_000cd3a0 != 0) {
    FUN_0006dcd0(&local_14,&local_18);
    FUN_0008aee0(local_14,local_18);
    FUN_0001dd30(local_14);
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}


PUSH EBX
CALL 0x000149a0
ADD EBX,0x46c3a
SUB ESP,0x18
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xc],EAX
XOR EAX,EAX
LEA EAX,[EBX + 0x630]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x00086170
MOV EAX,dword ptr [ESP + 0xc]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000861a0
ADD ESP,0x18
POP EBX
RET
SUB ESP,0x8
LEA EAX,[ESP + 0xc]
PUSH EAX
LEA EAX,[ESP + 0x14]
PUSH EAX
CALL 0x0006dcd0
POP EAX
POP EDX
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0x14]
CALL 0x0008aee0
POP ECX
PUSH dword ptr [ESP + 0x14]
CALL 0x0001dd30
ADD ESP,0x10
JMP 0x00086157
CALL 0x0008d800
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00086130(void)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}\n\n" comment (function_definition "void FUN_00086130(void)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" primitive_type (function_declarator "FUN_00086130(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008d800();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x86136;" (assignment_expression "uStack_8 = 0x86136" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" if (parenthesized_expression "(DAT_000cd3a0 != 0)" ( (binary_expression "DAT_000cd3a0 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" { (expression_statement "FUN_0006dcd0(&local_14,&local_18);" (call_expression "FUN_0006dcd0(&local_14,&local_18)" identifier (argument_list "(&local_14,&local_18)" ( (pointer_expression "&local_14" & identifier) , (pointer_expression "&local_18" & identifier) ))) ;) (expression_statement "FUN_0008aee0(local_14,local_18);" (call_expression "FUN_0008aee0(local_14,local_18)" identifier (argument_list "(local_14,local_18)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001dd30(local_14);" (call_expression "FUN_0001dd30(local_14)" identifier (argument_list "(local_14)" ( identifier ))) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid random_save_seed(void)\n\n{\n  int in_GS_OFFSET;\n  int len;\n  void *data;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (random_active != 0) {\n    random_get_savedata(&data,&len);\n    write_random_seed(data,len);\n    safefree(data);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "void random_save_seed(void)\n\n{\n  int in_GS_OFFSET;\n  int len;\n  void *data;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (random_active != 0) {\n    random_get_savedata(&data,&len);\n    write_random_seed(data,len);\n    safefree(data);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "random_save_seed(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  int len;\n  void *data;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (random_active != 0) {\n    random_get_savedata(&data,&len);\n    write_random_seed(data,len);\n    safefree(data);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int len;" primitive_type identifier ;) (declaration "void *data;" primitive_type (pointer_declarator "*data" * identifier) ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x86136;" (assignment_expression "uStack_8 = 0x86136" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (random_active != 0) {\n    random_get_savedata(&data,&len);\n    write_random_seed(data,len);\n    safefree(data);\n  }" if (parenthesized_expression "(random_active != 0)" ( (binary_expression "random_active != 0" identifier != number_literal) )) (compound_statement "{\n    random_get_savedata(&data,&len);\n    write_random_seed(data,len);\n    safefree(data);\n  }" { (expression_statement "random_get_savedata(&data,&len);" (call_expression "random_get_savedata(&data,&len)" identifier (argument_list "(&data,&len)" ( (pointer_expression "&data" & identifier) , (pointer_expression "&len" & identifier) ))) ;) (expression_statement "write_random_seed(data,len);" (call_expression "write_random_seed(data,len)" identifier (argument_list "(data,len)" ( identifier , identifier ))) ;) (expression_statement "safefree(data);" (call_expression "safefree(data)" identifier (argument_list "(data)" ( identifier ))) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00086130(void)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}\n\n" (function_definition "void FUN_00086130(void)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" primitive_type (function_declarator "FUN_00086130(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "undefined4 local_14;" type_identifier identifier ;) (declaration "int local_10;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x86136;" (assignment_expression "uStack_8 = 0x86136" identifier = number_literal) ;) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" if (parenthesized_expression "(DAT_000cd3a0 != 0)" ( (binary_expression "DAT_000cd3a0 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" { (expression_statement "FUN_0006dcd0(&local_14,&local_18);" (call_expression "FUN_0006dcd0(&local_14,&local_18)" identifier (argument_list "(&local_14,&local_18)" ( (pointer_expression "&local_14" & identifier) , (pointer_expression "&local_18" & identifier) ))) ;) (expression_statement "FUN_0008aee0(local_14,local_18);" (call_expression "FUN_0008aee0(local_14,local_18)" identifier (argument_list "(local_14,local_18)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001dd30(local_14);" (call_expression "FUN_0001dd30(local_14)" identifier (argument_list "(local_14)" ( identifier ))) ;) })) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00086130(void)\n\n{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" (primitive_type "void") (function_declarator "FUN_00086130(void)" (identifier "FUN_00086130") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined4 local_18;\n  undefined4 local_14;\n  int local_10;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x86136;\n  local_10 = *(int *)(in_GS_OFFSET + 0x14);\n  if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }\n  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0008d800();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "undefined4 local_14;" (type_identifier "undefined4") (identifier "local_14") (; ";")) (declaration "int local_10;" (primitive_type "int") (identifier "local_10") (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x86136;" (assignment_expression "uStack_8 = 0x86136" (identifier "uStack_8") (= "=") (number_literal "0x86136")) (; ";")) (expression_statement "local_10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (DAT_000cd3a0 != 0) {\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" (if "if") (parenthesized_expression "(DAT_000cd3a0 != 0)" (( "(") (binary_expression "DAT_000cd3a0 != 0" (identifier "DAT_000cd3a0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0006dcd0(&local_14,&local_18);\n    FUN_0008aee0(local_14,local_18);\n    FUN_0001dd30(local_14);\n  }" ({ "{") (expression_statement "FUN_0006dcd0(&local_14,&local_18);" (call_expression "FUN_0006dcd0(&local_14,&local_18)" (identifier "FUN_0006dcd0") (argument_list "(&local_14,&local_18)" (( "(") (pointer_expression "&local_14" (& "&") (identifier "local_14")) (, ",") (pointer_expression "&local_18" (& "&") (identifier "local_18")) () ")"))) (; ";")) (expression_statement "FUN_0008aee0(local_14,local_18);" (call_expression "FUN_0008aee0(local_14,local_18)" (identifier "FUN_0008aee0") (argument_list "(local_14,local_18)" (( "(") (identifier "local_14") (, ",") (identifier "local_18") () ")"))) (; ";")) (expression_statement "FUN_0001dd30(local_14);" (call_expression "FUN_0001dd30(local_14)" (identifier "FUN_0001dd30") (argument_list "(local_14)" (( "(") (identifier "local_14") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_10") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008d800();" (call_expression "FUN_0008d800()" (identifier "FUN_0008d800") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_1;
  int len;
  void *data;
  int var_6;
  type_1 uStack_8;
  
  uStack_8 = 0x86136;
  var_6 = *(int *)(var_1 + 0x14);
  if (var_2 != 0) {
    var_3(&data,&len);
    var_4(data,len);
    var_5(data);
  }
  if (var_6 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) 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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void MASKED(void)

{
  int in_GS_OFFSET;
  undefined4 local_18;
  undefined4 local_14;
  int local_10;
  undefined4 uStack_8;
  
  uStack_8 = 0x86136;
  local_10 = *(int *)(in_GS_OFFSET + 0x14);
  if (DAT_000cd3a0 != 0) {
    FUN_0006dcd0(&local_14,&local_18);
    FUN_0008aee0(local_14,local_18);
    FUN_0001dd30(local_14);
  }
  if (local_10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008d800();
}

