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

void agent_query_synchronous(void *in,int inlen,void **out,int *outlen)

{
  agent_pending_query *paVar1;
  
  paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0);
  if (paVar1 == (agent_pending_query *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");
}



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

void FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);
  if (iVar1 == 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");
}


PUSH EBX
CALL 0x00014970
ADD EBX,0x952da
SUB ESP,0x10
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
CALL 0x000642e0
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x00014ae4
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0xfffc628c]
PUSH EAX
LEA EAX,[EBX + 0xfffc6278]
PUSH 0x13
PUSH EAX
LEA EAX,[EBX + 0xfffc6281]
PUSH EAX
CALL 0x00014870
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}\n\n" comment (function_definition "void FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" primitive_type (function_declarator "FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 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 "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);" (assignment_expression "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" identifier = (call_expression "FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");" (call_expression "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous")" identifier (argument_list "("!pending","aqsync.c",0x13,"agent_query_synchronous")" ( (string_literal ""!pending"" " string_content ") , (string_literal ""aqsync.c"" " string_content ") , number_literal , (string_literal ""agent_query_synchronous"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid agent_query_synchronous(void *in,int inlen,void **out,int *outlen)\n\n{\n  agent_pending_query *paVar1;\n  \n  paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0);\n  if (paVar1 == (agent_pending_query *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}\n\n" comment comment (function_definition "void agent_query_synchronous(void *in,int inlen,void **out,int *outlen)\n\n{\n  agent_pending_query *paVar1;\n  \n  paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0);\n  if (paVar1 == (agent_pending_query *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" primitive_type (function_declarator "agent_query_synchronous(void *in,int inlen,void **out,int *outlen)" identifier (parameter_list "(void *in,int inlen,void **out,int *outlen)" ( (parameter_declaration "void *in" primitive_type (pointer_declarator "*in" * identifier)) , (parameter_declaration "int inlen" primitive_type identifier) , (parameter_declaration "void **out" primitive_type (pointer_declarator "**out" * (pointer_declarator "*out" * identifier))) , (parameter_declaration "int *outlen" primitive_type (pointer_declarator "*outlen" * identifier)) ))) (compound_statement "{\n  agent_pending_query *paVar1;\n  \n  paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0);\n  if (paVar1 == (agent_pending_query *)0x0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" { (declaration "agent_pending_query *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (expression_statement "paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0);" (assignment_expression "paVar1 = agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0)" identifier = (call_expression "agent_query(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0)" identifier (argument_list "(in,inlen,out,outlen,(_func_void_void_ptr_void_ptr_int *)0x0,(void *)0x0)" ( identifier , identifier , identifier , identifier , (cast_expression "(_func_void_void_ptr_void_ptr_int *)0x0" ( (type_descriptor "_func_void_void_ptr_void_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (paVar1 == (agent_pending_query *)0x0) {\n    return;\n  }" if (parenthesized_expression "(paVar1 == (agent_pending_query *)0x0)" ( (binary_expression "paVar1 == (agent_pending_query *)0x0" identifier == (cast_expression "(agent_pending_query *)0x0" ( (type_descriptor "agent_pending_query *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");" (call_expression "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous")" identifier (argument_list "("!pending","aqsync.c",0x13,"agent_query_synchronous")" ( (string_literal ""!pending"" " string_content ") , (string_literal ""aqsync.c"" " string_content ") , number_literal , (string_literal ""agent_query_synchronous"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    \n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}\n\n" (function_definition "void FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    \n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" primitive_type (function_declarator "FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 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 "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    \n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);" (assignment_expression "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" identifier = (call_expression "FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" identifier (argument_list "(param_1,param_2,param_3,param_4,0,0)" ( identifier , identifier , identifier , identifier , number_literal , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");" (call_expression "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous")" identifier (argument_list "("!pending","aqsync.c",0x13,"agent_query_synchronous")" ( (string_literal ""!pending"" " string_content ") , (string_literal ""aqsync.c"" " string_content ") , number_literal , (string_literal ""agent_query_synchronous"" " string_content ") ))) ;) })))
(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 ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    \n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" (primitive_type "void") (function_declarator "FUN_00014ab0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_00014ab0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 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 "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);\n  if (iVar1 == 0) {\n    return;\n  }\n                    \n  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);" (assignment_expression "iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" (identifier "iVar1") (= "=") (call_expression "FUN_000642e0(param_1,param_2,param_3,param_4,0,0)" (identifier "FUN_000642e0") (argument_list "(param_1,param_2,param_3,param_4,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");" (call_expression "__assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous")" (identifier "__assert_fail") (argument_list "("!pending","aqsync.c",0x13,"agent_query_synchronous")" (( "(") (string_literal ""!pending"" (" """) (string_content "!pending") (" """)) (, ",") (string_literal ""aqsync.c"" (" """) (string_content "aqsync.c") (" """)) (, ",") (number_literal "0x13") (, ",") (string_literal ""agent_query_synchronous"" (" """) (string_content "agent_query_synchronous") (" """)) () ")"))) (; ";")) (} "}")))

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

void function_1(void *in,int inlen,void **out,int *outlen)

{
  type_1 *var_2;
  
  var_2 = var_1(in,inlen,out,outlen,(type_2 *)0x0,(void *)0x0);
  if (var_2 == (type_1 *)0x0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3("!pending","aqsync.c",0x13,"agent_query_synchronous");
}


(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: (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)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

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

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int iVar1;
  
  iVar1 = FUN_000642e0(param_1,param_2,param_3,param_4,0,0);
  if (iVar1 == 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __assert_fail("!pending","aqsync.c",0x13,"agent_query_synchronous");
}

