Function at 0x14004b4d0
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3a8]
sub rsp, 0x480
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140162800]
xor rax, rsp
mov qword [rbp + 0x2d8], rax
xor r13d, r13d
movsd xmm14, qword [0x140099240]
movsd xmm13, qword [0x140099208]
movss xmm7, dword [0x14008f070]
movss dword [rsp + 0x60], xmm7
mov r15, r13
mov r12, qword [0x1401623d8]
mov rsi, qword [0x1401623d0]
cmp rsi, r12
je 0x14004c0b2
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rsi + 0x10]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rsi + 0x30]
movaps xmmword [rbp], xmm0
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
mov r14, qword [rsi + 0x20]
add rcx, r14
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.1400421e0
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm10, xmm10
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor eax, eax
mov dword [rbp + 0x1d8], eax
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14005baf0
movups xmm6, xmmword [rax]
movups xmm9, xmmword [rax + 0x10]
movups xmm7, xmmword [rax + 0x20]
movups xmm8, xmmword [rax + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
shufps xmm9, xmm9, 0xaa
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm9, xmm0
shufps xmm6, xmm6, 0xaa
mulss xmm6, xmm1
addss xmm9, xmm6
shufps xmm7, xmm7, 0xaa
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm7, xmm0
addss xmm9, xmm7
shufps xmm8, xmm8, 0xaa
shufps xmm1, xmm1, 0xff
mulss xmm8, xmm1
addss xmm9, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
addsd xmm0, qword [0x140099220]
movsd qword [rsp + 0x58], xmm0
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, r14
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.1400421e0
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor eax, eax
mov dword [rbp + 0x1d8], eax
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbp - 0x50], xmm1
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x70], xmm1
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, r14
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rdx
add rcx, r14
call fcn.1400421e0
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0], 0x6e
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm10
movsd qword [rbp + 0x160], xmm10
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm10
movsd qword [rbp + 0x180], xmm10
mov dword [rbp + 0x198], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm10
movsd qword [rbp + 0x1c0], xmm10
xor eax, eax
mov dword [rbp + 0x1d8], eax
movups xmmword [rbp + 0x1e8], xmm10
movsd qword [rbp + 0x1e0], xmm10
mov dword [rbp + 0x1f8], eax
mov qword [rbp + 0x100], 3
mov qword [rbp + 0x128], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], rdx
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x100]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14005baf0
movups xmm6, xmmword [rax]
movups xmm9, xmmword [rax + 0x10]
movups xmm7, xmmword [rax + 0x20]
movups xmm8, xmmword [rax + 0x30]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x140]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm9, xmm0
mulss xmm6, xmm1
addss xmm9, xmm6
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xaa
mulss xmm7, xmm0
addss xmm9, xmm7
shufps xmm1, xmm1, 0xff
mulss xmm8, xmm1
addss xmm9, xmm8
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [0x140166768]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x140166770]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x140166778]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x48], xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movaps xmm13, xmm7
mulsd xmm13, xmm9
movaps xmm6, xmm14
mulsd xmm6, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm5, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x1400953e0]
mulsd xmm2, xmm10
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm13
movaps xmm0, xmm14
mulsd xmm0, xmm15
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm1, xmm14
mulsd xmm1, xmm10
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
movaps xmm2, xmm7
mulsd xmm2, xmm15
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, xmm6
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm9, xmm0
movsd xmm0, qword [rsp + 0x58]
subsd xmm0, qword [0x140166760]
movsd qword [rsp + 0x58], xmm0
movups xmm8, xmmword [rbp - 0x40]
shufps xmm8, xmm8, 0x55
movaps xmm2, xmmword [rbp - 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
mulss xmm8, xmm0
movss xmm0, dword [rbp + 0x34]
mulss xmm0, xmm2
addss xmm8, xmm0
movups xmmword [rbp - 0x40], xmm8
movss xmm8, dword [rsp + 0x74]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
mulss xmm8, xmm0
movups xmm0, xmmword [rbp - 0x40]
addss xmm0, xmm8
movups xmmword [rbp - 0x40], xmm0
movss xmm0, dword [rbp - 0x4c]
shufps xmm2, xmm2, 0xff
mulss xmm0, xmm2
movups xmm2, xmmword [rbp - 0x40]
addss xmm2, xmm0
xorps xmm8, xmm8
cvtss2sd xmm8, xmm2
subsd xmm8, qword [0x140166758]
movsd xmm0, qword [rsp + 0x40]
subsd xmm0, qword [0x140166750]
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmm15
mulsd xmm0, xmm10
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
movsd xmm10, qword [rsp + 0x40]
mulsd xmm2, xmm10
mulsd xmm3, xmm8
addsd xmm2, xmm3
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm5
addsd xmm2, xmm0
mulsd xmm9, xmm8
movaps xmm0, xmm15
mulsd xmm0, xmm6
mulsd xmm7, qword [rsp + 0x48]
addsd xmm0, xmm7
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm10
subsd xmm9, xmm1
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm4
addsd xmm9, xmm0
movsd xmm7, qword [0x140090a88]
maxsd xmm7, xmm2
mov rax, qword [0x1401666a0]
mov edi, dword [rax + 0x10]
mov ebx, dword [rax + 0xc]
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x14008f040]
movss xmm0, dword [0x140166780]
mulss xmm0, dword [0x140094800]
divss xmm0, dword [0x140090a94]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, edi
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14008f040]
cvtps2pd xmm4, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm7
subsd xmm4, xmm9
mulsd xmm15, xmm13
mulsd xmm14, qword [rsp + 0x48]
subsd xmm15, xmm14
cvtpd2ps xmm0, xmm15
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm10
mulsd xmm11, xmm8
addsd xmm1, xmm11
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm12
addsd xmm1, xmm0
mulsd xmm1, xmm3
divsd xmm1, xmm7
cvtps2pd xmm0, xmm6
addsd xmm1, xmm0
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm4, xmm0
mulsd xmm4, xmm4
mulsd xmm1, xmm1
addsd xmm4, xmm1
cvtpd2ps xmm2, xmm4
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x14004c024
xorps xmm7, xmm7
sqrtss xmm7, xmm2
jmp 0x14004c02f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmm0
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xd8]
add rcx, r14
call fcn.140042040
movaps xmm6, xmm0
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xe0]
add rcx, r14
call fcn.140042040
addss xmm0, dword [0x1400951c8]
mov rcx, qword [0x1401665c0]
comiss xmm0, xmm6
jb 0x14004c091
movss xmm0, dword [rcx + 0x10]
comiss xmm0, xmm7
jbe 0x14004c091
movss xmm0, dword [rsp + 0x60]
comiss xmm0, xmm7
jbe 0x14004c091
movss dword [rsp + 0x60], xmm7
mov r15, qword [rbp + 0x20]
add rsi, 0x40
cmp rsi, r12
movsd xmm13, qword [0x140099208]
movsd xmm14, qword [0x140099240]
jne 0x14004b590
jmp 0x14004c0b9
mov rcx, qword [0x1401665c0]
cmp byte [rcx], 0
je 0x14004def2
test r15, r15
je 0x14004def2
mov ecx, dword [rcx + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004def2
mov rdx, qword [0x1401665b0]
add rdx, 0x20
lea rcx, [rbp + 0x100]
call fcn.1400051a0
mov rdi, rax
mov qword [rbp - 0x40], rax
mov rcx, qword [0x140166728]
mov r14, qword [rcx + 0x20]
movups xmm0, xmmword [rcx + 0xa0]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm0, qword [rcx + 0xb0]
movsd qword [rbp + 0x10], xmm0
mov r12, qword [0x140166700]
mov rcx, qword [0x1401665d8]
mov rcx, qword [rcx + 0x38]
add rcx, r15
call fcn.1400421e0
mov rcx, qword [0x1401665d8]
mov rcx, qword [rcx + 0x68]
add rcx, rax
xorps xmm11, xmm11
movups xmmword [rbp + 0x2c8], xmm11
movsd qword [rbp + 0x2c0], xmm11
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rcx
lea rax, [rbp + 0x2c0]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x18
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0x70]
add rcx, r15
call fcn.1400421e0
mov rsi, rax
mov rcx, qword [0x1401666a8]
movsxd rbx, dword [rcx + 0x94]
mov rcx, qword [0x1401665d8]
mov rcx, qword [rcx + 0xb8]
add rcx, rax
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rcx, qword [0x1401665d8]
mov rcx, qword [rcx + 0xb0]
add rcx, rdx
add rcx, rsi
call fcn.1400421e0
mov rdx, rbx
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x168], xmm11
movsd qword [rbp + 0x160], xmm11
xor eax, eax
mov dword [rbp + 0x178], eax
movups xmmword [rbp + 0x188], xmm11
movsd qword [rbp + 0x180], xmm11
mov dword [rbp + 0x198], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x140]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
movups xmmword [rbp + 0x1c8], xmm11
movsd qword [rbp + 0x1c0], xmm11
xor eax, eax
mov dword [rbp + 0x1d8], eax
movups xmmword [rbp + 0x1e8], xmm11
movsd qword [rbp + 0x1e0], xmm11
mov dword [rbp + 0x1f8], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x1a0]
call fcn.14005baf0
movups xmm7, xmmword [rax]
movups xmm10, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x140]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm6, xmmword [rax + 0x30]
movaps xmm1, xmm10
movaps xmm5, xmm6
shufps xmm5, xmm6, 0x55
mulss xmm1, xmm5
movaps xmm0, xmm7
mulss xmm0, xmm6
addss xmm1, xmm0
movaps xmm0, xmm8
movaps xmm4, xmm6
shufps xmm4, xmm6, 0xaa
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm9
movaps xmm3, xmm6
shufps xmm3, xmm6, 0xff
mulss xmm0, xmm3
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [rbp + 0x20], xmm0
movaps xmm2, xmm10
shufps xmm2, xmm10, 0x55
mulss xmm2, xmm5
movaps xmm0, xmm7
shufps xmm0, xmm7, 0x55
mulss xmm0, xmm6
addss xmm2, xmm0
movaps xmm1, xmm8
shufps xmm1, xmm8, 0x55
mulss xmm1, xmm4
addss xmm2, xmm1
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm3
addss xmm2, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm2
movsd qword [rbp - 0x50], xmm0
shufps xmm10, xmm10, 0xaa
mulss xmm10, xmm5
shufps xmm7, xmm7, 0xaa
mulss xmm7, xmm6
addss xmm10, xmm7
shufps xmm8, xmm8, 0xaa
mulss xmm8, xmm4
addss xmm10, xmm8
shufps xmm9, xmm9, 0xaa
mulss xmm9, xmm3
addss xmm10, xmm9
xorps xmm0, xmm0
cvtss2sd xmm0, xmm10
movsd qword [rbp + 0xb0], xmm0
mov rax, qword [0x1401665c0]
mov ecx, dword [rax + 0x1c]
test ecx, ecx
jne 0x14004cafb
mov rax, qword [0x1401666a8]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.1400421e0
mov rdx, rbx
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
movups xmm12, xmmword [rax + 0x20]
movups xmmword [rbp + 0xc0], xmm12
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.14005baf0
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm10, xmmword [rax + 0x30]
movsd xmm0, qword [0x140166768]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x140166770]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x140166778]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm13, xmm13
cvtss2sd xmm13, xmm0
movsd qword [rsp + 0x48], xmm13
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x40], xmm11
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x58], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movsd qword [rbp - 0x80], xmm3
movaps xmm4, xmm7
mulsd xmm4, xmm9
movsd qword [rsp + 0x60], xmm4
movaps xmm14, xmm3
mulsd xmm14, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm13, xmm0
movsd xmm5, qword [rsp + 0x48]
movaps xmm1, xmm5
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x1400953e0]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x68], xmm0
movaps xmm1, xmm3
mulsd xmm1, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm5
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp - 0x78], xmm0
movaps xmm1, xmm3
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm7
mulsd xmm2, qword [rsp + 0x40]
movaps xmm0, xmm14
mulsd xmm0, xmm5
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movaps xmm6, xmm10
shufps xmm6, xmm10, 0x55
mulss xmm3, xmm6
movups xmm9, xmmword [rbp - 0x70]
movaps xmm0, xmm9
shufps xmm0, xmm9, 0xaa
mulss xmm0, xmm10
addss xmm3, xmm0
movaps xmm1, xmm12
shufps xmm1, xmm12, 0xaa
movaps xmm5, xmm10
shufps xmm5, xmm10, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp + 0x30]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm10
shufps xmm4, xmm10, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm12, xmm12
cvtss2sd xmm12, xmm3
subsd xmm12, qword [0x140166760]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm10
addss xmm2, xmm0
movups xmm3, xmmword [rbp + 0xc0]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm2
subsd xmm10, qword [0x140166758]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
movups xmm0, xmmword [rbx + 0x30]
mulss xmm9, xmm0
addss xmm2, xmm9
mulss xmm3, xmm5
addss xmm2, xmm3
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x140166750]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm10
mulsd xmm1, xmm8
addsd xmm2, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm2, xmm0
movaps xmm6, xmm10
mulsd xmm6, xmm7
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, qword [rsp + 0x48]
mulsd xmm14, qword [rsp + 0x40]
addsd xmm0, xmm14
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm9
subsd xmm6, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm11
addsd xmm6, xmm0
movsd xmm8, qword [0x140090a88]
maxsd xmm8, xmm2
mov rbx, qword [0x1401666a0]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14008f040]
movss xmm0, dword [0x140166780]
mulss xmm0, dword [0x140094800]
divss xmm0, dword [0x140090a94]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14008f040]
cvtps2pd xmm4, xmm2
mulsd xmm6, xmm3
divsd xmm6, xmm8
subsd xmm4, xmm6
movsd xmm1, qword [rsp + 0x60]
mulsd xmm1, qword [rsp + 0x40]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
mulsd xmm10, qword [rbp - 0x78]
addsd xmm2, xmm10
mulsd xmm12, qword [rsp + 0x68]
addsd xmm2, xmm12
mulsd xmm2, xmm3
divsd xmm2, xmm8
cvtps2pd xmm0, xmm7
jmp 0x14004d5fa
cmp ecx, 1
jne 0x14004d0eb
mov rax, qword [0x1401666a8]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.1400421e0
mov rdx, rbx
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
movups xmm11, xmmword [rax + 0x20]
movups xmmword [rbp - 0x70], xmm11
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.14005baf0
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm10, xmmword [rax + 0x30]
movsd xmm0, qword [0x140166768]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x140166770]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x140166778]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movsd qword [rsp + 0x48], xmm14
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm12, xmm12
cvtss2sd xmm12, xmm0
movsd qword [rsp + 0x40], xmm12
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x68], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm7
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm14, xmm4
mulsd xmm14, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm13, xmm0
movsd xmm5, qword [rsp + 0x48]
movaps xmm1, xmm5
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x1400953e0]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x60], xmm1
movaps xmm1, xmm5
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm12
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm12, xmm0
movaps xmm2, xmm7
mulsd xmm2, qword [rsp + 0x40]
movaps xmm0, xmm5
mulsd xmm0, xmm14
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movaps xmm6, xmm10
shufps xmm6, xmm10, 0x55
mulss xmm3, xmm6
movups xmm9, xmmword [rbp + 0xc0]
movaps xmm0, xmm9
shufps xmm0, xmm9, 0xaa
mulss xmm0, xmm10
addss xmm3, xmm0
movaps xmm1, xmm11
shufps xmm1, xmm11, 0xaa
movaps xmm5, xmm10
shufps xmm5, xmm10, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp + 0x30]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm10
shufps xmm4, xmm10, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm11, xmm11
cvtss2sd xmm11, xmm3
subsd xmm11, qword [0x140166760]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm10
addss xmm2, xmm0
movups xmm3, xmmword [rbp - 0x70]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm2
subsd xmm10, qword [0x140166758]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
movups xmm0, xmmword [rbx + 0x30]
mulss xmm9, xmm0
addss xmm2, xmm9
mulss xmm3, xmm5
addss xmm2, xmm3
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x140166750]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm10
mulsd xmm1, xmm8
addsd xmm2, xmm1
mulsd xmm13, xmm11
addsd xmm2, xmm13
movaps xmm6, xmm10
mulsd xmm6, xmm7
movsd xmm13, qword [rsp + 0x40]
movaps xmm0, xmm13
mulsd xmm0, xmm14
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x48]
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm9
subsd xmm6, xmm1
mulsd xmm12, xmm11
addsd xmm6, xmm12
movsd xmm8, qword [0x140090a88]
maxsd xmm8, xmm2
mov rbx, qword [0x1401666a0]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14008f040]
movss xmm0, dword [0x140166780]
mulss xmm0, dword [0x140094800]
divss xmm0, dword [0x140090a94]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14008f040]
cvtps2pd xmm4, xmm2
mulsd xmm6, xmm3
divsd xmm6, xmm8
subsd xmm4, xmm6
mulsd xmm13, qword [rbp - 0x78]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm13, xmm0
cvtpd2ps xmm0, xmm13
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
mulsd xmm10, qword [rsp + 0x58]
addsd xmm2, xmm10
movsd xmm0, qword [rsp + 0x60]
mulsd xmm0, xmm11
addsd xmm2, xmm0
mulsd xmm2, xmm3
divsd xmm2, xmm8
cvtps2pd xmm0, xmm7
jmp 0x14004d5fa
cmp ecx, 2
jne 0x14004deac
mov rax, qword [0x1401666a8]
movsxd rbx, dword [rax + 0x44]
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.1400421e0
mov rcx, qword [0x1401665d8]
imul rbx, qword [rcx + 0xc0]
lea rcx, [rax + rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov r8d, 0x60
lea rdx, [rbp + 0x200]
call fcn.140077eb0
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xa8]
add rcx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov r8d, 0x60
lea rdx, [rbp + 0x260]
call fcn.140077eb0
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.14005baf0
movups xmm10, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm10
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.14005baf0
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x140166768]
mulsd xmm0, xmm13
divsd xmm0, xmm14
movsd xmm7, qword [0x140166770]
mulsd xmm7, xmm13
divsd xmm7, xmm14
movsd xmm8, qword [0x140166778]
mulsd xmm8, xmm13
divsd xmm8, xmm14
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x40], xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movsd qword [rsp + 0x48], xmm14
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movsd qword [rsp + 0x68], xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm8
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm13, xmm4
mulsd xmm13, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm8
xorps xmm2, xmmword [0x1400953e0]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x60], xmm1
movaps xmm1, xmm11
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm14
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x58], xmm2
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm8
mulsd xmm2, xmm14
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm13
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movups xmm8, xmmword [rbx + 0x30]
movaps xmm6, xmm8
shufps xmm6, xmm8, 0x55
mulss xmm3, xmm6
movaps xmm0, xmm10
shufps xmm0, xmm10, 0xaa
mulss xmm0, xmm8
addss xmm3, xmm0
movups xmm9, xmmword [rbp - 0x70]
movaps xmm1, xmm9
shufps xmm1, xmm9, 0xaa
movaps xmm5, xmm8
shufps xmm5, xmm8, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp + 0x30]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm8
shufps xmm4, xmm8, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm3
subsd xmm10, qword [0x140166760]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movups xmm3, xmmword [rbp + 0xc0]
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
mulss xmm0, xmm8
addss xmm2, xmm0
movaps xmm1, xmm9
shufps xmm1, xmm9, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp + 0x30]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x140166758]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
mulss xmm3, xmm8
addss xmm2, xmm3
movups xmm0, xmmword [rbp - 0x70]
mulss xmm0, xmm5
addss xmm2, xmm0
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm8, xmm8
cvtss2sd xmm8, xmm2
subsd xmm8, qword [0x140166750]
movsd xmm0, qword [rsp + 0x48]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm8
mulsd xmm7, xmm9
addsd xmm2, xmm7
mulsd xmm12, xmm10
addsd xmm2, xmm12
mulsd xmm14, xmm9
movsd xmm12, qword [rsp + 0x48]
movaps xmm0, xmm12
mulsd xmm0, xmm13
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x40]
addsd xmm0, xmm1
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm8
subsd xmm14, xmm1
mulsd xmm11, xmm10
addsd xmm14, xmm11
movsd xmm7, qword [0x140090a88]
maxsd xmm7, xmm2
mov rbx, qword [0x1401666a0]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x14008f040]
movss xmm0, dword [0x140166780]
mulss xmm0, dword [0x140094800]
divss xmm0, dword [0x140090a94]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14008f040]
cvtps2pd xmm4, xmm2
mulsd xmm14, xmm3
divsd xmm14, xmm7
subsd xmm4, xmm14
mulsd xmm12, qword [rbp - 0x78]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x40]
subsd xmm12, xmm0
cvtpd2ps xmm0, xmm12
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm8
movsd xmm0, qword [rsp + 0x58]
mulsd xmm0, xmm9
addsd xmm2, xmm0
movsd xmm0, qword [rsp + 0x60]
mulsd xmm0, xmm10
addsd xmm2, xmm0
mulsd xmm2, xmm3
divsd xmm2, xmm7
cvtps2pd xmm0, xmm6
addsd xmm2, xmm0
xorps xmm11, xmm11
ucomisd xmm2, xmm11
jp 0x14004d618
jne 0x14004d618
ucomisd xmm4, xmm11
jp 0x14004d618
je 0x14004deac
mov rax, qword [0x1401666a8]
movsxd rbx, dword [rax + 0x94]
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb8]
add rcx, rsi
call fcn.140041fa0
shl eax, 4
movsxd rdx, eax
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xb0]
add rcx, rsi
add rcx, rdx
call fcn.1400421e0
mov rdx, rbx
mov rcx, qword [0x1401665d8]
imul rdx, qword [rcx + 0xc0]
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
movups xmmword [rbp + 0x228], xmm11
movsd qword [rbp + 0x220], xmm11
xor eax, eax
mov dword [rbp + 0x238], eax
movups xmmword [rbp + 0x248], xmm11
movsd qword [rbp + 0x240], xmm11
mov dword [rbp + 0x258], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x200]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [0x1401665d8]
mov rdx, qword [rax + 0xa8]
add rdx, rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm0
movups xmmword [rbp + 0x288], xmm11
movsd qword [rbp + 0x280], xmm11
xor eax, eax
mov dword [rbp + 0x298], eax
movups xmmword [rbp + 0x2a8], xmm11
movsd qword [rbp + 0x2a0], xmm11
mov dword [rbp + 0x2b8], eax
mov qword [rbp + 0xc0], 3
mov qword [rbp + 0xe8], r13
movsxd rax, dword [0x140166528]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rdx
lea rax, [rbp + 0x260]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 0x60
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0xc0]
mov edx, 0x225624
mov rcx, qword [0x140166520]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x260]
call fcn.14005baf0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
movups xmm12, xmmword [rax + 0x20]
movups xmmword [rbp + 0x30], xmm12
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rbp - 0x70], xmm0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x200]
call fcn.14005baf0
mov rbx, rax
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x10], xmm0
movups xmm10, xmmword [rax + 0x30]
movsd xmm0, qword [0x140166768]
movsd xmm1, qword [0x140099208]
mulsd xmm0, xmm1
movsd xmm2, qword [0x140099240]
divsd xmm0, xmm2
movsd xmm7, qword [0x140166770]
mulsd xmm7, xmm1
divsd xmm7, xmm2
movsd xmm8, qword [0x140166778]
mulsd xmm8, xmm1
divsd xmm8, xmm2
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm15, xmm15
cvtss2sd xmm15, xmm0
cvtpd2ps xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movsd qword [rsp + 0x40], xmm11
cvtpd2ps xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movsd qword [rsp + 0x68], xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rbp - 0x80], xmm4
movaps xmm3, xmm7
mulsd xmm3, xmm9
movsd qword [rbp - 0x78], xmm3
movaps xmm14, xmm4
mulsd xmm14, xmm9
cvtpd2ps xmm0, xmm9
cvtps2pd xmm13, xmm0
movsd xmm5, qword [rsp + 0x48]
movaps xmm1, xmm5
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm7
xorps xmm2, xmmword [0x1400953e0]
mulsd xmm2, xmm15
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x60], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm11
movaps xmm0, xmm5
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm15
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm7
mulsd xmm2, qword [rsp + 0x40]
movaps xmm0, xmm5
mulsd xmm0, xmm14
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movups xmm0, xmmword [rsp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0xaa
movaps xmm6, xmm10
shufps xmm6, xmm10, 0x55
mulss xmm3, xmm6
movups xmm9, xmmword [rbp + 0xc0]
movaps xmm0, xmm9
shufps xmm0, xmm9, 0xaa
mulss xmm0, xmm10
addss xmm3, xmm0
movaps xmm1, xmm12
shufps xmm1, xmm12, 0xaa
movaps xmm5, xmm10
shufps xmm5, xmm10, 0xaa
mulss xmm1, xmm5
addss xmm3, xmm1
movups xmm2, xmmword [rbp - 0x70]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xaa
movaps xmm4, xmm10
shufps xmm4, xmm10, 0xff
mulss xmm0, xmm4
addss xmm3, xmm0
xorps xmm12, xmm12
cvtss2sd xmm12, xmm3
subsd xmm12, qword [0x140166760]
movups xmm0, xmmword [rsp + 0x70]
movaps xmm2, xmm0
shufps xmm2, xmm0, 0x55
mulss xmm2, xmm6
movaps xmm0, xmm9
shufps xmm0, xmm9, 0x55
mulss xmm0, xmm10
addss xmm2, xmm0
movups xmm3, xmmword [rbp + 0x30]
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
mulss xmm1, xmm5
addss xmm2, xmm1
movups xmm1, xmmword [rbp - 0x70]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
mulss xmm0, xmm4
addss xmm2, xmm0
xorps xmm10, xmm10
cvtss2sd xmm10, xmm2
subsd xmm10, qword [0x140166758]
movups xmm2, xmmword [rsp + 0x70]
mulss xmm2, xmm6
movups xmm0, xmmword [rbx + 0x30]
mulss xmm9, xmm0
addss xmm2, xmm9
mulss xmm3, xmm5
addss xmm2, xmm3
mulss xmm1, xmm4
addss xmm2, xmm1
xorps xmm9, xmm9
cvtss2sd xmm9, xmm2
subsd xmm9, qword [0x140166750]
movsd xmm0, qword [rsp + 0x40]
mulsd xmm0, xmm15
cvtpd2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm9
movaps xmm1, xmm10
mulsd xmm1, xmm8
addsd xmm2, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm13
addsd xmm2, xmm0
movaps xmm6, xmm10
mulsd xmm6, xmm7
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, qword [rsp + 0x48]
movsd xmm13, qword [rsp + 0x40]
movaps xmm0, xmm13
mulsd xmm0, xmm14
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm9
subsd xmm6, xmm1
movaps xmm0, xmm12
mulsd xmm0, xmm11
addsd xmm6, xmm0
movsd xmm8, qword [0x140090a88]
maxsd xmm8, xmm2
mov rbx, qword [0x1401666a0]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14008f040]
movss xmm0, dword [0x140166780]
mulss xmm0, dword [0x140094800]
divss xmm0, dword [0x140090a94]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x14008f040]
cvtps2pd xmm11, xmm2
mulsd xmm6, xmm3
divsd xmm6, xmm8
subsd xmm11, xmm6
mulsd xmm13, qword [rbp - 0x78]
movsd xmm0, qword [rbp - 0x80]
mulsd xmm0, qword [rsp + 0x48]
subsd xmm13, xmm0
cvtpd2ps xmm0, xmm13
cvtps2pd xmm6, xmm0
mulsd xmm6, xmm9
mulsd xmm10, qword [rsp + 0x58]
addsd xmm6, xmm10
mulsd xmm12, qword [rsp + 0x60]
addsd xmm6, xmm12
mulsd xmm6, xmm3
divsd xmm6, xmm8
cvtps2pd xmm0, xmm7
addsd xmm6, xmm0
mov rax, qword [0x1401665c0]
cmp byte [rax + 0x20], 0
je 0x14004dddd
mov byte [rsp + 0x50], 0xd3
mov byte [rsp + 0x51], 0xe9
mov byte [rsp + 0x52], 0xe9
mov byte [rsp + 0x53], 0xf4
mov byte [rsp + 0x54], 0xe1
mov byte [rsp + 0x55], 0xf6
mov byte [rsp + 0x56], 0xe9
mov byte [rsp + 0x57], 0x86
movzx eax, byte [rsp + 0x50]
mov r9, r13
movabs r13, 0x531d153299eabc88
mov r10, r13
lea rax, [rsp + 0x50]
sub r10, rax
mov r11d, reloc.WS2_32.dll_ntohs
nop word [rax + rax]
lea r8, [rsp + 0x50]
add r8, r9
mov rcx, r9
and ecx, r11d
cmp rcx, r11
cmovae rcx, r11
shl cl, 2
mov rdx, r13
shr rdx, cl
and dl, r11b
lea eax, [r10 + r8]
xor dl, al
movzx eax, byte [r8]
xor dl, al
mov byte [rsp + r9 + 0x50], dl
inc r9
cmp r9, 8
jb 0x14004dc70
xor r13d, r13d
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], r13b
jne 0x14004dcc0
mov rcx, rdi
cmp qword [rdi + 0x18], r11
jbe 0x14004dcd5
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.14003cfa0
cmp rax, 0xffffffffffffffff
je 0x14004dddd
mov rcx, qword [0x1401665c0]
mov ecx, dword [rcx + 8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14004dddd
mov rax, qword [0x1401665d8]
mov rcx, qword [rax + 0xc8]
add rcx, r14
call fcn.1400421e0
test rax, rax
je 0x14004dddd
cmp byte [0x140166511], r13b
je 0x14004dd53
lea rcx, [rbp + 0x90]
call fcn.140074400
mov rcx, qword [rax]
mov qword [0x140166530], rcx
mov byte [0x140166511], r13b
lea rcx, [rbp + 0x98]
call fcn.140074400
mov rcx, qword [rax]
mov qword [0x140166538], rcx
sub rcx, qword [0x140166530]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov dword [0x14016652c], edx
mov rax, qword [0x1401665c0]
mov ecx, dword [rax + 0x24]
lea eax, [rcx + rcx*4]
add eax, eax
cmp edx, eax
jl 0x14004dddd
mov qword [rsp + 0x20], r13
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r13
mov r9d, 4
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov byte [0x140166511], 1
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1400051a0
mov rcx, qword [0x1401665c0]
cvttss2si r9d, dword [rcx + 0x14]
movaps xmm0, xmmword [rbp + 0x70]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp + 0x80], xmm1
movups xmm0, xmmword [rbp + 0x2c0]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm1, qword [rbp + 0x2d0]
movsd qword [rbp + 0xd0], xmm1
movsd xmm0, qword [rbp + 0x20]
movsd xmm2, qword [rbp - 0x50]
unpcklpd xmm0, xmm2
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [rbp + 0xb0]
movsd qword [rbp - 0x60], xmm0
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
movaps xmm2, xmm11
movaps xmm1, xmm6
mov rcx, r12
call fcn.140073ce0
mov rcx, qword [0x1401665c0]
cmp byte [rcx + 0x21], 0
je 0x14004deac
mov ecx, dword [rcx + 4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea rcx, [r15 + 0x68]
test ax, ax
jns 0x14004de9e
xorps xmm1, xmm1
jmp 0x14004dea6
movss xmm1, dword [0x14008f044]
call fcn.140043370
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14004dee2
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14004dedd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004df08
mov rcx, r8
call fcn.14008742c
mov qword [rdi + 0x10], r13
mov eax, reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x18], rax
mov byte [rdi], 0
mov qword [rbp - 0x50], 0xa
lea rcx, [rbp - 0x50]
call fcn.140042790
jmp 0x14004b549
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3