Function at 0x4020f1
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
nop
mov eax, 0x190
mov dword [ebp - 8], eax
mov eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 2
jg 0x4023a7
jmp 0x402129
mov eax, dword [ebp - 4]
mov ecx, eax
add eax, 1
mov dword [ebp - 4], eax
jmp 0x40210b
mov eax, str.color_f0
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x40215e
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_1f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x402193
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_2f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x4021c8
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_3f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x4021fd
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_4f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x402232
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_5f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x402267
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_6f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.color_7f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x4022b6
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_8f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.color_9f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.color_0f
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x40231f
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_ef
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.color_af
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
mov eax, str.color_bf
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
call sub.msvcrt.dll__kbhit
test eax, eax
je 0x402388
mov eax, 0
push eax
call sub.msvcrt.dll_exit
add esp, 4
mov eax, str.color_cf
push eax
call sub.msvcrt.dll_system
add esp, 4
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__sleep
add esp, 4
jmp 0x40211c
call fcn.00401000
leave
ret