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

void gsslist_handler(control *ctrl,void *dlg,void *data,int event)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  iVar1 = ngsslibs;
  if (event == 0) {
    dlg_update_start(ctrl,dlg);
    dlg_listbox_clear(ctrl,dlg);
    iVar1 = ngsslibs;
    if (0 < ngsslibs) {
      iVar4 = 0;
      do {
        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);
        if ((iVar1 <= iVar2) || (iVar2 < 0)) {
                    /* WARNING: Subroutine does not return */
          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");
        }
        iVar4 = iVar4 + 1;
        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);
      } while (iVar4 != iVar1);
    }
    dlg_update_done(ctrl,dlg);
    return;
  }
  if ((event == 2) && (0 < ngsslibs)) {
    iVar4 = 0;
    do {
      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);
      iVar3 = iVar4 + 1;
      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);
      iVar4 = iVar3;
    } while (iVar3 != iVar1);
    return;
  }
  return;
}



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

void FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar1 = DAT_000f0860;
  if (param_4 == 0) {
    FUN_000a5520(param_1,param_2);
    FUN_000a4210(param_1,param_2);
    iVar1 = DAT_000f0860;
    if (0 < DAT_000f0860) {
      iVar4 = 0;
      do {
        iVar3 = FUN_000212f0(param_3,0x29,iVar4);
        if ((iVar1 <= iVar3) || (iVar3 < 0)) {
                    /* WARNING: Subroutine does not return */
          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");
        }
        iVar4 = iVar4 + 1;
        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);
      } while (iVar4 != iVar1);
    }
    FUN_000a5530(param_1,param_2);
    return;
  }
  if ((param_4 == 2) && (0 < DAT_000f0860)) {
    iVar4 = 0;
    do {
      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);
      iVar3 = iVar4 + 1;
      FUN_00021b70(param_3,0x29,iVar4,uVar2);
      iVar4 = iVar3;
    } while (iVar3 != iVar1);
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001c520
ADD EBX,0x115947
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x3c]
MOV EBP,dword ptr [ESP + 0x34]
TEST ESI,ESI
JZ 0x00024e78
CMP ESI,0x2
JZ 0x00024e30
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffb6110]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JLE 0x00024e23
XOR EDI,EDI
MOV EAX,ESI
MOV ESI,EDI
MOV EDI,EAX
LEA ESI,[ESI]
SUB ESP,0x4
PUSH ESI
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a45a0
PUSH EAX
PUSH ESI
ADD ESI,0x1
PUSH 0x29
PUSH dword ptr [ESP + 0x54]
CALL 0x00021b70
ADD ESP,0x20
CMP ESI,EDI
JNZ 0x00024e48
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a5520
POP EAX
POP EDX
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a4210
LEA EAX,[EBX + 0xfffb6110]
ADD ESP,0x10
MOV EDI,dword ptr [EAX]
TEST EDI,EDI
JLE 0x00024ee6
LEA EAX,[EBX + 0xfffff3d0]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
SUB ESP,0x4
PUSH ESI
PUSH 0x29
PUSH dword ptr [ESP + 0x44]
CALL 0x000212f0
ADD ESP,0x10
CMP EAX,EDI
JGE 0x00024efe
TEST EAX,EAX
JS 0x00024efe
PUSH EAX
MOV EDX,dword ptr [ESP + 0x10]
ADD ESI,0x1
PUSH dword ptr [EDX + EAX*0x4]
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a43b0
ADD ESP,0x10
CMP ESI,EDI
JNZ 0x00024eb0
SUB ESP,0x8
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x000a5530
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffa1b3c]
PUSH EAX
LEA EAX,[EBX + 0xfff9f333]
PUSH 0x199
PUSH EAX
LEA EAX,[EBX + 0xfff9f3c6]
PUSH EAX
CALL 0x0001c000
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" identifier = identifier) ;) (if_statement "if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" { (expression_statement "FUN_000a5520(param_1,param_2);" (call_expression "FUN_000a5520(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_000a4210(param_1,param_2);" (call_expression "FUN_000a4210(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" identifier = identifier) ;) (if_statement "if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" if (parenthesized_expression "(0 < DAT_000f0860)" ( (binary_expression "0 < DAT_000f0860" number_literal < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);" do (compound_statement "{\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      }" { (expression_statement "iVar3 = FUN_000212f0(param_3,0x29,iVar4);" (assignment_expression "iVar3 = FUN_000212f0(param_3,0x29,iVar4)" identifier = (call_expression "FUN_000212f0(param_3,0x29,iVar4)" identifier (argument_list "(param_3,0x29,iVar4)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" if (parenthesized_expression "((iVar1 <= iVar3) || (iVar3 < 0))" ( (binary_expression "(iVar1 <= iVar3) || (iVar3 < 0)" (parenthesized_expression "(iVar1 <= iVar3)" ( (binary_expression "iVar1 <= iVar3" identifier <= identifier) )) || (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" { comment (expression_statement "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");" (call_expression "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" identifier (argument_list "("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" ( (string_literal ""id >= 0 && id < ngsslibs"" " string_content ") , (string_literal ""config.c"" " string_content ") , number_literal , (string_literal ""gsslist_handler"" " string_content ") ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);" (call_expression "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" identifier (argument_list "(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" ( identifier , identifier , (subscript_expression "(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3]" (parenthesized_expression "(&PTR_s_libgssapi__Heimdal__00139b20)" ( (pointer_expression "&PTR_s_libgssapi__Heimdal__00139b20" & identifier) )) [ identifier ]) , identifier ))) ;) }) while (parenthesized_expression "(iVar4 != iVar1)" ( (binary_expression "iVar4 != iVar1" identifier != identifier) )) ;) })) (expression_statement "FUN_000a5530(param_1,param_2);" (call_expression "FUN_000a5530(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" if (parenthesized_expression "((param_4 == 2) && (0 < DAT_000f0860))" ( (binary_expression "(param_4 == 2) && (0 < DAT_000f0860)" (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) && (parenthesized_expression "(0 < DAT_000f0860)" ( (binary_expression "0 < DAT_000f0860" number_literal < identifier) ))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);" do (compound_statement "{\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    }" { (expression_statement "uVar2 = FUN_000a45a0(param_1,param_2,iVar4);" (assignment_expression "uVar2 = FUN_000a45a0(param_1,param_2,iVar4)" identifier = (call_expression "FUN_000a45a0(param_1,param_2,iVar4)" identifier (argument_list "(param_1,param_2,iVar4)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00021b70(param_3,0x29,iVar4,uVar2);" (call_expression "FUN_00021b70(param_3,0x29,iVar4,uVar2)" identifier (argument_list "(param_3,0x29,iVar4,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != 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 gsslist_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = ngsslibs;\n  if (event == 0) {\n    dlg_update_start(ctrl,dlg);\n    dlg_listbox_clear(ctrl,dlg);\n    iVar1 = ngsslibs;\n    if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }\n    dlg_update_done(ctrl,dlg);\n    return;\n  }\n  if ((event == 2) && (0 < ngsslibs)) {\n    iVar4 = 0;\n    do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void gsslist_handler(control *ctrl,void *dlg,void *data,int event)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = ngsslibs;\n  if (event == 0) {\n    dlg_update_start(ctrl,dlg);\n    dlg_listbox_clear(ctrl,dlg);\n    iVar1 = ngsslibs;\n    if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }\n    dlg_update_done(ctrl,dlg);\n    return;\n  }\n  if ((event == 2) && (0 < ngsslibs)) {\n    iVar4 = 0;\n    do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "gsslist_handler(control *ctrl,void *dlg,void *data,int event)" identifier (parameter_list "(control *ctrl,void *dlg,void *data,int event)" ( (parameter_declaration "control *ctrl" type_identifier (pointer_declarator "*ctrl" * identifier)) , (parameter_declaration "void *dlg" primitive_type (pointer_declarator "*dlg" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) , (parameter_declaration "int event" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = ngsslibs;\n  if (event == 0) {\n    dlg_update_start(ctrl,dlg);\n    dlg_listbox_clear(ctrl,dlg);\n    iVar1 = ngsslibs;\n    if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }\n    dlg_update_done(ctrl,dlg);\n    return;\n  }\n  if ((event == 2) && (0 < ngsslibs)) {\n    iVar4 = 0;\n    do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = ngsslibs;" (assignment_expression "iVar1 = ngsslibs" identifier = identifier) ;) (if_statement "if (event == 0) {\n    dlg_update_start(ctrl,dlg);\n    dlg_listbox_clear(ctrl,dlg);\n    iVar1 = ngsslibs;\n    if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }\n    dlg_update_done(ctrl,dlg);\n    return;\n  }" if (parenthesized_expression "(event == 0)" ( (binary_expression "event == 0" identifier == number_literal) )) (compound_statement "{\n    dlg_update_start(ctrl,dlg);\n    dlg_listbox_clear(ctrl,dlg);\n    iVar1 = ngsslibs;\n    if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }\n    dlg_update_done(ctrl,dlg);\n    return;\n  }" { (expression_statement "dlg_update_start(ctrl,dlg);" (call_expression "dlg_update_start(ctrl,dlg)" identifier (argument_list "(ctrl,dlg)" ( identifier , identifier ))) ;) (expression_statement "dlg_listbox_clear(ctrl,dlg);" (call_expression "dlg_listbox_clear(ctrl,dlg)" identifier (argument_list "(ctrl,dlg)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = ngsslibs;" (assignment_expression "iVar1 = ngsslibs" identifier = identifier) ;) (if_statement "if (0 < ngsslibs) {\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }" if (parenthesized_expression "(0 < ngsslibs)" ( (binary_expression "0 < ngsslibs" number_literal < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      } while (iVar4 != iVar1);" do (compound_statement "{\n        iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);\n        if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);\n      }" { (expression_statement "iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4);" (assignment_expression "iVar2 = conf_get_int_int((Conf *)data,0x29,iVar4)" identifier = (call_expression "conf_get_int_int((Conf *)data,0x29,iVar4)" identifier (argument_list "((Conf *)data,0x29,iVar4)" ( (cast_expression "(Conf *)data" ( (type_descriptor "Conf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier )))) ;) (if_statement "if ((iVar1 <= iVar2) || (iVar2 < 0)) {\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" if (parenthesized_expression "((iVar1 <= iVar2) || (iVar2 < 0))" ( (binary_expression "(iVar1 <= iVar2) || (iVar2 < 0)" (parenthesized_expression "(iVar1 <= iVar2)" ( (binary_expression "iVar1 <= iVar2" identifier <= identifier) )) || (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" { comment (expression_statement "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");" (call_expression "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" identifier (argument_list "("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" ( (string_literal ""id >= 0 && id < ngsslibs"" " string_content ") , (string_literal ""config.c"" " string_content ") , number_literal , (string_literal ""gsslist_handler"" " string_content ") ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2);" (call_expression "dlg_listbox_addwithid(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2)" identifier (argument_list "(ctrl,dlg,*(char **)(gsslibnames + iVar2 * 4),iVar2)" ( identifier , identifier , (pointer_expression "*(char **)(gsslibnames + iVar2 * 4)" * (cast_expression "(char **)(gsslibnames + iVar2 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(gsslibnames + iVar2 * 4)" ( (binary_expression "gsslibnames + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) , identifier ))) ;) }) while (parenthesized_expression "(iVar4 != iVar1)" ( (binary_expression "iVar4 != iVar1" identifier != identifier) )) ;) })) (expression_statement "dlg_update_done(ctrl,dlg);" (call_expression "dlg_update_done(ctrl,dlg)" identifier (argument_list "(ctrl,dlg)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((event == 2) && (0 < ngsslibs)) {\n    iVar4 = 0;\n    do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" if (parenthesized_expression "((event == 2) && (0 < ngsslibs))" ( (binary_expression "(event == 2) && (0 < ngsslibs)" (parenthesized_expression "(event == 2)" ( (binary_expression "event == 2" identifier == number_literal) )) && (parenthesized_expression "(0 < ngsslibs)" ( (binary_expression "0 < ngsslibs" number_literal < identifier) ))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);" do (compound_statement "{\n      iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);\n      iVar3 = iVar4 + 1;\n      conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);\n      iVar4 = iVar3;\n    }" { (expression_statement "iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4);" (assignment_expression "iVar2 = dlg_listbox_getid(ctrl,dlg,iVar4)" identifier = (call_expression "dlg_listbox_getid(ctrl,dlg,iVar4)" identifier (argument_list "(ctrl,dlg,iVar4)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "conf_set_int_int((Conf *)data,0x29,iVar4,iVar2);" (call_expression "conf_set_int_int((Conf *)data,0x29,iVar4,iVar2)" identifier (argument_list "((Conf *)data,0x29,iVar4,iVar2)" ( (cast_expression "(Conf *)data" ( (type_descriptor "Conf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != identifier) )) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" identifier = identifier) ;) (if_statement "if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" { (expression_statement "FUN_000a5520(param_1,param_2);" (call_expression "FUN_000a5520(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "FUN_000a4210(param_1,param_2);" (call_expression "FUN_000a4210(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" identifier = identifier) ;) (if_statement "if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" if (parenthesized_expression "(0 < DAT_000f0860)" ( (binary_expression "0 < DAT_000f0860" number_literal < identifier) )) (compound_statement "{\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);" do (compound_statement "{\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      }" { (expression_statement "iVar3 = FUN_000212f0(param_3,0x29,iVar4);" (assignment_expression "iVar3 = FUN_000212f0(param_3,0x29,iVar4)" identifier = (call_expression "FUN_000212f0(param_3,0x29,iVar4)" identifier (argument_list "(param_3,0x29,iVar4)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" if (parenthesized_expression "((iVar1 <= iVar3) || (iVar3 < 0))" ( (binary_expression "(iVar1 <= iVar3) || (iVar3 < 0)" (parenthesized_expression "(iVar1 <= iVar3)" ( (binary_expression "iVar1 <= iVar3" identifier <= identifier) )) || (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) ))) )) (compound_statement "{\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" { (expression_statement "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");" (call_expression "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" identifier (argument_list "("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" ( (string_literal ""id >= 0 && id < ngsslibs"" " string_content ") , (string_literal ""config.c"" " string_content ") , number_literal , (string_literal ""gsslist_handler"" " string_content ") ))) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);" (call_expression "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" identifier (argument_list "(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" ( identifier , identifier , (subscript_expression "(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3]" (parenthesized_expression "(&PTR_s_libgssapi__Heimdal__00139b20)" ( (pointer_expression "&PTR_s_libgssapi__Heimdal__00139b20" & identifier) )) [ identifier ]) , identifier ))) ;) }) while (parenthesized_expression "(iVar4 != iVar1)" ( (binary_expression "iVar4 != iVar1" identifier != identifier) )) ;) })) (expression_statement "FUN_000a5530(param_1,param_2);" (call_expression "FUN_000a5530(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" if (parenthesized_expression "((param_4 == 2) && (0 < DAT_000f0860))" ( (binary_expression "(param_4 == 2) && (0 < DAT_000f0860)" (parenthesized_expression "(param_4 == 2)" ( (binary_expression "param_4 == 2" identifier == number_literal) )) && (parenthesized_expression "(0 < DAT_000f0860)" ( (binary_expression "0 < DAT_000f0860" number_literal < identifier) ))) )) (compound_statement "{\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);" do (compound_statement "{\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    }" { (expression_statement "uVar2 = FUN_000a45a0(param_1,param_2,iVar4);" (assignment_expression "uVar2 = FUN_000a45a0(param_1,param_2,iVar4)" identifier = (call_expression "FUN_000a45a0(param_1,param_2,iVar4)" identifier (argument_list "(param_1,param_2,iVar4)" ( identifier , identifier , identifier )))) ;) (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00021b70(param_3,0x29,iVar4,uVar2);" (call_expression "FUN_00021b70(param_3,0x29,iVar4,uVar2)" identifier (argument_list "(param_3,0x29,iVar4,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != iVar1)" ( (binary_expression "iVar3 != iVar1" identifier != 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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024e00(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" (identifier "FUN_00024e00") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,int param_4)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar1 = DAT_000f0860;\n  if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }\n  if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" (identifier "iVar1") (= "=") (identifier "DAT_000f0860")) (; ";")) (if_statement "if (param_4 == 0) {\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000a5520(param_1,param_2);\n    FUN_000a4210(param_1,param_2);\n    iVar1 = DAT_000f0860;\n    if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }\n    FUN_000a5530(param_1,param_2);\n    return;\n  }" ({ "{") (expression_statement "FUN_000a5520(param_1,param_2);" (call_expression "FUN_000a5520(param_1,param_2)" (identifier "FUN_000a5520") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_000a4210(param_1,param_2);" (call_expression "FUN_000a4210(param_1,param_2)" (identifier "FUN_000a4210") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar1 = DAT_000f0860;" (assignment_expression "iVar1 = DAT_000f0860" (identifier "iVar1") (= "=") (identifier "DAT_000f0860")) (; ";")) (if_statement "if (0 < DAT_000f0860) {\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" (if "if") (parenthesized_expression "(0 < DAT_000f0860)" (( "(") (binary_expression "0 < DAT_000f0860" (number_literal "0") (< "<") (identifier "DAT_000f0860")) () ")")) (compound_statement "{\n      iVar4 = 0;\n      do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      } while (iVar4 != iVar1);" (do "do") (compound_statement "{\n        iVar3 = FUN_000212f0(param_3,0x29,iVar4);\n        if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }\n        iVar4 = iVar4 + 1;\n        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);\n      }" ({ "{") (expression_statement "iVar3 = FUN_000212f0(param_3,0x29,iVar4);" (assignment_expression "iVar3 = FUN_000212f0(param_3,0x29,iVar4)" (identifier "iVar3") (= "=") (call_expression "FUN_000212f0(param_3,0x29,iVar4)" (identifier "FUN_000212f0") (argument_list "(param_3,0x29,iVar4)" (( "(") (identifier "param_3") (, ",") (number_literal "0x29") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if ((iVar1 <= iVar3) || (iVar3 < 0)) {\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" (if "if") (parenthesized_expression "((iVar1 <= iVar3) || (iVar3 < 0))" (( "(") (binary_expression "(iVar1 <= iVar3) || (iVar3 < 0)" (parenthesized_expression "(iVar1 <= iVar3)" (( "(") (binary_expression "iVar1 <= iVar3" (identifier "iVar1") (<= "<=") (identifier "iVar3")) () ")")) (|| "||") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");\n        }" ({ "{") (expression_statement "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");" (call_expression "__assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" (identifier "__assert_fail") (argument_list "("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler")" (( "(") (string_literal ""id >= 0 && id < ngsslibs"" (" """) (string_content "id >= 0 && id < ngsslibs") (" """)) (, ",") (string_literal ""config.c"" (" """) (string_content "config.c") (" """)) (, ",") (number_literal "0x199") (, ",") (string_literal ""gsslist_handler"" (" """) (string_content "gsslist_handler") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);" (call_expression "FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" (identifier "FUN_000a43b0") (argument_list "(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (subscript_expression "(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3]" (parenthesized_expression "(&PTR_s_libgssapi__Heimdal__00139b20)" (( "(") (pointer_expression "&PTR_s_libgssapi__Heimdal__00139b20" (& "&") (identifier "PTR_s_libgssapi__Heimdal__00139b20")) () ")")) ([ "[") (identifier "iVar3") (] "]")) (, ",") (identifier "iVar3") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != iVar1)" (( "(") (binary_expression "iVar4 != iVar1" (identifier "iVar4") (!= "!=") (identifier "iVar1")) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000a5530(param_1,param_2);" (call_expression "FUN_000a5530(param_1,param_2)" (identifier "FUN_000a5530") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((param_4 == 2) && (0 < DAT_000f0860)) {\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" (if "if") (parenthesized_expression "((param_4 == 2) && (0 < DAT_000f0860))" (( "(") (binary_expression "(param_4 == 2) && (0 < DAT_000f0860)" (parenthesized_expression "(param_4 == 2)" (( "(") (binary_expression "param_4 == 2" (identifier "param_4") (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(0 < DAT_000f0860)" (( "(") (binary_expression "0 < DAT_000f0860" (number_literal "0") (< "<") (identifier "DAT_000f0860")) () ")"))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);\n    return;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    } while (iVar3 != iVar1);" (do "do") (compound_statement "{\n      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);\n      iVar3 = iVar4 + 1;\n      FUN_00021b70(param_3,0x29,iVar4,uVar2);\n      iVar4 = iVar3;\n    }" ({ "{") (expression_statement "uVar2 = FUN_000a45a0(param_1,param_2,iVar4);" (assignment_expression "uVar2 = FUN_000a45a0(param_1,param_2,iVar4)" (identifier "uVar2") (= "=") (call_expression "FUN_000a45a0(param_1,param_2,iVar4)" (identifier "FUN_000a45a0") (argument_list "(param_1,param_2,iVar4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "iVar3 = iVar4 + 1;" (assignment_expression "iVar3 = iVar4 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00021b70(param_3,0x29,iVar4,uVar2);" (call_expression "FUN_00021b70(param_3,0x29,iVar4,uVar2)" (identifier "FUN_00021b70") (argument_list "(param_3,0x29,iVar4,uVar2)" (( "(") (identifier "param_3") (, ",") (number_literal "0x29") (, ",") (identifier "iVar4") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != iVar1)" (( "(") (binary_expression "iVar3 != iVar1" (identifier "iVar3") (!= "!=") (identifier "iVar1")) () ")")) (; ";")) (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(type_1 *ctrl,void *dlg,void *data,int var_1)

{
  int var_6;
  int var_7;
  int var_15;
  int var_9;
  
  var_6 = var_4;
  if (var_1 == 0) {
    var_2(ctrl,dlg);
    var_3(ctrl,dlg);
    var_6 = var_4;
    if (0 < var_4) {
      var_9 = 0;
      do {
        var_7 = var_5((type_2 *)data,0x29,var_9);
        if ((var_6 <= var_7) || (var_7 < 0)) {
                    /* WARNING: Subroutine does not return */
          var_8("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");
        }
        var_9 = var_9 + 1;
        var_10(ctrl,dlg,*(char **)(var_11 + var_7 * 4),var_7);
      } while (var_9 != var_6);
    }
    var_12(ctrl,dlg);
    return;
  }
  if ((var_1 == 2) && (0 < var_4)) {
    var_9 = 0;
    do {
      var_7 = var_13(ctrl,dlg,var_9);
      var_15 = var_9 + 1;
      var_14((type_2 *)data,0x29,var_9,var_7);
      var_9 = var_15;
    } while (var_15 != var_6);
    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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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 (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (return_statement))) (return_statement))))

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

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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar1 = DAT_000f0860;
  if (param_4 == 0) {
    FUN_000a5520(param_1,param_2);
    FUN_000a4210(param_1,param_2);
    iVar1 = DAT_000f0860;
    if (0 < DAT_000f0860) {
      iVar4 = 0;
      do {
        iVar3 = FUN_000212f0(param_3,0x29,iVar4);
        if ((iVar1 <= iVar3) || (iVar3 < 0)) {
                    /* WARNING: Subroutine does not return */
          __assert_fail("id >= 0 && id < ngsslibs","config.c",0x199,"gsslist_handler");
        }
        iVar4 = iVar4 + 1;
        FUN_000a43b0(param_1,param_2,(&PTR_s_libgssapi__Heimdal__00139b20)[iVar3],iVar3);
      } while (iVar4 != iVar1);
    }
    FUN_000a5530(param_1,param_2);
    return;
  }
  if ((param_4 == 2) && (0 < DAT_000f0860)) {
    iVar4 = 0;
    do {
      uVar2 = FUN_000a45a0(param_1,param_2,iVar4);
      iVar3 = iVar4 + 1;
      FUN_00021b70(param_3,0x29,iVar4,uVar2);
      iVar4 = iVar3;
    } while (iVar3 != iVar1);
    return;
  }
  return;
}

