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

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, qword [0x180169780]
mov eax, dword [rbx + 0x4ad8]
sub eax, 1
js 0x18005874d
movsxd rdx, eax
mov rax, qword [rbx + 0x4ae0]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180058743
test dword [rcx + 0x14], 0x8000000
je 0x180058743
cmp byte [rcx + 0xbe], 0
je 0x180058743
cmp byte [rcx + 0xc5], 0
je 0x18005874f
sub r8, 0x38
sub rdx, 1
jns 0x180058720
xor ecx, ecx
movss xmm1, dword [rbx + 0x4d50]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x18005876c
comiss xmm0, dword [rbx + 0x4d34]
jae 0x180058a50
mov r8, qword [rbx + 0x4d20]
test r8, r8
je 0x180058786
cmp byte [r8 + 0xbe], 0
je 0x180058786
mov al, 1
jmp 0x180058788
xor al, al
test rcx, rcx
jne 0x180058966
test al, al
je 0x180058a50
movups xmm0, xmmword [rbx + 0x3cfc]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], rsi
mulss xmm1, dword [rbx + 0x38e8]
mov qword [rsp + 0x80], rdi
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.180051ba0
mov edx, eax
mov rcx, r8
call fcn.1800584a0
mov rdi, qword [rbx + 0x4d20]
movss xmm1, dword [rbx + 0x3d38]
mov rax, qword [0x180169780]
movss xmm5, dword [rdi + 0x28]
movss xmm4, dword [rdi + 0x2c]
movaps xmm3, xmm5
addss xmm5, dword [rdi + 0x30]
mov rcx, qword [rax + 0x4b18]
subss xmm3, xmm1
movaps xmm2, xmm4
addss xmm4, dword [rdi + 0x34]
subss xmm2, xmm1
mov rsi, qword [rcx]
addss xmm5, xmm1
movss dword [rsp + 0x40], xmm3
addss xmm4, xmm1
movss dword [rsp + 0x44], xmm2
movaps xmm0, xmm5
movss dword [rsp + 0x48], xmm5
subss xmm0, xmm3
movss dword [rsp + 0x4c], xmm4
comiss xmm0, dword [rsi + 0xc]
jb 0x180058892
movaps xmm0, xmm4
subss xmm0, xmm2
comiss xmm0, dword [rsi + 0x10]
jb 0x180058892
xorps xmm1, xmmword [0x18013ed90]
subss xmm1, dword [0x18013e68c]
movaps xmm0, xmm1
subss xmm3, xmm1
subss xmm2, xmm1
addss xmm0, xmm5
addss xmm1, xmm4
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
mov rcx, qword [rdi + 0x2a8]
cmp dword [rcx], 0
jne 0x1800588a3
call fcn.180073690
movss xmm0, dword [rsi + 4]
lea rdx, [rsi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x70]
addss xmm0, dword [rsi + 0xc]
addss xmm1, dword [rsi + 0x10]
mov rcx, qword [rdi + 0x2a8]
xor r9d, r9d
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x74], xmm1
call fcn.180073930
mov rax, qword [0x180169780]
lea rcx, [rsp + 0x50]
movss xmm0, dword [rbx + 0x4d34]
movups xmm1, xmmword [rax + 0x3cec]
mulss xmm0, dword [rax + 0x38e8]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.180051ba0
movss xmm0, dword [0x18013e6bc]
lea r8, [rsp + 0x48]
mov rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rdi + 0x60]
movss dword [rsp + 0x20], xmm0
call fcn.180075ed0
mov rcx, qword [rdi + 0x2a8]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
jmp fcn.180073a40
mov r11, qword [rbx + 0x3fa8]
mov r9, rcx
movsxd rax, dword [rbx + 0x3fa0]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x180058991
cmp qword [rdx], rcx
je 0x180058991
add rdx, 8
cmp rdx, r8
jb 0x180058983
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x180058a15
movsxd r10, edx
lea r11, [r11 + r10*8]
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x14]
bt r8d, 0x18
jb 0x180058a0b
mov rax, rdx
cmp qword [rdx + 0x388], rcx
je 0x1800589e3
nop word [rax + rax]
cmp rax, rcx
je 0x1800589e3
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x1800589d0
jmp 0x180058a15
cmp byte [rdx + 0xbe], 0
je 0x180058a0b
cmp byte [rdx + 0xc5], 0
jne 0x180058a0b
mov eax, dword [rcx + 0x14]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x1800589b0
movups xmm0, xmmword [rbx + 0x3d0c]
lea rcx, [rsp + 0x50]
mulss xmm1, dword [rbx + 0x38e8]
movups xmmword [rsp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
call fcn.180051ba0
mov edx, eax
mov rcx, r9
add rsp, 0x60
pop rbx
jmp fcn.1800584a0
add rsp, 0x60
pop rbx
ret