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

Disassembly:
push ecx
push ebx
push esi
push edi
push dword [0x43b474]
call fcn.00406ca7
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 0x43507c
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
xor edi, edi
add esp, 0x24
cmp dword [0x4350a3], edi
jle 0x417861
push dword [edi*4 + 0x4350a7]
push str.___s_n
push esi
call sub.MSVCRT.dll_fprintf
inc edi
add esp, 0xc
cmp edi, dword [0x4350a3]
jl 0x417843
push 0x42e56c
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 0x42bafc
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 0x42f3fc
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, 0xffffff
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.00415be0
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.0x417908.4
jmp dword [eax*4 + 0x417adc]
push str.__Program_State:_error_n
jmp 0x41794c
push str.__Program_State:_halted_by__CallDebugger__n
jmp 0x41794c
push str.__Program_State:_program_ended_n
jmp 0x41794c
push str.__Program_State:_fatal_error_n
jmp 0x41794c
push str.__Program_State:_halted_by_Breakpoint_n
jmp 0x41794c
push str.__Program_State:_halted_by_User_n
jmp 0x41794c
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 0x42e56c
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.0041b5c0
push 0x42f3fc
push esi
call sub.MSVCRT.dll_fprintf
push str._Execution_history_
push esi
call sub.MSVCRT.dll_fprintf
push 1
push esi
call fcn.00419c20
push 0x42bafc
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 0x4179c9
push str._n__Cannot_display_register_values_at_this_point._n_n_n
push esi
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x4179de
push edi
push esi
call fcn.0041aab0
push 0x42bafc
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 0x4179f7
push str.__Cannot_display_stack_content_at_this_point._n_n_n
jmp 0x417a07
push 0
push 0
push edi
push esi
call fcn.004230f0
push 0x42e56c
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.00419640
push 0x42bafc
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.0041a110
push 0x42bafc
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.0041a840
push 0x42bafc
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 0x417ab4
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 0x417aa4
sub ecx, edx
inc edi
add edi, ecx
cmp byte [edi], al
jne 0x417a90
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x42e56c
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