Function at 0x401a28
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 0x10]
add eax, eax
mov word [ebp - 8], ax
mov eax, dword [ebp + 0x14]
add eax, eax
mov word [ebp - 6], ax
mov dword [esp], 0xfffffff5
call sub.KERNEL32.dll_GetStdHandle
sub esp, 4
mov edx, eax
mov eax, dword [ebp - 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0
jne 0x401c72
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov dword [edx + eax], 0xfffffffe
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
mov dword [edx + eax], 0xfffffffe
mov dword [esp + 4], 0
mov dword [esp], 0x4443c0
call method.std::ostream.operator___int_
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, 9
jg 0x401b0f
mov eax, dword [ebp + 0x14]
inc eax
cmp eax, 9
jg 0x401b0f
mov eax, dword [ebp + 0x14]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
js 0x401b42
mov eax, dword [ebp + 0x14]
inc eax
cmp eax, 9
jg 0x401b42
mov eax, dword [ebp + 0x14]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, 9
jg 0x401b75
mov eax, dword [ebp + 0x14]
dec eax
test eax, eax
js 0x401b75
mov eax, dword [ebp + 0x14]
dec eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
js 0x401ba7
mov eax, dword [ebp + 0x14]
dec eax
test eax, eax
js 0x401ba7
mov eax, dword [ebp + 0x14]
dec eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
mov eax, dword [ebp + 0x10]
dec eax
test eax, eax
js 0x401bd6
cmp dword [ebp + 0x14], 0
js 0x401bd6
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
cmp dword [ebp + 0x10], 0
js 0x401c05
mov eax, dword [ebp + 0x14]
dec eax
test eax, eax
js 0x401c05
mov eax, dword [ebp + 0x14]
dec eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
cmp dword [ebp + 0x10], 0
js 0x401c35
mov eax, dword [ebp + 0x14]
inc eax
cmp eax, 9
jg 0x401c35
mov eax, dword [ebp + 0x14]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, 9
jg 0x401d6e
cmp dword [ebp + 0x14], 0
js 0x401d6e
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.reveal_int_____10___int_____10___int__int_
jmp 0x401d6e
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0
jle 0x401cfe
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax]
mov dword [esp + 4], eax
mov dword [esp], 0x4443c0
call method.std::ostream.operator___int_
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea ecx, [eax*4]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [edx + eax]
mov dword [ecx + ebx], eax
mov dword [ebp - 0xc], 0
jmp 0x401d75
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0xffffffff
jne 0x401d26
mov dword [ebp - 0xc], 1
jmp 0x401d75
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 8]
cmp dword [edx + eax], 0xfffffffe
jne 0x401d6e
mov edx, dword [ebp + 0x10]
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
add eax, dword [ebp + 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
mov dword [edx + eax], 0xfffffffe
mov dword [ebp - 0xc], 0
jmp 0x401d75
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret