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

void random_timer(void *ctx,ulong now)

{
  if ((0 < random_active) && (next_noise_collection == now)) {
    noise_regular();
    next_noise_collection = schedule_timer(300000,random_timer,&pool);
    return;
  }
  return;
}



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

void FUN_0006d900(undefined4 param_1,int param_2)

{
  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {
    FUN_00086200();
    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);
    return;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000149a0
ADD EBX,0x5f469
SUB ESP,0x4
MOV EAX,dword ptr [EBX + 0x630]
TEST EAX,EAX
JLE 0x0006d928
LEA ESI,[EBX + 0xbfc]
MOV EAX,dword ptr [ESP + 0x14]
CMP dword ptr [ESI],EAX
JZ 0x0006d930
ADD ESP,0x4
POP EBX
POP ESI
RET
CALL 0x00086200
SUB ESP,0x4
LEA EAX,[EBX + 0x650]
PUSH EAX
LEA EAX,[EBX + 0xfffa0b90]
PUSH EAX
PUSH 0x493e0
CALL 0x0007bd10
ADD ESP,0x10
MOV dword ptr [ESI],EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0006d900(undefined4 param_1,int param_2)\n\n{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0006d900(undefined4 param_1,int param_2)\n\n{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0006d900(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" { (if_statement "if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" if (parenthesized_expression "((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2))" ( (binary_expression "(0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)" (parenthesized_expression "(0 < DAT_000cd3a0)" ( (binary_expression "0 < DAT_000cd3a0" number_literal < identifier) )) && (parenthesized_expression "(DAT_000cd96c == param_2)" ( (binary_expression "DAT_000cd96c == param_2" identifier == identifier) ))) )) (compound_statement "{\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" { (expression_statement "FUN_00086200();" (call_expression "FUN_00086200()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);" (assignment_expression "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" identifier = (call_expression "FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" identifier (argument_list "(300000,FUN_0006d900,&DAT_000cd3c0)" ( number_literal , identifier , (pointer_expression "&DAT_000cd3c0" & identifier) )))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid random_timer(void *ctx,ulong now)\n\n{\n  if ((0 < random_active) && (next_noise_collection == now)) {\n    noise_regular();\n    next_noise_collection = schedule_timer(300000,random_timer,&pool);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void random_timer(void *ctx,ulong now)\n\n{\n  if ((0 < random_active) && (next_noise_collection == now)) {\n    noise_regular();\n    next_noise_collection = schedule_timer(300000,random_timer,&pool);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "random_timer(void *ctx,ulong now)" identifier (parameter_list "(void *ctx,ulong now)" ( (parameter_declaration "void *ctx" primitive_type (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "ulong now" type_identifier identifier) ))) (compound_statement "{\n  if ((0 < random_active) && (next_noise_collection == now)) {\n    noise_regular();\n    next_noise_collection = schedule_timer(300000,random_timer,&pool);\n    return;\n  }\n  return;\n}" { (if_statement "if ((0 < random_active) && (next_noise_collection == now)) {\n    noise_regular();\n    next_noise_collection = schedule_timer(300000,random_timer,&pool);\n    return;\n  }" if (parenthesized_expression "((0 < random_active) && (next_noise_collection == now))" ( (binary_expression "(0 < random_active) && (next_noise_collection == now)" (parenthesized_expression "(0 < random_active)" ( (binary_expression "0 < random_active" number_literal < identifier) )) && (parenthesized_expression "(next_noise_collection == now)" ( (binary_expression "next_noise_collection == now" identifier == identifier) ))) )) (compound_statement "{\n    noise_regular();\n    next_noise_collection = schedule_timer(300000,random_timer,&pool);\n    return;\n  }" { (expression_statement "noise_regular();" (call_expression "noise_regular()" identifier (argument_list "()" ( ))) ;) (expression_statement "next_noise_collection = schedule_timer(300000,random_timer,&pool);" (assignment_expression "next_noise_collection = schedule_timer(300000,random_timer,&pool)" identifier = (call_expression "schedule_timer(300000,random_timer,&pool)" identifier (argument_list "(300000,random_timer,&pool)" ( number_literal , identifier , (pointer_expression "&pool" & identifier) )))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006d900(undefined4 param_1,int param_2)\n\n{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0006d900(undefined4 param_1,int param_2)\n\n{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0006d900(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" { (if_statement "if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" if (parenthesized_expression "((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2))" ( (binary_expression "(0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)" (parenthesized_expression "(0 < DAT_000cd3a0)" ( (binary_expression "0 < DAT_000cd3a0" number_literal < identifier) )) && (parenthesized_expression "(DAT_000cd96c == param_2)" ( (binary_expression "DAT_000cd96c == param_2" identifier == identifier) ))) )) (compound_statement "{\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" { (expression_statement "FUN_00086200();" (call_expression "FUN_00086200()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);" (assignment_expression "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" identifier = (call_expression "FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" identifier (argument_list "(300000,FUN_0006d900,&DAT_000cd3c0)" ( number_literal , identifier , (pointer_expression "&DAT_000cd3c0" & identifier) )))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , (pointer_expression & IDENT) )))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0006d900(undefined4 param_1,int param_2)\n\n{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006d900(undefined4 param_1,int param_2)" (identifier "FUN_0006d900") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" (if "if") (parenthesized_expression "((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2))" (( "(") (binary_expression "(0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)" (parenthesized_expression "(0 < DAT_000cd3a0)" (( "(") (binary_expression "0 < DAT_000cd3a0" (number_literal "0") (< "<") (identifier "DAT_000cd3a0")) () ")")) (&& "&&") (parenthesized_expression "(DAT_000cd96c == param_2)" (( "(") (binary_expression "DAT_000cd96c == param_2" (identifier "DAT_000cd96c") (== "==") (identifier "param_2")) () ")"))) () ")")) (compound_statement "{\n    FUN_00086200();\n    DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);\n    return;\n  }" ({ "{") (expression_statement "FUN_00086200();" (call_expression "FUN_00086200()" (identifier "FUN_00086200") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0);" (assignment_expression "DAT_000cd96c = FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" (identifier "DAT_000cd96c") (= "=") (call_expression "FUN_0007bd10(300000,FUN_0006d900,&DAT_000cd3c0)" (identifier "FUN_0007bd10") (argument_list "(300000,FUN_0006d900,&DAT_000cd3c0)" (( "(") (number_literal "300000") (, ",") (identifier "FUN_0006d900") (, ",") (pointer_expression "&DAT_000cd3c0" (& "&") (identifier "DAT_000cd3c0")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void *ctx,type_1 var_3)

{
  if ((0 < var_1) && (var_2 == var_3)) {
    var_4();
    var_2 = var_5(300000,function_1,&pool);
    return;
  }
  return;
}


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

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

void MASKED(undefined4 param_1,int param_2)

{
  if ((0 < DAT_000cd3a0) && (DAT_000cd96c == param_2)) {
    FUN_00086200();
    DAT_000cd96c = FUN_0007bd10(300000,MASKED,&DAT_000cd3c0);
    return;
  }
  return;
}

