Function at 0x40364b
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 [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x4036e4
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x4036ad
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
mov word [ebp - 0x10], ax
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x4037bd
mov eax, dword [ebp + 8]
mov ax, word [eax]
mov word [ebp - 0x10], ax
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x40373d
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 [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x403858
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
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 0x403821
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
mov word [ebp - 0x10], ax
mov eax, dword [0x40f070]
mov dword [esp + 0x10], 0x40f060
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