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

int bcast_or_ucast(dhcp_packet *packet,uint32_t ciaddr,uint32_t server)

{
}



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

void FUN_0004a3fc(void)

{
  int in_ECX;
  
  if (in_ECX == 0) {
    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);
    return;
  }
  FUN_0004da7f(in_ECX,0x43);
  return;
}


PUSH EBX
SUB ESP,0x8
CALL 0x00017640
ADD EBX,0x8661b
TEST ECX,ECX
JNZ 0x0004a435
LEA ECX,[EBX + 0x8d8]
PUSH dword ptr [ECX + 0x208]
LEA ECX,[EBX + 0xfffece4a]
PUSH ECX
PUSH 0x43
PUSH -0x1
MOV ECX,0x44
CALL 0x0004d875
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x8
PUSH 0x43
PUSH ECX
MOV ECX,0x44
CALL 0x0004da7f
POP EDX
POP ECX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0004a3fc(void)\n\n{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}\n\n" comment (function_definition "void FUN_0004a3fc(void)\n\n{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" primitive_type (function_declarator "FUN_0004a3fc(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" { (declaration "int in_ECX;" primitive_type identifier ;) (if_statement "if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" if (parenthesized_expression "(in_ECX == 0)" ( (binary_expression "in_ECX == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" { (expression_statement "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);" (call_expression "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" identifier (argument_list "(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" ( number_literal , number_literal , (pointer_expression "&DAT_000bd86a" & identifier) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0004da7f(in_ECX,0x43);" (call_expression "FUN_0004da7f(in_ECX,0x43)" identifier (argument_list "(in_ECX,0x43)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint bcast_or_ucast(dhcp_packet *packet,uint32_t ciaddr,uint32_t server)\n\n{\n}\n\n" comment (function_definition "int bcast_or_ucast(dhcp_packet *packet,uint32_t ciaddr,uint32_t server)\n\n{\n}" primitive_type (function_declarator "bcast_or_ucast(dhcp_packet *packet,uint32_t ciaddr,uint32_t server)" identifier (parameter_list "(dhcp_packet *packet,uint32_t ciaddr,uint32_t server)" ( (parameter_declaration "dhcp_packet *packet" type_identifier (pointer_declarator "*packet" * identifier)) , (parameter_declaration "uint32_t ciaddr" primitive_type identifier) , (parameter_declaration "uint32_t server" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0004a3fc(void)\n\n{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}\n\n" (function_definition "void FUN_0004a3fc(void)\n\n{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" primitive_type (function_declarator "FUN_0004a3fc(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" { (declaration "int in_ECX;" primitive_type identifier ;) (if_statement "if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" if (parenthesized_expression "(in_ECX == 0)" ( (binary_expression "in_ECX == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" { (expression_statement "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);" (call_expression "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" identifier (argument_list "(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" ( number_literal , number_literal , (pointer_expression "&DAT_000bd86a" & identifier) , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0004da7f(in_ECX,0x43);" (call_expression "FUN_0004da7f(in_ECX,0x43)" identifier (argument_list "(in_ECX,0x43)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , LIT , (pointer_expression & IDENT) , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0004a3fc(void)\n\n{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004a3fc(void)" (identifier "FUN_0004a3fc") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int in_ECX;\n  \n  if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }\n  FUN_0004da7f(in_ECX,0x43);\n  return;\n}" ({ "{") (declaration "int in_ECX;" (primitive_type "int") (identifier "in_ECX") (; ";")) (if_statement "if (in_ECX == 0) {\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" (if "if") (parenthesized_expression "(in_ECX == 0)" (( "(") (binary_expression "in_ECX == 0" (identifier "in_ECX") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);\n    return;\n  }" ({ "{") (expression_statement "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);" (call_expression "FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" (identifier "FUN_0004d875") (argument_list "(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500)" (( "(") (number_literal "0xffffffff") (, ",") (number_literal "0x43") (, ",") (pointer_expression "&DAT_000bd86a" (& "&") (identifier "DAT_000bd86a")) (, ",") (identifier "DAT_000d1500") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0004da7f(in_ECX,0x43);" (call_expression "FUN_0004da7f(in_ECX,0x43)" (identifier "FUN_0004da7f") (argument_list "(in_ECX,0x43)" (( "(") (identifier "in_ECX") (, ",") (number_literal "0x43") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int function_1(type_1 *packet,uint32_t ciaddr,uint32_t server)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

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

void MASKED(void)

{
  int in_ECX;
  
  if (in_ECX == 0) {
    FUN_0004d875(0xffffffff,0x43,&DAT_000bd86a,DAT_000d1500);
    return;
  }
  FUN_0004da7f(in_ECX,0x43);
  return;
}

