Function at 0x40860d
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], 0x19
mov word [ebp - 0x1a], 4
mov word [ebp - 0x24], 0x16
mov word [ebp - 0x22], 3
mov word [ebp - 0x20], 0x3a
mov word [ebp - 0x1e], 0x17
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jmp 0x408694
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x14], eax
jmp 0x40867c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x408673
mov dword [ebp - 0xc], 1
jmp 0x408682
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408654
cmp dword [ebp - 0xc], 0
jne 0x40869c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408646
jmp 0x40869d
nop
cmp dword [ebp - 0x14], 0
jne 0x4086a9
cmp dword [ebp - 0xc], 1
jne 0x4086e9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x10], eax
jmp 0x4086e3
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x4086da
mov dword [ebp - 0xc], 1
jmp 0x4086e9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4086bb
cmp dword [ebp - 0xc], 0
je 0x40892a
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
lea eax, [ebp - 0x24]
mov dword [esp], eax
call dbg.DrawBox
mov eax, dword [ebp - 0x10]
add eax, 5
mov dword [esp + 4], eax
mov dword [esp], 0x40de0d
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
add eax, 0x23
mov dword [esp + 4], eax
mov dword [esp], 0x40de1f
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
add eax, 0x26
mov dword [esp + 4], eax
mov dword [esp], 0x40dd4b
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x30]
fstp qword [esp + 4]
mov dword [esp], 0x40de2d
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x34]
fstp qword [esp + 4]
mov dword [esp], 0x40de43
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x38]
fstp qword [esp + 4]
mov dword [esp], 0x40dd89
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0x40de59
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov dword [esp + 4], eax
mov dword [esp], 0x40de6b
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov dword [esp + 4], eax
mov dword [esp], 0x40de7d
call sym._printf
mov ax, word [ebp - 0x1a]
add eax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x10]
fld dword [eax + 0x48]
fstp qword [esp + 4]
mov dword [esp], 0x40de91
call sym._printf
mov eax, 1
jmp 0x408952
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov dword [esp], 0x40dea0
call sym._printf
mov eax, 0
leave
ret