Function at 0x180081a70
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

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 - 0xe8]
sub rsp, 0x1c0
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 [0x180315280]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x48], r13d
lea ebx, [r13 + 1]
cmp byte [rcx + 0x50], r13b
je 0x180081b2e
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180081b2e
cmp byte [0x180316798], sil
jne 0x180081b2e
lea rdx, [rbp - 0x78]
mov rcx, qword [0x180316800]
call fcn.180065ec0
mov esi, ebx
cmp qword [rax + 8], r13
jne 0x180081b2e
xor r14b, r14b
jmp 0x180081b32
movzx r14d, bl
test bl, sil
je 0x180081b62
cmp byte [rbp - 0x68], 0
je 0x180081b62
cmp qword [0x180316340], 0
je 0x180081b62
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x180081b62
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test r14b, r14b
je 0x180081bb9
cmp qword [0x180316340], 0
je 0x180082a9f
mov rdx, qword [rdi + 0x80]
test rdx, rdx
je 0x180082a9f
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
cmp byte [rdi + 0x88], 0
je 0x180081ba7
call qword [rax + 0xb0]
mov qword [rdi + 0x80], r13
jmp 0x180082a9f
call qword [rax + 0xb8]
mov qword [rdi + 0x80], r13
jmp 0x180082a9f
mov ecx, dword [0x180316334]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180318438], ecx
jle 0x180081c22
lea rcx, [0x180318438]
call fcn.1800a9ad8
cmp dword [0x180318438], 0xffffffff
jne 0x180081c22
mov qword [0x180318440], r13
lea rcx, [rbp - 0x80]
call fcn.18009abf0
mov rdx, qword [rax]
mov qword [0x180318440], rdx
mov qword [0x180318448], 0xa
lea rcx, [0x180318438]
call fcn.1800a9a6c
lea rcx, [rbp - 0x80]
call fcn.18009abf0
mov rcx, qword [rbp - 0x80]
mov rdx, rcx
sub rdx, qword [0x180318440]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x180318448]
je 0x180081c6f
mov r8d, 0xff
cmovl ebx, r8d
test bl, bl
js 0x180082a9f
mov qword [0x180318440], rcx
cmp byte [rdi + 0x64], 0
jne 0x180082a9f
mov rcx, qword [0x180316800]
add rcx, 0x18
lea rdx, [rsp + 0x38]
call fcn.1800672c0
mov rcx, qword [0x180316800]
add rcx, 0x18
call fcn.180068160
movss xmm8, dword [rsp + 0x3c]
addss xmm8, xmm0
movss dword [rsp + 0x28], xmm8
mov rcx, qword [0x180316800]
add rcx, 0x18
lea rdx, [rsp + 0x20]
call fcn.180067920
movss xmm6, dword [rsp + 0x20]
movaps xmm0, xmm6
movss xmm13, dword [0x180304538]
movss xmm12, dword [0x18030448c]
comiss xmm13, xmm6
jb 0x180081cfb
nop
addss xmm0, xmm12
comiss xmm13, xmm0
jae 0x180081cf0
movss xmm15, dword [0x18030453c]
movss xmm9, dword [0x18030447c]
comiss xmm0, xmm9
jbe 0x180081d1e
addss xmm0, xmm15
comiss xmm0, xmm9
ja 0x180081d13
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x24]
cvtps2pd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov r14, r13
mov qword [rbp - 0x50], r13
mov byte [rbp - 0x48], r14b
mov r15, qword [0x180316340]
mov qword [rbp - 0x58], r15
lea rax, vtable.EntityPlayer.0
mov qword [rbp - 0x60], rax
movsd qword [rbp - 0x80], xmm0
movsd qword [rsp + 0x30], xmm0
mov rcx, qword [0x180316800]
add rcx, 0x70
lea rdx, [rbp - 0x40]
call fcn.1800831a0
nop
mov rsi, qword [rbp - 0x40]
movsd xmm7, qword [0x1803042f8]
xorps xmm14, xmm14
mov r12, qword [rbp - 0x38]
cmp rsi, r12
je 0x180082233
mov rax, qword [0x180316800]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
cmp rdx, r8
je 0x1800821d7
test rdx, rdx
je 0x180081ddb
test r8, r8
je 0x180081ddb
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x1800821d7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.180068050
nop
lea rcx, [rbp - 0x78]
call fcn.1800699e0
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.180069770
subss xmm6, xmm0
cvtss2sd xmm6, xmm6
mulsd xmm6, xmm7
lea rcx, [rbp - 0x78]
call fcn.180069770
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
addsd xmm1, xmm6
cvtpd2ps xmm10, xmm1
lea rcx, [rbp - 0x78]
call fcn.180069910
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800696a0
subss xmm6, xmm0
cvtss2sd xmm6, xmm6
mulsd xmm6, xmm7
lea rcx, [rbp - 0x78]
call fcn.1800696a0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
addsd xmm1, xmm6
cvtpd2ps xmm11, xmm1
lea rcx, [rbp - 0x78]
call fcn.180069840
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800695d0
subss xmm6, xmm0
cvtss2sd xmm6, xmm6
mulsd xmm6, xmm7
lea rcx, [rbp - 0x78]
call fcn.1800695d0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
addsd xmm1, xmm6
cvtpd2ps xmm6, xmm1
mov rcx, qword [0x180316800]
add rcx, 0xa0
call fcn.180069dc0
movaps xmm7, xmm0
cmp qword [rsi + 0x10], 0
jne 0x180081ecd
movaps xmm0, xmm14
movaps xmm1, xmm14
movaps xmm2, xmm14
jmp 0x180081f12
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1800672c0
mov rbx, rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800676c0
movss xmm1, dword [rbx + 8]
subss xmm1, dword [rax + 8]
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
movss xmm2, dword [rbx]
subss xmm2, dword [rax]
mulss xmm1, xmm7
mulss xmm0, xmm7
mulss xmm2, xmm7
addss xmm10, xmm1
addss xmm11, xmm0
addss xmm6, xmm2
movaps xmm7, xmm10
subss xmm7, dword [rsp + 0x40]
movaps xmm12, xmm11
subss xmm12, xmm8
movaps xmm8, xmm6
subss xmm8, dword [rsp + 0x38]
movaps xmm1, xmm8
mulss xmm1, xmm8
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180081f63
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180081f6b
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm12, xmm0
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm12, xmm0
movaps xmm0, xmm14
mulss xmm12, dword [0x180304444]
mulss xmm12, dword [0x1803044f8]
ucomiss xmm8, xmm14
jp 0x180081f9b
je 0x180081fcc
divss xmm7, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
comiss xmm14, xmm8
jbe 0x180081fb8
movss xmm1, dword [0x180304454]
jmp 0x180081fc0
movss xmm1, dword [0x180304530]
mulss xmm0, dword [0x180304444]
addss xmm0, xmm1
xorps xmm8, xmm8
cvtss2sd xmm8, xmm12
subsd xmm8, qword [rsp + 0x48]
cvtss2sd xmm0, xmm0
subsd xmm0, qword [rsp + 0x58]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm12, dword [0x18030448c]
comiss xmm13, xmm1
jb 0x18008200b
nop dword [rax]
addss xmm1, xmm12
comiss xmm13, xmm1
jae 0x180082000
comiss xmm1, xmm9
jbe 0x18008201c
addss xmm1, xmm15
comiss xmm1, xmm9
ja 0x180082011
xorps xmm7, xmm7
cvtss2sd xmm7, xmm1
subss xmm10, dword [rsp + 0x40]
subss xmm11, dword [rsp + 0x28]
subss xmm6, dword [rsp + 0x38]
mulss xmm6, xmm6
mulss xmm11, xmm11
addss xmm6, xmm11
mulss xmm10, xmm10
addss xmm6, xmm10
xorps xmm0, xmm0
ucomiss xmm0, xmm6
ja 0x180082060
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x180082068
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [rdi + 0x58]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x180082124
comisd xmm1, xmmword [0x1803042f8]
jbe 0x180082124
movaps xmm6, xmm7
movsd xmm10, qword [0x1803047d0]
andps xmm6, xmm10
movss xmm0, dword [rdi + 0x5c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm6
jb 0x180082124
cmp qword [rdi + 0x80], 0
je 0x1800820ee
mov rdx, qword [rdi + 0x80]
mov r8, qword [rsi + 0x10]
cmp rdx, r8
je 0x1800821e6
test rdx, rdx
je 0x1800820ee
test r8, r8
je 0x1800820ee
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x1800821e6
test r14, r14
je 0x180082106
movsd xmm0, qword [rbp - 0x80]
andps xmm0, xmm10
comisd xmm0, xmm6
jbe 0x18008219d
mov r15, qword [rsi + 8]
mov qword [rbp - 0x58], r15
mov r14, qword [rsi + 0x10]
mov qword [rbp - 0x50], r14
movsd qword [rbp - 0x80], xmm7
movsd qword [rsp + 0x30], xmm8
jmp 0x18008219d
cmp qword [rdi + 0x80], 0
je 0x18008219d
mov rdx, qword [rdi + 0x80]
mov r8, qword [rsi + 0x10]
cmp rdx, r8
je 0x18008215d
test rdx, rdx
je 0x18008219d
test r8, r8
je 0x18008219d
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
jne 0x18008219d
cmp qword [0x180316340], 0
je 0x18008219d
mov rdx, qword [rdi + 0x80]
test rdx, rdx
je 0x18008219d
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
cmp byte [rdi + 0x88], 0
je 0x18008218c
mov r8, qword [rax + 0xb0]
jmp 0x180082193
mov r8, qword [rax + 0xb8]
call r8
mov qword [rdi + 0x80], r13
cmp byte [rbp - 0x68], 0
je 0x1800821c8
cmp qword [0x180316340], 0
je 0x1800821c8
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x1800821c8
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
movss xmm8, dword [rsp + 0x28]
movsd xmm7, qword [0x1803042f8]
add rsi, 0x20
cmp rsi, r12
jne 0x180081da0
jmp 0x18008222d
mov r15, qword [rsi + 8]
mov qword [rbp - 0x58], r15
mov r14, qword [rsi + 0x10]
mov qword [rbp - 0x50], r14
movsd qword [rbp - 0x80], xmm7
movsd qword [rsp + 0x30], xmm8
cmp byte [rbp - 0x68], 0
je 0x18008222d
cmp qword [0x180316340], 0
je 0x18008222d
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x18008222d
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
movss xmm6, dword [rsp + 0x20]
lea rcx, [rbp - 0x40]
call fcn.1800830e0
test r14, r14
je 0x180082a76
mov eax, dword [rdi + 0x90]
cmp eax, 2
jne 0x1800829b0
lea rcx, [rdi + 0x78]
lea rdx, [rbp - 0x58]
call fcn.180065130
mov rcx, qword [0x180316800]
add rcx, 0xa0
call fcn.180069dc0
movaps xmm6, xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.1800672c0
mov rbx, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.1800676c0
movss xmm10, dword [rbx + 8]
subss xmm10, dword [rax + 8]
movss xmm8, dword [rbx + 4]
subss xmm8, dword [rax + 4]
movss xmm11, dword [rbx]
subss xmm11, dword [rax]
mulss xmm10, xmm6
movss dword [rsp + 0x50], xmm10
mulss xmm8, xmm6
movss dword [rsp + 0x58], xmm8
mulss xmm11, xmm6
movss dword [rsp + 0x48], xmm11
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov r14, qword [rbp - 0x50]
test r14, r14
jne 0x180082306
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x68], al
mov r15, qword [rbp - 0x58]
mov qword [rbp - 0x78], r15
jmp 0x1800823ae
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 0xb
lea rdx, str.boundingBox
lea rcx, [rbp - 0x40]
call fcn.180004ea0
nop
lea rdx, [rbp - 0x40]
lea rcx, [0x180316940]
call fcn.180072650
mov r15, qword [rbp - 0x58]
mov rcx, qword [r15]
mov r9, qword [rcx + 0x2f8]
mov r8, rax
mov rdx, r14
mov rcx, r15
call r9
mov qword [rbp - 0x78], r15
mov byte [rbp - 0x68], 0
mov qword [rbp - 0x70], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x18008239d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082398
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180082398
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a9fd4
movdqa xmm0, xmmword [0x180304580]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
lea rcx, [rbp - 0x78]
call fcn.1800699e0
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800696a0
movaps xmm7, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800695d0
movaps xmm2, xmm10
addss xmm2, xmm6
movaps xmm1, xmm8
addss xmm1, xmm7
addss xmm0, xmm11
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm2
lea rcx, [rbp - 0x78]
call fcn.180069770
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800696a0
movaps xmm7, xmm0
lea rcx, [rbp - 0x78]
call fcn.180069840
movaps xmm2, xmm10
addss xmm2, xmm6
movaps xmm1, xmm8
addss xmm1, xmm7
addss xmm0, xmm11
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm2
lea rcx, [rbp - 0x78]
call fcn.1800699e0
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800696a0
movaps xmm7, xmm0
lea rcx, [rbp - 0x78]
call fcn.180069840
movaps xmm2, xmm10
addss xmm2, xmm6
movaps xmm1, xmm8
addss xmm1, xmm7
addss xmm0, xmm11
movss dword [rbp - 8], xmm0
movss dword [rbp - 4], xmm1
movss dword [rbp], xmm2
lea rcx, [rbp - 0x78]
call fcn.180069770
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800696a0
movaps xmm7, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800695d0
movaps xmm2, xmm10
addss xmm2, xmm6
movaps xmm1, xmm8
addss xmm1, xmm7
addss xmm0, xmm11
movss dword [rbp + 4], xmm0
movss dword [rbp + 8], xmm1
movss dword [rbp + 0xc], xmm2
movsd xmm11, qword [0x1803043c8]
movsd xmm10, qword [0x180304508]
lea rbx, [rbp - 0x20]
xorps xmm15, xmm15
movss xmm9, dword [rsp + 0x28]
movsd xmm6, qword [rbx]
movss xmm8, dword [rbx + 8]
subss xmm8, dword [rsp + 0x40]
movaps xmm7, xmm6
shufps xmm7, xmm7, 0x55
subss xmm7, xmm9
subss xmm6, dword [rsp + 0x38]
movaps xmm1, xmm6
mulss xmm1, xmm6
movaps xmm0, xmm8
mulss xmm0, xmm8
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x18008252b
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180082533
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm7, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
movaps xmm7, xmm0
movaps xmm0, xmm14
mulss xmm7, dword [0x180304444]
mulss xmm7, dword [0x1803044f8]
ucomiss xmm6, xmm14
jp 0x18008255e
je 0x180082590
divss xmm8, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
comiss xmm14, xmm6
jbe 0x18008257c
movss xmm1, dword [0x180304454]
jmp 0x180082584
movss xmm1, dword [0x180304530]
mulss xmm0, dword [0x180304444]
addss xmm0, xmm1
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
comisd xmm15, xmm1
jbe 0x1800825a6
addsd xmm1, qword [0x1803043c0]
movaps xmm0, xmm1
minsd xmm0, xmm11
movaps xmm11, xmm0
maxsd xmm1, xmm10
movaps xmm10, xmm1
xorps xmm8, xmm8
cvtss2sd xmm8, xmm7
add rbx, 0xc
lea rax, [rbp + 0x10]
cmp rbx, rax
jne 0x1800824e3
movsd xmm0, qword [0x180304520]
movsd xmm1, qword [0x1803043a8]
comisd xmm11, xmm1
movss xmm9, dword [0x18030447c]
movss xmm15, dword [0x18030453c]
jbe 0x180082603
addsd xmm11, xmm0
comisd xmm10, xmm1
jbe 0x18008260f
addsd xmm10, xmm0
lea rcx, [rbp - 0x78]
call fcn.1800699e0
movaps xmm6, xmm0
lea rcx, [rbp - 0x78]
call fcn.180069910
movaps xmm7, xmm0
lea rcx, [rbp - 0x78]
call fcn.180069840
movaps xmm1, xmm0
movss xmm0, dword [rsp + 0x50]
addss xmm0, xmm6
movss xmm6, dword [rsp + 0x58]
addss xmm6, xmm7
addss xmm1, dword [rsp + 0x48]
subss xmm0, dword [rsp + 0x40]
subss xmm6, dword [rsp + 0x28]
subss xmm1, dword [rsp + 0x38]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x18008267c
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180082684
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atanf
mulss xmm0, dword [0x180304444]
mulss xmm0, dword [0x1803044f8]
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x48], xmm0
subsd xmm10, xmm11
cvtpd2ps xmm0, xmm10
comiss xmm13, xmm0
jb 0x1800826cb
nop word [rax + rax]
addss xmm0, xmm12
comiss xmm13, xmm0
jae 0x1800826c0
comiss xmm0, xmm9
jbe 0x1800826dc
addss xmm0, xmm15
comiss xmm0, xmm9
ja 0x1800826d1
andps xmm0, xmmword [0x1803047c0]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x1803042f8]
movsd xmm5, qword [rbp - 0x80]
movaps xmm0, xmm5
andps xmm0, xmmword [0x1803047d0]
movaps xmm4, xmm0
subsd xmm4, xmm1
movsd xmm13, qword [0x1803043e0]
movsd xmm6, qword [0x1803043d0]
movsd xmm15, qword [0x1803043b8]
movsd xmm14, qword [0x180304378]
movsd xmm11, qword [0x180304348]
movsd xmm12, qword [0x1803043b0]
movsd xmm10, qword [0x180304358]
movsd xmm9, qword [0x180304370]
movsd xmm3, qword [0x180304398]
movsd xmm7, qword [0x180304328]
movsd xmm2, qword [0x180304310]
comisd xmm0, xmm1
jbe 0x180082867
comisd xmm7, xmm4
jbe 0x1800827a1
comisd xmm5, xmmword [0x1803041e0]
movsd xmm5, qword [0x180304508]
jbe 0x180082795
movaps xmm1, xmm2
mulsd xmm1, xmm4
jmp 0x18008283d
movaps xmm1, xmm5
mulsd xmm1, xmm4
jmp 0x18008283d
movss xmm0, dword [rdi + 0x60]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x1800827cc
mulsd xmm0, xmm13
cvttsd2si ecx, xmm0
mulsd xmm1, xmm6
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], ecx
jmp 0x18008280a
comisd xmm4, xmm10
jb 0x1800827ec
mulsd xmm0, xmm6
cvttsd2si ecx, xmm0
mulsd xmm1, xmm15
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], ecx
jmp 0x18008280a
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
comisd xmm4, xmm11
jb 0x180082856
mulsd xmm1, xmm12
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], ecx
mov dword [rbp - 0x7c], eax
comisd xmm5, xmmword [0x1803041e0]
movsd xmm5, qword [0x180304508]
jbe 0x180082821
movaps xmm0, xmm2
jmp 0x180082824
movaps xmm0, xmm5
lea rcx, [rbp - 0x80]
call fcn.180083410
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm3
mulsd xmm1, xmm0
movss xmm0, dword [rsp + 0x20]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x20], xmm0
jmp 0x18008286f
mulsd xmm1, xmm14
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], ecx
jmp 0x18008280a
movsd xmm5, qword [0x180304508]
subsd xmm8, qword [rsp + 0x48]
andps xmm8, xmmword [0x1803047d0]
mulsd xmm8, qword [0x1803042f8]
movsd xmm1, qword [rsp + 0x30]
movaps xmm0, xmm1
andps xmm0, xmmword [0x1803047d0]
movaps xmm4, xmm0
subsd xmm4, xmm8
comisd xmm0, xmm8
jbe 0x180082980
comisd xmm7, xmm4
jbe 0x1800828d7
comisd xmm1, xmmword [0x1803041e0]
ja 0x1800828bd
movaps xmm2, xmm5
mulsd xmm2, xmm4
movss xmm0, dword [rsp + 0x24]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
jmp 0x18008297a
movss xmm0, dword [rdi + 0x68]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x1800828f8
mulsd xmm0, xmm13
cvttsd2si ecx, xmm0
mulsd xmm1, xmm6
jmp 0x180082933
comisd xmm4, xmm10
jb 0x18008290e
mulsd xmm0, xmm6
cvttsd2si ecx, xmm0
mulsd xmm1, xmm15
jmp 0x180082933
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
comisd xmm4, xmm11
jb 0x18008292e
mulsd xmm1, xmm12
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], ecx
mov dword [rbp - 0x7c], eax
jmp 0x18008293d
mulsd xmm1, xmm14
cvttsd2si eax, xmm1
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], ecx
movsd xmm0, qword [rsp + 0x30]
comisd xmm0, xmmword [0x1803041e0]
ja 0x180082950
movaps xmm2, xmm5
lea rcx, [rbp - 0x80]
call fcn.180083410
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movss xmm0, dword [rsp + 0x24]
divsd xmm1, xmm3
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
cmp byte [rbp - 0x68], 0
je 0x1800829ab
cmp qword [0x180316340], 0
je 0x1800829ab
mov rdx, qword [rbp - 0x70]
test rdx, rdx
je 0x1800829ab
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
jmp 0x180082a60
test eax, eax
jne 0x180082a60
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.1800672c0
movsd xmm0, qword [rax]
subss xmm0, dword [rsp + 0x38]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movss xmm0, dword [rax + 8]
subss xmm0, dword [rsp + 0x40]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, xmm9
cvtps2pd xmm2, xmm1
divsd xmm2, qword [0x180304338]
cvtpd2ps xmm0, xmm2
subss xmm0, dword [0x180304454]
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmmword [0x1803047f0]
comiss xmm13, xmm1
jb 0x180082a2c
addss xmm1, xmm12
comiss xmm13, xmm1
jae 0x180082a21
comiss xmm1, xmm9
jbe 0x180082a3d
addss xmm1, xmm15
comiss xmm1, xmm9
ja 0x180082a32
movss xmm0, dword [0x180304420]
divss xmm0, dword [rdi + 0x60]
divss xmm1, xmm0
addss xmm6, xmm1
movss dword [rsp + 0x20], xmm6
mov r14, qword [rbp - 0x50]
mov r15, qword [rbp - 0x58]
mov rcx, qword [0x180316800]
add rcx, 0x18
lea rdx, [rsp + 0x20]
call fcn.1800687e0
nop
cmp byte [rbp - 0x48], 0
je 0x180082a9f
cmp qword [0x180316340], 0
je 0x180082a9f
test r14, r14
je 0x180082a9f
mov rax, qword [r15]
mov r8, qword [rax + 0xb0]
mov rdx, r14
mov rcx, r15
call r8
nop
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800a9a10
lea r11, [rsp + 0x1c0]
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