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

void __regparm3 sqlite3MallocAlarm(int nByte)

{
  sqlite3_mutex_leave(mem0.mutex);
  sqlite3_release_memory(nByte);
  sqlite3_mutex_enter(mem0.mutex);
  return;
}



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

void __regparm3 FUN_00024620(undefined4 param_1)

{
  sqlite3_mutex_leave(DAT_000df9e4);
  sqlite3_release_memory(param_1);
  sqlite3_mutex_enter(DAT_000df9e4);
  return;
}


PUSH ESI
PUSH EBX
MOV ESI,EAX
CALL 0x0001d810
ADD EBX,0xb99d7
SUB ESP,0x10
PUSH dword ptr [EBX + 0x19e4]
CALL 0x00016830
MOV dword ptr [ESP],ESI
CALL 0x000167b0
POP EAX
PUSH dword ptr [EBX + 0x19e4]
CALL 0x000168d0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00024620(undefined4 param_1)\n\n{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00024620(undefined4 param_1)\n\n{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00024620(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" { (expression_statement "sqlite3_mutex_leave(DAT_000df9e4);" (call_expression "sqlite3_mutex_leave(DAT_000df9e4)" identifier (argument_list "(DAT_000df9e4)" ( identifier ))) ;) (expression_statement "sqlite3_release_memory(param_1);" (call_expression "sqlite3_release_memory(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "sqlite3_mutex_enter(DAT_000df9e4);" (call_expression "sqlite3_mutex_enter(DAT_000df9e4)" identifier (argument_list "(DAT_000df9e4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 sqlite3MallocAlarm(int nByte)\n\n{\n  sqlite3_mutex_leave(mem0.mutex);\n  sqlite3_release_memory(nByte);\n  sqlite3_mutex_enter(mem0.mutex);\n  return;\n}\n\n" comment (function_definition "void __regparm3 sqlite3MallocAlarm(int nByte)\n\n{\n  sqlite3_mutex_leave(mem0.mutex);\n  sqlite3_release_memory(nByte);\n  sqlite3_mutex_enter(mem0.mutex);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3MallocAlarm(int nByte)" identifier (parameter_list "(int nByte)" ( (parameter_declaration "int nByte" primitive_type identifier) ))) (compound_statement "{\n  sqlite3_mutex_leave(mem0.mutex);\n  sqlite3_release_memory(nByte);\n  sqlite3_mutex_enter(mem0.mutex);\n  return;\n}" { (expression_statement "sqlite3_mutex_leave(mem0.mutex);" (call_expression "sqlite3_mutex_leave(mem0.mutex)" identifier (argument_list "(mem0.mutex)" ( (field_expression "mem0.mutex" identifier . field_identifier) ))) ;) (expression_statement "sqlite3_release_memory(nByte);" (call_expression "sqlite3_release_memory(nByte)" identifier (argument_list "(nByte)" ( identifier ))) ;) (expression_statement "sqlite3_mutex_enter(mem0.mutex);" (call_expression "sqlite3_mutex_enter(mem0.mutex)" identifier (argument_list "(mem0.mutex)" ( (field_expression "mem0.mutex" identifier . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00024620(undefined4 param_1)\n\n{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00024620(undefined4 param_1)\n\n{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00024620(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" { (expression_statement "sqlite3_mutex_leave(DAT_000df9e4);" (call_expression "sqlite3_mutex_leave(DAT_000df9e4)" identifier (argument_list "(DAT_000df9e4)" ( identifier ))) ;) (expression_statement "sqlite3_release_memory(param_1);" (call_expression "sqlite3_release_memory(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "sqlite3_mutex_enter(DAT_000df9e4);" (call_expression "sqlite3_mutex_enter(DAT_000df9e4)" identifier (argument_list "(DAT_000df9e4)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00024620(undefined4 param_1)\n\n{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00024620(undefined4 param_1)" (identifier "FUN_00024620") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  sqlite3_mutex_leave(DAT_000df9e4);\n  sqlite3_release_memory(param_1);\n  sqlite3_mutex_enter(DAT_000df9e4);\n  return;\n}" ({ "{") (expression_statement "sqlite3_mutex_leave(DAT_000df9e4);" (call_expression "sqlite3_mutex_leave(DAT_000df9e4)" (identifier "sqlite3_mutex_leave") (argument_list "(DAT_000df9e4)" (( "(") (identifier "DAT_000df9e4") () ")"))) (; ";")) (expression_statement "sqlite3_release_memory(param_1);" (call_expression "sqlite3_release_memory(param_1)" (identifier "sqlite3_release_memory") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "sqlite3_mutex_enter(DAT_000df9e4);" (call_expression "sqlite3_mutex_enter(DAT_000df9e4)" (identifier "sqlite3_mutex_enter") (argument_list "(DAT_000df9e4)" (( "(") (identifier "DAT_000df9e4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(int nByte)

{
  var_1(mem0.mutex);
  var_2(nByte);
  var_3(mem0.mutex);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void __regparm3 MASKED(undefined4 param_1)

{
  sqlite3_mutex_leave(DAT_000df9e4);
  sqlite3_release_memory(param_1);
  sqlite3_mutex_enter(DAT_000df9e4);
  return;
}

