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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [0x43f954]
push edi
push eax
mov ebx, ecx
call fcn.00412aa7
mov ebp, dword [eax]
push str._n_n___PureBasic_Debugger_Report
push ebx
call sub.MSVCRT.dll_fprintf
push str._n_n_n
push ebx
call sub.MSVCRT.dll_fprintf
push str._Included_source_files__n
push ebx
call sub.MSVCRT.dll_fprintf
push str.C:Documents_and_Settings_adminLocal_SettingsTempPB_EditorOutput.pb
push 0x434930
push ebx
call sub.MSVCRT.dll_fprintf
xor edi, edi
add esp, 0x24
cmp dword [0x4371e4], edi
jle 0x41c141
jmp 0x41c120
mov ecx, dword [edi*4 + 0x4371e8]
push ecx
push 0x434930
push ebx
call sub.MSVCRT.dll_fprintf
add edi, 1
add esp, 0xc
cmp edi, dword [0x4371e4]
jl 0x41c120
push 0x434114
push ebx
call sub.MSVCRT.dll_fprintf
push str._Program_execution_information__n
push ebx
call sub.MSVCRT.dll_fprintf
push 0
call sub.MSVCRT.dll_time
push 0x433a14
push ebx
mov dword [esp + 0x2c], eax
call sub.MSVCRT.dll_fprintf
lea edx, [esp + 0x2c]
push edx
call sub.MSVCRT.dll_ctime
push eax
push str.____Execution_time:__s
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push str._______Commandline:__s
push ebx
call sub.MSVCRT.dll_fprintf
push 0x4348d8
push ebx
call sub.MSVCRT.dll_fprintf
push str._Error_information__n
push ebx
call sub.MSVCRT.dll_fprintf
mov eax, dword [ebp + 0x14]
and eax, 0xffffff
add eax, 1
push eax
push str.___Current_Line:__d_n
push ebx
call sub.MSVCRT.dll_fprintf
mov eax, dword [ebp + 0x14]
call fcn.00413ee0
push eax
push str.___Current_File:__s_n
push ebx
call sub.MSVCRT.dll_fprintf
mov ebp, dword [ebp + 0x20]
lea eax, [ebp - 2]
add esp, 0x34
cmp eax, 6
ja case.0x41c1e7.4
jmp dword [eax*4 + 0x41c380]
push str.__Program_State:_error_n
jmp 0x41c21d
push str.__Program_State:_halted_by__CallDebugger__n
jmp 0x41c21d
push str.__Program_State:_program_ended_n
jmp 0x41c21d
push str.__Program_State:_fatal_error_n
jmp 0x41c21d
push str.__Program_State:_halted_by_Breakpoint_n
jmp 0x41c21d
push str.__Program_State:_halted_by_User_n
jmp 0x41c21d
push str.__Program_State:_unknown_n
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 8
push 0x434114
push ebx
call sub.MSVCRT.dll_fprintf
push str._Global_variables_
push ebx
call sub.MSVCRT.dll_fprintf
push 1
push 0
push ebx
call fcn.0041a260
push 0x4348d8
push ebx
call sub.MSVCRT.dll_fprintf
push str._Execution_history_
push ebx
call sub.MSVCRT.dll_fprintf
push 1
mov edi, ebx
call fcn.0041ad90
push 0x433a14
push ebx
call sub.MSVCRT.dll_fprintf
push str._Processor_registers_
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x40
test esi, esi
jne 0x41c289
push str._n__Cannot_display_register_values_at_this_point._n_n_n
jmp 0x41c293
call fcn.0041aaa0
push 0x433a14
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 8
push str._Stack_contents__n
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 8
test esi, esi
jne 0x41c2be
push str.__Cannot_display_stack_content_at_this_point._n_n_n
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x41c2d7
push 0
push 0
push esi
push ebx
call fcn.00417b30
push 0x434114
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x18
push str._Arrays__n
push ebx
call sub.MSVCRT.dll_fprintf
call fcn.0041b560
push 0x433a14
push ebx
call sub.MSVCRT.dll_fprintf
push str._Linked_Lists__n
push ebx
call sub.MSVCRT.dll_fprintf
push ebx
call fcn.0041b8f0
push 0x433a14
push ebx
call sub.MSVCRT.dll_fprintf
push str._Environment_variables__n
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x2c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov edi, eax
cmp byte [edi], 0
mov esi, edi
je 0x41c359
jmp 0x41c330
push esi
push 0x434930
push ebx
call sub.MSVCRT.dll_fprintf
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41c344
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x41c330
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x434114
push ebx
call sub.MSVCRT.dll_fprintf
push str._n_n_n
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret