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

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
push dword [0x4ec178]
call fcn.00407b26
push str._n_n___PureBasic_Debugger_Report
push esi
mov ebx, dword [eax]
call fcn.00408780
push str._n_n_n
push esi
call fcn.00408780
push str._Included_source_files__n
push esi
call fcn.00408780
push 0x4c30c8
push str.___s_n
push esi
call fcn.00408780
xor edi, edi
add esp, 0x24
cmp dword [0x4c30ea], edi
jle 0x42970e
jmp 0x4296f0
push dword [edi*4 + 0x4c30ee]
push str.___s_n
push esi
call fcn.00408780
inc edi
add esp, 0xc
cmp edi, dword [0x4c30ea]
jl 0x4296f0
push 0x4ba228
push esi
call fcn.00408780
push str._Program_execution_information__n
push esi
call fcn.00408780
push 0
call fcn.00458a9f
push 0x4ba230
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call fcn.00408780
lea eax, [esp + 0x28]
push eax
call fcn.00458a2c
push eax
push str.____Execution_time:__s
push esi
call fcn.00408780
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push str._______Commandline:__s
push esi
call fcn.00408780
push 0x4ba224
push esi
call fcn.00408780
push str._Error_information__n
push esi
call fcn.00408780
mov eax, dword [ebx + 0x14]
and eax, 0xfffff
inc eax
push eax
push str.___Current_Line:__d_n
push esi
call fcn.00408780
add esp, 0x28
push dword [ebx + 0x14]
call fcn.0042d830
push eax
push str.___Current_File:__s_n
push esi
call fcn.00408780
mov eax, dword [ebx + 0x20]
add esp, 0xc
add eax, 0xfffffffe
cmp eax, 7
ja case.0x4297b9.4
jmp dword [eax*4 + 0x42998c]
mov eax, str.__Program_State:_error_n
jmp 0x4297fd
mov eax, str.__Program_State:_halted_by__CallDebugger__n
jmp 0x4297fd
mov eax, str.__Program_State:_program_ended_n
jmp 0x4297fd
mov eax, str.__Program_State:_fatal_error_n
jmp 0x4297fd
mov eax, str.__Program_State:_halted_by_Breakpoint_n
jmp 0x4297fd
mov eax, str.__Program_State:_halted_by_User_n
jmp 0x4297fd
push str.__Program_State:_halted_by_Data_Breakpoint_n
push esi
call fcn.00408780
add esp, 8
mov eax, str.__Program_State:_unknown_n
push eax
push esi
call fcn.00408780
push 0x4ba228
push esi
call fcn.00408780
push str._Global_variables_
push esi
call fcn.00408780
push 1
push 0
push 0xffffffffffffffff
push esi
call fcn.0042d090
push 0x4ba224
push esi
call fcn.00408780
push str._Execution_history_
push esi
call fcn.00408780
push 1
push esi
call fcn.0042d4c0
add esp, 0x40
push 0x4ba230
push esi
call fcn.00408780
push str._Processor_registers_
push esi
call fcn.00408780
mov edi, dword [esp + 0x34]
add esp, 0x10
test edi, edi
jne 0x429888
push str._n__Cannot_display_register_values_at_this_point._n_n_n
push esi
call fcn.00408780
push str._Stack_contents__n
push esi
call fcn.00408780
add esp, 0x10
mov eax, str.__Cannot_display_stack_content_at_this_point._n_n_n
jmp 0x4298b8
push edi
push esi
call fcn.0042bb00
push 0x4ba230
push esi
call fcn.00408780
push str._Stack_contents__n
push esi
call fcn.00408780
add esp, 0x18
push 0
push 0
push edi
push esi
call fcn.00456ea0
mov eax, 0x4ba228
push eax
push esi
call fcn.00408780
push str._Arrays__n
push esi
call fcn.00408780
push 0xffffffffffffffff
push 0
push esi
call fcn.0042c4f0
push 0x4ba230
push esi
call fcn.00408780
push str._Linked_Lists__n
push esi
call fcn.00408780
push 0xffffffffffffffff
push 0
push esi
call fcn.0042bf30
push 0x4ba230
push esi
call fcn.00408780
add esp, 0x40
push str._Maps__n
push esi
call fcn.00408780
push 0xffffffffffffffff
push 0
push esi
call fcn.0042ca10
push 0x4ba230
push esi
call fcn.00408780
push str._Environment_variables__n
push esi
call fcn.00408780
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
mov edi, ebx
cmp byte [ebx], 0
je 0x429964
nop
push edi
push str.___s_n
push esi
call fcn.00408780
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x429954
sub eax, edx
inc edi
add edi, eax
cmp byte [edi], cl
jne 0x429940
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x4ba228
push esi
call fcn.00408780
push str._n_n_n
push esi
call fcn.00408780
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 8
ret