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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [0x14009c960]
call fcn.140001a70
lea rdx, str._n_n___PureBasic_Debugger_Report
mov rcx, rdi
mov rbp, qword [rax]
call fcn.140002030
lea rdx, str._n_n_n
mov rcx, rdi
call fcn.140002030
lea rdx, str._Included_source_files__n
mov rcx, rdi
call fcn.140002030
lea r8, [0x140082064]
mov rcx, rdi
lea rdx, str.___s_n
call fcn.140002030
xor esi, esi
cmp dword [0x140082080], esi
jle 0x14001f5c0
lea rbx, [0x140082084]
nop word [rax + rax]
mov r8, qword [rbx]
lea rdx, str.___s_n
mov rcx, rdi
call fcn.140002030
inc esi
lea rbx, [rbx + 8]
cmp esi, dword [0x140082080]
jl 0x14001f5a0
lea rdx, [0x140072398]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Program_execution_information__n
mov rcx, rdi
call fcn.140002030
xor ecx, ecx
call fcn.140046c60
lea rdx, [0x14007239c]
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140002030
lea rcx, [rsp + 0x20]
call fcn.140046bec
mov r8, rax
lea rdx, str.____Execution_time:__s
mov rcx, rdi
call fcn.140002030
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rdx, str._______Commandline:__s
mov rcx, rdi
mov r8, rax
call fcn.140002030
lea rdx, [0x140072394]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Error_information__n
mov rcx, rdi
call fcn.140002030
mov r8d, dword [rbp + 0x18]
lea rdx, str.___Current_Line:__d_n
and r8d, 0xfffff
mov rcx, rdi
inc r8d
call fcn.140002030
mov ecx, dword [rbp + 0x18]
call fcn.140023c10
mov r8, rax
lea rdx, str.___Current_File:__s_n
mov rcx, rdi
call fcn.140002030
mov eax, dword [rbp + 0x24]
add eax, 0xfffffffe
cmp eax, 7
ja case.0x14001f6a0.4
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1f880]
add rcx, rdx
jmp rcx
lea rdx, str.__Program_State:_error_n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_halted_by__CallDebugger__n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_program_ended_n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_fatal_error_n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_halted_by_Breakpoint_n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_halted_by_User_n
jmp 0x14001f6ee
lea rdx, str.__Program_State:_halted_by_Data_Breakpoint_n
mov rcx, rdi
call fcn.140002030
lea rdx, str.__Program_State:_unknown_n
mov rcx, rdi
call fcn.140002030
lea rdx, [0x140072398]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Global_variables_
mov rcx, rdi
call fcn.140002030
mov r9d, 1
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 - 2]
call fcn.140023240
lea rdx, [0x140072394]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Execution_history_
mov rcx, rdi
call fcn.140002030
mov edx, 1
mov rcx, rdi
call fcn.140023780
lea rdx, [0x14007239c]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Arrays__n
mov rcx, rdi
call fcn.140002030
xor edx, edx
mov rcx, rdi
lea r8d, [rdx - 1]
call fcn.140022370
lea rdx, [0x14007239c]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Linked_Lists__n
mov rcx, rdi
call fcn.140002030
xor edx, edx
mov rcx, rdi
lea r8d, [rdx - 1]
call fcn.140021c70
lea rdx, [0x14007239c]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Maps__n
mov rcx, rdi
call fcn.140002030
xor edx, edx
mov rcx, rdi
lea r8d, [rdx - 1]
call fcn.140022a20
lea rdx, [0x14007239c]
mov rcx, rdi
call fcn.140002030
lea rdx, str._Environment_variables__n
mov rcx, rdi
call fcn.140002030
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov rsi, rax
mov rbx, rax
cmp byte [rax], 0
je 0x14001f844
nop word [rax + rax]
mov r8, rbx
lea rdx, str.___s_n
mov rcx, rdi
call fcn.140002030
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14001f830
inc rbx
add rbx, rcx
cmp byte [rbx], 0
jne 0x14001f810
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea rdx, [0x140072398]
mov rcx, rdi
call fcn.140002030
lea rdx, str._n_n_n
mov rcx, rdi
call fcn.140002030
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret