Function at 0x402412
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0xb], 0x2b
mov byte [ebp - 0xa], 0x2d
mov byte [ebp - 9], 0x7c
mov eax, dword [ebp + 8]
mov dx, word [eax]
mov eax, dword [ebp + 8]
mov ax, word [eax + 2]
mov word [ebp - 0x10], dx
mov word [ebp - 0xe], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ax, word [eax]
inc eax
mov word [ebp - 0x10], ax
jmp 0x4024aa
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp - 0x10]
inc eax
mov word [ebp - 0x10], ax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
cmp dx, ax
jl 0x402474
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
mov word [ebp - 0x10], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ax, word [eax + 2]
inc eax
mov word [ebp - 0xe], ax
jmp 0x402583
mov eax, dword [ebp + 8]
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
add edx, 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
mov word [ebp - 0x10], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
add edx, 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov ax, word [ebp - 0xe]
inc eax
mov word [ebp - 0xe], ax
mov dx, word [ebp - 0xe]
mov eax, dword [ebp + 8]
mov ax, word [eax + 6]
cmp dx, ax
jl 0x402503
mov eax, dword [ebp + 8]
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [ebp + 8]
mov ax, word [eax + 6]
mov word [ebp - 0xe], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ax, word [eax]
inc eax
mov word [ebp - 0x10], ax
jmp 0x40261e
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
inc edx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
mov eax, dword [ebp - 0x10]
inc eax
mov word [ebp - 0x10], ax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
cmp dx, ax
jl 0x4025e7
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
mov word [ebp - 0x10], ax
mov eax, dword [0x40b070]
mov dword [esp + 0x10], 0x40b060
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
lea edx, [ebp - 0xb]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._WriteConsoleOutputCharacterA_20
sub esp, 0x14
leave
ret