Function at 0x408efb
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov word [ebp - 0x20], 0
mov word [ebp - 0x1e], 0
mov word [ebp - 0x24], 0xe
mov word [ebp - 0x22], 7
mov word [ebp - 0x1c], 0x70
mov word [ebp - 0x1a], 0x30
mov word [ebp - 0x18], 0x50
mov word [ebp - 0x16], 0x60
mov word [ebp - 0x14], 0x20
mov word [ebp - 0x12], 0xc0
mov word [ebp - 0x30], 0x42
mov word [ebp - 0x2e], 0x11
mov word [ebp - 0x2c], 0x4f
mov word [ebp - 0x2a], 0x17
mov dword [esp], 0x188
call sym._malloc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x408f8e
mov eax, dword [ebp - 0xc]
shl eax, 2
mov edx, eax
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov word [edx + 2], ax
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, dword [ebp - 0x10]
mov byte [eax], 0x20
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x61
jle 0x408f6d
mov eax, dword [0x40f070]
lea edx, [ebp - 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputA_20
sub esp, 0x14
mov word [ebp - 0x20], 0x44
mov word [ebp - 0x1e], 0x14
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
movzx edx, word [ebp - 0x1a]
mov eax, dword [0x40f070]
lea ecx, [ebp - 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov word [ebp - 0x20], 0x4a
movzx edx, word [ebp - 0x18]
mov eax, dword [0x40f070]
lea ecx, [ebp - 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov word [ebp - 0x20], 0x48
mov word [ebp - 0x1e], 0x12
jmp 0x409107
mov ax, word [ebp - 0x1e]
cmp ax, 0x13
jg 0x40908e
movzx edx, word [ebp - 0x16]
mov eax, dword [0x40f070]
lea ecx, [ebp - 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov ax, word [ebp - 0x1e]
cmp ax, 0x14
jle 0x4090c6
movzx edx, word [ebp - 0x14]
mov eax, dword [0x40f070]
lea ecx, [ebp - 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov ax, word [ebp - 0x1e]
cmp ax, 0x14
jne 0x4090fe
movzx edx, word [ebp - 0x12]
mov eax, dword [0x40f070]
lea ecx, [ebp - 0x28]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FillConsoleOutputAttribute_20
sub esp, 0x14
mov ax, word [ebp - 0x1e]
inc eax
mov word [ebp - 0x1e], ax
mov ax, word [ebp - 0x1e]
cmp ax, 0x16
jle 0x409056
mov word [ebp - 0x20], 0
mov word [ebp - 0x1e], 1
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
leave
ret