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

int sha256_verify(void *handle,uchar *blk,int len,ulong seq)

{
  int iVar1;
  int iVar2;
  int in_GS_OFFSET;
  uchar correct [32];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  sha256_do_hmac(handle,blk,len,seq,correct);
  iVar2 = smemeq(correct,blk + len,0x20);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar2;
  }
                    /* 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_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)

{
  int in_GS_OFFSET;
  undefined1 local_40 [32];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3b199;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_0003b100(param_4,local_40);
  FUN_0001a500(local_40,param_2 + param_3,0x20);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0004aab0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000152d0
ADD EBX,0x33b4f
SUB ESP,0x44
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x34],EAX
XOR EAX,EAX
LEA EDI,[ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x5c]
MOV EBP,dword ptr [ESP + 0x60]
PUSH EDI
PUSH dword ptr [ESP + 0x68]
MOV EAX,dword ptr [ESP + 0x60]
MOV EDX,ESI
MOV ECX,EBP
ADD ESI,EBP
CALL 0x0003b100
ADD ESP,0xc
PUSH 0x20
PUSH ESI
PUSH EDI
CALL 0x0001a500
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x2c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x0003b1f2
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0004aab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004aab0();\n}\n\n" comment (function_definition "void FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004aab0();\n}" primitive_type (function_declarator "FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0004aab0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_40 [32];" type_identifier (array_declarator "local_40 [32]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3b199;" (assignment_expression "uStack_14 = 0x3b199" 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 "FUN_0003b100(param_4,local_40);" (call_expression "FUN_0003b100(param_4,local_40)" identifier (argument_list "(param_4,local_40)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001a500(local_40,param_2 + param_3,0x20);" (call_expression "FUN_0001a500(local_40,param_2 + param_3,0x20)" identifier (argument_list "(local_40,param_2 + param_3,0x20)" ( identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0004aab0();" (call_expression "FUN_0004aab0()" 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\nint sha256_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uchar correct [32];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  sha256_do_hmac(handle,blk,len,seq,correct);\n  iVar2 = smemeq(correct,blk + len,0x20);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "int sha256_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uchar correct [32];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  sha256_do_hmac(handle,blk,len,seq,correct);\n  iVar2 = smemeq(correct,blk + len,0x20);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "sha256_verify(void *handle,uchar *blk,int len,ulong seq)" identifier (parameter_list "(void *handle,uchar *blk,int len,ulong seq)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "uchar *blk" type_identifier (pointer_declarator "*blk" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "ulong seq" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int in_GS_OFFSET;\n  uchar correct [32];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  sha256_do_hmac(handle,blk,len,seq,correct);\n  iVar2 = smemeq(correct,blk + len,0x20);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uchar correct [32];" type_identifier (array_declarator "correct [32]" 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 "sha256_do_hmac(handle,blk,len,seq,correct);" (call_expression "sha256_do_hmac(handle,blk,len,seq,correct)" identifier (argument_list "(handle,blk,len,seq,correct)" ( identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = smemeq(correct,blk + len,0x20);" (assignment_expression "iVar2 = smemeq(correct,blk + len,0x20)" identifier = (call_expression "smemeq(correct,blk + len,0x20)" identifier (argument_list "(correct,blk + len,0x20)" ( identifier , (binary_expression "blk + len" identifier + identifier) , number_literal )))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar2;\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 iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0004aab0();\n}\n\n" (function_definition "void FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0004aab0();\n}" primitive_type (function_declarator "FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0004aab0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 local_40 [32];" type_identifier (array_declarator "local_40 [32]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3b199;" (assignment_expression "uStack_14 = 0x3b199" 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 "FUN_0003b100(param_4,local_40);" (call_expression "FUN_0003b100(param_4,local_40)" identifier (argument_list "(param_4,local_40)" ( identifier , identifier ))) ;) (expression_statement "FUN_0001a500(local_40,param_2 + param_3,0x20);" (call_expression "FUN_0001a500(local_40,param_2 + param_3,0x20)" identifier (argument_list "(local_40,param_2 + param_3,0x20)" ( identifier , (binary_expression "param_2 + param_3" identifier + identifier) , number_literal ))) ;) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0004aab0();" (call_expression "FUN_0004aab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0004aab0();\n}" (primitive_type "void") (function_declarator "FUN_0003b190(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" (identifier "FUN_0003b190") (parameter_list "(undefined4 param_1,int param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  undefined1 local_40 [32];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3b199;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_0003b100(param_4,local_40);\n  FUN_0001a500(local_40,param_2 + param_3,0x20);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0004aab0();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 local_40 [32];" (type_identifier "undefined1") (array_declarator "local_40 [32]" (identifier "local_40") ([ "[") (number_literal "32") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x3b199;" (assignment_expression "uStack_14 = 0x3b199" (identifier "uStack_14") (= "=") (number_literal "0x3b199")) (; ";")) (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 "FUN_0003b100(param_4,local_40);" (call_expression "FUN_0003b100(param_4,local_40)" (identifier "FUN_0003b100") (argument_list "(param_4,local_40)" (( "(") (identifier "param_4") (, ",") (identifier "local_40") () ")"))) (; ";")) (expression_statement "FUN_0001a500(local_40,param_2 + param_3,0x20);" (call_expression "FUN_0001a500(local_40,param_2 + param_3,0x20)" (identifier "FUN_0001a500") (argument_list "(local_40,param_2 + param_3,0x20)" (( "(") (identifier "local_40") (, ",") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) (, ",") (number_literal "0x20") () ")"))) (; ";")) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0004aab0();" (call_expression "FUN_0004aab0()" (identifier "FUN_0004aab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)

{
  int var_6;
  int iVar2;
  int var_1;
  type_1 correct [32];
  
  var_6 = *(int *)(var_1 + 0x14);
  var_2(handle,var_4,var_5,seq,correct);
  iVar2 = var_3(correct,var_4 + var_5,0x20);
  if (var_6 == *(int *)(var_1 + 0x14)) {
    return iVar2;
  }
                    /* 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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (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(undefined4 param_1,int param_2,int param_3,undefined4 param_4)

{
  int in_GS_OFFSET;
  undefined1 local_40 [32];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3b199;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_0003b100(param_4,local_40);
  FUN_0001a500(local_40,param_2 + param_3,0x20);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0004aab0();
}

