Function at 0x455180
Capabilities:
Execute command

Disassembly:
sub esp, 0x1f8
push ebx
push dword [0x4c62d8]
call fcn.0043e858
push dword [0x4c35c4]
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 0x455215
push str._n_Debugger_Error___Cannot_call_Debugger_because_STDIN_is_not_connected_to
push dword [0x4d2674]
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.0044eac0
push eax
push str._n_Debugger_Error___a_terminal_device__File:__s__Line:__d_
push dword [0x4d2674]
call sub.MSVCRT.dll_fprintf
push str._n_Debugger_Error___Program_execution_continues..._n
push dword [0x4d2674]
call sub.MSVCRT.dll_fprintf
push dword [0x4d2674]
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 0x455222
cmp eax, 0xffffffff
jne 0x455245
push str._n_n_PureBasic_Console_Debugger
push dword [0x4c35c8]
call sub.MSVCRT.dll_fprintf
push str._n_n_nType_help_for_command_options._n
push dword [0x4c35c8]
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 [0x4c35c8]
call sub.MSVCRT.dll_fprintf
push dword [0x4c35c4]
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 0x4556ac
cmp byte [esp + 0x14], 0
lea eax, [esp + 0x14]
je 0x4552a5
mov cl, byte [eax]
cmp cl, 0xd
je 0x45529c
cmp cl, 0xa
jne 0x45529f
mov byte [eax], 0
inc eax
cmp byte [eax], 0
jne 0x455290
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 0x4552cd
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x4552d2
inc edi
cmp byte [edi], 0x20
je 0x4552c5
jmp 0x4552d2
mov edi, section..rdata
cmp byte [esp + 0x14], 0
lea esi, [esp + 0x14]
je 0x4552f6
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 0x4552e0
mov ecx, str.file
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455320
test dl, dl
je 0x45531c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455320
add eax, 2
add ecx, 2
test dl, dl
jne 0x455300
xor eax, eax
jmp 0x455325
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45539c
mov ecx, dword [0x4d2674]
mov eax, dword [0x4c35c8]
cmp ecx, eax
jne 0x45534f
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 0x4553a2
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 0x455378
mov byte [edi], 0
inc edi
cmp byte [edi], 0x20
jne 0x45537d
lea ecx, [ecx]
inc edi
cmp byte [edi], 0x20
je 0x455370
jmp 0x45537d
mov edi, section..rdata
cmp byte [ebx], 0
mov esi, ebx
je 0x4553a2
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 0x455384
jmp 0x4553a2
mov ebp, dword [0x4c35c8]
mov ecx, 0x49af08
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4553d0
test dl, dl
je 0x4553cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4553d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4553b0
xor eax, eax
jmp 0x4553d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4556d3
mov ecx, 0x49e300
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455404
test dl, dl
je 0x455400
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455404
add eax, 2
add ecx, 2
test dl, dl
jne 0x4553e4
xor eax, eax
jmp 0x455409
sbb eax, eax
or eax, 1
test eax, eax
je 0x4556d3
mov ecx, 0x49c678
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455438
test dl, dl
je 0x455434
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455438
add eax, 2
add ecx, 2
test dl, dl
jne 0x455418
xor eax, eax
jmp 0x45543d
sbb eax, eax
or eax, 1
test eax, eax
je 0x45568d
mov ecx, str.step
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455470
test dl, dl
je 0x45546c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455470
add eax, 2
add ecx, 2
test dl, dl
jne 0x455450
xor eax, eax
jmp 0x455475
sbb eax, eax
or eax, 1
test eax, eax
je 0x455656
mov ecx, str.line
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4554a4
test dl, dl
je 0x4554a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4554a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x455484
xor eax, eax
jmp 0x4554a9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4554d7
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x14]
mov eax, ecx
and eax, 0xfffff
inc eax
push eax
push ecx
call fcn.0044eac0
push eax
push str.File:__s_nLine:__d_n_n
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x45563c
mov ecx, str.files
mov eax, ebx
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455500
test dl, dl
je 0x4554fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455500
add eax, 2
add ecx, 2
test dl, dl
jne 0x4554e0
xor eax, eax
jmp 0x455505
sbb eax, eax
or eax, 1
test eax, eax
jne 0x455558
push str._Included_Source_files__n
push ebp
call sub.MSVCRT.dll_fprintf
xor esi, esi
add esp, 8
cmp dword [0x4ac0ee], esi
jl 0x455545
mov eax, esi
shl eax, 0x14
push eax
call fcn.0044eac0
push eax
push esi
push str.___d____s_n
push ebp
call sub.MSVCRT.dll_fprintf
inc esi
add esp, 0x10
cmp esi, dword [0x4ac0ee]
jle 0x455521
push 0x49a584
push ebp
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x455638
mov ecx, str.shell
mov eax, ebx
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455580
test dl, dl
je 0x45557c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455580
add eax, 2
add ecx, 2
test dl, dl
jne 0x455560
xor eax, eax
jmp 0x455585
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45559b
push 0x4bf7e0
call sub.MSVCRT.dll_system
add esp, 4
jmp 0x455638
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esi*8 + 0x49a660]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4555d0
test dl, dl
je 0x4555cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4555d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4555b0
xor eax, eax
jmp 0x4555d5
sbb eax, eax
or eax, 1
test eax, eax
je 0x455622
inc esi
cmp esi, 0x1d
jb 0x4555a0
mov eax, section..rdata
mov cl, byte [ebx]
cmp cl, byte [eax]
jne 0x455604
test cl, cl
je 0x455600
mov cl, byte [ebx + 1]
cmp cl, byte [eax + 1]
jne 0x455604
add ebx, 2
add eax, 2
test cl, cl
jne 0x4555e4
xor eax, eax
jmp 0x455609
sbb eax, eax
or eax, 1
test eax, eax
je 0x455638
push str.__Unknown_command._n_n
push dword [0x4c35c8]
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x455638
push dword [esp + 0x20c]
mov eax, dword [esi*8 + 0x49a664]
push edi
push ebx
push ebp
call eax
add esp, 0x10
mov ebx, dword [esp + 0x10]
cmp ebp, dword [0x4c35c8]
je 0x455250
push ebp
call sub.MSVCRT.dll_fflush
add esp, 4
jmp 0x455250
mov esi, dword [esp + 0x10]
lea eax, [esi + 8]
mov dword [eax], 0
push eax
push 0x49d0e4
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 [0x4c35c8]
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.004015bf
push 1
call sub.MSVCRT.dll_exit
int3