Function at 0x14002aa40
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rsp - 0x1980]
mov eax, 0x1a80
call fcn.1400584c0
sub rsp, rax
movaps xmmword [rsp + 0x1a60], xmm7
movaps xmmword [rsp + 0x1a50], xmm8
movaps xmmword [rsp + 0x1a40], xmm9
movaps xmmword [rsp + 0x1a30], xmm10
movaps xmmword [rsp + 0x1a20], xmm11
movaps xmmword [rsp + 0x1a10], xmm12
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x1908], rax
movss xmm10, dword [0x14006bdcc]
xor r12d, r12d
movsd xmm8, qword [0x14006bd58]
mov esi, r12d
movss xmm11, dword [0x14006bd74]
mov r14d, 0x10
movss xmm12, dword [0x14006bd34]
xorps xmm9, xmm9
mov qword [rsp + 0x1aa0], r15
movaps xmmword [rsp + 0x1a70], xmm6
mov eax, dword [0x140078088]
lea rcx, str.win32u.dll
mov dword [rbp + 0x18c8], eax
mov rax, qword [0x140078070]
add rax, 0x2dd17a2
mov byte [rbp + 0x1900], r12b
mov qword [rbp + 0x18b8], rax
lea rax, [rbp + 0x1900]
mov qword [rbp + 0x18d0], rax
mov qword [rbp + 0x18c0], 1
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
mov rcx, qword [0x140078070]
mov dword [rbp + 0x18c8], eax
add rcx, 0x2dd17a8
movzx eax, byte [rbp + 0x1900]
imul rdi, rax, 0x2080
lea rax, [rbp + 0x18e8]
mov qword [rbp + 0x18e8], r12
add rcx, rdi
mov qword [rbp + 0x18c0], 8
mov qword [rbp + 0x18b8], rcx
lea rcx, str.win32u.dll
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
mov rcx, qword [0x140078070]
add rcx, 0x2dd17a8
mov dword [rbp + 0x18c8], eax
add rcx, rsi
mov qword [rbp + 0x18e8], r12
mov qword [rbp + 0x18b8], rcx
lea rax, [rbp + 0x18e8]
lea rcx, str.win32u.dll
mov qword [rbp + 0x18c0], 8
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
mov rcx, qword [0x140078070]
add rcx, 0x2dd17c0
mov dword [rbp + 0x18c8], eax
add rcx, rsi
mov qword [rbp + 0x18f0], r12
mov qword [rbp + 0x18b8], rcx
lea rax, [rbp + 0x18f0]
lea rcx, str.win32u.dll
mov qword [rbp + 0x18c0], 8
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
mov dword [rbp + 0x18c8], eax
mov dword [rbp + 0x1904], r12d
mov qword [rbp + 0x18c0], 4
mov rbx, qword [rbp + 0x18f0]
lea rcx, str.win32u.dll
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
lea rax, [rbx + 0x27c]
mov qword [rbp + 0x18b8], rax
lea rax, [rbp + 0x1904]
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
lea rcx, str.win32u.dll
mov dword [rbp + 0x18c8], eax
lea rax, [rbx + 0x28c]
mov qword [rbp + 0x18b8], rax
lea rax, [rbp + 0x1900]
mov qword [rbp + 0x18d0], rax
mov byte [rbp + 0x1900], r12b
mov qword [rbp + 0x18c0], 1
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
mov rcx, qword [0x140078070]
add rcx, 0x2dd17ec
mov dword [rbp + 0x18c8], eax
add rcx, rsi
mov dword [rbp + 0x18f0], r12d
mov qword [rbp + 0x18b8], rcx
lea rax, [rbp + 0x18f0]
lea rcx, str.win32u.dll
mov qword [rbp + 0x18c0], 4
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0xc80
call fcn.140059f50
mov eax, dword [0x140078088]
mov rcx, qword [0x140078070]
add rcx, 0x2dd17a8
mov dword [rbp + 0x18c8], eax
add rcx, rsi
mov qword [rbp + 0x18c0], 0xc80
mov qword [rbp + 0x18b8], rcx
lea rax, [rbp - 0x50]
lea rcx, str.win32u.dll
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
xor edx, edx
lea rcx, [rbp + 0xc30]
mov r8d, 0xc80
call fcn.140059f50
mov rcx, qword [0x140078070]
mov eax, dword [0x140078088]
add rcx, 0x2dd17a8
mov dword [rbp + 0x18c8], eax
mov qword [rbp + 0x18c0], 0xc80
add rcx, rdi
mov word [rbp + 0x18cc], 0x100
mov qword [rbp + 0x18b8], rcx
lea rax, [rbp + 0xc30]
lea rcx, str.win32u.dll
mov byte [rbp + 0x18ce], r12b
mov qword [rbp + 0x18d0], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
movups xmm7, xmmword [0x14006b6c8]
mov rdi, qword [rbp + 0x18e8]
movups xmmword [rbp + 0x18f0], xmm7
test rdi, rdi
je 0x14002b250
cmp dword [rbp + 0x1904], r12d
jne 0x14002b250
cmp byte [rbp + 0x1900], r12b
je 0x14002af90
movups xmm7, xmmword [0x14006b6a8]
movups xmmword [rbp + 0x18f0], xmm7
mov rax, qword [rbp + 0xc38]
shr rax, 8
cmp byte [rbp - 0x47], al
je 0x14002b250
cmp dword [rbp + 0x810], r12d
je 0x14002afbb
movups xmm7, xmmword [0x14006b6b8]
movups xmmword [rbp + 0x18f0], xmm7
mov eax, dword [0x140078088]
lea rcx, str.win32u.dll
mov dword [rbp + 0x18c8], eax
lea rax, [rdi + 0x19c]
mov qword [rbp + 0x18b8], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x18d0], rax
mov qword [rbp + 0x18c0], 0xc
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
mov eax, dword [0x140078088]
lea rcx, str.win32u.dll
movsd xmm0, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x68]
mov dword [rbp + 0x18c8], eax
lea rax, [rdi + 0x14]
mov qword [rbp + 0x18b8], rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0x18d0], rax
movsd qword [rbp - 0x60], xmm0
mov dword [rbp - 0x58], ebx
mov qword [rbp + 0x18c0], 0xc
mov word [rbp + 0x18cc], 0x100
mov byte [rbp + 0x18ce], r12b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtSetCompositionSurfaceIndependentFlipInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x18b0]
call rax
movss xmm1, dword [rsp + 0x60]
lea rcx, [rbp - 0x60]
movsd xmm0, qword [rbp - 0x70]
movsd qword [rsp + 0x40], xmm0
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x70], xmm1
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x48], ebx
call fcn.14002a810
test al, al
je 0x14002b250
lea rcx, [rsp + 0x40]
call fcn.14002a810
test al, al
je 0x14002b250
lea rcx, [rsp + 0x70]
call fcn.14002a810
test al, al
je 0x14002b250
movss xmm0, dword [rsp + 0x44]
movaps xmm6, xmm0
subss xmm6, dword [rsp + 0x74]
comiss xmm9, xmm6
jbe 0x14002b10b
mulss xmm6, xmm10
cvttss2si ecx, xmm6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp byte [0x140077fba], r12b
mov r15d, eax
je 0x14002b250
cvttss2si ebx, dword [rsp + 0x40]
mov eax, ecx
lea r8, str.Foreground
cdq
and edx, 3
add eax, edx
mov edx, 1
sar eax, 2
cvttss2si edi, xmm0
sub ebx, eax
mov rax, qword [0x140077fc0]
sub ebx, 5
mov rcx, qword [rax + 0x1dc0]
sub edi, 5
mov rcx, qword [rcx]
call fcn.140004a90
movd xmm1, dword [rbp + 0x18f4]
addss xmm6, xmm11
cvtdq2pd xmm1, xmm1
mov r10, rax
movd ecx, xmm7
movdqa xmm2, xmm7
divsd xmm1, xmm8
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
psrldq xmm2, 8
divsd xmm0, xmm8
movq rcx, xmm2
psrldq xmm7, 0xc
cvtpd2ps xmm0, xmm0
movd eax, xmm7
movss dword [rbp - 0x80], xmm0
cvtpd2ps xmm0, xmm1
movss dword [rbp - 0x7c], xmm0
movd xmm0, ecx
lea rcx, [rbp - 0x80]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm8
cvtpd2ps xmm0, xmm0
movss dword [rbp - 0x78], xmm0
movd xmm0, eax
lea eax, [rbx + 0xa]
cvtdq2pd xmm0, xmm0
add eax, r15d
movd xmm1, eax
divsd xmm0, xmm8
cvtdq2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
movss dword [rsp + 0x50], xmm1
movss dword [rbp - 0x74], xmm0
cvttss2si eax, xmm6
movd xmm1, ebx
add eax, edi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x58], xmm1
movss dword [rsp + 0x54], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x5c], xmm0
call fcn.140002b80
movss dword [rsp + 0x30], xmm12
lea rdx, [rsp + 0x58]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rsp + 0x50]
mov rcx, r10
call fcn.14001e9b0
add rsi, 0x2080
sub r14, 1
jne 0x14002aaf3
movaps xmm6, xmmword [rsp + 0x1a70]
mov r15, qword [rsp + 0x1aa0]
mov rcx, qword [rbp + 0x1908]
xor rcx, rsp
call fcn.14002f670
lea r11, [rsp + 0x1a80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop r12
pop rbp
ret