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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
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 [0x180352040]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rdi, rcx
xor esi, esi
mov ecx, dword [0x18035313c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea r13, [0x180358c70]
mov eax, dword [rdx + rax]
cmp dword [0x180358c60], eax
jle 0x180084f48
lea rcx, [0x180358c60]
call fcn.1800ae288
cmp dword [0x180358c60], 0xffffffff
jne 0x180084f48
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [0x180359ff8], rax
mov qword [0x180358c78], rcx
mov edx, 1
movabs r8, 0x5851f42d4c957f2d
nop word [rax + rax]
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, r8
add rcx, rdx
mov qword [r13 + rdx*8 + 8], rcx
inc rdx
cmp rdx, 0x138
jb 0x180084f10
mov dword [0x180358c70], 0x138
lea rcx, [0x180358c60]
call fcn.1800ae21c
cmp byte [rdi + 8], 0
je 0x180085d03
cmp byte [0x1803520e0], 0
je 0x180084f6f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180085d03
cmp byte [0x1803570d8], 0
jne 0x180085d03
mov rax, qword [0x180357760]
cmp byte [rax + 0xd0], 0
je 0x180085d03
mov rcx, qword [0x1803570d0]
test rcx, rcx
je 0x180085d37
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rcx
mov rcx, qword [rax]
mov qword [rbp], rcx
movzx r8d, byte [rax + 0x10]
mov byte [rbp + 0x10], r8b
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180084fe4
test r8b, r8b
je 0x180084fde
mov rax, qword [rcx]
mov r8, qword [rax + 0xa8]
call r8
mov qword [rbp + 8], rax
jmp 0x180084fe8
mov qword [rbp + 8], rdx
jmp 0x180084fe8
mov qword [rbp + 8], rsi
lea rdx, [rbp - 0x58]
lea rcx, [rbp]
call fcn.180069a40
mov rbx, qword [rax + 8]
cmp byte [rbp - 0x48], 0
je 0x180085024
cmp qword [0x1803570d0], 0
je 0x180085024
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x180085024
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test rbx, rbx
je 0x180085077
cmp qword [0x1803570d0], 0
je 0x180085cd6
mov rdx, qword [rdi + 0x60]
test rdx, rdx
je 0x180085cd6
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
cmp byte [rdi + 0x68], 0
je 0x180085064
mov r8, qword [rax + 0xb0]
call r8
mov qword [rdi + 0x60], rsi
jmp 0x180085cd6
mov r8, qword [rax + 0xb8]
call r8
mov qword [rdi + 0x60], rsi
jmp 0x180085cd6
mov rcx, qword [0x180357760]
add rcx, 0x18
call fcn.18006b720
cmp dword [0x1803520d8], eax
je 0x180085cd6
mov rcx, qword [0x180357760]
add rcx, 0x18
call fcn.18006b720
mov dword [0x1803520d8], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [0x180357760]
mov rcx, qword [rax + 0x20]
mov qword [rbp - 0x18], rcx
movzx r8d, byte [rax + 0x30]
mov byte [rbp - 8], r8b
mov rdx, qword [rax + 0x28]
test rdx, rdx
je 0x1800850f0
test r8b, r8b
je 0x1800850ea
mov rax, qword [rcx]
mov r8, qword [rax + 0xa8]
call r8
mov rdx, rax
mov qword [rbp - 0x10], rdx
jmp 0x1800850f4
mov qword [rbp - 0x10], rsi
lea rax, vtable.EntityPlayerSP.0
mov qword [rbp - 0x20], rax
mov rax, qword [0x1803570d0]
mov qword [rdi + 0x58], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x20]
call fcn.18006ab40
cmp dword [0x180352198], 1
je 0x1800851cc
mov rbx, qword [rbp - 0x10]
test rbx, rbx
jne 0x18008513d
xorps xmm6, xmm6
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
jmp 0x1800851cf
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0xc
lea rdx, str.getEyeHeight
lea rcx, [rbp - 0x40]
call fcn.180005930
nop
lea rdx, [rbp - 0x40]
lea rcx, [0x180357578]
call fcn.1800731f0
mov r8, rax
mov rdx, rbx
mov rcx, qword [rbp - 0x18]
call fcn.180068e90
movaps xmm6, xmm0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800851c3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800851be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800851be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ae784
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
jmp 0x1800851cf
xorps xmm0, xmm0
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.18006b0c0
movsd xmm0, qword [0x18033ffe8]
maxsd xmm0, qword [rsp + 0x30]
movsd xmm1, qword [0x18033fee8]
minsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
movsd xmm10, qword [rsp + 0x28]
movsd xmm12, qword [0x18033fff0]
movsd xmm15, qword [0x18033ff08]
comisd xmm12, xmm10
jb 0x18008523c
nop dword [rax]
addsd xmm10, xmm15
comisd xmm12, xmm10
jae 0x180085230
movsd xmm14, qword [0x18033fff8]
movsd xmm11, qword [0x18033ff00]
comisd xmm10, xmm11
jbe 0x18008526c
nop word [rax + rax]
addsd xmm10, xmm14
comisd xmm10, xmm11
ja 0x180085260
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov r14, qword [0x1803570d0]
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x30], rsi
lea rax, vtable.EntityPlayer.0
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x28], xmm0
mov rcx, qword [0x180357760]
add rcx, 0x70
lea rdx, [rbp - 0x58]
call fcn.180087bd0
nop
mov rbx, qword [rbp - 0x58]
mov r15, qword [rbp - 0x10]
movsd xmm9, qword [0x18033fe58]
mov r12, qword [rbp - 0x50]
cmp rbx, r12
je 0x1800855f1
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsp + 0x20], xmm0
nop dword [rax]
cmp qword [rbx + 0x10], 0
je 0x1800855cd
mov rcx, rbx
call fcn.18006b720
cmp eax, 5
jl 0x1800855cd
mov rdx, qword [rbx + 0x10]
cmp rdx, r15
je 0x1800855cd
test rdx, rdx
je 0x18008532f
test r15, r15
je 0x18008532f
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
mov r8, r15
call r9
cmp al, 1
je 0x1800855cd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.18006b7f0
nop
lea rcx, [rbp - 0x70]
call fcn.18006c5e0
movaps xmm8, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c370
subsd xmm8, xmm0
mulsd xmm8, xmm9
lea rcx, [rbp - 0x70]
call fcn.18006c780
movaps xmm7, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c510
subsd xmm7, xmm0
mulsd xmm7, xmm9
lea rcx, [rbp - 0x70]
call fcn.18006c6b0
movaps xmm6, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c440
subsd xmm6, xmm0
mulsd xmm6, xmm9
lea rcx, [rbp - 0x70]
call fcn.18006c510
movaps xmm13, xmm0
addsd xmm13, xmm7
lea rcx, [rbp - 0x70]
call fcn.18006c440
movaps xmm7, xmm0
addsd xmm7, xmm6
lea rcx, [rbp - 0x70]
call fcn.18006c370
movaps xmm9, xmm0
addsd xmm9, xmm8
cmp byte [rbp - 0x60], 0
je 0x180085404
cmp qword [0x1803570d0], 0
je 0x180085404
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x180085404
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
subsd xmm13, qword [rsp + 0x48]
subsd xmm7, qword [rsp + 0x40]
subsd xmm9, qword [rsp + 0x38]
movaps xmm6, xmm9
mulsd xmm6, xmm9
movaps xmm8, xmm13
mulsd xmm8, xmm13
movaps xmm1, xmm7
mulsd xmm1, xmm7
addsd xmm1, xmm6
addsd xmm1, xmm8
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x18008544c
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x180085454
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [rdi + 0x2c]
cvtps2pd xmm1, xmm1
comisd xmm0, xmm1
ja 0x1800855c4
movss xmm1, dword [rdi + 0x28]
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
ja 0x1800855c4
addsd xmm6, xmm8
xorps xmm0, xmm0
ucomisd xmm0, xmm6
ja 0x18008548f
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x180085497
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm7, xmmword [0x1803408f0]
divsd xmm7, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm7, xmm0
xorps xmm0, xmm0
xorps xmm6, xmm6
movsd xmm8, qword [0x18033fee0]
mulsd xmm7, xmm8
ucomisd xmm9, xmm0
jp 0x1800854ca
je 0x1800854e7
movaps xmm1, xmm9
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm6, xmm0
subsd xmm6, qword [0x18033fe78]
mulsd xmm6, xmm8
subsd xmm7, qword [rsp + 0x50]
subsd xmm6, xmm10
movsd xmm1, qword [0x18033ffe8]
maxsd xmm1, xmm7
movsd xmm8, qword [0x18033fee8]
minsd xmm8, xmm1
comisd xmm12, xmm6
jb 0x18008551f
addsd xmm6, xmm15
comisd xmm12, xmm6
jae 0x180085513
comisd xmm6, xmm11
jbe 0x18008553c
nop word [rax + rax]
addsd xmm6, xmm14
comisd xmm6, xmm11
ja 0x180085530
movaps xmm7, xmm6
movsd xmm1, qword [0x1803408e0]
andps xmm7, xmm1
movss xmm0, dword [rdi + 0x30]
cvtps2pd xmm0, xmm0
comisd xmm7, xmm0
ja 0x1800855c4
cmp byte [rdi + 0x71], 0
je 0x180085592
mov r8, qword [rdi + 0x60]
test r8, r8
je 0x180085592
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
je 0x1800855dc
test rdx, rdx
je 0x180085592
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x1800855dc
movsd xmm1, qword [0x1803408e0]
test rsi, rsi
je 0x1800855a6
movsd xmm0, qword [rsp + 0x20]
andps xmm0, xmm1
comisd xmm0, xmm7
jbe 0x1800855c4
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x38]
call fcn.180068cd0
movsd qword [rsp + 0x20], xmm6
movsd qword [rsp + 0x30], xmm8
mov rsi, qword [rbp - 0x30]
movsd xmm9, qword [0x18033fe58]
add rbx, 0x20
cmp rbx, r12
jne 0x1800852e0
jmp 0x1800855ed
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x38]
call fcn.180068cd0
mov rsi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.180086560
test rsi, rsi
je 0x180085c83
cmp byte [rdi + 0x71], 0
je 0x180085616
lea rcx, [rdi + 0x58]
lea rdx, [rbp - 0x38]
call fcn.180068cd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 0xb
lea rdx, str.boundingBox
lea rcx, [rsp + 0x60]
call fcn.180005930
nop
lea rdx, [rsp + 0x60]
lea rcx, [0x180357578]
call fcn.180073150
mov rcx, qword [r14]
mov r9, qword [rcx + 0x2f8]
mov r8, rax
mov rdx, rsi
mov rcx, r14
call r9
mov qword [rbp - 0x70], r14
mov byte [rbp - 0x60], 0
mov qword [rbp - 0x68], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1800856b3
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800856ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800856ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ae784
nop
lea rcx, [rbp - 0x70]
call fcn.18006c370
movsd qword [rsp + 0x20], xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c440
movsd qword [rsp + 0x58], xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c510
movaps xmm9, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c5e0
movaps xmm8, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c6b0
movaps xmm7, xmm0
lea rcx, [rbp - 0x70]
call fcn.18006c780
movaps xmm6, xmm0
cmp byte [rbp - 0x60], 0
je 0x18008572e
cmp qword [0x1803570d0], 0
je 0x18008572e
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x18008572e
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
movss xmm0, dword [rdi + 0x48]
divss xmm0, dword [0x18033ff54]
cvtps2pd xmm13, xmm0
movss xmm0, dword [rdi + 0x44]
divss xmm0, dword [0x18033ff54]
cvtps2pd xmm2, xmm0
subsd xmm6, xmm9
movsd xmm1, qword [0x18033fe58]
mulsd xmm6, xmm1
addsd xmm9, xmm6
movsd xmm5, qword [rsp + 0x58]
subsd xmm7, xmm5
mulsd xmm7, xmm1
addsd xmm5, xmm7
movsd xmm0, qword [rsp + 0x20]
subsd xmm8, xmm0
mulsd xmm8, xmm1
addsd xmm0, xmm8
movsd qword [rsp + 0x20], xmm0
movaps xmm1, xmm2
mulsd xmm1, xmm6
mulsd xmm13, xmm7
mulsd xmm2, xmm8
movaps xmm3, xmm9
subsd xmm3, xmm1
movsd qword [rbp - 0x80], xmm3
movaps xmm4, xmm5
subsd xmm4, xmm13
movsd qword [rbp - 0x78], xmm4
subsd xmm0, xmm2
movsd qword [rbp - 0x70], xmm0
unpcklpd xmm0, xmm4
movups xmmword [rbp + 0x18], xmm0
movsd qword [rbp - 0x48], xmm3
movsd qword [rbp + 0x28], xmm3
addsd xmm1, xmm9
movsd qword [rsp + 0x58], xmm1
addsd xmm13, xmm5
addsd xmm2, qword [rsp + 0x20]
movsd qword [rsp + 0x20], xmm2
movaps xmm0, xmm2
unpcklpd xmm0, xmm13
movups xmmword [rbp + 0x30], xmm0
movsd qword [rbp - 0x48], xmm1
movsd qword [rbp + 0x40], xmm1
movaps xmm8, xmm10
mulsd xmm8, qword [0x18033fe20]
movsd xmm6, qword [rsp + 0x50]
mulsd xmm6, qword [0x18033fe20]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm9, xmm0
mulsd xmm9, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm6, xmm0
xorps xmm6, xmmword [0x1803408f0]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmmword [0x1803408f0]
mulsd xmm0, xmm7
addsd xmm9, qword [rsp + 0x48]
movsd xmm8, qword [rsp + 0x40]
addsd xmm6, xmm8
addsd xmm0, qword [rsp + 0x38]
movsd qword [rbp - 0x58], xmm0
movsd qword [rbp - 0x50], xmm6
movsd qword [rbp - 0x48], xmm9
lea r9, [rbp - 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x18]
call fcn.180082d20
cmp byte [rsp + 0x60], 0
jne 0x180085c83
movsd xmm7, qword [rsp + 0x58]
subsd xmm7, qword [rbp - 0x80]
movsd xmm1, qword [0x18033fe58]
mulsd xmm7, xmm1
addsd xmm7, qword [rbp - 0x80]
subsd xmm13, qword [rbp - 0x78]
mulsd xmm13, xmm1
addsd xmm13, qword [rbp - 0x78]
movsd xmm6, qword [rsp + 0x20]
subsd xmm6, qword [rbp - 0x70]
mulsd xmm6, xmm1
addsd xmm6, qword [rbp - 0x70]
movsd xmm2, qword [rsp + 0x78]
subsd xmm7, xmm2
movsd xmm3, qword [rsp + 0x70]
subsd xmm13, xmm3
movsd xmm4, qword [rsp + 0x68]
subsd xmm6, xmm4
mov rcx, r13
call fcn.18008bb10
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x18008592d
cvtsi2sd xmm0, rax
jmp 0x18008593f
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm1, xmm1
subsd xmm0, xmm1
addsd xmm0, xmm1
mulsd xmm0, qword [0x18033fd68]
mulsd xmm0, qword [0x18033fe50]
subsd xmm0, qword [0x18033fe48]
mulsd xmm7, xmm0
mulsd xmm13, xmm0
mulsd xmm6, xmm0
addsd xmm7, xmm2
addsd xmm13, xmm3
subsd xmm7, qword [rsp + 0x48]
subsd xmm13, xmm8
addsd xmm6, xmm4
subsd xmm6, qword [rsp + 0x38]
movaps xmm1, xmm7
mulsd xmm1, xmm7
movaps xmm0, xmm6
mulsd xmm0, xmm6
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x1800859ae
sqrtpd xmm0, xmm1
jmp 0x1800859b6
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm13, xmmword [0x1803408f0]
divsd xmm13, xmm0
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm8, xmm0
xorps xmm13, xmm13
xorps xmm9, xmm9
mulsd xmm8, qword [0x18033fee0]
ucomisd xmm6, xmm13
jp 0x1800859ea
je 0x180085a0b
movaps xmm1, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
subsd xmm9, qword [0x18033fe78]
mulsd xmm9, qword [0x18033fee0]
movsd xmm7, qword [rsp + 0x50]
subsd xmm8, xmm7
subsd xmm9, xmm10
movsd xmm0, qword [0x18033ffe8]
maxsd xmm0, xmm8
movsd xmm1, qword [0x18033fee8]
minsd xmm1, xmm0
movsd qword [rbp - 0x70], xmm1
comisd xmm12, xmm9
jb 0x180085a4c
addsd xmm9, xmm15
comisd xmm12, xmm9
jae 0x180085a40
comisd xmm9, xmm11
jbe 0x180085a5f
addsd xmm9, xmm14
comisd xmm9, xmm11
ja 0x180085a53
addsd xmm7, xmm13
addsd xmm10, xmm9
mulsd xmm10, qword [0x18033fe20]
mulsd xmm7, qword [0x18033fe20]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm8, xmm0
mulsd xmm8, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm7, xmm0
movsd xmm11, qword [0x1803408f0]
xorps xmm7, xmm11
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm0, xmm11
mulsd xmm0, xmm6
addsd xmm8, qword [rsp + 0x48]
addsd xmm7, qword [rsp + 0x40]
addsd xmm0, qword [rsp + 0x38]
unpcklpd xmm0, xmm7
movups xmmword [rbp - 0x58], xmm0
movsd qword [rsp + 0x70], xmm8
movsd qword [rbp - 0x48], xmm8
lea r9, [rbp - 0x58]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x18]
call fcn.180082d20
mov eax, dword [rax]
test al, al
jne 0x180085b12
movsd xmm0, qword [rbp - 0x70]
movsd qword [rsp + 0x30], xmm0
jmp 0x180085b19
movsd qword [rsp + 0x30], xmm13
movsd qword [rsp + 0x28], xmm9
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1800860b0
movsd xmm7, qword [rbp - 0x70]
cmp byte [rdi + 0x70], 0
jne 0x180085c4a
movaps xmm0, xmm7
movsd xmm4, qword [0x1803408e0]
andps xmm0, xmm4
movsd xmm2, qword [0x18033fe38]
comisd xmm0, xmm2
jbe 0x180085c4a
mov rcx, r13
call fcn.18008bb10
mov rcx, rax
xorps xmm1, xmm1
test rax, rax
js 0x180085b7a
cvtsi2sd xmm1, rax
jmp 0x180085b8c
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
subsd xmm1, xmm13
addsd xmm1, xmm13
movsd xmm3, qword [0x18033fd68]
mulsd xmm1, xmm3
mulsd xmm1, xmm2
addsd xmm1, xmm13
movsd xmm2, qword [0x1803520d0]
addsd xmm1, xmm2
movsd xmm6, qword [rbp - 0x68]
addsd xmm6, xmm1
andps xmm1, xmm4
movsd xmm0, qword [0x1803570f0]
addsd xmm0, xmm1
movsd qword [0x1803570f0], xmm0
comisd xmm0, xmmword [0x1803520c0]
jb 0x180085c4f
mov rcx, r13
call fcn.18008bb10
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x180085bfb
cvtsi2sd xmm0, rax
jmp 0x180085c0d
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
subsd xmm0, xmm13
addsd xmm0, xmm13
mulsd xmm0, xmm3
mulsd xmm0, qword [0x18033fe98]
addsd xmm0, qword [0x18033fe90]
movsd qword [0x1803520c0], xmm0
xorps xmm2, xmm11
movsd qword [0x1803520d0], xmm2
movsd qword [0x1803570f0], xmm13
jmp 0x180085c4f
movsd xmm6, qword [rbp - 0x68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.18006b0c0
addsd xmm6, qword [rax + 8]
addsd xmm7, qword [rax]
movsd qword [rsp + 0x28], xmm7
movsd qword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.18006bdb0
mov r15, qword [rbp - 0x10]
cmp byte [rbp - 0x28], 0
je 0x180085cac
cmp qword [0x1803570d0], 0
je 0x180085cac
test rsi, rsi
je 0x180085cac
mov rax, qword [r14]
mov r8, qword [rax + 0xb0]
mov rdx, rsi
mov rcx, r14
call r8
nop
cmp byte [rbp - 8], 0
je 0x180085cd6
cmp qword [0x1803570d0], 0
je 0x180085cd6
test r15, r15
je 0x180085cd6
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
mov rdx, r15
call r8
nop
cmp byte [rbp + 0x10], 0
je 0x180085d01
cmp qword [0x1803570d0], 0
je 0x180085d01
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x180085d01
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
jmp 0x180085d37
mov rcx, qword [0x1803570d0]
test rcx, rcx
je 0x180085d37
mov rdx, qword [rdi + 0x60]
test rdx, rdx
je 0x180085d37
mov rcx, qword [rdi + 0x58]
mov rax, qword [rcx]
cmp byte [rdi + 0x68], 0
je 0x180085d2d
call qword [rax + 0xb0]
jmp 0x180085d33
call qword [rax + 0xb8]
mov qword [rdi + 0x60], rsi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1800ae1c0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
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]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret