Function at 0x140004778
Capabilities:
Manipulate console buffer

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x60
xor esi, esi
movaps xmmword [rax - 0x18], xmm6
cmp dword [0x14000b204], esi
mov edi, ecx
movaps xmmword [rax - 0x28], xmm7
je 0x140004a55
lea rcx, [0x14000b218]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movd xmm7, dword [0x14000b240]
xorps xmm6, xmm6
mov rbx, rax
xorps xmm0, xmm0
sub rbx, qword [0x14000b288]
movabs rax, 0x624dd2f1a9fbe77
mul rbx
cvtdq2ps xmm7, xmm7
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 9
test ebx, ebx
je 0x1400047f7
mov eax, ebx
cvtsi2ss xmm0, rax
divss xmm7, xmm0
mov rax, qword [0x14000b280]
test rax, rax
je 0x14000481b
xorps xmm6, xmm6
cvtsi2ss xmm6, rax
mulss xmm6, dword [0x14000e754]
test ebx, ebx
je 0x14000481b
divss xmm6, xmm0
test dil, 2
je 0x140004860
mov edx, dword [0x14000b200]
test dx, dx
jne 0x140004853
cmp word [0x14000b202], si
jne 0x140004853
mov rcx, qword [0x14000b208]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [rsp + 0x24]
mov dword [0x14000b200], eax
jmp 0x140004860
mov rcx, qword [0x14000b208]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rdx, [0x14000f560]
mov ecx, edi
call fcn.140006e5c
xorps xmm0, xmm0
lea rdx, [0x14000fc80]
cvtsi2ss xmm0, qword [0x14000b280]
mov ecx, edi
mulss xmm0, dword [0x14000e664]
cvtps2pd xmm2, xmm0
movq r8, xmm2
call fcn.140006e5c
cvtps2pd xmm2, xmm6
lea rdx, [0x14000ece8]
mov ecx, edi
movq r8, xmm2
call fcn.140006e5c
cvtps2pd xmm2, xmm7
lea rdx, [0x14000d338]
mov ecx, edi
movq r8, xmm2
call fcn.140006e5c
mov r8d, ebx
lea rdx, [0x140010a88]
mov ecx, edi
call fcn.140006e5c
lea rdx, [0x14000e2c0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b270]
lea rdx, [0x14000e758]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b274]
lea rdx, [0x14000fcc0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b278]
lea rdx, [0x14000dcd8]
mov ecx, edi
call fcn.140006e5c
lea rdx, [0x140010b50]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b240]
lea rdx, [0x14000e758]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b244]
lea rdx, [0x14000d9b0]
mov ecx, edi
call fcn.140006e5c
lea rdx, [0x14000e780]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b248]
lea rdx, [0x14000daf0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b24c]
lea rdx, [0x14000d9b0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b250]
lea rdx, [0x14000f970]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b254]
lea rdx, [0x14000edc8]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b258]
lea rdx, [0x140010ec0]
mov ecx, edi
call fcn.140006e5c
lea rdx, [0x14000f9a0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b25c]
lea rdx, [0x14000d1e0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b264]
lea rdx, [0x140010368]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b268]
lea rdx, [0x140010900]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b26c]
lea rdx, [0x140010bd0]
mov ecx, edi
call fcn.140006e5c
mov r8d, dword [0x14000b260]
lea rdx, [0x14000df80]
mov ecx, edi
call fcn.140006e5c
lea rcx, [0x14000b218]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rdi
ret