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

curl_hash * Curl_global_host_cache_init(void)

{
  int iVar1;
  curl_hash *pcVar2;
  
  pcVar2 = &hostname_cache;
  if (host_cache_initialized == 0) {
    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,
                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);
    pcVar2 = (curl_hash *)0x0;
    if (iVar1 == 0) {
      host_cache_initialized = 1;
      return &hostname_cache;
    }
  }
  return pcVar2;
}



int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  byte *pbVar2;
  int iVar3;
  int iVar4;
  int unaff_EBX;
  
  entry(param_2,0x1b457);
  iVar1 = unaff_EBX + 0x95cb5;
  iVar4 = iVar1;
  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {
    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),
                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)
    ;
    iVar4 = 0;
    if (iVar3 == 0) {
      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;
      pbVar2[0] = 1;
      pbVar2[1] = 0;
      pbVar2[2] = 0;
      pbVar2[3] = 0;
      return iVar1;
    }
  }
  return iVar4;
}


PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x95389
SUB ESP,0x4
MOV EDX,dword ptr [EBX + 0x928]
LEA EAX,[EBX + 0x92c]
TEST EDX,EDX
JZ 0x0001b480
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EDX,[EBX + 0xfff6aac0]
MOV ESI,EAX
PUSH EDX
PUSH dword ptr [EBX + 0x7e8]
PUSH dword ptr [EBX + 0x7ec]
PUSH 0x7
PUSH EAX
CALL 0x00041830
ADD ESP,0x20
MOV EDX,EAX
XOR EAX,EAX
TEST EDX,EDX
JNZ 0x0001b470
MOV dword ptr [EBX + 0x928],0x1
ADD ESP,0x4
MOV EAX,ESI
POP EBX
POP ESI
RET
(translation_unit "int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}\n\n" (function_definition "int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b450(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1b457);" (call_expression "entry(param_2,0x1b457)" identifier (argument_list "(param_2,0x1b457)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = unaff_EBX + 0x95cb5;" (assignment_expression "iVar1 = unaff_EBX + 0x95cb5" identifier = (binary_expression "unaff_EBX + 0x95cb5" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) (if_statement "if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0)" ( (binary_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0" (pointer_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" * (cast_expression "(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" ( (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" { (expression_statement "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;" (assignment_expression "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" identifier = (call_expression "FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" identifier (argument_list "(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" * (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" ( (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x38" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" identifier + identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" * (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" ( (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x34" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" identifier + identifier) + number_literal) )))) , (binary_expression "unaff_EBX + -0x1b7" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" { (expression_statement "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;" (assignment_expression "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" identifier = (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" identifier + identifier) + number_literal)) ;) (expression_statement "pbVar2[0] = 1;" (assignment_expression "pbVar2[0] = 1" (subscript_expression "pbVar2[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[1] = 0;" (assignment_expression "pbVar2[1] = 0" (subscript_expression "pbVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[2] = 0;" (assignment_expression "pbVar2[2] = 0" (subscript_expression "pbVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[3] = 0;" (assignment_expression "pbVar2[3] = 0" (subscript_expression "pbVar2[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ncurl_hash * Curl_global_host_cache_init(void)\n\n{\n  int iVar1;\n  curl_hash *pcVar2;\n  \n  pcVar2 = &hostname_cache;\n  if (host_cache_initialized == 0) {\n    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);\n    pcVar2 = (curl_hash *)0x0;\n    if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }\n  }\n  return pcVar2;\n}\n\n" comment comment (function_definition "curl_hash * Curl_global_host_cache_init(void)\n\n{\n  int iVar1;\n  curl_hash *pcVar2;\n  \n  pcVar2 = &hostname_cache;\n  if (host_cache_initialized == 0) {\n    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);\n    pcVar2 = (curl_hash *)0x0;\n    if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }\n  }\n  return pcVar2;\n}" type_identifier (pointer_declarator "* Curl_global_host_cache_init(void)" * (function_declarator "Curl_global_host_cache_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int iVar1;\n  curl_hash *pcVar2;\n  \n  pcVar2 = &hostname_cache;\n  if (host_cache_initialized == 0) {\n    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);\n    pcVar2 = (curl_hash *)0x0;\n    if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }\n  }\n  return pcVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "curl_hash *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = &hostname_cache;" (assignment_expression "pcVar2 = &hostname_cache" identifier = (pointer_expression "&hostname_cache" & identifier)) ;) (if_statement "if (host_cache_initialized == 0) {\n    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);\n    pcVar2 = (curl_hash *)0x0;\n    if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }\n  }" if (parenthesized_expression "(host_cache_initialized == 0)" ( (binary_expression "host_cache_initialized == 0" identifier == number_literal) )) (compound_statement "{\n    iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);\n    pcVar2 = (curl_hash *)0x0;\n    if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }\n  }" { (expression_statement "iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry);" (assignment_expression "iVar1 = Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry)" identifier = (call_expression "Curl_hash_init(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry)" identifier (argument_list "(&hostname_cache,7,(hash_function)PTR_Curl_hash_str_000b0fcc,\n                           (comp_function)PTR_Curl_str_key_compare_000b0fc8,freednsentry)" ( (pointer_expression "&hostname_cache" & identifier) , number_literal , (cast_expression "(hash_function)PTR_Curl_hash_str_000b0fcc" ( (type_descriptor "hash_function" type_identifier) ) identifier) , (cast_expression "(comp_function)PTR_Curl_str_key_compare_000b0fc8" ( (type_descriptor "comp_function" type_identifier) ) identifier) , identifier )))) ;) (expression_statement "pcVar2 = (curl_hash *)0x0;" (assignment_expression "pcVar2 = (curl_hash *)0x0" identifier = (cast_expression "(curl_hash *)0x0" ( (type_descriptor "curl_hash *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar1 == 0) {\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n      host_cache_initialized = 1;\n      return &hostname_cache;\n    }" { (expression_statement "host_cache_initialized = 1;" (assignment_expression "host_cache_initialized = 1" identifier = number_literal) ;) (return_statement "return &hostname_cache;" return (pointer_expression "&hostname_cache" & identifier) ;) })) })) (return_statement "return pcVar2;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}\n\n" (function_definition "int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001b450(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1b457);" (call_expression "entry(param_2,0x1b457)" identifier (argument_list "(param_2,0x1b457)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = unaff_EBX + 0x95cb5;" (assignment_expression "iVar1 = unaff_EBX + 0x95cb5" identifier = (binary_expression "unaff_EBX + 0x95cb5" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" identifier = identifier) ;) (if_statement "if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" if (parenthesized_expression "(*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0)" ( (binary_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0" (pointer_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" * (cast_expression "(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" ( (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" identifier + identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" { (expression_statement "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;" (assignment_expression "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" identifier = (call_expression "FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" identifier (argument_list "(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" ( identifier , number_literal , (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" * (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" ( (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x38" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" identifier + identifier) + number_literal) )))) , (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" * (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" ( (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x34" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" identifier + identifier) + number_literal) )))) , (binary_expression "unaff_EBX + -0x1b7" identifier + number_literal) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" { (expression_statement "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;" (assignment_expression "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" identifier = (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" identifier + identifier) + number_literal)) ;) (expression_statement "pbVar2[0] = 1;" (assignment_expression "pbVar2[0] = 1" (subscript_expression "pbVar2[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[1] = 0;" (assignment_expression "pbVar2[1] = 0" (subscript_expression "pbVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[2] = 0;" (assignment_expression "pbVar2[2] = 0" (subscript_expression "pbVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar2[3] = 0;" (assignment_expression "pbVar2[3] = 0" (subscript_expression "pbVar2[3]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return iVar1;" return identifier ;) })) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) })) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_0001b450(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001b450(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0001b450") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EBX;\n  \n  entry(param_2,0x1b457);\n  iVar1 = unaff_EBX + 0x95cb5;\n  iVar4 = iVar1;\n  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }\n  return iVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (expression_statement "entry(param_2,0x1b457);" (call_expression "entry(param_2,0x1b457)" (identifier "entry") (argument_list "(param_2,0x1b457)" (( "(") (identifier "param_2") (, ",") (number_literal "0x1b457") () ")"))) (; ";")) (expression_statement "iVar1 = unaff_EBX + 0x95cb5;" (assignment_expression "iVar1 = unaff_EBX + 0x95cb5" (identifier "iVar1") (= "=") (binary_expression "unaff_EBX + 0x95cb5" (identifier "unaff_EBX") (+ "+") (number_literal "0x95cb5"))) (; ";")) (expression_statement "iVar4 = iVar1;" (assignment_expression "iVar4 = iVar1" (identifier "iVar4") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0)" (( "(") (binary_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0" (pointer_expression "*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" (* "*") (cast_expression "(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8)" (( "(") (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" (identifier "BYTE_ARRAY_00095bb9") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0xf8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;\n    iVar4 = 0;\n    if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }\n  }" ({ "{") (expression_statement "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)\n    ;" (assignment_expression "iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" (identifier "iVar3") (= "=") (call_expression "FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" (identifier "FUN_00041830") (argument_list "(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),\n                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)" (( "(") (identifier "iVar1") (, ",") (number_literal "7") (, ",") (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" (* "*") (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38)" (( "(") (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x38" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" (identifier "BYTE_ARRAY_00095b3d") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0x38")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" (* "*") (cast_expression "(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34)" (( "(") (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX + 0x34" (binary_expression "BYTE_ARRAY_00095b3d + unaff_EBX" (identifier "BYTE_ARRAY_00095b3d") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0x34")) () ")")))) (, ",") (binary_expression "unaff_EBX + -0x1b7" (identifier "unaff_EBX") (+ "+") (number_literal "-0x1b7")) () ")")))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar3 == 0) {\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;\n      pbVar2[0] = 1;\n      pbVar2[1] = 0;\n      pbVar2[2] = 0;\n      pbVar2[3] = 0;\n      return iVar1;\n    }" ({ "{") (expression_statement "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;" (assignment_expression "pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (identifier "pbVar2") (= "=") (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8" (binary_expression "BYTE_ARRAY_00095bb9 + unaff_EBX" (identifier "BYTE_ARRAY_00095bb9") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0xf8"))) (; ";")) (expression_statement "pbVar2[0] = 1;" (assignment_expression "pbVar2[0] = 1" (subscript_expression "pbVar2[0]" (identifier "pbVar2") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "pbVar2[1] = 0;" (assignment_expression "pbVar2[1] = 0" (subscript_expression "pbVar2[1]" (identifier "pbVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar2[2] = 0;" (assignment_expression "pbVar2[2] = 0" (subscript_expression "pbVar2[2]" (identifier "pbVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar2[3] = 0;" (assignment_expression "pbVar2[3] = 0" (subscript_expression "pbVar2[3]" (identifier "pbVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (} "}"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

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

type_1 * function_1(void)

{
  int var_3;
  type_1 *pcVar2;
  
  pcVar2 = &hostname_cache;
  if (var_1 == 0) {
    var_3 = var_2(&hostname_cache,7,(type_2)PTR_Curl_hash_str_000b0fcc,
                           (type_3)PTR_Curl_str_key_compare_000b0fc8,freednsentry);
    pcVar2 = (type_1 *)0x0;
    if (var_3 == 0) {
      var_1 = 1;
      return &hostname_cache;
    }
  }
  return pcVar2;
}


(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)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))))) (return_statement (identifier)))))

int __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  byte *pbVar2;
  int iVar3;
  int iVar4;
  int unaff_EBX;
  
  entry(param_2,0x1b457);
  iVar1 = unaff_EBX + 0x95cb5;
  iVar4 = iVar1;
  if (*(int *)(BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8) == 0) {
    iVar3 = FUN_00041830(iVar1,7,*(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x38),
                         *(undefined4 *)(BYTE_ARRAY_00095b3d + unaff_EBX + 0x34),unaff_EBX + -0x1b7)
    ;
    iVar4 = 0;
    if (iVar3 == 0) {
      pbVar2 = BYTE_ARRAY_00095bb9 + unaff_EBX + 0xf8;
      pbVar2[0] = 1;
      pbVar2[1] = 0;
      pbVar2[2] = 0;
      pbVar2[3] = 0;
      return iVar1;
    }
  }
  return iVar4;
}

