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

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x80
mov r14, qword [0x18020a828]
xor ebp, ebp
mov eax, dword [r14 + 0x4ad8]
sub eax, 1
js 0x18006a6a3
mov r8, qword [r14 + 0x4ae0]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rbx, qword [r8]
test rbx, rbx
je 0x18006a699
test dword [rbx + 0x14], 0x8000000
je 0x18006a699
cmp byte [rbx + 0xbe], bpl
je 0x18006a699
cmp byte [rbx + 0xc5], bpl
je 0x18006a6a6
sub r8, 0x38
sub rdx, 1
jns 0x18006a676
mov rbx, rbp
movss xmm1, dword [r14 + 0x4d48]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x18006a6c5
comiss xmm0, dword [r14 + 0x4d2c]
jae 0x18006aab9
mov r8, qword [r14 + 0x4d18]
test r8, r8
je 0x18006a6de
cmp byte [r8 + 0xbe], bpl
je 0x18006a6de
mov al, 1
jmp 0x18006a6e0
xor al, al
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rdi
test rbx, rbx
jne 0x18006a9bb
test al, al
je 0x18006aaa9
movups xmm0, xmmword [r14 + 0x3cfc]
lea rcx, [rsp + 0x30]
mulss xmm1, dword [r14 + 0x38e8]
movups xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x70], xmm6
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movss dword [rsp + 0x3c], xmm0
movaps xmmword [rsp + 0x40], xmm9
call fcn.1800646e0
mov edx, eax
mov rcx, r8
call fcn.18006a2f0
mov rbx, qword [0x18020a828]
mov rdi, qword [r14 + 0x4d18]
cmp dword [rbx + 0x4b08], ebp
jg 0x18006a77b
xor r8d, r8d
lea rdx, [0x1800e9a08]
lea rcx, str.i___0__i___Size
call fcn.1800c5328
movss xmm1, dword [r14 + 0x3d38]
movss xmm7, dword [rdi + 0x28]
movss xmm6, dword [rdi + 0x2c]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x30]
mov rax, qword [rbx + 0x4b10]
subss xmm9, xmm1
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x34]
subss xmm8, xmm1
mov rbx, qword [rax]
addss xmm7, xmm1
addss xmm6, xmm1
movaps xmm0, xmm7
subss xmm0, xmm9
comiss xmm0, dword [rbx + 0x10]
jb 0x18006a802
movaps xmm0, xmm6
subss xmm0, xmm8
comiss xmm0, dword [rbx + 0x14]
jb 0x18006a802
xorps xmm1, xmmword [0x1800f7f00]
subss xmm1, dword [0x1800f7880]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rcx, qword [rdi + 0x2a8]
cmp dword [rcx], ebp
jne 0x18006a812
call fcn.1800895e0
movss xmm0, dword [rbx + 8]
lea rdx, [rbx + 8]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0xa0]
addss xmm0, dword [rbx + 0x10]
addss xmm1, dword [rbx + 0x14]
mov rcx, qword [rdi + 0x2a8]
xor r9d, r9d
movss dword [rsp + 0xa0], xmm0
movss dword [rsp + 0xa4], xmm1
call fcn.180089910
mov rax, qword [0x18020a828]
lea rcx, [rsp + 0x30]
movss xmm0, dword [r14 + 0x4d2c]
mov rbx, qword [rdi + 0x2a8]
movups xmm1, xmmword [rax + 0x3cec]
mulss xmm0, dword [rax + 0x38e8]
movups xmmword [rsp + 0x30], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.1800646e0
mov esi, eax
test eax, 0xff000000
je 0x18006a94b
test byte [rbx + 0x30], 1
lea r8, [rsp + 0xa0]
movss xmm0, dword [0x1800f7844]
lea rdx, [rsp + 0xa8]
movss xmm3, dword [rdi + 0x60]
addss xmm9, xmm0
addss xmm8, xmm0
mov dword [rsp + 0x20], ebp
mov rcx, rbx
movss dword [rsp + 0xa8], xmm9
movss dword [rsp + 0xac], xmm8
je 0x18006a8f5
subss xmm7, xmm0
subss xmm6, xmm0
jmp 0x18006a905
subss xmm7, dword [0x1800f7840]
subss xmm6, dword [0x1800f7840]
movss dword [rsp + 0xa0], xmm7
movss dword [rsp + 0xa4], xmm6
call fcn.18008bb30
movss xmm0, dword [0x1800f78dc]
mov r9d, esi
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.180089d20
mov dword [rbx + 0x78], ebp
mov rbx, qword [rdi + 0x2a8]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp dword [rbx + 0x58], ebp
jg 0x18006a983
xor r8d, r8d
lea rdx, [0x1800e9a08]
lea rcx, str.Size___0
call fcn.1800c5328
mov eax, dword [rbx + 0x58]
sub eax, 1
mov dword [rbx + 0x58], eax
jne 0x18006a998
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x18006a9a4
dec eax
cdqe
shl rax, 4
add rax, qword [rbx + 0x60]
movups xmm0, xmmword [rax]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
call fcn.1800896d0
jmp 0x18006aaa9
mov rcx, rbx
mov rdi, rbx
call fcn.180071c40
movsxd rsi, eax
mov rbp, rsi
test eax, eax
js 0x18006aa54
cmp esi, dword [r14 + 0x3fa0]
jl 0x18006a9f3
xor r8d, r8d
lea rdx, [0x1800e9a08]
lea rcx, str.i___0__i___Size
call fcn.1800c5328
mov rax, qword [r14 + 0x3fa8]
mov rcx, qword [rax + rbp*8]
mov edx, dword [rcx + 0x14]
bt edx, 0x18
jb 0x18006aa4c
mov rax, rcx
cmp qword [rcx + 0x388], rbx
je 0x18006aa26
cmp rax, rbx
je 0x18006aa26
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x18006aa13
jmp 0x18006aa54
cmp byte [rcx + 0xbe], 0
je 0x18006aa4c
cmp byte [rcx + 0xc5], 0
jne 0x18006aa4c
mov eax, dword [rbx + 0x14]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe rdi, rcx
dec esi
sub rbp, 1
jns 0x18006a9d4
mov rax, qword [0x18020a828]
movss xmm1, dword [r14 + 0x4d48]
mov ecx, dword [rbx + 0x1cc]
mulss xmm1, dword [rax + 0x38e8]
comiss xmm1, dword [0x1800f7880]
jae 0x18006aa9f
mov eax, ecx
xorps xmm0, xmm0
shr eax, 0x18
cvtsi2ss xmm0, rax
mov eax, ecx
and eax, 0xffffff
mulss xmm0, xmm1
cvttss2si rdx, xmm0
shl edx, 0x18
mov ecx, edx
or ecx, eax
mov edx, ecx
mov rcx, rdi
call fcn.18006a2f0
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rbp
pop rbx
ret