Function at 0x180080c20
Capabilities:
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 - 0x158]
sub rsp, 0x230
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 [0x180310040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r13, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x50], r14d
lea ebx, [r14 + 1]
cmp byte [rcx + 8], r14b
je 0x180080ce1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180080ce1
cmp byte [0x1803116d2], dil
jne 0x180080ce1
lea rdx, [rbp]
mov rcx, qword [0x180313058]
call fcn.180066b20
mov edi, ebx
cmp qword [rax + 8], r14
jne 0x180080ce1
xor sil, sil
jmp 0x180080ce4
movzx esi, bl
test bl, dil
je 0x180080d14
cmp byte [rbp + 0x10], 0
je 0x180080d14
cmp qword [0x180311120], 0
je 0x180080d14
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x180080d14
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test sil, sil
je 0x180080d60
cmp qword [0x180311120], 0
je 0x1800829de
mov rdx, qword [r13 + 0x40]
test rdx, rdx
je 0x1800829de
mov rcx, qword [r13 + 0x38]
mov rax, qword [rcx]
cmp byte [r13 + 0x48], 0
je 0x180080d51
call qword [rax + 0xb0]
mov qword [r13 + 0x40], r14
jmp 0x1800829de
call qword [rax + 0xb8]
mov qword [r13 + 0x40], r14
jmp 0x1800829de
mov ecx, dword [0x180311104]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1803131b4], ecx
jle 0x180080dc9
lea rcx, [0x1803131b4]
call fcn.18009cbe8
cmp dword [0x1803131b4], 0xffffffff
jne 0x180080dc9
mov qword [0x1803131b8], r14
lea rcx, [rbp - 0x48]
call fcn.18008f630
mov rdx, qword [rax]
mov qword [0x1803131b8], rdx
mov qword [0x1803131c0], 0xa
lea rcx, [0x1803131b4]
call fcn.18009cb7c
lea rcx, [rbp - 0x40]
call fcn.18008f630
mov rcx, qword [rbp - 0x40]
mov rdx, rcx
sub rdx, qword [0x1803131b8]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1803131c0]
je 0x180080e16
mov r8d, 0xff
cmovl ebx, r8d
test bl, bl
js 0x1800829de
mov qword [0x1803131b8], rcx
mov rcx, qword [0x180313058]
add rcx, 0x18
lea rdx, [rbp - 0x60]
call fcn.180067bd0
mov rdi, qword [0x180313058]
cmp qword [rdi + 0x28], 0
jne 0x180080e47
xorps xmm6, xmm6
jmp 0x180080ede
mov rbx, qword [rdi + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xc
lea rdx, str.getEyeHeight
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803117c0]
call fcn.180070b80
mov r8, rax
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call fcn.180065fb0
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180080ed7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180080ed2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180080ed2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
mov rdi, qword [0x180313058]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd xmm12, qword [rbp - 0x58]
addsd xmm12, xmm0
movsd qword [rbp - 0x40], xmm12
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x40]
call fcn.180068150
movsd xmm14, qword [rsp + 0x40]
movsd xmm0, qword [0x180300bc8]
movsd xmm9, qword [0x180300ce8]
comisd xmm9, xmm14
jb 0x180080f2f
addsd xmm14, xmm0
comisd xmm9, xmm14
jae 0x180080f23
movsd xmm0, qword [0x180300cf0]
movsd xmm15, qword [0x180300bb0]
comisd xmm14, xmm15
jbe 0x180080f5c
nop word [rax + rax]
addsd xmm14, xmm0
comisd xmm14, xmm15
ja 0x180080f50
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x10], r14
mov byte [rbp - 8], 0
mov r12, qword [0x180311120]
mov qword [rbp - 0x18], r12
lea rax, vtable.EntityPlayer.0
mov qword [rbp - 0x20], rax
xorps xmm13, xmm13
movsd qword [rsp + 0x50], xmm13
movsd qword [rsp + 0x78], xmm13
mov rcx, qword [0x180313058]
add rcx, 0x70
lea rdx, [rbp]
call fcn.180082ca0
nop
mov rdi, qword [rbp]
movsd xmm11, qword [0x180300af0]
mov rbx, qword [rbp + 8]
cmp rdi, rbx
je 0x180081950
nop word [rax + rax]
cmp qword [rdi + 0x10], 0
je 0x180081943
mov rax, qword [0x180313058]
mov rdx, qword [rdi + 0x10]
mov r8, qword [rax + 0x28]
cmp rdx, r8
je 0x180081943
test rdx, rdx
je 0x180081016
test r8, r8
je 0x180081016
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x180081943
mov rcx, rdi
call fcn.1800687b0
cmp eax, 0xa
jl 0x180081943
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.180068880
nop
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x30]
test r15, r15
jne 0x18008105f
movaps xmm7, xmm13
movaps xmm10, xmm13
movaps xmm6, xmm13
jmp 0x18008122f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, 4
lea rdx, str.minZ
lea rcx, [rbp - 0x80]
call fcn.1800057b0
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm7, xmm0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800810e9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800810e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a0d
call fcn.18009d0e4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8d, 4
lea rdx, str.maxZ
lea rcx, [rsp + 0x58]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm10, xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x18008118b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081186
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a14
call fcn.18009d0e4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 4
lea rdx, str.minZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x18008122f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008122a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a1b
call fcn.18009d0e4
subsd xmm10, xmm6
mulsd xmm10, xmm11
addsd xmm10, xmm7
test r15, r15
jne 0x180081254
movaps xmm7, xmm13
movaps xmm9, xmm13
movaps xmm6, xmm13
jmp 0x180081424
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, 4
lea rdx, str.minY
lea rcx, [rbp - 0x80]
call fcn.1800057b0
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm7, xmm0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800812de
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800812d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a22
call fcn.18009d0e4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8d, 4
lea rdx, str.maxY
lea rcx, [rsp + 0x58]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm9, xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180081380
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008137b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a29
call fcn.18009d0e4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 4
lea rdx, str.minY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081424
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008141f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a30
call fcn.18009d0e4
subsd xmm9, xmm6
mulsd xmm9, xmm11
addsd xmm9, xmm7
test r15, r15
jne 0x180081449
movaps xmm8, xmm13
movaps xmm6, xmm13
movaps xmm7, xmm13
jmp 0x180081619
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, 4
lea rdx, str.minX
lea rcx, [rbp - 0x80]
call fcn.1800057b0
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm8, xmm0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800814d4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800814cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a37
call fcn.18009d0e4
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8d, 4
lea rdx, str.maxX
lea rcx, [rsp + 0x58]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180081575
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081570
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a3e
call fcn.18009d0e4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 4
lea rdx, str.minX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm7, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081619
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180081a45
call fcn.18009d0e4
subsd xmm6, xmm8
mulsd xmm6, xmm11
addsd xmm6, xmm7
mov rcx, qword [0x180313058]
add rcx, 0xa0
call fcn.1800697b0
movaps xmm7, xmm0
cmp qword [rdi + 0x10], 0
jne 0x180081656
xorps xmm7, xmm7
movaps xmm11, xmm13
xorps xmm8, xmm8
unpckhpd xmm8, xmm7
jmp 0x1800816ae
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180067bd0
mov rbx, rax
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.180067ef0
movsd xmm8, qword [rbx + 0x10]
subsd xmm8, qword [rax + 0x10]
movsd xmm1, qword [rbx + 8]
subsd xmm1, qword [rax + 8]
movsd xmm11, qword [rbx]
subsd xmm11, qword [rax]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm7
mulsd xmm8, xmm0
mulsd xmm1, xmm0
mulsd xmm11, xmm0
movaps xmm7, xmm1
mov rbx, qword [rbp + 8]
addsd xmm8, xmm10
addsd xmm7, xmm9
addsd xmm11, xmm6
movaps xmm10, xmm8
subsd xmm10, qword [rbp - 0x50]
movaps xmm6, xmm7
subsd xmm6, xmm12
movaps xmm9, xmm11
subsd xmm9, qword [rbp - 0x60]
movaps xmm1, xmm9
mulsd xmm1, xmm9
movaps xmm0, xmm10
mulsd xmm0, xmm10
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x180081701
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x180081709
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm6, xmmword [0x180300e80]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm12, xmm0
movaps xmm6, xmm13
mulsd xmm12, qword [0x180300b98]
ucomisd xmm9, xmm13
jp 0x180081736
je 0x180081756
movaps xmm1, xmm9
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm6, xmm0
subsd xmm6, qword [0x180300b10]
mulsd xmm6, qword [0x180300b98]
subsd xmm12, qword [rsp + 0x48]
subsd xmm6, xmm14
movsd xmm9, qword [0x180300ce8]
comisd xmm9, xmm6
jb 0x18008178b
movsd xmm0, qword [0x180300bc8]
nop word [rax + rax]
addsd xmm6, xmm0
comisd xmm9, xmm6
jae 0x180081780
comisd xmm6, xmm15
jbe 0x1800817ab
movsd xmm0, qword [0x180300cf0]
nop word [rax + rax]
addsd xmm6, xmm0
comisd xmm6, xmm15
ja 0x1800817a0
subsd xmm8, qword [rbp - 0x50]
subsd xmm7, qword [rbp - 0x40]
subsd xmm11, qword [rbp - 0x60]
mulsd xmm7, xmm7
mulsd xmm11, xmm11
addsd xmm7, xmm11
mulsd xmm8, xmm8
addsd xmm7, xmm8
xorps xmm0, xmm0
ucomisd xmm0, xmm7
ja 0x1800817e6
xorps xmm0, xmm0
sqrtsd xmm0, xmm7
jmp 0x1800817ee
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [r13 + 0x20]
cvtps2pd xmm1, xmm1
movsd xmm11, qword [0x180300af0]
comisd xmm1, xmm0
jb 0x1800818a9
comisd xmm0, xmm11
jbe 0x1800818a9
movaps xmm7, xmm6
movsd xmm8, qword [0x180300e70]
andps xmm7, xmm8
movss xmm0, dword [r13 + 0x24]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm7
jb 0x1800818a9
cmp qword [r13 + 0x40], 0
je 0x18008186f
mov rdx, qword [r13 + 0x40]
mov r8, qword [rdi + 0x10]
cmp rdx, r8
je 0x180081a4c
test rdx, rdx
je 0x18008186f
test r8, r8
je 0x18008186f
mov rcx, qword [r13 + 0x38]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x180081a4c
cmp qword [rbp - 0x10], 0
je 0x18008188a
movsd xmm0, qword [rsp + 0x50]
andps xmm0, xmm8
comisd xmm0, xmm7
jbe 0x180081914
mov r12, qword [rdi + 8]
mov qword [rbp - 0x18], r12
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x10], rax
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x78], xmm12
jmp 0x180081914
cmp qword [r13 + 0x40], 0
je 0x180081914
mov rdx, qword [r13 + 0x40]
mov r8, qword [rdi + 0x10]
cmp rdx, r8
je 0x1800818dc
test rdx, rdx
je 0x180081914
test r8, r8
je 0x180081914
mov rcx, qword [r13 + 0x38]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
jne 0x180081914
cmp qword [0x180311120], 0
je 0x180081914
mov rdx, qword [r13 + 0x40]
test rdx, rdx
je 0x180081914
mov rcx, qword [r13 + 0x38]
mov rax, qword [rcx]
cmp byte [r13 + 0x48], 0
je 0x180081906
mov r8, qword [rax + 0xb0]
jmp 0x18008190d
mov r8, qword [rax + 0xb8]
call r8
mov qword [r13 + 0x40], r14
cmp byte [rbp - 0x28], 0
je 0x18008193d
cmp qword [0x180311120], 0
je 0x18008193d
test r15, r15
je 0x18008193d
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r15
mov rcx, rsi
call r8
nop
movsd xmm12, qword [rbp - 0x40]
add rdi, 0x20
cmp rdi, rbx
jne 0x180080fd0
mov rdi, qword [rbp - 0x10]
lea rcx, [rbp]
call fcn.180082be0
test rdi, rdi
je 0x1800829b4
lea rcx, [r13 + 0x38]
lea rdx, [rbp - 0x18]
call fcn.180065df0
mov rcx, qword [0x180313058]
add rcx, 0xa0
call fcn.1800697b0
movaps xmm6, xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.180067bd0
mov rbx, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.180067ef0
movsd xmm15, qword [rbx + 0x10]
subsd xmm15, qword [rax + 0x10]
movsd xmm14, qword [rbx + 8]
subsd xmm14, qword [rax + 8]
movsd xmm13, qword [rbx]
subsd xmm13, qword [rax]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm15, xmm0
mulsd xmm14, xmm0
mulsd xmm13, xmm0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov rdi, qword [rbp - 0x10]
test rdi, rdi
jne 0x180081a97
mov qword [rbp - 0x30], r14
mov byte [rbp - 0x28], al
mov r12, qword [rbp - 0x18]
mov qword [rbp - 0x38], r12
jmp 0x180081b4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12, qword [rdi + 8]
mov qword [rbp - 0x18], r12
mov rdi, qword [rdi + 0x10]
mov qword [rbp - 0x10], rdi
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x78], xmm12
cmp byte [rbp - 0x28], 0
je 0x180081a92
cmp qword [0x180311120], 0
je 0x180081a92
test r15, r15
je 0x180081a92
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r15
mov rcx, rsi
call r8
nop
jmp 0x180081954
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xb
lea rdx, str.boundingBox
lea rcx, [rsp + 0x58]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x1803117c0]
call fcn.180070a80
mov r12, qword [rbp - 0x18]
mov rcx, qword [r12]
mov r9, qword [rcx + 0x2f8]
mov r8, rax
mov rdx, rdi
mov rcx, r12
call r9
mov r14, rax
mov qword [rbp - 0x38], r12
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x30], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180081b38
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081b33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081b33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
movdqa xmm0, xmmword [0x180300d40]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
test r14, r14
jne 0x180081b5f
xorps xmm7, xmm7
xorps xmm6, xmm6
xorps xmm8, xmm8
jmp 0x180081d1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm7, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081bf3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081bee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081bee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081c87
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081c82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm8, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081d1c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081d17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081d17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm12, xmm12
addsd xmm7, xmm15
addsd xmm6, xmm14
movaps xmm0, xmm13
addsd xmm0, xmm8
movsd qword [rbp + 0x20], xmm0
movsd qword [rbp + 0x28], xmm6
movsd qword [rbp + 0x30], xmm7
test r14, r14
jne 0x180081d56
xorps xmm7, xmm7
xorps xmm6, xmm6
xorps xmm8, xmm8
jmp 0x180081f13
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm7, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081dea
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081de5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081de5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081e7e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081e79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm8, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081f13
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081f0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081f0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
addsd xmm7, xmm15
addsd xmm6, xmm14
movaps xmm0, xmm13
addsd xmm0, xmm8
movsd qword [rbp + 0x38], xmm0
movsd qword [rbp + 0x40], xmm6
movsd qword [rbp + 0x48], xmm7
test r14, r14
jne 0x180081f49
xorps xmm7, xmm7
xorps xmm6, xmm6
xorps xmm8, xmm8
jmp 0x180082106
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm7, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180081fdd
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180081fd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180081fd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180082071
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008206c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008206c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm8, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180082106
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082101
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180082101
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
addsd xmm7, xmm15
addsd xmm6, xmm14
movaps xmm0, xmm13
addsd xmm0, xmm8
movsd qword [rbp + 0x50], xmm0
movsd qword [rbp + 0x58], xmm6
movsd qword [rbp + 0x60], xmm7
test r14, r14
jne 0x18008213c
xorps xmm7, xmm7
xorps xmm6, xmm6
xorps xmm8, xmm8
jmp 0x1800822f9
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm7, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800821d0
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800821cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800821cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180082264
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008225f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008225f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.minX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm8, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800822f9
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800822f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800822f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
addsd xmm7, xmm15
addsd xmm6, xmm14
movaps xmm0, xmm13
addsd xmm0, xmm8
movsd qword [rbp + 0x68], xmm0
movsd qword [rbp + 0x70], xmm6
movsd qword [rbp + 0x78], xmm7
movsd xmm11, qword [0x180300bd0]
movsd xmm6, qword [0x180300cd8]
lea rbx, [rbp + 0x20]
movsd xmm10, qword [rbp - 0x40]
nop word [rax + rax]
movups xmm8, xmmword [rbx]
movsd xmm9, qword [rbx + 0x10]
subsd xmm9, qword [rbp - 0x50]
movaps xmm7, xmm8
unpckhpd xmm7, xmm8
subsd xmm7, xmm10
subsd xmm8, qword [rbp - 0x60]
movaps xmm1, xmm8
mulsd xmm1, xmm8
movaps xmm0, xmm9
mulsd xmm0, xmm9
addsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x18008238c
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x180082394
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm7, xmmword [0x180300e80]
divsd xmm7, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm7, xmm0
movaps xmm2, xmm12
mulsd xmm7, qword [0x180300b98]
ucomisd xmm8, xmm12
jp 0x1800823bf
je 0x1800823df
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm2, xmm0
subsd xmm2, qword [0x180300b10]
mulsd xmm2, qword [0x180300b98]
comisd xmm12, xmm2
jbe 0x1800823ee
addsd xmm2, qword [0x180300bc8]
movaps xmm0, xmm2
minsd xmm0, xmm11
movaps xmm11, xmm0
maxsd xmm2, xmm6
movaps xmm6, xmm2
add rbx, 0x18
lea rax, [rbp + 0x80]
cmp rbx, rax
jne 0x180082340
movsd xmm0, qword [0x180300bb0]
comisd xmm11, xmm0
movsd xmm10, qword [0x180300cd8]
movsd xmm1, qword [0x180300cf0]
jbe 0x18008243a
addsd xmm11, xmm1
comisd xmm6, xmm0
jbe 0x180082444
addsd xmm6, xmm1
test r14, r14
jne 0x180082456
movaps xmm8, xmm12
xorps xmm9, xmm9
jmp 0x180082615
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxZ
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm8, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800824eb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800824e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800824e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxY
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm12, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180082580
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008257b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008257b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 4
lea rdx, str.maxX
lea rcx, [rsp + 0x20]
call fcn.1800057b0
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180311970]
call fcn.180070a80
mov rcx, qword [r12]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r14
mov rcx, r12
call r9
movaps xmm9, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180082615
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082610
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180082610
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009d0e4
addsd xmm8, xmm15
subsd xmm8, qword [rbp - 0x50]
addsd xmm14, xmm12
subsd xmm14, qword [rbp - 0x40]
addsd xmm13, xmm9
subsd xmm13, qword [rbp - 0x60]
mulsd xmm13, xmm13
mulsd xmm8, xmm8
addsd xmm13, xmm8
xorps xmm0, xmm0
ucomisd xmm0, xmm13
ja 0x180082659
xorps xmm0, xmm0
sqrtsd xmm0, xmm13
jmp 0x180082662
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm14, xmmword [0x180300e80]
divsd xmm14, xmm0
movaps xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
mulsd xmm0, qword [0x180300b98]
movsd qword [rbp - 0x48], xmm0
subsd xmm6, xmm11
movsd xmm0, qword [0x180300ce8]
comisd xmm0, xmm6
jb 0x1800826aa
movsd xmm1, qword [0x180300bc8]
addsd xmm6, xmm1
comisd xmm0, xmm6
jae 0x1800826a0
movsd xmm0, qword [0x180300bb0]
comisd xmm6, xmm0
jbe 0x1800826ca
movsd xmm1, qword [0x180300cf0]
addsd xmm6, xmm1
comisd xmm6, xmm0
ja 0x1800826c0
andps xmm6, xmmword [0x180300e70]
mulsd xmm6, qword [0x180300af0]
movsd xmm0, qword [rsp + 0x50]
andps xmm0, xmmword [0x180300e70]
movaps xmm4, xmm0
subsd xmm4, xmm6
movsd xmm14, qword [0x180300be8]
movsd xmm5, qword [0x180300bd8]
movsd xmm15, qword [0x180300b78]
movsd xmm12, qword [0x180300b40]
movsd xmm13, qword [0x180300bb8]
movsd xmm11, qword [0x180300b58]
movsd xmm9, qword [0x180300b70]
movsd xmm3, qword [0x180300ba0]
movsd xmm8, qword [0x180300b28]
movsd xmm2, qword [0x180300b08]
comisd xmm0, xmm6
jbe 0x18008288e
comisd xmm8, xmm4
jbe 0x180082786
xorps xmm1, xmm1
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmm1
jbe 0x180082769
movaps xmm0, xmm2
jmp 0x18008276d
movaps xmm0, xmm10
mulsd xmm0, xmm4
movsd xmm4, qword [rsp + 0x40]
addsd xmm4, xmm0
movsd qword [rsp + 0x40], xmm4
jmp 0x180082891
movss xmm0, dword [r13 + 0x28]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x1800827b1
mulsd xmm0, xmm14
cvttsd2si ecx, xmm0
mulsd xmm1, xmm5
movsd xmm0, qword [rsp + 0x50]
jmp 0x180082848
comisd xmm4, xmm11
jb 0x18008281d
mulsd xmm0, xmm5
cvttsd2si ecx, xmm0
movsd xmm6, qword [0x180300bc0]
mulsd xmm1, xmm6
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], ecx
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x1803009f8]
jbe 0x1800827eb
movaps xmm1, xmm2
jmp 0x1800827ef
movaps xmm1, xmm10
lea rcx, [rbp - 0x40]
call fcn.180082f10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm3
mulsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
xorps xmm1, xmm1
jmp 0x180082899
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
movsd xmm0, qword [rsp + 0x50]
comisd xmm4, xmm12
jb 0x180082843
mulsd xmm1, xmm13
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x3c], eax
jmp 0x180082852
mulsd xmm1, xmm15
cvttsd2si eax, xmm1
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x40], eax
comisd xmm0, xmmword [0x1803009f8]
jbe 0x180082861
movaps xmm1, xmm2
jmp 0x180082865
movaps xmm1, xmm10
lea rcx, [rbp - 0x40]
call fcn.180082f10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm3
mulsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x40]
addsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
xorps xmm1, xmm1
movsd xmm6, qword [0x180300bc0]
subsd xmm7, qword [rbp - 0x48]
andps xmm7, xmmword [0x180300e70]
mulsd xmm7, qword [0x180300af0]
movsd xmm0, qword [rsp + 0x78]
andps xmm0, xmmword [0x180300e70]
movaps xmm4, xmm0
subsd xmm4, xmm7
comisd xmm0, xmm7
jbe 0x18008299e
comisd xmm8, xmm4
jbe 0x1800828fb
movsd xmm0, qword [rsp + 0x78]
comisd xmm0, xmm1
ja 0x1800828e2
movaps xmm2, xmm10
mulsd xmm2, xmm4
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, xmm2
movsd qword [rsp + 0x48], xmm0
jmp 0x18008299e
movss xmm0, dword [r13 + 0x2c]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x18008291d
mulsd xmm0, xmm14
cvttsd2si ecx, xmm0
mulsd xmm1, xmm5
jmp 0x180082957
comisd xmm4, xmm11
jb 0x180082932
mulsd xmm0, xmm5
cvttsd2si ecx, xmm0
mulsd xmm1, xmm6
jmp 0x180082957
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
comisd xmm4, xmm12
jb 0x180082952
mulsd xmm1, xmm13
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x3c], eax
jmp 0x180082961
mulsd xmm1, xmm15
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], ecx
movsd xmm0, qword [rsp + 0x78]
comisd xmm0, xmmword [0x1803009f8]
ja 0x180082975
movaps xmm2, xmm10
lea rcx, [rbp - 0x40]
call fcn.180082f10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm3
mulsd xmm0, xmm2
movsd xmm1, qword [rsp + 0x48]
addsd xmm1, xmm0
movsd qword [rsp + 0x48], xmm1
mov rcx, qword [0x180313058]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.180068e40
nop
cmp byte [rbp - 8], 0
je 0x1800829de
cmp qword [0x180311120], 0
je 0x1800829de
test rdi, rdi
je 0x1800829de
mov rax, qword [r12]
mov r8, qword [rax + 0xb0]
mov rdx, rdi
mov rcx, r12
call r8
nop
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18009cb20
lea r11, [rsp + 0x230]
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