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

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

{
  int iVar1;
  int in_GS_OFFSET;
  uchar iv [4];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  poly_start(handle);
  iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18);
  poly_bytes(handle,iv,4);
  smemclr(iv,4);
  poly_bytes(handle,blk,len);
  if (iVar1 == *(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 __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)

{
  int in_GS_OFFSET;
  uint local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x44bff;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_00043b00(param_1);
  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18
  ;
  FUN_00044990(param_1,&local_24,4);
  FUN_0001d300(&local_24,4);
  FUN_00044990(param_1,param_2,param_3);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EDX
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00015fa0
ADD EBX,0x60171
SUB ESP,0x2c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
PUSH ESI
CALL 0x00043b00
MOV EAX,dword ptr [ESP + 0x44]
BSWAP EAX
MOV dword ptr [ESP + 0x1c],EAX
PUSH 0x4
LEA EAX,[ESP + 0x20]
PUSH EAX
MOV dword ptr [ESP + 0x18],EAX
PUSH ESI
CALL 0x00044990
POP EAX
POP EDX
PUSH 0x4
MOV EAX,dword ptr [ESP + 0x18]
PUSH EAX
CALL 0x0001d300
ADD ESP,0xc
PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x00044990
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00044c66
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0006dad0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)\n\n{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}\n\n" comment (function_definition "void __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)\n\n{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x44bff;" (assignment_expression "uStack_14 = 0x44bff" 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_00043b00(param_1);" (call_expression "FUN_00043b00(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;" (assignment_expression "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" identifier = (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" identifier >> number_literal) | (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x18" identifier << number_literal))) ;) (expression_statement "FUN_00044990(param_1,&local_24,4);" (call_expression "FUN_00044990(param_1,&local_24,4)" identifier (argument_list "(param_1,&local_24,4)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal ))) ;) (expression_statement "FUN_0001d300(&local_24,4);" (call_expression "FUN_0001d300(&local_24,4)" identifier (argument_list "(&local_24,4)" ( (pointer_expression "&local_24" & identifier) , number_literal ))) ;) (expression_statement "FUN_00044990(param_1,param_2,param_3);" (call_expression "FUN_00044990(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (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_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 poly_op(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  uchar iv [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  poly_start(handle);\n  iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18);\n  poly_bytes(handle,iv,4);\n  smemclr(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "void __regparm3 poly_op(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  int in_GS_OFFSET;\n  uchar iv [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  poly_start(handle);\n  iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18);\n  poly_bytes(handle,iv,4);\n  smemclr(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "poly_op(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 in_GS_OFFSET;\n  uchar iv [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  poly_start(handle);\n  iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18);\n  poly_bytes(handle,iv,4);\n  smemclr(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uchar iv [4];" type_identifier (array_declarator "iv [4]" 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 "poly_start(handle);" (call_expression "poly_start(handle)" identifier (argument_list "(handle)" ( identifier ))) ;) (expression_statement "iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18);" (assignment_expression "iv = (uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18)" identifier = (call_expression "(uchar  [4])(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18)" (parenthesized_expression "(uchar  [4])" ( (subscript_expression "uchar  [4]" identifier [ number_literal ]) )) (argument_list "(seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18)" ( (binary_expression "seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8 | seq << 0x18" (binary_expression "seq >> 0x18 | (seq & 0xff0000) >> 8 | (seq & 0xff00) << 8" (binary_expression "seq >> 0x18 | (seq & 0xff0000) >> 8" (binary_expression "seq >> 0x18" identifier >> number_literal) | (binary_expression "(seq & 0xff0000) >> 8" (parenthesized_expression "(seq & 0xff0000)" ( (binary_expression "seq & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(seq & 0xff00) << 8" (parenthesized_expression "(seq & 0xff00)" ( (binary_expression "seq & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "seq << 0x18" identifier << number_literal)) )))) ;) (expression_statement "poly_bytes(handle,iv,4);" (call_expression "poly_bytes(handle,iv,4)" identifier (argument_list "(handle,iv,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "smemclr(iv,4);" (call_expression "smemclr(iv,4)" identifier (argument_list "(iv,4)" ( identifier , number_literal ))) ;) (expression_statement "poly_bytes(handle,blk,len);" (call_expression "poly_bytes(handle,blk,len)" identifier (argument_list "(handle,blk,len)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\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;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)\n\n{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0006dad0();\n}\n\n" (function_definition "void __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)\n\n{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0006dad0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) ))) (compound_statement "{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0006dad0();\n}" { (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x44bff;" (assignment_expression "uStack_14 = 0x44bff" 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_00043b00(param_1);" (call_expression "FUN_00043b00(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;" (assignment_expression "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" identifier = (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" identifier >> number_literal) | (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" ( (binary_expression "param_4 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" ( (binary_expression "param_4 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "param_4 << 0x18" identifier << number_literal))) ;) (expression_statement "FUN_00044990(param_1,&local_24,4);" (call_expression "FUN_00044990(param_1,&local_24,4)" identifier (argument_list "(param_1,&local_24,4)" ( identifier , (pointer_expression "&local_24" & identifier) , number_literal ))) ;) (expression_statement "FUN_0001d300(&local_24,4);" (call_expression "FUN_0001d300(&local_24,4)" identifier (argument_list "(&local_24,4)" ( (pointer_expression "&local_24" & identifier) , number_literal ))) ;) (expression_statement "FUN_00044990(param_1,param_2,param_3);" (call_expression "FUN_00044990(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (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_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (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 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 (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , 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 __regparm3 FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)\n\n{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0006dad0();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00044bf0(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" (identifier "FUN_00044bf0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) () ")"))) (compound_statement "{\n  int in_GS_OFFSET;\n  uint local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x44bff;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  FUN_00043b00(param_1);\n  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;\n  FUN_00044990(param_1,&local_24,4);\n  FUN_0001d300(&local_24,4);\n  FUN_00044990(param_1,param_2,param_3);\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_0006dad0();\n}" ({ "{") (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x44bff;" (assignment_expression "uStack_14 = 0x44bff" (identifier "uStack_14") (= "=") (number_literal "0x44bff")) (; ";")) (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_00043b00(param_1);" (call_expression "FUN_00043b00(param_1)" (identifier "FUN_00043b00") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18\n  ;" (assignment_expression "local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" (identifier "local_24") (= "=") (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8" (binary_expression "param_4 >> 0x18 | (param_4 & 0xff0000) >> 8" (binary_expression "param_4 >> 0x18" (identifier "param_4") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(param_4 & 0xff0000) >> 8" (parenthesized_expression "(param_4 & 0xff0000)" (( "(") (binary_expression "param_4 & 0xff0000" (identifier "param_4") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(param_4 & 0xff00) << 8" (parenthesized_expression "(param_4 & 0xff00)" (( "(") (binary_expression "param_4 & 0xff00" (identifier "param_4") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "param_4 << 0x18" (identifier "param_4") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "FUN_00044990(param_1,&local_24,4);" (call_expression "FUN_00044990(param_1,&local_24,4)" (identifier "FUN_00044990") (argument_list "(param_1,&local_24,4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "FUN_0001d300(&local_24,4);" (call_expression "FUN_0001d300(&local_24,4)" (identifier "FUN_0001d300") (argument_list "(&local_24,4)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "FUN_00044990(param_1,param_2,param_3);" (call_expression "FUN_00044990(param_1,param_2,param_3)" (identifier "FUN_00044990") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (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_0006dad0();" (call_expression "FUN_0006dad0()" (identifier "FUN_0006dad0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void __regparm3 function_1(void *handle,type_1 *blk,int len,type_2 var_3)

{
  int var_6;
  int var_1;
  type_1 iv [4];
  
  var_6 = *(int *)(var_1 + 0x14);
  var_2(handle);
  iv = (type_1  [4])(var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18);
  var_4(handle,iv,4);
  var_5(iv,4);
  var_4(handle,blk,len);
  if (var_6 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) 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 (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (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 __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,uint param_4)

{
  int in_GS_OFFSET;
  uint local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x44bff;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  FUN_00043b00(param_1);
  local_24 = param_4 >> 0x18 | (param_4 & 0xff0000) >> 8 | (param_4 & 0xff00) << 8 | param_4 << 0x18
  ;
  FUN_00044990(param_1,&local_24,4);
  FUN_0001d300(&local_24,4);
  FUN_00044990(param_1,param_2,param_3);
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}

