Function at 0x44ef92
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
xor eax, eax
mov word [ebp - 0x3c], ax
mov word [ebp - 0x5c], ax
mov word [ebp - 0x44], ax
lea edi, [ebp - 0x3a]
stosw word es:[edi], ax
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x5a]
stosw word es:[edi], ax
lea edi, [ebp - 0x42]
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x20], ax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, edx
stosd dword es:[edi], eax
mov edi, 0x320
mov dword [ebp - 0x34], esi
call fcn.0044db19
test eax, eax
je 0x44f3dd
mov edi, esi
mov eax, edi
call fcn.0044d9cf
test eax, eax
je 0x44f3dd
cmp dword [edi + 0x14], 0
je 0x44f3d6
call fcn.004ab4b2
mov dword [ebp - 0x64], eax
test eax, eax
je 0x44f3d6
cmp eax, 0xffffffff
je 0x44f3d6
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x44f3d6
movsx ecx, word [ebp - 0x16]
movsx eax, word [ebp - 0x12]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp + 8]
sub eax, ecx
movsx ecx, word [ebp - 0x14]
inc eax
mov dword [ebp - 0x4c], eax
movsx eax, word [ebp - 0x10]
sub eax, ecx
inc eax
mov dword [ebp - 0x54], eax
test esi, esi
jne 0x44f084
and dword [ebp - 0x2c], esi
and dword [ebp - 0x30], esi
mov eax, dword [edi + 4]
mov ecx, dword [edi]
dec eax
dec ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x44f0a9
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x2c], eax
jge 0x44f098
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
cmp dword [ebp - 0x30], eax
jge 0x44f0a9
sub ebx, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
cmp dword [ebp - 0x24], eax
jl 0x44f0b5
dec eax
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
cmp ecx, eax
jl 0x44f0c1
lea ecx, [eax - 1]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x44f140
cmp edx, dword [eax + 4]
jge 0x44f0dc
mov eax, dword [eax + 4]
mov esi, eax
sub esi, edx
add dword [ebp - 0x2c], esi
mov dword [ebp + 8], eax
mov edx, eax
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0047e884
mov esi, dword [ebp - 0x50]
mov esi, dword [esi + 0xc]
lea edi, [eax + edx]
add esp, 0x10
cmp edi, esi
jle 0x44f104
sub esi, eax
sub esi, edx
add dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp ebx, eax
jge 0x44f116
mov esi, eax
sub esi, ebx
add dword [ebp - 0x30], esi
mov ebx, eax
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0047e8a0
mov esi, dword [ebp - 0x50]
mov esi, dword [esi + 8]
lea edi, [eax + ebx]
add esp, 0x10
cmp edi, esi
mov edi, dword [ebp - 0x34]
jle 0x44f140
sub esi, eax
sub esi, ebx
add ecx, esi
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
jg 0x44f3c9
cmp dword [ebp - 0x30], ecx
jg 0x44f3c9
mov eax, ecx
sub eax, dword [ebp - 0x30]
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov word [ebp - 0x3a], ax
test ebx, ebx
jns 0x44f18f
sub dword [ebp - 0x30], ebx
mov ax, word [ebp - 0x30]
mov word [ebp - 0x5c], ax
mov eax, ecx
sub eax, dword [ebp - 0x30]
xor ebx, ebx
mov word [ebp - 0x3c], ax
cmp dword [ebp - 0x30], ecx
jle 0x44f19c
xor edx, edx
inc edx
jmp 0x44f3cb
cmp ebx, dword [ebp - 0x4c]
jge 0x44f187
mov ax, word [ebp - 0x30]
mov word [ebp - 0x5c], ax
movsx eax, word [ebp - 0x3c]
mov dword [ebp - 0x60], eax
add eax, ebx
cmp eax, dword [ebp - 0x4c]
jle 0x44f1c5
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x60]
sub eax, ebx
mov ebx, dword [ebp - 0x4c]
add ecx, eax
mov eax, ecx
sub eax, dword [ebp - 0x30]
mov word [ebp - 0x3c], ax
movsx eax, ax
sub ebx, eax
movsx eax, word [ebp - 0x30]
mov dword [ebp - 0x68], eax
cmp eax, ecx
jg 0x44f187
test edx, edx
jns 0x44f3b4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
and dword [ebp + 8], 0
sub eax, edx
sub ecx, eax
mov word [ebp - 0x5a], ax
mov word [ebp - 0x3a], cx
cmp eax, dword [ebp - 0x24]
jg 0x44f187
mov edx, dword [ebp + 8]
movsx ecx, word [ebp - 0x3a]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x48], ecx
add ecx, edx
cmp ecx, esi
jle 0x44f224
sub esi, dword [ebp - 0x48]
sub esi, edx
add dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x54]
sub ecx, eax
mov word [ebp - 0x3a], cx
movsx ecx, cx
mov edx, esi
sub edx, ecx
mov dword [ebp + 8], edx
movsx ecx, ax
mov dword [ebp - 0x48], ecx
cmp ecx, dword [ebp - 0x24]
jg 0x44f187
xor ecx, ecx
cmp eax, ecx
jge 0x44f23e
mov dword [ebp - 0x2c], ecx
mov eax, ecx
cmp dword [ebp - 0x30], ecx
jge 0x44f246
mov dword [ebp - 0x30], ecx
sub ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3a]
add ebx, dword [ebp - 0x5c]
sub edx, eax
add edx, dword [ebp - 0x5a]
mov word [ebp - 0x44], bx
mov word [ebp - 0x42], dx
add ecx, dword [ebp - 0x42]
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x3c]
cmp word [ebp - 0x42], 0
mov word [ebp - 0x3e], cx
mov word [ebp - 0x40], dx
jge 0x44f27a
xor eax, eax
mov word [ebp - 0x42], ax
test bx, bx
jns 0x44f285
xor eax, eax
mov word [ebp - 0x44], ax
movsx eax, cx
cmp eax, esi
jl 0x44f291
dec esi
mov word [ebp - 0x3e], si
mov eax, dword [ebp - 0x4c]
movsx ecx, dx
cmp ecx, eax
jl 0x44f2a0
dec eax
mov word [ebp - 0x40], ax
mov si, word [edi]
mov bx, word [edi + 4]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x5c]
mov word [ebp - 0x3c], si
mov word [ebp - 0x3a], bx
push dword [ebp - 0x3c]
push dword [edi + 0x14]
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
movsx edx, bx
movsx esi, si
mov dword [ebp - 0x6c], eax
mov eax, edx
imul eax, esi
xor ecx, ecx
mov dword [ebp - 0x60], esi
test eax, eax
jle 0x44f3a8
mov ebx, dword [edi + 0x14]
cmp byte [ebx], 0x20
jb 0x44f2f0
inc ecx
add ebx, 4
cmp ecx, eax
jl 0x44f2e3
cmp ecx, eax
jge 0x44f3a8
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.0047e88f
add eax, dword [ebp - 0x68]
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, esi
jl 0x44f315
lea eax, [esi - 1]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.0047e86d
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x48]
add ecx, eax
mov dword [ebp - 0x54], ecx
cmp ecx, edx
jl 0x44f336
dec edx
mov dword [ebp - 0x54], edx
mov ecx, edx
mov dword [ebp - 0x34], eax
cmp eax, ecx
jg 0x44f3a8
mov edx, esi
imul edx, eax
mov dword [ebp - 0x48], edx
mov ebx, dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x50]
jg 0x44f39b
lea esi, [edx + ebx]
shl esi, 2
mov eax, dword [edi + 0x14]
add eax, esi
cmp byte [eax], 0x20
jae 0x44f38f
mov ecx, ebx
sub ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x44]
mov word [ebp - 0x4c], cx
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x5a]
add ecx, dword [ebp - 0x42]
mov word [ebp - 0x4a], cx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp - 0x4c]
push 1
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
inc ebx
add esi, 4
cmp ebx, dword [ebp - 0x50]
jle 0x44f353
mov esi, dword [ebp - 0x60]
inc dword [ebp - 0x34]
add edx, esi
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x34], ecx
jle 0x44f345
mov eax, edi
call fcn.0044d9c2
mov eax, dword [ebp - 0x6c]
jmp 0x44f3df
cmp edx, dword [ebp - 0x54]
jge 0x44f187
mov eax, dword [ebp - 0x2c]
mov word [ebp - 0x5a], ax
jmp 0x44f1f6
xor edx, edx
mov eax, edi
call fcn.0044d9c2
mov eax, edx
jmp 0x44f3df
mov eax, edi
call fcn.0044d9c2
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret