Function at 0x5995f0
Capabilities:
Query environment variable

Disassembly:
push ebx
sub esp, 0x38
mov eax, dword [0x8670ec]
mov ebx, dword [esp + 0x40]
test eax, eax
je 0x599603
call eax
call fcn.00444580
nop
lea esi, [esi]
call fcn.0050c3f0
call fcn.0059ca00
call fcn.005c68f0
nop
call fcn.005c0da0
call fcn.005b78a0
call fcn.004f7740
nop
call fcn.004450e0
call fcn.004e9c60
mov dword [esp], str._gdb_
call fcn.00598a30
mov dword [0x8663d8], 0x731a3a
mov dword [0x85f71c], 1
mov dword [0x8670d8], 0
mov dword [0x85f720], 0
mov dword [0x8606f0], 0x4ec510
mov dword [0x860708], 0x4ec370
call fcn.0050ecc0
mov dword [0x8606f4], eax
call fcn.004ec1a0
mov dword [str.other], 0x731b86
mov dword [esp], 0x731b8a
mov dword [0x8606ec], eax
call sub.msvcrt.dll_getenv
mov dword [esp + 8], 0xf
mov dword [esp + 4], 0x597f40
mov dword [esp], str.operate_and_get_next
mov dword [0x8607d0], eax
call fcn.005cf0c0
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0x597f20
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Show_gdbs_prompt
mov dword [esp + 0xc], str.Set_gdbs_prompt
mov dword [esp + 8], 0x85f700
mov dword [esp + 4], 4
mov dword [esp], str.prompt
call fcn.0043e680
mov dword [esp + 0xc], str.Dont_repeat_this_command._nPrimarily_used_inside_of_user_defined_commands_that_should_not_be_repeated_when_nhitting_return.
mov dword [esp + 8], 0x597e20
mov dword [esp + 4], 4
mov dword [esp], str.dont_repeat
call fcn.0043eaa0
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0x597f00
mov dword [esp + 0x18], 0x4eb1a0
mov dword [esp + 0x14], str.Use__on__to_enable_the_editing__and__off__to_disable_it._nWithout_an_argument__command_line_editing_is_enabled.__To_edit__use_nEMACS_like_or_VI_like_commands_like_control_P_or_ESC.
mov dword [esp + 0x10], str.Show_editing_of_command_lines_as_they_are_typed.
mov dword [esp + 0xc], str.Set_editing_of_command_lines_as_they_are_typed.
mov dword [esp + 8], 0x8663ec
mov dword [esp + 4], 4
mov dword [esp], str.editing
call fcn.0043e5a0
mov dword [esp + 0x24], 0x866108
mov dword [esp + 0x20], 0x866114
mov dword [esp + 0x1c], 0x597ee0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.Use__on__to_enable_the_saving__and__off__to_disable_it._nWithout_an_argument__saving_is_enabled.
mov dword [esp + 0x10], str.Show_saving_of_the_history_record_on_exit.
mov dword [esp + 0xc], str.Set_saving_of_the_history_record_on_exit.
mov dword [esp + 8], 0x85f720
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x731e26
call fcn.0043e5a0
mov dword [esp + 0x24], 0x866108
mov dword [esp + 0x20], 0x866114
mov dword [esp + 0x1c], 0x597ec0
mov dword [esp + 0x18], 0x598050
mov dword [esp + 0x14], str.ie._the_number_of_previous_commands_to_keep_a_record_of.
mov dword [esp + 0x10], str.Show_the_size_of_the_command_history_
mov dword [esp + 0xc], str.Set_the_size_of_the_command_history_
mov dword [esp + 8], 0x85f72c
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x731eb5
call fcn.0043e860
mov dword [esp + 0x24], 0x866108
mov dword [esp + 0x20], 0x866114
mov dword [esp + 0x1c], 0x597ea0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str._the_list_of_previous_commands_of_which_a_record_is_kept_.
mov dword [esp + 0x10], str.Show_the_filename_in_which_to_record_the_command_history
mov dword [esp + 0xc], str.Set_the_filename_in_which_to_record_the_command_history
mov dword [esp + 8], 0x85f724
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x731f6c
call fcn.0043e610
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0x597e80
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Show_whether_to_confirm_potentially_dangerous_operations.
mov dword [esp + 0xc], str.Set_whether_to_confirm_potentially_dangerous_operations.
mov dword [esp + 8], 0x6a93ec
mov dword [esp + 4], 4
mov dword [esp], str.confirm
call fcn.0043e5a0
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0x597e60
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.0__normal______1__fullname__for_use_when_running_under_emacs__n2__output_annotated_suitably_for_use_by_programs_that_control_GDB.
mov dword [esp + 0x10], str.Show_annotation_level.
mov dword [esp + 0xc], str.Set_annotation_level.
mov dword [esp + 8], 0x851960
mov dword [esp + 4], 0xa
mov dword [esp], str.annotate
call fcn.0043e8e0
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0x597e40
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], str.Use__on__to_enable_the_notification__and__off__to_disable_it.
mov dword [esp + 0x10], str.Show_notification_of_completion_for_asynchronous_execution_commands.
mov dword [esp + 0xc], str.Set_notification_of_completion_for_asynchronous_execution_commands.
mov dword [esp + 8], 0x852060
mov dword [esp + 4], 4
mov dword [esp], str.exec_done_display
call fcn.0043e5a0
mov dword [esp + 0x24], 0x866124
mov dword [esp + 0x20], 0x866104
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x597e30
mov dword [esp + 0x14], str.When_set__GDB_uses_the_specified_path_to_search_for_data_files.
mov dword [esp + 0x10], str.Show_GDBs_data_directory.
mov dword [esp + 0xc], str.Set_GDBs_data_directory.
mov dword [esp + 8], 0x8519bc
mov dword [esp + 4], 0xb
mov dword [esp], str.data_directory
call fcn.0043e610
call fcn.005c6820
call fcn.004eb120
mov dword [esp], 2
call fcn.0050f330
mov eax, dword [0x6a8fdc]
mov dword [0x8666e4], eax
mov eax, dword [0x8670bc]
test eax, eax
je 0x599a20
mov dword [esp + 0x40], ebx
add esp, 0x38
pop ebx
jmp eax
add esp, 0x38
pop ebx
ret