
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void create_variable_tables(void)

{
  HASH_TABLE *pHVar1;
  VAR_CONTEXT *pVVar2;
  HASH_TABLE *pHVar3;
  
  if (shell_variables == (VAR_CONTEXT *)0x0) {
    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);
    pVVar2->name = (char *)0x0;
    pVVar2->flags = 0;
    pVVar2->down = (var_context *)0x0;
    pVVar2->up = (var_context *)0x0;
    pVVar2->table = (HASH_TABLE *)0x0;
    pVVar2->scope = 0;
    shell_variables = pVVar2;
    global_variables = pVVar2;
    pHVar3 = hash_create(0x400);
    pHVar1 = shell_functions;
    pVVar2->table = pHVar3;
    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;
  }
  else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;
  shell_functions = hash_create(0x200);
joined_r0x0005404e:
  if (shell_function_defs == (HASH_TABLE *)0x0) {
    shell_function_defs = hash_create(0x200);
    return;
  }
  return;
}



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

void FUN_00053f90(void)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  if (shell_variables == (undefined4 *)0x0) {
    puVar2 = (undefined4 *)xmalloc(0x18);
    *puVar2 = 0;
    puVar2[2] = 0;
    puVar2[4] = 0;
    puVar2[3] = 0;
    puVar2[5] = 0;
    puVar2[1] = 0;
    shell_variables = puVar2;
    global_variables = puVar2;
    uVar3 = hash_create(0x400);
    iVar1 = shell_functions;
    puVar2[5] = uVar3;
    if (iVar1 != 0) goto joined_r0x0005404e;
  }
  else if (shell_functions != 0) goto joined_r0x0005404e;
  shell_functions = hash_create(0x200);
joined_r0x0005404e:
  if (shell_function_defs == 0) {
    shell_function_defs = hash_create(0x200);
    return;
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000312b0
ADD EBX,0x11e069
SUB ESP,0x4
MOV ECX,dword ptr [EBX + 0x5d10]
TEST ECX,ECX
JZ 0x00053fd0
MOV EDX,dword ptr [EBX + 0x5d0c]
TEST EDX,EDX
JZ 0x00054030
MOV EAX,dword ptr [EBX + 0x5d04]
TEST EAX,EAX
JZ 0x00054054
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH 0x18
CALL 0x000ad700
MOV dword ptr [EAX],0x0
MOV ESI,EAX
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0x10],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EAX + 0x14],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EBX + 0x5d14],EAX
MOV dword ptr [ESP],0x400
MOV dword ptr [EBX + 0x5d10],EAX
CALL 0x00088b80
MOV EDX,dword ptr [EBX + 0x5d0c]
ADD ESP,0x10
MOV dword ptr [ESI + 0x14],EAX
TEST EDX,EDX
JNZ 0x00053fb4
LEA ESI,[ESI]
SUB ESP,0xc
PUSH 0x200
CALL 0x00088b80
ADD ESP,0x10
MOV dword ptr [EBX + 0x5d0c],EAX
MOV EAX,dword ptr [EBX + 0x5d04]
TEST EAX,EAX
JNZ 0x00053fc2
SUB ESP,0xc
PUSH 0x200
CALL 0x00088b80
ADD ESP,0x10
MOV dword ptr [EBX + 0x5d04],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_00053f90(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00053f90(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053f90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_variables == (undefined4 *)0x0)" ( (binary_expression "shell_variables == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }" { (expression_statement "puVar2 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "shell_variables = puVar2;" (assignment_expression "shell_variables = puVar2" identifier = identifier) ;) (expression_statement "global_variables = puVar2;" (assignment_expression "global_variables = puVar2" identifier = identifier) ;) (expression_statement "uVar3 = hash_create(0x400);" (assignment_expression "uVar3 = hash_create(0x400)" identifier = (call_expression "hash_create(0x400)" identifier (argument_list "(0x400)" ( number_literal )))) ;) (expression_statement "iVar1 = shell_functions;" (assignment_expression "iVar1 = shell_functions" identifier = identifier) ;) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)) }) (else_clause "else if (shell_functions != 0) goto joined_r0x0005404e;" else (if_statement "if (shell_functions != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_functions != 0)" ( (binary_expression "shell_functions != 0" identifier != number_literal) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)))) (expression_statement "shell_functions = hash_create(0x200);" (assignment_expression "shell_functions = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (labeled_statement "joined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" statement_identifier : (if_statement "if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" if (parenthesized_expression "(shell_function_defs == 0)" ( (binary_expression "shell_function_defs == 0" identifier == number_literal) )) (compound_statement "{\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" { (expression_statement "shell_function_defs = hash_create(0x200);" (assignment_expression "shell_function_defs = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (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 -- yet parameter storage is locked */\n\nvoid create_variable_tables(void)\n\n{\n  HASH_TABLE *pHVar1;\n  VAR_CONTEXT *pVVar2;\n  HASH_TABLE *pHVar3;\n  \n  if (shell_variables == (VAR_CONTEXT *)0x0) {\n    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);\n    pVVar2->name = (char *)0x0;\n    pVVar2->flags = 0;\n    pVVar2->down = (var_context *)0x0;\n    pVVar2->up = (var_context *)0x0;\n    pVVar2->table = (HASH_TABLE *)0x0;\n    pVVar2->scope = 0;\n    shell_variables = pVVar2;\n    global_variables = pVVar2;\n    pHVar3 = hash_create(0x400);\n    pHVar1 = shell_functions;\n    pVVar2->table = pHVar3;\n    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == (HASH_TABLE *)0x0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void create_variable_tables(void)\n\n{\n  HASH_TABLE *pHVar1;\n  VAR_CONTEXT *pVVar2;\n  HASH_TABLE *pHVar3;\n  \n  if (shell_variables == (VAR_CONTEXT *)0x0) {\n    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);\n    pVVar2->name = (char *)0x0;\n    pVVar2->flags = 0;\n    pVVar2->down = (var_context *)0x0;\n    pVVar2->up = (var_context *)0x0;\n    pVVar2->table = (HASH_TABLE *)0x0;\n    pVVar2->scope = 0;\n    shell_variables = pVVar2;\n    global_variables = pVVar2;\n    pHVar3 = hash_create(0x400);\n    pHVar1 = shell_functions;\n    pVVar2->table = pHVar3;\n    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == (HASH_TABLE *)0x0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "create_variable_tables(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  HASH_TABLE *pHVar1;\n  VAR_CONTEXT *pVVar2;\n  HASH_TABLE *pHVar3;\n  \n  if (shell_variables == (VAR_CONTEXT *)0x0) {\n    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);\n    pVVar2->name = (char *)0x0;\n    pVVar2->flags = 0;\n    pVVar2->down = (var_context *)0x0;\n    pVVar2->up = (var_context *)0x0;\n    pVVar2->table = (HASH_TABLE *)0x0;\n    pVVar2->scope = 0;\n    shell_variables = pVVar2;\n    global_variables = pVVar2;\n    pHVar3 = hash_create(0x400);\n    pHVar1 = shell_functions;\n    pVVar2->table = pHVar3;\n    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == (HASH_TABLE *)0x0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" { (declaration "HASH_TABLE *pHVar1;" type_identifier (pointer_declarator "*pHVar1" * identifier) ;) (declaration "VAR_CONTEXT *pVVar2;" type_identifier (pointer_declarator "*pVVar2" * identifier) ;) (declaration "HASH_TABLE *pHVar3;" type_identifier (pointer_declarator "*pHVar3" * identifier) ;) (if_statement "if (shell_variables == (VAR_CONTEXT *)0x0) {\n    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);\n    pVVar2->name = (char *)0x0;\n    pVVar2->flags = 0;\n    pVVar2->down = (var_context *)0x0;\n    pVVar2->up = (var_context *)0x0;\n    pVVar2->table = (HASH_TABLE *)0x0;\n    pVVar2->scope = 0;\n    shell_variables = pVVar2;\n    global_variables = pVVar2;\n    pHVar3 = hash_create(0x400);\n    pHVar1 = shell_functions;\n    pVVar2->table = pHVar3;\n    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_variables == (VAR_CONTEXT *)0x0)" ( (binary_expression "shell_variables == (VAR_CONTEXT *)0x0" identifier == (cast_expression "(VAR_CONTEXT *)0x0" ( (type_descriptor "VAR_CONTEXT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);\n    pVVar2->name = (char *)0x0;\n    pVVar2->flags = 0;\n    pVVar2->down = (var_context *)0x0;\n    pVVar2->up = (var_context *)0x0;\n    pVVar2->table = (HASH_TABLE *)0x0;\n    pVVar2->scope = 0;\n    shell_variables = pVVar2;\n    global_variables = pVVar2;\n    pHVar3 = hash_create(0x400);\n    pHVar1 = shell_functions;\n    pVVar2->table = pHVar3;\n    if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;\n  }" { (expression_statement "pVVar2 = (VAR_CONTEXT *)xmalloc(0x18);" (assignment_expression "pVVar2 = (VAR_CONTEXT *)xmalloc(0x18)" identifier = (cast_expression "(VAR_CONTEXT *)xmalloc(0x18)" ( (type_descriptor "VAR_CONTEXT *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "pVVar2->name = (char *)0x0;" (assignment_expression "pVVar2->name = (char *)0x0" (field_expression "pVVar2->name" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pVVar2->flags = 0;" (assignment_expression "pVVar2->flags = 0" (field_expression "pVVar2->flags" identifier -> field_identifier) = number_literal) ;) (expression_statement "pVVar2->down = (var_context *)0x0;" (assignment_expression "pVVar2->down = (var_context *)0x0" (field_expression "pVVar2->down" identifier -> field_identifier) = (cast_expression "(var_context *)0x0" ( (type_descriptor "var_context *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pVVar2->up = (var_context *)0x0;" (assignment_expression "pVVar2->up = (var_context *)0x0" (field_expression "pVVar2->up" identifier -> field_identifier) = (cast_expression "(var_context *)0x0" ( (type_descriptor "var_context *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pVVar2->table = (HASH_TABLE *)0x0;" (assignment_expression "pVVar2->table = (HASH_TABLE *)0x0" (field_expression "pVVar2->table" identifier -> field_identifier) = (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pVVar2->scope = 0;" (assignment_expression "pVVar2->scope = 0" (field_expression "pVVar2->scope" identifier -> field_identifier) = number_literal) ;) (expression_statement "shell_variables = pVVar2;" (assignment_expression "shell_variables = pVVar2" identifier = identifier) ;) (expression_statement "global_variables = pVVar2;" (assignment_expression "global_variables = pVVar2" identifier = identifier) ;) (expression_statement "pHVar3 = hash_create(0x400);" (assignment_expression "pHVar3 = hash_create(0x400)" identifier = (call_expression "hash_create(0x400)" identifier (argument_list "(0x400)" ( number_literal )))) ;) (expression_statement "pHVar1 = shell_functions;" (assignment_expression "pHVar1 = shell_functions" identifier = identifier) ;) (expression_statement "pVVar2->table = pHVar3;" (assignment_expression "pVVar2->table = pHVar3" (field_expression "pVVar2->table" identifier -> field_identifier) = identifier) ;) (if_statement "if (pHVar1 != (HASH_TABLE *)0x0) goto joined_r0x0005404e;" if (parenthesized_expression "(pHVar1 != (HASH_TABLE *)0x0)" ( (binary_expression "pHVar1 != (HASH_TABLE *)0x0" identifier != (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)) }) (else_clause "else if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;" else (if_statement "if (shell_functions != (HASH_TABLE *)0x0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_functions != (HASH_TABLE *)0x0)" ( (binary_expression "shell_functions != (HASH_TABLE *)0x0" identifier != (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)))) (expression_statement "shell_functions = hash_create(0x200);" (assignment_expression "shell_functions = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (labeled_statement "joined_r0x0005404e:\n  if (shell_function_defs == (HASH_TABLE *)0x0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" statement_identifier : (if_statement "if (shell_function_defs == (HASH_TABLE *)0x0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" if (parenthesized_expression "(shell_function_defs == (HASH_TABLE *)0x0)" ( (binary_expression "shell_function_defs == (HASH_TABLE *)0x0" identifier == (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" { (expression_statement "shell_function_defs = hash_create(0x200);" (assignment_expression "shell_function_defs = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00053f90(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00053f90(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053f90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_variables == (undefined4 *)0x0)" ( (binary_expression "shell_variables == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }" { (expression_statement "puVar2 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "shell_variables = puVar2;" (assignment_expression "shell_variables = puVar2" identifier = identifier) ;) (expression_statement "global_variables = puVar2;" (assignment_expression "global_variables = puVar2" identifier = identifier) ;) (expression_statement "uVar3 = hash_create(0x400);" (assignment_expression "uVar3 = hash_create(0x400)" identifier = (call_expression "hash_create(0x400)" identifier (argument_list "(0x400)" ( number_literal )))) ;) (expression_statement "iVar1 = shell_functions;" (assignment_expression "iVar1 = shell_functions" identifier = identifier) ;) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar1 != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)) }) (else_clause "else if (shell_functions != 0) goto joined_r0x0005404e;" else (if_statement "if (shell_functions != 0) goto joined_r0x0005404e;" if (parenthesized_expression "(shell_functions != 0)" ( (binary_expression "shell_functions != 0" identifier != number_literal) )) (goto_statement "goto joined_r0x0005404e;" goto statement_identifier ;)))) (expression_statement "shell_functions = hash_create(0x200);" (assignment_expression "shell_functions = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (labeled_statement "joined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" statement_identifier : (if_statement "if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" if (parenthesized_expression "(shell_function_defs == 0)" ( (binary_expression "shell_function_defs == 0" identifier == number_literal) )) (compound_statement "{\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" { (expression_statement "shell_function_defs = hash_create(0x200);" (assignment_expression "shell_function_defs = hash_create(0x200)" identifier = (call_expression "hash_create(0x200)" identifier (argument_list "(0x200)" ( number_literal )))) ;) (return_statement "return;" return ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * 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) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (return_statement return ;) }))) (return_statement return ;) })))
(function_definition "void FUN_00053f90(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00053f90(void)" (identifier "FUN_00053f90") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;\n  shell_functions = hash_create(0x200);\njoined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (if_statement "if (shell_variables == (undefined4 *)0x0) {\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }\n  else if (shell_functions != 0) goto joined_r0x0005404e;" (if "if") (parenthesized_expression "(shell_variables == (undefined4 *)0x0)" (( "(") (binary_expression "shell_variables == (undefined4 *)0x0" (identifier "shell_variables") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = (undefined4 *)xmalloc(0x18);\n    *puVar2 = 0;\n    puVar2[2] = 0;\n    puVar2[4] = 0;\n    puVar2[3] = 0;\n    puVar2[5] = 0;\n    puVar2[1] = 0;\n    shell_variables = puVar2;\n    global_variables = puVar2;\n    uVar3 = hash_create(0x400);\n    iVar1 = shell_functions;\n    puVar2[5] = uVar3;\n    if (iVar1 != 0) goto joined_r0x0005404e;\n  }" ({ "{") (expression_statement "puVar2 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x18)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)xmalloc(0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x18)" (identifier "xmalloc") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[1] = 0;" (assignment_expression "puVar2[1] = 0" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "shell_variables = puVar2;" (assignment_expression "shell_variables = puVar2" (identifier "shell_variables") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "global_variables = puVar2;" (assignment_expression "global_variables = puVar2" (identifier "global_variables") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "uVar3 = hash_create(0x400);" (assignment_expression "uVar3 = hash_create(0x400)" (identifier "uVar3") (= "=") (call_expression "hash_create(0x400)" (identifier "hash_create") (argument_list "(0x400)" (( "(") (number_literal "0x400") () ")")))) (; ";")) (expression_statement "iVar1 = shell_functions;" (assignment_expression "iVar1 = shell_functions" (identifier "iVar1") (= "=") (identifier "shell_functions")) (; ";")) (expression_statement "puVar2[5] = uVar3;" (assignment_expression "puVar2[5] = uVar3" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (iVar1 != 0) goto joined_r0x0005404e;" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x0005404e;" (goto "goto") (statement_identifier "joined_r0x0005404e") (; ";"))) (} "}")) (else_clause "else if (shell_functions != 0) goto joined_r0x0005404e;" (else "else") (if_statement "if (shell_functions != 0) goto joined_r0x0005404e;" (if "if") (parenthesized_expression "(shell_functions != 0)" (( "(") (binary_expression "shell_functions != 0" (identifier "shell_functions") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto joined_r0x0005404e;" (goto "goto") (statement_identifier "joined_r0x0005404e") (; ";"))))) (expression_statement "shell_functions = hash_create(0x200);" (assignment_expression "shell_functions = hash_create(0x200)" (identifier "shell_functions") (= "=") (call_expression "hash_create(0x200)" (identifier "hash_create") (argument_list "(0x200)" (( "(") (number_literal "0x200") () ")")))) (; ";")) (labeled_statement "joined_r0x0005404e:\n  if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" (statement_identifier "joined_r0x0005404e") (: ":") (if_statement "if (shell_function_defs == 0) {\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" (if "if") (parenthesized_expression "(shell_function_defs == 0)" (( "(") (binary_expression "shell_function_defs == 0" (identifier "shell_function_defs") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    shell_function_defs = hash_create(0x200);\n    return;\n  }" ({ "{") (expression_statement "shell_function_defs = hash_create(0x200);" (assignment_expression "shell_function_defs = hash_create(0x200)" (identifier "shell_function_defs") (= "=") (call_expression "hash_create(0x200)" (identifier "hash_create") (argument_list "(0x200)" (( "(") (number_literal "0x200") () ")")))) (; ";")) (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 -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *var_4;
  type_2 *pVVar2;
  type_1 *pHVar3;
  
  if (var_1 == (type_2 *)0x0) {
    pVVar2 = (type_2 *)var_2(0x18);
    pVVar2->name = (char *)0x0;
    pVVar2->flags = 0;
    pVVar2->down = (type_3 *)0x0;
    pVVar2->up = (type_3 *)0x0;
    pVVar2->table = (type_1 *)0x0;
    pVVar2->scope = 0;
    var_1 = pVVar2;
    global_variables = pVVar2;
    pHVar3 = var_3(0x400);
    var_4 = var_5;
    pVVar2->table = pHVar3;
    if (var_4 != (type_1 *)0x0) goto joined_r0x0005404e;
  }
  else if (var_5 != (type_1 *)0x0) goto joined_r0x0005404e;
  var_5 = var_3(0x200);
joined_r0x0005404e:
  if (var_6 == (type_1 *)0x0) {
    var_6 = var_3(0x200);
    return;
  }
  return;
}


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

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

void MASKED(void)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  if (shell_variables == (undefined4 *)0x0) {
    puVar2 = (undefined4 *)xmalloc(0x18);
    *puVar2 = 0;
    puVar2[2] = 0;
    puVar2[4] = 0;
    puVar2[3] = 0;
    puVar2[5] = 0;
    puVar2[1] = 0;
    shell_variables = puVar2;
    global_variables = puVar2;
    uVar3 = hash_create(0x400);
    iVar1 = shell_functions;
    puVar2[5] = uVar3;
    if (iVar1 != 0) goto joined_r0x0005404e;
  }
  else if (shell_functions != 0) goto joined_r0x0005404e;
  shell_functions = hash_create(0x200);
joined_r0x0005404e:
  if (shell_function_defs == 0) {
    shell_function_defs = hash_create(0x200);
    return;
  }
  return;
}

