Function at 0x42d940
Capabilities:
Execute command

Disassembly:
sub esp, 0x1f8
push ebx
push dword [0x452d94]
call fcn.004184ad
push dword [0x44fc74]
mov ebx, dword [eax]
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__fileno
push eax
call sub.MSVCRT.dll__isatty
add esp, 8
test eax, eax
jne 0x42d9d5
push str._n_Debugger_Error___Cannot_call_Debugger_because_STDIN_is_not_connected_to
push dword [0x45f12c]
call sub.MSVCRT.dll_fprintf
mov ecx, dword [ebx + 0x14]
add esp, 8
mov eax, ecx
and eax, 0xffffff
inc eax
push eax
push ecx
call fcn.00427280
push eax
push str._n_Debugger_Error___a_terminal_device__File:__s__Line:__d_
push dword [0x45f12c]
call sub.MSVCRT.dll_fprintf
push str._n_Debugger_Error___Program_execution_continues..._n
push dword [0x45f12c]
call sub.MSVCRT.dll_fprintf
push dword [0x45f12c]
call sub.MSVCRT.dll_fflush
add esp, 0x1c
mov dword [ebx + 0x20], 0
pop ebx
add esp, 0x1f8
ret 4
mov eax, dword [ebx + 4]
cmp eax, 3
je 0x42d9e2
cmp eax, 0xffffffff
jne 0x42da05
push str._n_n_PureBasic_Console_Debugger
push dword [0x44fc78]
call sub.MSVCRT.dll_fprintf
push str._n_n_nType_help_for_command_options._n
push dword [0x44fc78]
call sub.MSVCRT.dll_fprintf
add esp, 0x10
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea esp, [esp]
push str.DEBUGGER::
push dword [0x44fc78]
call sub.MSVCRT.dll_fprintf
push dword [0x44fc74]
lea eax, [esp + 0x20]
mov byte [esp + 0x20], 0
push 0x1f4
push eax
call sub.MSVCRT.dll_fgets
add esp, 0x14
test eax, eax
je 0x42de6c
cmp byte [esp + 0x14], 0
lea eax, [esp + 0x14]
je 0x42da65
mov cl, byte [eax]
cmp cl, 0xd
je 0x42da5c
cmp cl, 0xa
jne 0x42da5f
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x42da50
lea ebx, [esp + 0x14]
mov eax, ebx
push 0x20
push eax
call sub.MSVCRT.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x42da8d
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x42da92
inc edi
cmp byte [edi], 0x20
je 0x42da85
jmp 0x42da92
mov edi, 0x43b530
cmp byte [esp + 0x14], 0
lea esi, [esp + 0x14]
je 0x42dab6
lea ecx, [ecx]
movsx eax, byte [esi]
push eax
call sub.MSVCRT.dll_tolower
mov byte [esi], al
lea esi, [esi + 1]
add esp, 4
cmp byte [esi], 0
jne 0x42daa0
mov ecx, str.file
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dae0
test dl, dl
je 0x42dadc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dae0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dac0
xor eax, eax
jmp 0x42dae5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42db5c
mov ecx, dword [0x45f12c]
mov eax, dword [0x44fc78]
cmp ecx, eax
jne 0x42db0f
push str.__There_is_no_redirection_set._n_n
push eax
call sub.MSVCRT.dll_fprintf
mov ebx, 0x43b530
add esp, 8
mov edi, ebx
jmp 0x42db62
push 0x20
push edi
mov ebp, ecx
mov ebx, edi
call sub.MSVCRT.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
je 0x42db38
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x42db3d
lea ecx, [ecx]
inc edi
cmp byte [edi], 0x20
je 0x42db30
jmp 0x42db3d
mov edi, 0x43b530
cmp byte [ebx], 0
mov esi, ebx
je 0x42db62
movsx eax, byte [esi]
push eax
call sub.MSVCRT.dll_tolower
mov byte [esi], al
lea esi, [esi + 1]
add esp, 4
cmp byte [esi], 0
jne 0x42db44
jmp 0x42db62
mov ebp, dword [0x44fc78]
mov ecx, 0x442710
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42db90
test dl, dl
je 0x42db8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42db90
add eax, 2
add ecx, 2
test dl, dl
jne 0x42db70
xor eax, eax
jmp 0x42db95
sbb eax, eax
or eax, 1
test eax, eax
je 0x42de93
mov ecx, str.quit
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dbc4
test dl, dl
je 0x42dbc0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dbc4
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dba4
xor eax, eax
jmp 0x42dbc9
sbb eax, eax
or eax, 1
test eax, eax
je 0x42de93
mov ecx, 0x443e80
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dbf8
test dl, dl
je 0x42dbf4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dbf8
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dbd8
xor eax, eax
jmp 0x42dbfd
sbb eax, eax
or eax, 1
test eax, eax
je 0x42de4d
mov ecx, str.step
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dc30
test dl, dl
je 0x42dc2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dc30
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dc10
xor eax, eax
jmp 0x42dc35
sbb eax, eax
or eax, 1
test eax, eax
je 0x42de16
mov ecx, str.line
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dc64
test dl, dl
je 0x42dc60
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dc64
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dc44
xor eax, eax
jmp 0x42dc69
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dc97
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x14]
mov eax, ecx
and eax, 0xffffff
inc eax
push eax
push ecx
call fcn.00427280
push eax
push str.File:__s_nLine:__d_n_n
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x42ddfc
mov ecx, str.files
mov eax, ebx
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dcc0
test dl, dl
je 0x42dcbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dcc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dca0
xor eax, eax
jmp 0x42dcc5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dd18
push str._Included_Source_files__n
push ebp
call sub.MSVCRT.dll_fprintf
xor esi, esi
add esp, 8
cmp dword [0x44b08e], esi
jl 0x42dd05
mov eax, esi
shl eax, 0x18
push eax
call fcn.00427280
push eax
push esi
push str.___d____s_n
push ebp
call sub.MSVCRT.dll_fprintf
inc esi
add esp, 0x10
cmp esi, dword [0x44b08e]
jle 0x42dce1
push 0x441d8c
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x42ddf8
mov ecx, str.shell
mov eax, ebx
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dd40
test dl, dl
je 0x42dd3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dd40
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dd20
xor eax, eax
jmp 0x42dd45
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42dd5b
push 0x44c388
call sub.MSVCRT.dll_system
add esp, 4
jmp 0x42ddf8
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esi*8 + 0x441e68]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42dd90
test dl, dl
je 0x42dd8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42dd90
add eax, 2
add ecx, 2
test dl, dl
jne 0x42dd70
xor eax, eax
jmp 0x42dd95
sbb eax, eax
or eax, 1
test eax, eax
je 0x42dde2
inc esi
cmp esi, 0x1d
jb 0x42dd60
mov eax, 0x43b530
mov cl, byte [ebx]
cmp cl, byte [eax]
jne 0x42ddc4
test cl, cl
je 0x42ddc0
mov cl, byte [ebx + 1]
cmp cl, byte [eax + 1]
jne 0x42ddc4
add ebx, 2
add eax, 2
test cl, cl
jne 0x42dda4
xor eax, eax
jmp 0x42ddc9
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ddf8
push str.__Unknown_command._n_n
push dword [0x44fc78]
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x42ddf8
push dword [esp + 0x20c]
mov eax, dword [esi*8 + 0x441e6c]
push edi
push ebx
push ebp
call eax
add esp, 0x10
mov ebx, dword [esp + 0x10]
cmp ebp, dword [0x44fc78]
je 0x42da10
push ebp
call sub.MSVCRT.dll_fflush
add esp, 4
jmp 0x42da10
mov esi, dword [esp + 0x10]
lea eax, [esi + 8]
mov dword [eax], 0
push eax
push 0x4448ec
push edi
mov dword [esi + 4], 1
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov dword [esi + 0x20], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret 4
mov esi, dword [esp + 0x10]
pop edi
mov dword [esi + 4], 0
mov dword [esi + 0x20], 0
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret 4
push str._n_r_Debugger_Error___Input_error_from_stdin__program_is_exiting._n_n
push dword [0x44fc78]
call sub.MSVCRT.dll_fprintf
add esp, 8
mov dword [ebx + 0x20], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1f8
ret 4
mov esi, dword [esp + 0x10]
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0
call fcn.00401906
push 1
call sub.MSVCRT.dll_exit
int3