Function at 0x409c47
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], 0x10
mov word [ebp - 0x36], 4
mov word [ebp - 0x40], 0xf
mov word [ebp - 0x3e], 5
mov word [ebp - 0x3c], 0x3d
mov word [ebp - 0x3a], 0x11
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jmp 0x409ce1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x30], eax
jmp 0x409ccf
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
jmp 0x409cc0
mov dword [esp], 0x2c
call sym._malloc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x409c99
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x409c8e
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x409c80
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
jmp 0x409d7d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0x30], eax
jmp 0x409d6b
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x2c], eax
jmp 0x409d5c
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 5]
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x2c]
lea edx, [eax + 0x23]
mov eax, dword [ebp - 0x24]
add eax, 0x1e
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x409d11
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x409d06
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x90]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x409cf8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
jmp 0x409da2
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x409d96
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x409e9d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1c], eax
jmp 0x409e85
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
cmp edx, eax
jge 0x409e79
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
lea eax, [ebp - 0x5e]
mov dword [esp], eax
call sym._strcpy
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x5e]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x20]
add eax, 0x1e
mov dword [esp + 4], eax
lea eax, [ebp - 0x61]
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 0x1e]
mov eax, dword [ebp - 0x20]
add eax, 0x1e
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 0x1e]
lea eax, [ebp - 0x61]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jl 0x409dcf
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
dec eax
cmp eax, dword [ebp - 0x14]
jg 0x409dba
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
jmp 0x409f3d
mov ax, word [ebp - 0x36]
add eax, 2
mov word [ebp - 0x36], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
inc edx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0x40e2d0
call sym._printf
mov ax, word [ebp - 0x36]
add eax, 2
mov word [ebp - 0x36], ax
mov eax, dword [0x40f070]
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetConsoleCursorPosition_8
sub esp, 8
mov eax, dword [ebp - 0x24]
add eax, 0x1e
mov dword [esp + 4], eax
mov dword [esp], 0x40e2f4
call sym._printf
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x14], 2
jle 0x409ebc
lea eax, [ebp - 0x40]
mov dword [esp], eax
call dbg.DrawBox
mov eax, 1
leave
ret