Function at 0x14002f380
Capabilities:
Execute command

Disassembly:
push rbx
push rbp
push r12
push r15
sub rsp, 0x228
mov r12, rcx
mov rcx, qword [0x140059f80]
call fcn.140015b28
mov rcx, qword [0x1400561f0]
mov r15, qword [rax]
call sub.msvcrt.dll__fileno
mov ecx, eax
call sub.msvcrt.dll__isatty
test eax, eax
jne 0x14002f428
mov rcx, qword [0x14006a2c0]
lea rdx, str._n_Debugger_Error___Cannot_call_Debugger_because_STDIN_is_not_connected_to
call sub.msvcrt.dll_fprintf
mov ecx, dword [r15 + 0x18]
mov ebx, ecx
and ebx, 0xfffff
call fcn.140027890
mov rcx, qword [0x14006a2c0]
lea r9d, [rbx + 1]
lea rdx, str._n_Debugger_Error___a_terminal_device__File:__s__Line:__d_
mov r8, rax
call sub.msvcrt.dll_fprintf
mov rcx, qword [0x14006a2c0]
lea rdx, str._n_Debugger_Error___Program_execution_continues..._n
call sub.msvcrt.dll_fprintf
mov rcx, qword [0x14006a2c0]
call sub.msvcrt.dll_fflush
xor ebp, ebp
mov dword [r15 + 0x24], ebp
add rsp, 0x228
pop r15
pop r12
pop rbp
pop rbx
ret
mov eax, dword [r15 + 8]
mov qword [rsp + 0x250], rsi
mov qword [rsp + 0x260], rdi
inc eax
mov qword [rsp + 0x268], r13
mov qword [rsp + 0x220], r14
test eax, 0xfffffffb
jne 0x14002f47b
mov rcx, qword [0x1400561f8]
lea rdx, str._n_n_PureBasic_Console_Debugger
call sub.msvcrt.dll_fprintf
mov rcx, qword [0x1400561f8]
lea rdx, str._n_n_nType_help_for_command_options._n
call sub.msvcrt.dll_fprintf
mov r14, qword [rsp + 0x258]
xor ebp, ebp
lea r13, str.file
nop dword [rax]
mov rcx, qword [0x1400561f8]
lea rdx, str.DEBUGGER::
call sub.msvcrt.dll_fprintf
mov r8, qword [0x1400561f0]
lea rcx, [rsp + 0x20]
mov edx, 0x1f4
mov byte [rsp + 0x20], bpl
call sub.msvcrt.dll_fgets
test rax, rax
je 0x14002f868
lea rax, [rsp + 0x20]
cmp byte [rsp + 0x20], bpl
je 0x14002f4eb
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x14002f4e0
cmp cl, 0xa
jne 0x14002f4e3
mov byte [rax], bpl
inc rax
cmp byte [rax], bpl
jne 0x14002f4d3
lea rcx, [rsp + 0x20]
mov edx, 0x20
lea rsi, [rsp + 0x20]
call sub.msvcrt.dll_strchr
mov rdi, rax
test rax, rax
je 0x14002f51c
inc rdi
mov byte [rax], bpl
cmp byte [rdi], 0x20
jne 0x14002f523
inc rdi
cmp byte [rdi], 0x20
je 0x14002f512
jmp 0x14002f523
lea rdi, [0x140042088]
lea rbx, [rsp + 0x20]
cmp byte [rsp + 0x20], bpl
je 0x14002f544
nop
movsx ecx, byte [rbx]
call sub.msvcrt.dll_tolower
lea rbx, [rbx + 1]
mov byte [rbx - 1], al
cmp byte [rbx], bpl
jne 0x14002f530
mov rcx, rbp
lea rdx, [rsp + 0x20]
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r13 + rcx - 1]
jne 0x14002f5f6
cmp rcx, 5
jne 0x14002f550
mov rax, qword [0x14006a2c0]
mov rcx, qword [0x1400561f8]
cmp rax, rcx
jne 0x14002f597
lea rdx, str.__There_is_no_redirection_set._n_n
call sub.msvcrt.dll_fprintf
lea rsi, [0x140042088]
lea rdi, [0x140042088]
jmp 0x14002f5fd
mov edx, 0x20
mov rcx, rdi
mov r14, rax
mov rsi, rdi
call sub.msvcrt.dll_strchr
mov rdi, rax
test rax, rax
je 0x14002f5ca
inc rdi
mov byte [rax], bpl
cmp byte [rdi], 0x20
jne 0x14002f5d1
nop dword [rax]
inc rdi
cmp byte [rdi], 0x20
je 0x14002f5c0
jmp 0x14002f5d1
lea rdi, [0x140042088]
mov rbx, rsi
cmp byte [rsi], bpl
je 0x14002f5fd
nop dword [rax]
movsx ecx, byte [rbx]
call sub.msvcrt.dll_tolower
lea rbx, [rbx + 1]
mov byte [rbx - 1], al
cmp byte [rbx], bpl
jne 0x14002f5e0
jmp 0x14002f5fd
mov r14, qword [0x1400561f8]
mov rcx, rbp
lea rdx, [0x140045858]
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f628
cmp rcx, 5
jne 0x14002f610
jmp 0x14002f8b1
mov rcx, rbp
lea rdx, str.quit
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f64a
cmp rcx, 5
jne 0x14002f632
jmp 0x14002f8b1
mov rcx, rbp
lea rdx, [0x140046e20]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f680
cmp rcx, 4
jne 0x14002f660
mov dword [r15 + 8], ebp
mov dword [r15 + 0x24], ebp
jmp 0x14002f883
mov rcx, rbp
lea rdx, str.step
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f6ca
cmp rcx, 5
jne 0x14002f690
lea r8, [r15 + 0xc]
lea rdx, [0x140047934]
mov rcx, rdi
mov dword [r8], ebp
mov dword [r15 + 8], 1
call sub.msvcrt.dll_sscanf
mov dword [r15 + 0x24], ebp
jmp 0x14002f883
mov rcx, rbp
lea rdx, str.line
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f71f
cmp rcx, 5
jne 0x14002f6e0
mov ecx, dword [r15 + 0x18]
mov ebx, ecx
and ebx, 0xfffff
call fcn.140027890
lea r9d, [rbx + 1]
lea rdx, str.File:__s_nLine:__d_n_n
mov rcx, r14
mov r8, rax
call sub.msvcrt.dll_fprintf
jmp 0x14002f84e
mov rcx, rbp
lea rdx, str.files
nop dword [rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f79d
cmp rcx, 6
jne 0x14002f730
lea rdx, str._Included_Source_files__n
mov rcx, r14
call sub.msvcrt.dll_fprintf
mov ebx, ebp
cmp dword [0x140051192], ebx
jl 0x14002f789
nop dword [rax]
mov ecx, ebx
shl ecx, 0x14
call fcn.140027890
lea rdx, str.___d____s_n
mov r8d, ebx
mov r9, rax
mov rcx, r14
call sub.msvcrt.dll_fprintf
inc ebx
cmp ebx, dword [0x140051192]
jle 0x14002f760
lea rdx, [0x140044d60]
mov rcx, r14
call sub.msvcrt.dll_fprintf
jmp 0x14002f84e
mov rcx, rbp
lea rdx, str.shell
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14002f7d1
cmp rcx, 6
jne 0x14002f7b0
lea rcx, [0x140052e90]
call sub.msvcrt.dll_system
jmp 0x14002f84e
lea rbx, str.breakpoints
mov r10d, ebp
mov r11, rbp
mov r9, rbx
mov r8, qword [r9]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14002f803
inc rax
test ecx, ecx
jne 0x14002f7f0
test edx, edx
je 0x14002f83a
inc r10d
inc r11
add r9, 0x10
movsxd rax, r10d
cmp rax, 0x1d
jb 0x14002f7e1
movzx eax, byte [rsi]
cmp al, byte [0x140042088]
je 0x14002f84e
mov rcx, qword [0x1400561f8]
lea rdx, str.__Unknown_command._n_n
call sub.msvcrt.dll_fprintf
jmp 0x14002f84e
add r11, r11
mov r9, r12
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [rbx + r11*inet_addr + 8]
cmp r14, qword [0x1400561f8]
je 0x14002f490
mov rcx, r14
call sub.msvcrt.dll_fflush
jmp 0x14002f490
mov rcx, qword [0x1400561f8]
lea rdx, str._n_r_Debugger_Error___Input_error_from_stdin__program_is_exiting._n_n
call sub.msvcrt.dll_fprintf
mov dword [r15 + 0x24], 2
mov r13, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x260]
mov rsi, qword [rsp + 0x250]
mov r14, qword [rsp + 0x220]
add rsp, 0x228
pop r15
pop r12
pop rbp
pop rbx
ret
mov dword [r15 + 0x24], ebp
mov dword [r15 + 8], ebp
call fcn.14000e456
mov ecx, 1
call sub.msvcrt.dll_exit
int3