Function at 0x47d85b
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x1c]
mov esi, dword [ebp + 8]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x320
push str.C:UsersOfficeDocumentsVisual_StudioPAULAScreenBuffer.c
push esi
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
stosd dword es:[edi], eax
movlpd qword [ebp - 0x58], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea edi, [ebp - 0x70]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0047cbee
add esp, 0xc
test eax, eax
je 0x47dcf8
push esi
call fcn.0047cc5d
pop ecx
test eax, eax
je 0x47dcf8
cmp dword [esi + 0x14], ebx
je 0x47dcea
call fcn.0040cabf
mov dword [ebp - 0x74], eax
test eax, eax
je 0x47dcea
cmp eax, 0xffffffff
je 0x47dcea
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x47dcea
movsx eax, word [ebp - 0x12]
movsx ecx, word [ebp - 0xe]
sub ecx, eax
movsx eax, word [ebp - 0x10]
inc ecx
mov dword [ebp - 0x34], ecx
movsx ecx, word [ebp - 0xc]
sub ecx, eax
mov eax, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x47d93d
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x48], edx
lea edi, [edx - 1]
lea esi, [eax - 1]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], esi
jmp 0x47d957
mov esi, eax
lea edi, [ebp - 0x70]
mov eax, dword [ebp - 0x38]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
jns 0x47d977
sub edx, ecx
mov ecx, ebx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x6c], ecx
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
test ebx, ebx
jns 0x47d98b
sub eax, ebx
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
cmp edi, eax
jl 0x47d99c
dec eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x20]
cmp esi, eax
jl 0x47d9ac
lea esi, [eax - 1]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x47da73
mov esi, dword [eax + 4]
cmp edx, esi
jge 0x47d9cd
mov eax, esi
mov dword [ebp - 0x28], esi
sub eax, edx
add ecx, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x6c], ecx
sub esp, 0x10
lea esi, [ebp - 0x70]
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.00448de2
mov ecx, dword [ebp - 0x30]
add esp, 0x10
add eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 0xc]
jle 0x47da16
sub esp, 0x10
lea esi, [ebp - 0x70]
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.00448de2
mov ecx, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ecx + 0xc]
sub ecx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax]
cmp ecx, edx
jge 0x47da2e
mov eax, edx
mov dword [ebp - 0x2c], edx
sub eax, ecx
add ebx, eax
mov dword [ebp - 0x70], ebx
sub esp, 0x10
lea esi, [ebp - 0x70]
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.00448e66
mov ecx, dword [ebp - 0x30]
add esp, 0x10
add eax, dword [ebp - 0x2c]
cmp eax, dword [ecx + 8]
jle 0x47da73
sub esp, 0x10
lea esi, [ebp - 0x70]
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.00448e66
mov ecx, dword [ebp - 0x30]
add esp, 0x10
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0x2c]
sub ecx, eax
add esi, ecx
jmp 0x47da76
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x24]
cmp ecx, edi
jg 0x47dce8
cmp ebx, esi
jg 0x47dce8
mov edx, edi
mov eax, esi
sub edx, ecx
sub eax, ebx
mov dword [ebp - 0x48], edx
mov word [ebp - 0x4e], dx
mov edx, dword [ebp - 0x2c]
mov word [ebp - 0x50], ax
test edx, edx
jns 0x47dac2
sub ebx, edx
mov eax, esi
sub eax, ebx
mov word [ebp - 0x60], bx
xor edx, edx
mov word [ebp - 0x50], ax
cmp ebx, esi
jle 0x47dacb
xor ebx, ebx
inc ebx
jmp 0x47dcea
cmp edx, dword [ebp - 0x34]
jge 0x47daba
mov word [ebp - 0x60], bx
cwde
mov dword [ebp - 0x20], eax
add eax, edx
cmp eax, dword [ebp - 0x34]
jle 0x47daee
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x20]
sub eax, edx
mov edx, dword [ebp - 0x34]
add esi, eax
mov eax, esi
sub eax, ebx
mov word [ebp - 0x50], ax
cwde
sub edx, eax
movsx eax, bx
mov dword [ebp - 0x24], eax
cmp eax, esi
jg 0x47daba
mov esi, dword [ebp - 0x28]
test esi, esi
jns 0x47db15
sub ecx, esi
mov eax, edi
sub eax, ecx
mov word [ebp - 0x5e], cx
xor esi, esi
mov word [ebp - 0x4e], ax
cmp ecx, edi
jg 0x47daba
jmp 0x47db21
cmp esi, dword [ebp - 0x40]
jge 0x47daba
mov eax, dword [ebp - 0x48]
mov word [ebp - 0x5e], cx
cwde
mov dword [ebp - 0x20], eax
add eax, esi
cmp eax, dword [ebp - 0x40]
jle 0x47db44
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x20]
sub eax, esi
mov esi, dword [ebp - 0x40]
add edi, eax
mov eax, edi
sub eax, ecx
mov word [ebp - 0x4e], ax
cwde
sub esi, eax
movsx eax, cx
mov dword [ebp - 0x28], eax
cmp eax, edi
jg 0x47daba
mov edi, dword [ebp - 0x4e]
xor eax, eax
test ecx, ecx
cmovs ecx, eax
test ebx, ebx
cmovs ebx, eax
sub esi, ecx
mov ecx, dword [ebp - 0x5e]
sub edx, ebx
mov ebx, dword [ebp - 0x50]
add ecx, esi
mov esi, dword [ebp - 0x60]
add edi, ecx
add edx, esi
mov word [ebp - 0x56], cx
add ebx, edx
mov word [ebp - 0x58], dx
mov word [ebp - 0x52], di
mov word [ebp - 0x54], bx
test cx, cx
jns 0x47db8f
mov word [ebp - 0x56], ax
test dx, dx
jns 0x47db9a
xor eax, eax
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x40]
movsx eax, di
cmp eax, ecx
jl 0x47dbab
lea eax, [ecx - 1]
mov word [ebp - 0x52], ax
mov ecx, dword [ebp - 0x34]
movsx eax, bx
cmp eax, ecx
jl 0x47dbbc
lea eax, [ecx - 1]
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x58]
push ecx
push esi
movzx ebx, word [eax]
movzx edi, word [eax + 4]
mov word [ebp - 0x50], bx
mov word [ebp - 0x4e], di
push dword [ebp - 0x50]
push dword [eax + 0x14]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
movsx edx, di
movsx ecx, bx
mov dword [ebp - 0x30], eax
movsx eax, di
mov edi, dword [ebp - 0x38]
imul edx, ecx
mov dword [ebp - 0x20], eax
movsx eax, bx
mov dword [ebp - 0x34], eax
test edx, edx
jle 0x47dcdc
mov ecx, dword [edi + 0x14]
xor eax, eax
cmp byte [ecx], 0x20
jb 0x47dc17
inc eax
add ecx, 4
cmp eax, edx
jl 0x47dc0a
cmp eax, edx
jge 0x47dcdc
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00448fd6
mov ebx, dword [ebp - 0x34]
add eax, dword [ebp - 0x24]
push dword [ebp - 0x54]
cmp eax, ebx
push dword [ebp - 0x58]
lea ecx, [ebx - 1]
cmovl ecx, eax
mov dword [ebp - 0x44], ecx
call fcn.00448f90
mov ecx, dword [ebp - 0x28]
add esp, 0x10
mov edx, dword [ebp - 0x20]
add eax, ecx
dec edx
cmp eax, dword [ebp - 0x20]
cmovl edx, eax
mov dword [ebp - 0x3c], edx
cmp ecx, edx
jg 0x47dcdc
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov ebx, dword [ebp - 0x24]
imul eax, ecx
add eax, ebx
mov dword [ebp - 0x38], eax
cmp ebx, edx
jg 0x47dcca
mov edx, eax
shl edx, 2
mov dword [ebp - 0x48], edx
mov eax, dword [edi + 0x14]
add eax, edx
mov dword [ebp - 0x40], eax
cmp byte [eax], 0x20
jae 0x47dcb8
sub ecx, dword [ebp - 0x5e]
mov eax, ebx
add ecx, dword [ebp - 0x56]
sub eax, esi
add eax, dword [ebp - 0x58]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x2c]
push eax
mov word [ebp - 0x1e], cx
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x40]
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x48]
inc ebx
add edx, 4
mov dword [ebp - 0x48], edx
cmp ebx, dword [ebp - 0x44]
jle 0x47dc7b
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x44]
add eax, dword [ebp - 0x34]
inc ecx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
cmp ecx, dword [ebp - 0x3c]
jle 0x47dc6f
push edi
call fcn.0047fa76
mov eax, dword [ebp - 0x30]
pop ecx
jmp 0x47dcfa
xor ebx, ebx
mov edi, dword [ebp - 0x38]
push edi
call fcn.0047fa76
pop ecx
mov eax, ebx
jmp 0x47dcfa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret