Function at 0x180005070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x90
cmp byte [0x1800e09b4], 0
mov rbp, rcx
je 0x18000541b
cmp qword [0x1800e09c8], 0
je 0x18000541b
mov rax, qword [0x180091ab8]
mov qword [r11 + 0x18], rsi
xor esi, esi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r14
mov r14d, esi
mov rdi, qword [rax]
mov qword [r11 - 0x18], r15
mov r15, qword [rax + 8]
movaps xmmword [rsp + 0x70], xmm6
movss xmm6, dword [0x18008385c]
cmp rdi, r15
je 0x1800053f6
mov qword [r11 + 8], rbx
lea rbx, [rdi + 0x24]
nop word [rax + rax]
mov rcx, qword [rbx + 0x14]
mov rax, qword [rbx + 0xc]
cmp rax, rcx
je 0x180005164
cmp byte [rbx + 0x3c], sil
jne 0x180005104
cmp byte [rax + 0x15], sil
jne 0x180005104
add rax, 0x18
cmp rax, rcx
jne 0x1800050f3
jmp 0x180005164
mov rcx, qword [0x1800e09c8]
call fcn.180004a20
movss xmm0, dword [rax + 4]
subss xmm0, dword [rbx]
movss xmm2, dword [rax]
subss xmm2, dword [rbx - 4]
movss xmm1, dword [rax + 8]
subss xmm1, dword [rbx + 4]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x180005151
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x180005159
movaps xmm0, xmm2
call fcn.18006ed28
comiss xmm6, xmm0
jbe 0x180005164
movaps xmm6, xmm0
mov r14, rdi
add rdi, 0x88
add rbx, 0x88
cmp rdi, r15
jne 0x1800050e0
test r14, r14
je 0x1800053ee
mov rcx, qword [0x1800e09c8]
mov rdi, qword [r14 + 0x30]
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x30], xmm10
call fcn.180004a20
mov rbx, rax
call fcn.180004980
movss xmm0, dword [rbx]
movss xmm1, dword [rbx + 4]
movss xmm8, dword [rdi + 0x90]
addss xmm0, dword [rax]
addss xmm1, dword [rax + 4]
movss xmm9, dword [rdi + 0x94]
movss xmm6, dword [rdi + 0x98]
subss xmm8, xmm0
movss xmm0, dword [rbx + 8]
addss xmm0, dword [rax + 8]
subss xmm9, xmm1
subss xmm6, xmm0
movaps xmm0, xmm8
mulss xmm0, xmm8
movaps xmm1, xmm9
mulss xmm1, xmm9
xorps xmm6, xmmword [0x180083cf0]
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180005225
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18000522d
movaps xmm0, xmm1
call fcn.18006ed28
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.18006b470
xorps xmm2, xmm2
movaps xmm1, xmm8
cvtss2sd xmm2, xmm0
movaps xmm0, xmm9
mulsd xmm2, qword [0x180083790]
cvtpd2ps xmm7, xmm2
call fcn.18006b470
movss xmm8, dword [0x180083824]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movaps xmm0, xmm7
mulsd xmm1, qword [0x180083790]
cvtpd2ps xmm6, xmm1
movaps xmm1, xmm8
call fcn.180051a68
movaps xmm10, xmm0
movaps xmm1, xmm8
movaps xmm0, xmm6
movss dword [rsp + 0x20], xmm10
call fcn.180051a68
movaps xmm9, xmm0
movaps xmm1, xmm8
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm9
call fcn.180051a68
movss xmm7, dword [0x180083884]
lea rcx, [rsp + 0x20]
comiss xmm7, xmm10
mov dword [rsp + 0xa8], 0x42b20000
movss dword [rsp + 0x28], xmm0
ja 0x1800052ea
comiss xmm10, dword [0x1800837fc]
lea rax, [rsp + 0xa8]
cmovbe rax, rcx
movss xmm7, dword [rax]
movss xmm6, dword [0x18008388c]
lea rcx, [rsp + 0x24]
comiss xmm6, xmm9
mov dword [rsp + 0xa8], 0x43340000
movaps xmm10, xmmword [rsp + 0x30]
movss dword [rsp + 0x20], xmm7
ja 0x18000532c
comiss xmm9, dword [0x18008380c]
lea rax, [rsp + 0xa8]
cmovbe rax, rcx
movss xmm6, dword [rax]
movss xmm8, dword [0x180083880]
lea rcx, [rsp + 0x28]
comiss xmm8, xmm0
mov dword [rsp + 0xa8], 0x42340000
movaps xmm9, xmmword [rsp + 0x40]
movss dword [rsp + 0x24], xmm6
ja 0x18000536f
comiss xmm0, dword [0x1800837f0]
lea rax, [rsp + 0xa8]
cmovbe rax, rcx
movss xmm8, dword [rax]
call fcn.180004ac0
mov rcx, qword [rbp + 0x38]
movsd xmm0, qword [rax]
movss xmm1, dword [rax + 4]
mulss xmm0, dword [0x18008376c]
mov eax, dword [rcx]
mulss xmm1, dword [0x18008376c]
subss xmm7, xmm0
subss xmm6, xmm1
test eax, eax
jle 0x1800053e3
mov rdx, rsi
cmp esi, eax
jge 0x1800053d3
cmp esi, dword [rbp + 0x30]
jge 0x1800053d3
mov rax, qword [rcx + rdx + 8]
test rax, rax
je 0x1800053d3
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800053d3
movss dword [rcx + 0x18], xmm7
movss dword [rcx + 0x1c], xmm6
movss dword [rcx + 0x20], xmm8
or qword [rax + 0x10], 1
mov rcx, qword [rbp + 0x38]
inc esi
add rdx, 8
mov eax, dword [rcx]
cmp esi, eax
jl 0x1800053a6
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
mov rbx, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x90
pop rbp
ret