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

Disassembly:
push ecx
push ebx
push esi
push edi
push dword [0x4c62d8]
call fcn.0043e858
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 0x4ac0cc
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
xor edi, edi
add esp, 0x24
cmp dword [0x4ac0ee], edi
jle 0x450891
push dword [edi*4 + 0x4ac0f2]
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
inc edi
add esp, 0xc
cmp edi, dword [0x4ac0ee]
jl 0x450873
push 0x49cff4
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 0x49a584
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 0x49de84
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.0044eac0
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.0x450938.4
jmp dword [eax*4 + 0x450b0c]
push str.__Program_State:_error_n
jmp 0x45097c
push str.__Program_State:_halted_by__CallDebugger__n
jmp 0x45097c
push str.__Program_State:_program_ended_n
jmp 0x45097c
push str.__Program_State:_fatal_error_n
jmp 0x45097c
push str.__Program_State:_halted_by_Breakpoint_n
jmp 0x45097c
push str.__Program_State:_halted_by_User_n
jmp 0x45097c
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 0x49cff4
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.004544a0
push 0x49de84
push esi
call sub.MSVCRT.dll_fprintf
push str._Execution_history_
push esi
call sub.MSVCRT.dll_fprintf
push 1
push esi
call fcn.00452b00
push 0x49a584
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 0x4509f9
push str._n__Cannot_display_register_values_at_this_point._n_n_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x450a0e
push edi
push esi
call fcn.00453990
push 0x49a584
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 0x450a27
push str.__Cannot_display_stack_content_at_this_point._n_n_n
jmp 0x450a37
push 0
push 0
push edi
push esi
call fcn.0045c000
push 0x49cff4
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.00452520
push 0x49a584
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.00452ff0
push 0x49a584
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.00453720
push 0x49a584
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 0x450ae4
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 0x450ad4
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x450ac0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x49cff4
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