Function at 0x438580
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
push dword [0x6a4a28]
call fcn.00427092
mov esi, dword [esp + 0x14]
push str._n_n___PureBasic_Debugger_Report
push esi
mov ebx, dword [eax]
call sub.MSVCRT.dll_fprintf
push str._n_n_n
push esi
call sub.MSVCRT.dll_fprintf
push str._Included_source_files__n
push esi
call sub.MSVCRT.dll_fprintf
push 0x587080
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
xor edi, edi
add esp, 0x24
cmp dword [0x5870bf], edi
jle 0x4385f1
push dword [edi*4 + 0x5870c3]
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
inc edi
add esp, 0xc
cmp edi, dword [0x5870bf]
jl 0x4385d3
push 0x56358c
push esi
call sub.MSVCRT.dll_fprintf
push str._Program_execution_information__n
push esi
call sub.MSVCRT.dll_fprintf
push 0
call sub.MSVCRT.dll_time
push 0x560b1c
push esi
mov dword [esp + 0x28], eax
call sub.MSVCRT.dll_fprintf
lea eax, [esp + 0x28]
push eax
call sub.MSVCRT.dll_ctime
push eax
push str.____Execution_time:__s
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push str._______Commandline:__s
push esi
call sub.MSVCRT.dll_fprintf
push 0x56441c
push esi
call sub.MSVCRT.dll_fprintf
push str._Error_information__n
push esi
call sub.MSVCRT.dll_fprintf
mov eax, dword [ebx + 0x14]
and eax, 0xfffff
inc eax
push eax
push str.___Current_Line:__d_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x28
push dword [ebx + 0x14]
call fcn.00436820
push eax
push str.___Current_File:__s_n
push esi
call sub.MSVCRT.dll_fprintf
mov eax, dword [ebx + 0x20]
add esp, 0xc
add eax, 0xfffffffe
cmp eax, 7
ja case.0x438698.4
jmp dword [eax*4 + 0x43886c]
push str.__Program_State:_error_n
jmp 0x4386dc
push str.__Program_State:_halted_by__CallDebugger__n
jmp 0x4386dc
push str.__Program_State:_program_ended_n
jmp 0x4386dc
push str.__Program_State:_fatal_error_n
jmp 0x4386dc
push str.__Program_State:_halted_by_Breakpoint_n
jmp 0x4386dc
push str.__Program_State:_halted_by_User_n
jmp 0x4386dc
push str.__Program_State:_halted_by_Data_Breakpoint_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
push str.__Program_State:_unknown_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
push 0x56358c
push esi
call sub.MSVCRT.dll_fprintf
push str._Global_variables_
push esi
call sub.MSVCRT.dll_fprintf
push 1
push 0
push 0xffffffffffffffff
push esi
call fcn.0043c200
push 0x56441c
push esi
call sub.MSVCRT.dll_fprintf
push str._Execution_history_
push esi
call sub.MSVCRT.dll_fprintf
push 1
push esi
call fcn.0043a860
push 0x560b1c
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x40
push str._Processor_registers_
push esi
call sub.MSVCRT.dll_fprintf
mov edi, dword [esp + 0x28]
add esp, 8
test edi, edi
jne 0x438759
push str._n__Cannot_display_register_values_at_this_point._n_n_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x43876e
push edi
push esi
call fcn.0043b6f0
push 0x560b1c
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x10
push str._Stack_contents__n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
test edi, edi
jne 0x438787
push str.__Cannot_display_stack_content_at_this_point._n_n_n
jmp 0x438797
push 0
push 0
push edi
push esi
call fcn.00443d60
push 0x56358c
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
push str._Arrays__n
push esi
call sub.MSVCRT.dll_fprintf
push 0xffffffffffffffff
push 0
push esi
call fcn.0043a280
push 0x560b1c
push esi
call sub.MSVCRT.dll_fprintf
push str._Linked_Lists__n
push esi
call sub.MSVCRT.dll_fprintf
push 0xffffffffffffffff
push 0
push esi
call fcn.0043ad50
push 0x560b1c
push esi
call sub.MSVCRT.dll_fprintf
push str._Maps__n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x40
push 0xffffffffffffffff
push 0
push esi
call fcn.0043b480
push 0x560b1c
push esi
call sub.MSVCRT.dll_fprintf
push str._Environment_variables__n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
mov edi, ebx
cmp byte [ebx], 0
je 0x438844
push edi
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438834
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x438820
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x56358c
push esi
call sub.MSVCRT.dll_fprintf
push str._n_n_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 0x10
pop edi
pop esi
pop ebx
pop ecx
ret