Function at 0x180082720
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 [0x180314040]
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 + 0xc], r14b
je 0x1800827e1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800827e1
cmp byte [0x180315720], dil
jne 0x1800827e1
lea rdx, [rbp]
mov rcx, qword [0x180317098]
call fcn.180068100
mov edi, ebx
cmp qword [rax + 8], r14
jne 0x1800827e1
xor sil, sil
jmp 0x1800827e4
movzx esi, bl
test bl, dil
je 0x180082814
cmp byte [rbp + 0x10], 0
je 0x180082814
cmp qword [0x180315180], 0
je 0x180082814
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x180082814
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
call r8
nop
test sil, sil
je 0x180082860
cmp qword [0x180315180], 0
je 0x1800844de
mov rdx, qword [r13 + 0x58]
test rdx, rdx
je 0x1800844de
mov rcx, qword [r13 + 0x50]
mov rax, qword [rcx]
cmp byte [r13 + 0x60], 0
je 0x180082851
call qword [rax + 0xb0]
mov qword [r13 + 0x58], r14
jmp 0x1800844de
call qword [rax + 0xb8]
mov qword [r13 + 0x58], r14
jmp 0x1800844de
mov ecx, dword [0x180315164]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1803171f4], ecx
jle 0x1800828c9
lea rcx, [0x1803171f4]
call fcn.18009f778
cmp dword [0x1803171f4], 0xffffffff
jne 0x1800828c9
mov qword [0x1803171f8], r14
lea rcx, [rbp - 0x48]
call fcn.1800921c0
mov rdx, qword [rax]
mov qword [0x1803171f8], rdx
mov qword [0x180317200], 0xa
lea rcx, [0x1803171f4]
call fcn.18009f70c
lea rcx, [rbp - 0x40]
call fcn.1800921c0
mov rcx, qword [rbp - 0x40]
mov rdx, rcx
sub rdx, qword [0x1803171f8]
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x180317200]
je 0x180082916
mov r8d, 0xff
cmovl ebx, r8d
test bl, bl
js 0x1800844de
mov qword [0x1803171f8], rcx
mov rcx, qword [0x180317098]
add rcx, 0x18
lea rdx, [rbp - 0x60]
call fcn.1800691b0
mov rdi, qword [0x180317098]
cmp qword [rdi + 0x28], 0
jne 0x180082947
xorps xmm6, xmm6
jmp 0x1800829de
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x180315808]
call fcn.1800725b0
mov r8, rax
mov rdx, qword [rdi + 0x28]
mov rcx, rbx
call fcn.180067570
movaps xmm6, xmm0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800829d7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800829d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800829d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
mov rdi, qword [0x180317098]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd xmm11, qword [rbp - 0x58]
addsd xmm11, xmm0
movsd qword [rbp - 0x40], xmm11
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x40]
call fcn.180069730
movsd xmm14, qword [rsp + 0x40]
movsd xmm0, qword [0x180303b58]
movsd xmm8, qword [0x180303c80]
comisd xmm8, xmm14
jb 0x180082a2f
addsd xmm14, xmm0
comisd xmm8, xmm14
jae 0x180082a23
movsd xmm0, qword [0x180303c88]
movsd xmm15, qword [0x180303b38]
comisd xmm14, xmm15
jbe 0x180082a5c
nop word [rax + rax]
addsd xmm14, xmm0
comisd xmm14, xmm15
ja 0x180082a50
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 [0x180315180]
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 [0x180317098]
add rcx, 0x70
lea rdx, [rbp]
call fcn.180084890
nop
mov rdi, qword [rbp]
movsd xmm10, qword [0x180303a78]
mov rbx, qword [rbp + 8]
cmp rdi, rbx
je 0x180083440
nop word [rax + rax]
cmp qword [rdi + 0x10], 0
je 0x180083433
mov rax, qword [0x180317098]
mov rdx, qword [rdi + 0x10]
mov r8, qword [rax + 0x28]
cmp rdx, r8
je 0x180083433
test rdx, rdx
je 0x180082b16
test r8, r8
je 0x180082b16
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x180083433
mov rcx, rdi
call fcn.180069d90
cmp eax, 0xa
jl 0x180083433
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.180069e60
nop
mov rsi, qword [rbp - 0x38]
mov r15, qword [rbp - 0x30]
test r15, r15
jne 0x180082b5f
movaps xmm7, xmm13
movaps xmm12, xmm13
movaps xmm6, xmm13
jmp 0x180082d2f
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.180006940
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180082be9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082be4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800834fd
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x1803159b0]
call fcn.1800724b0
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x338]
mov r8, rax
mov rdx, r15
mov rcx, rsi
call r9
movaps xmm12, xmm0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180082c8b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082c86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083504
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180082d2f
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082d2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008350b
call fcn.18009fc74
subsd xmm12, xmm6
mulsd xmm12, xmm10
addsd xmm12, xmm7
test r15, r15
jne 0x180082d54
movaps xmm7, xmm13
movaps xmm8, xmm13
movaps xmm6, xmm13
jmp 0x180082f24
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.180006940
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180082dde
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082dd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083512
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180082e80
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082e7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083519
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180082f24
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082f1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083520
call fcn.18009fc74
subsd xmm8, xmm6
mulsd xmm8, xmm10
addsd xmm8, xmm7
test r15, r15
jne 0x180082f49
movaps xmm9, xmm13
movaps xmm6, xmm13
movaps xmm7, xmm13
jmp 0x180083119
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.180006940
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180082fd4
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180082fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083527
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083075
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083070
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008352e
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083119
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180083535
call fcn.18009fc74
subsd xmm6, xmm9
mulsd xmm6, xmm10
addsd xmm6, xmm7
mov rcx, qword [0x180317098]
add rcx, 0xa0
call fcn.18006ad90
movaps xmm7, xmm0
cmp qword [rdi + 0x10], 0
jne 0x180083154
xorps xmm7, xmm7
movaps xmm10, xmm13
xorps xmm2, xmm2
unpckhpd xmm2, xmm7
jmp 0x1800831a9
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1800691b0
mov rbx, rax
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1800694d0
movsd xmm2, qword [rbx + 0x10]
subsd xmm2, qword [rax + 0x10]
movsd xmm1, qword [rbx + 8]
subsd xmm1, qword [rax + 8]
movsd xmm10, qword [rbx]
subsd xmm10, qword [rax]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm7
mulsd xmm2, xmm0
mulsd xmm1, xmm0
mulsd xmm10, xmm0
movaps xmm7, xmm1
mov rbx, qword [rbp + 8]
addsd xmm12, xmm2
addsd xmm7, xmm8
addsd xmm10, xmm6
movaps xmm9, xmm12
subsd xmm9, qword [rbp - 0x50]
movaps xmm6, xmm7
subsd xmm6, xmm11
movaps xmm8, 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 0x1800831fc
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x180083204
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm6, xmmword [0x180303e10]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
movaps xmm11, xmm0
movaps xmm6, xmm13
mulsd xmm11, qword [0x180303b20]
ucomisd xmm8, xmm13
jp 0x180083231
je 0x180083251
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm6, xmm0
subsd xmm6, qword [0x180303a98]
mulsd xmm6, qword [0x180303b20]
subsd xmm11, qword [rsp + 0x48]
subsd xmm6, xmm14
movsd xmm8, qword [0x180303c80]
comisd xmm8, xmm6
jb 0x180083280
movsd xmm0, qword [0x180303b58]
addsd xmm6, xmm0
comisd xmm8, xmm6
jae 0x180083275
comisd xmm6, xmm15
jbe 0x18008329b
movsd xmm0, qword [0x180303c88]
nop
addsd xmm6, xmm0
comisd xmm6, xmm15
ja 0x180083290
subsd xmm12, qword [rbp - 0x50]
subsd xmm7, qword [rbp - 0x40]
subsd xmm10, qword [rbp - 0x60]
mulsd xmm7, xmm7
mulsd xmm10, xmm10
addsd xmm7, xmm10
mulsd xmm12, xmm12
addsd xmm7, xmm12
xorps xmm0, xmm0
ucomisd xmm0, xmm7
ja 0x1800832d6
xorps xmm0, xmm0
sqrtsd xmm0, xmm7
jmp 0x1800832de
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movss xmm1, dword [r13 + 0x38]
cvtps2pd xmm1, xmm1
movsd xmm10, qword [0x180303a78]
comisd xmm1, xmm0
jb 0x180083399
comisd xmm0, xmm10
jbe 0x180083399
movaps xmm7, xmm6
movsd xmm8, qword [0x180303e00]
andps xmm7, xmm8
movss xmm0, dword [r13 + 0x3c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm7
jb 0x180083399
cmp qword [r13 + 0x58], 0
je 0x18008335f
mov rdx, qword [r13 + 0x58]
mov r8, qword [rdi + 0x10]
cmp rdx, r8
je 0x18008353c
test rdx, rdx
je 0x18008335f
test r8, r8
je 0x18008335f
mov rcx, qword [r13 + 0x50]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
je 0x18008353c
cmp qword [rbp - 0x10], 0
je 0x18008337a
movsd xmm0, qword [rsp + 0x50]
andps xmm0, xmm8
comisd xmm0, xmm7
jbe 0x180083404
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], xmm11
jmp 0x180083404
cmp qword [r13 + 0x58], 0
je 0x180083404
mov rdx, qword [r13 + 0x58]
mov r8, qword [rdi + 0x10]
cmp rdx, r8
je 0x1800833cc
test rdx, rdx
je 0x180083404
test r8, r8
je 0x180083404
mov rcx, qword [r13 + 0x50]
mov rax, qword [rcx]
mov r9, qword [rax + 0xc0]
call r9
cmp al, 1
jne 0x180083404
cmp qword [0x180315180], 0
je 0x180083404
mov rdx, qword [r13 + 0x58]
test rdx, rdx
je 0x180083404
mov rcx, qword [r13 + 0x50]
mov rax, qword [rcx]
cmp byte [r13 + 0x60], 0
je 0x1800833f6
mov r8, qword [rax + 0xb0]
jmp 0x1800833fd
mov r8, qword [rax + 0xb8]
call r8
mov qword [r13 + 0x58], r14
cmp byte [rbp - 0x28], 0
je 0x18008342d
cmp qword [0x180315180], 0
je 0x18008342d
test r15, r15
je 0x18008342d
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r15
mov rcx, rsi
call r8
nop
movsd xmm11, qword [rbp - 0x40]
add rdi, 0x20
cmp rdi, rbx
jne 0x180082ad0
mov rdi, qword [rbp - 0x10]
lea rcx, [rbp]
call fcn.1800847d0
test rdi, rdi
je 0x1800844b4
lea rcx, [r13 + 0x50]
lea rdx, [rbp - 0x18]
call fcn.1800673b0
mov rcx, qword [0x180317098]
add rcx, 0xa0
call fcn.18006ad90
movaps xmm6, xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.1800691b0
mov rbx, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x20]
call fcn.1800694d0
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 0x180083587
mov qword [rbp - 0x30], r14
mov byte [rbp - 0x28], al
mov r12, qword [rbp - 0x18]
mov qword [rbp - 0x38], r12
jmp 0x18008363b
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], xmm11
cmp byte [rbp - 0x28], 0
je 0x180083582
cmp qword [0x180315180], 0
je 0x180083582
test r15, r15
je 0x180083582
mov rax, qword [rsi]
mov r8, qword [rax + 0xb0]
mov rdx, r15
mov rcx, rsi
call r8
nop
jmp 0x180083444
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.180006940
nop
lea rdx, [rsp + 0x58]
lea rcx, [0x180315808]
call fcn.1800724b0
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 0x180083628
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083623
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083623
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
movdqa xmm0, xmmword [0x180303cd0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
test r14, r14
jne 0x18008364f
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm6, xmm6
jmp 0x18008380c
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x1800836e4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800836df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800836df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083778
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x18008380c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083807
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083807
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
xorps xmm12, xmm12
movaps xmm2, xmm15
addsd xmm2, xmm8
movaps xmm1, xmm14
addsd xmm1, xmm7
movaps xmm0, xmm13
addsd xmm0, xmm6
movsd qword [rbp + 0x20], xmm0
movsd qword [rbp + 0x28], xmm1
movsd qword [rbp + 0x30], xmm2
test r14, r14
jne 0x18008384c
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm6, xmm6
jmp 0x180083a09
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x1800838e1
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800838dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800838dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083975
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083970
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083970
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083a09
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083a04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083a04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
movaps xmm2, xmm15
addsd xmm2, xmm8
movaps xmm1, xmm14
addsd xmm1, xmm7
movaps xmm0, xmm13
addsd xmm0, xmm6
movsd qword [rbp + 0x38], xmm0
movsd qword [rbp + 0x40], xmm1
movsd qword [rbp + 0x48], xmm2
test r14, r14
jne 0x180083a45
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm6, xmm6
jmp 0x180083c02
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083ada
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083ad5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083b6e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083b69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083b69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083c02
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083bfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
movaps xmm2, xmm15
addsd xmm2, xmm8
movaps xmm1, xmm14
addsd xmm1, xmm7
movaps xmm0, xmm13
addsd xmm0, xmm6
movsd qword [rbp + 0x50], xmm0
movsd qword [rbp + 0x58], xmm1
movsd qword [rbp + 0x60], xmm2
test r14, r14
jne 0x180083c3e
xorps xmm8, xmm8
xorps xmm7, xmm7
xorps xmm6, xmm6
jmp 0x180083dfb
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083cd3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083d67
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083d62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083d62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083dfb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083df6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
movaps xmm2, xmm15
addsd xmm2, xmm8
movaps xmm1, xmm14
addsd xmm1, xmm7
movaps xmm0, xmm13
addsd xmm0, xmm6
movsd qword [rbp + 0x68], xmm0
movsd qword [rbp + 0x70], xmm1
movsd qword [rbp + 0x78], xmm2
movsd xmm11, qword [0x180303b60]
movsd xmm6, qword [0x180303c70]
lea rbx, [rbp + 0x20]
movsd xmm10, qword [rbp - 0x40]
nop
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 0x180083e8c
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x180083e94
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm7, xmmword [0x180303e10]
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 [0x180303b20]
ucomisd xmm8, xmm12
jp 0x180083ebf
je 0x180083edf
movaps xmm1, xmm8
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm2, xmm0
subsd xmm2, qword [0x180303a98]
mulsd xmm2, qword [0x180303b20]
comisd xmm12, xmm2
jbe 0x180083eee
addsd xmm2, qword [0x180303b58]
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 0x180083e40
movsd xmm0, qword [0x180303b38]
comisd xmm11, xmm0
movsd xmm10, qword [0x180303c70]
movsd xmm1, qword [0x180303c88]
jbe 0x180083f3a
addsd xmm11, xmm1
comisd xmm6, xmm0
jbe 0x180083f44
addsd xmm6, xmm1
test r14, r14
jne 0x180083f56
xorps xmm9, xmm9
xorps xmm8, xmm8
jmp 0x180084115
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180083feb
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180083fe6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180083fe6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180084080
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008407b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008407b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
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.180006940
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x1803159b0]
call fcn.1800724b0
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 0x180084115
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180084110
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180084110
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18009fc74
addsd xmm15, xmm12
subsd xmm15, qword [rbp - 0x50]
addsd xmm14, xmm9
subsd xmm14, qword [rbp - 0x40]
addsd xmm13, xmm8
subsd xmm13, qword [rbp - 0x60]
mulsd xmm13, xmm13
mulsd xmm15, xmm15
addsd xmm13, xmm15
xorps xmm0, xmm0
ucomisd xmm0, xmm13
ja 0x180084159
xorps xmm0, xmm0
sqrtsd xmm0, xmm13
jmp 0x180084162
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm14, xmmword [0x180303e10]
divsd xmm14, xmm0
movaps xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_atan
mulsd xmm0, qword [0x180303b20]
movsd qword [rbp - 0x48], xmm0
subsd xmm6, xmm11
movsd xmm0, qword [0x180303c80]
comisd xmm0, xmm6
jb 0x1800841aa
movsd xmm1, qword [0x180303b58]
addsd xmm6, xmm1
comisd xmm0, xmm6
jae 0x1800841a0
movsd xmm0, qword [0x180303b38]
comisd xmm6, xmm0
jbe 0x1800841ca
movsd xmm1, qword [0x180303c88]
addsd xmm6, xmm1
comisd xmm6, xmm0
ja 0x1800841c0
movsd xmm1, qword [0x180303e00]
andps xmm6, xmm1
mulsd xmm6, qword [0x180303a78]
movsd xmm0, qword [rsp + 0x50]
andps xmm0, xmm1
movaps xmm4, xmm0
subsd xmm4, xmm6
movsd xmm14, qword [0x180303b78]
movsd xmm5, qword [0x180303b68]
movsd xmm15, qword [0x180303b00]
movsd xmm12, qword [0x180303ac8]
movsd xmm13, qword [0x180303b40]
movsd xmm11, qword [0x180303ae0]
movsd xmm9, qword [0x180303af8]
movsd xmm3, qword [0x180303b28]
movsd xmm8, qword [0x180303ab0]
movsd xmm2, qword [0x180303a90]
comisd xmm0, xmm6
jbe 0x18008438e
comisd xmm8, xmm4
jbe 0x180084286
xorps xmm1, xmm1
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmm1
jbe 0x180084269
movaps xmm0, xmm2
jmp 0x18008426d
movaps xmm0, xmm10
mulsd xmm0, xmm4
movsd xmm4, qword [rsp + 0x40]
addsd xmm4, xmm0
movsd qword [rsp + 0x40], xmm4
jmp 0x180084391
movss xmm0, dword [r13 + 0x40]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x1800842b1
mulsd xmm0, xmm14
cvttsd2si ecx, xmm0
mulsd xmm1, xmm5
movsd xmm0, qword [rsp + 0x50]
jmp 0x180084348
comisd xmm4, xmm11
jb 0x18008431d
mulsd xmm0, xmm5
cvttsd2si ecx, xmm0
movsd xmm6, qword [0x180303b48]
mulsd xmm1, xmm6
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], ecx
movsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmmword [0x180303980]
jbe 0x1800842eb
movaps xmm1, xmm2
jmp 0x1800842ef
movaps xmm1, xmm10
lea rcx, [rbp - 0x40]
call fcn.180084b00
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 0x180084399
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
movsd xmm0, qword [rsp + 0x50]
comisd xmm4, xmm12
jb 0x180084343
mulsd xmm1, xmm13
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x3c], eax
jmp 0x180084352
mulsd xmm1, xmm15
cvttsd2si eax, xmm1
mov dword [rbp - 0x3c], ecx
mov dword [rbp - 0x40], eax
comisd xmm0, xmmword [0x180303980]
jbe 0x180084361
movaps xmm1, xmm2
jmp 0x180084365
movaps xmm1, xmm10
lea rcx, [rbp - 0x40]
call fcn.180084b00
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 [0x180303b48]
subsd xmm7, qword [rbp - 0x48]
movsd xmm4, qword [0x180303e00]
andps xmm7, xmm4
mulsd xmm7, qword [0x180303a78]
movsd xmm0, qword [rsp + 0x78]
andps xmm0, xmm4
movaps xmm4, xmm0
subsd xmm4, xmm7
comisd xmm0, xmm7
jbe 0x18008449e
comisd xmm8, xmm4
jbe 0x1800843fb
movsd xmm0, qword [rsp + 0x78]
comisd xmm0, xmm1
ja 0x1800843e2
movaps xmm2, xmm10
mulsd xmm2, xmm4
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, xmm2
movsd qword [rsp + 0x48], xmm0
jmp 0x18008449e
movss xmm0, dword [r13 + 0x44]
cvtps2pd xmm1, xmm0
movaps xmm0, xmm1
comisd xmm4, xmm9
jb 0x18008441d
mulsd xmm0, xmm14
cvttsd2si ecx, xmm0
mulsd xmm1, xmm5
jmp 0x180084457
comisd xmm4, xmm11
jb 0x180084432
mulsd xmm0, xmm5
cvttsd2si ecx, xmm0
mulsd xmm1, xmm6
jmp 0x180084457
mulsd xmm0, xmm3
cvttsd2si ecx, xmm0
comisd xmm4, xmm12
jb 0x180084452
mulsd xmm1, xmm13
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x3c], eax
jmp 0x180084461
mulsd xmm1, xmm15
cvttsd2si eax, xmm1
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], ecx
movsd xmm0, qword [rsp + 0x78]
comisd xmm0, xmmword [0x180303980]
ja 0x180084475
movaps xmm2, xmm10
lea rcx, [rbp - 0x40]
call fcn.180084b00
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 [0x180317098]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.18006a420
nop
cmp byte [rbp - 8], 0
je 0x1800844de
cmp qword [0x180315180], 0
je 0x1800844de
test rdi, rdi
je 0x1800844de
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.18009f6b0
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