Function at 0x451250
Capabilities:
Execute command

Disassembly:
sub esp, 0x1f8
push ebx
push dword [0x5e0f10]
call fcn.0043b3bf
push dword [0x5dd2dc]
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 0x4512e5
push str._n_Debugger_Error___Cannot_call_Debugger_because_STDIN_is_not_connected_to
push dword [0x5ed2ac]
call sub.MSVCRT.dll_fprintf
mov ecx, dword [ebx + 0x14]
add esp, 8
mov eax, ecx
and eax, 0xfffff
inc eax
push eax
push ecx
call fcn.0044ab90
push eax
push str._n_Debugger_Error___a_terminal_device__File:__s__Line:__d_
push dword [0x5ed2ac]
call sub.MSVCRT.dll_fprintf
push str._n_Debugger_Error___Program_execution_continues..._n
push dword [0x5ed2ac]
call sub.MSVCRT.dll_fprintf
push dword [0x5ed2ac]
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 0x4512f2
cmp eax, 0xffffffff
jne 0x451315
push str._n_n_PureBasic_Console_Debugger
push dword [0x5dd2e0]
call sub.MSVCRT.dll_fprintf
push str._n_n_nType_help_for_command_options._n
push dword [0x5dd2e0]
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 [0x5dd2e0]
call sub.MSVCRT.dll_fprintf
push dword [0x5dd2dc]
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 0x45177c
cmp byte [esp + 0x14], 0
lea eax, [esp + 0x14]
je 0x451375
mov cl, byte [eax]
cmp cl, 0xd
je 0x45136c
cmp cl, 0xa
jne 0x45136f
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x451360
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 0x45139d
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x4513a2
inc edi
cmp byte [edi], 0x20
je 0x451395
jmp 0x4513a2
mov edi, section..rdata
cmp byte [esp + 0x14], 0
lea esi, [esp + 0x14]
je 0x4513c6
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 0x4513b0
mov ecx, 0x58421c
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4513f0
test dl, dl
je 0x4513ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4513f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4513d0
xor eax, eax
jmp 0x4513f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45146c
mov ecx, dword [0x5ed2ac]
mov eax, dword [0x5dd2e0]
cmp ecx, eax
jne 0x45141f
push str.__There_is_no_redirection_set._n_n
push eax
call sub.MSVCRT.dll_fprintf
mov ebx, section..rdata
add esp, 8
mov edi, ebx
jmp 0x451472
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 0x451448
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x45144d
lea ecx, [ecx]
inc edi
cmp byte [edi], 0x20
je 0x451440
jmp 0x45144d
mov edi, section..rdata
cmp byte [ebx], 0
mov esi, ebx
je 0x451472
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 0x451454
jmp 0x451472
mov ebp, dword [0x5dd2e0]
mov ecx, 0x583f80
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4514a0
test dl, dl
je 0x45149c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4514a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x451480
xor eax, eax
jmp 0x4514a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4517a3
mov ecx, str.quit
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4514d4
test dl, dl
je 0x4514d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4514d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4514b4
xor eax, eax
jmp 0x4514d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x4517a3
mov ecx, 0x5856f0
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451508
test dl, dl
je 0x451504
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451508
add eax, 2
add ecx, 2
test dl, dl
jne 0x4514e8
xor eax, eax
jmp 0x45150d
sbb eax, eax
or eax, 1
test eax, eax
je 0x45175d
mov ecx, str.step
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451540
test dl, dl
je 0x45153c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451540
add eax, 2
add ecx, 2
test dl, dl
jne 0x451520
xor eax, eax
jmp 0x451545
sbb eax, eax
or eax, 1
test eax, eax
je 0x451726
mov ecx, str.line
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451574
test dl, dl
je 0x451570
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451574
add eax, 2
add ecx, 2
test dl, dl
jne 0x451554
xor eax, eax
jmp 0x451579
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4515a7
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x14]
mov eax, ecx
and eax, 0xfffff
inc eax
push eax
push ecx
call fcn.0044ab90
push eax
push str.File:__s_nLine:__d_n_n
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x45170c
mov ecx, str.files
mov eax, ebx
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4515d0
test dl, dl
je 0x4515cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4515d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4515b0
xor eax, eax
jmp 0x4515d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x451628
push str._Included_Source_files__n
push ebp
call sub.MSVCRT.dll_fprintf
xor esi, esi
add esp, 8
cmp dword [0x5ae110], esi
jl 0x451615
mov eax, esi
shl eax, 0x14
push eax
call fcn.0044ab90
push eax
push esi
push str.___d____s_n
push ebp
call sub.MSVCRT.dll_fprintf
inc esi
add esp, 0x10
cmp esi, dword [0x5ae110]
jle 0x4515f1
push 0x5835fc
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x451708
mov ecx, str.shell
mov eax, ebx
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x451650
test dl, dl
je 0x45164c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x451650
add eax, 2
add ecx, 2
test dl, dl
jne 0x451630
xor eax, eax
jmp 0x451655
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45166b
push 0x5d4eb8
call sub.MSVCRT.dll_system
add esp, 4
jmp 0x451708
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esi*8 + 0x5836d8]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4516a0
test dl, dl
je 0x45169c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4516a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x451680
xor eax, eax
jmp 0x4516a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4516f2
inc esi
cmp esi, 0x1d
jb 0x451670
mov eax, section..rdata
mov cl, byte [ebx]
cmp cl, byte [eax]
jne 0x4516d4
test cl, cl
je 0x4516d0
mov cl, byte [ebx + 1]
cmp cl, byte [eax + 1]
jne 0x4516d4
add ebx, 2
add eax, 2
test cl, cl
jne 0x4516b4
xor eax, eax
jmp 0x4516d9
sbb eax, eax
or eax, 1
test eax, eax
je 0x451708
push str.__Unknown_command._n_n
push dword [0x5dd2e0]
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x451708
push dword [esp + 0x20c]
mov eax, dword [esi*8 + 0x5836dc]
push edi
push ebx
push ebp
call eax
add esp, 0x10
mov ebx, dword [esp + 0x10]
cmp ebp, dword [0x5dd2e0]
je 0x451320
push ebp
call sub.MSVCRT.dll_fflush
add esp, 4
jmp 0x451320
mov esi, dword [esp + 0x10]
lea eax, [esi + 8]
mov dword [eax], 0
push eax
push 0x58615c
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 [0x5dd2e0]
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.00405bd5
push 1
call sub.MSVCRT.dll_exit
int3