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

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [0x1404e2e80]
mov eax, dword [rbx + 0x4ac0]
sub eax, 1
js 0x14019990d
mov r8, qword [rbx + 0x4ac8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x140199903
test dword [rcx + 0x14], 0x8000000
je 0x140199903
cmp byte [rcx + 0xbe], 0
je 0x140199903
cmp byte [rcx + 0xc5], 0
je 0x14019990f
sub r8, 0x38
sub rdx, 1
jns 0x1401998e0
xor ecx, ecx
movss xmm1, dword [rbx + 0x4d1c]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x14019992c
comiss xmm0, dword [rbx + 0x4d04]
jae 0x140199c30
mov r8, qword [rbx + 0x4cf0]
test r8, r8
je 0x140199946
cmp byte [r8 + 0xbe], 0
je 0x140199946
mov al, 1
jmp 0x140199948
xor al, al
test rcx, rcx
jne 0x140199b50
test al, al
je 0x140199c30
movups xmm0, xmmword [rbx + 0x3d10]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x68], rsi
mulss xmm1, dword [rbx + 0x38f0]
mov qword [rsp + 0x70], rdi
movups xmmword [rsp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
call fcn.1401a10c0
mov edx, eax
mov rcx, r8
call 0x140199d10
mov rsi, qword [rbx + 0x4cf0]
movss xmm1, dword [rbx + 0x3d60]
mov rax, qword [0x1404e2e80]
movss xmm5, dword [rsi + 0x28]
movss xmm4, dword [rsi + 0x2c]
movaps xmm3, xmm5
addss xmm5, dword [rsi + 0x30]
mov rcx, qword [rax + 0x4b00]
subss xmm3, xmm1
movaps xmm2, xmm4
addss xmm4, dword [rsi + 0x34]
subss xmm2, xmm1
mov rdi, qword [rcx]
addss xmm5, xmm1
movss dword [rsp + 0x30], xmm3
addss xmm4, xmm1
movss dword [rsp + 0x34], xmm2
movaps xmm0, xmm5
movss dword [rsp + 0x38], xmm5
subss xmm0, xmm3
movss dword [rsp + 0x3c], xmm4
comiss xmm0, dword [rdi + 0xc]
jb 0x140199a4f
movaps xmm0, xmm4
subss xmm0, xmm2
comiss xmm0, dword [rdi + 0x10]
jb 0x140199a4f
xorps xmm1, xmmword [0x14025de80]
subss xmm1, dword [0x14025d728]
movaps xmm0, xmm1
subss xmm3, xmm1
subss xmm2, xmm1
addss xmm0, xmm5
addss xmm1, xmm4
movss dword [rsp + 0x30], xmm3
movss dword [rsp + 0x34], xmm2
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
mov rcx, qword [rsi + 0x2a8]
cmp dword [rcx], 0
jne 0x140199a60
call fcn.1401aecd0
movss xmm0, dword [rdi + 4]
lea rdx, [rdi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x60]
addss xmm0, dword [rdi + 0xc]
addss xmm1, dword [rdi + 0x10]
mov rcx, qword [rsi + 0x2a8]
xor r9d, r9d
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
call fcn.1401b1210
mov rax, qword [0x1404e2e80]
lea rcx, [rsp + 0x40]
movss xmm0, dword [rbx + 0x4d04]
mov rdi, qword [rsi + 0x2a8]
movups xmm1, xmmword [rax + 0x3d00]
mulss xmm0, dword [rax + 0x38f0]
movups xmmword [rsp + 0x40], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.1401a10c0
mov ebx, eax
test eax, 0xff000000
je 0x140199b35
movss xmm3, dword [rsi + 0x60]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.1401ac780
movss xmm0, dword [0x14025d7d4]
mov r9d, ebx
mov r8d, dword [rdi + 0x78]
mov rcx, rdi
mov rdx, qword [rdi + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.1401afc90
mov dword [rdi + 0x78], 0
mov rcx, qword [rsi + 0x2a8]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
jmp fcn.1401b1160
mov r11, qword [rbx + 0x3fe0]
mov r9, rcx
movsxd rax, dword [rbx + 0x3fd8]
mov rdx, r11
lea r8, [r11 + rax*8]
cmp r11, r8
jae 0x140199b7e
nop dword [rax]
cmp qword [rdx], rcx
je 0x140199b7e
add rdx, 8
cmp rdx, r8
jb 0x140199b70
sub rdx, r11
sar rdx, 3
test edx, edx
js 0x140199bf5
movsxd r10, edx
lea r11, [r11 + r10*8]
mov rdx, qword [r11]
mov r8d, dword [rdx + 0x14]
bt r8d, 0x18
jb 0x140199beb
mov rax, rdx
cmp qword [rdx + 0x388], rcx
je 0x140199bc3
nop word [rax + rax]
cmp rax, rcx
je 0x140199bc3
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x140199bb0
jmp 0x140199bf5
cmp byte [rdx + 0xbe], 0
je 0x140199beb
cmp byte [rdx + 0xc5], 0
jne 0x140199beb
mov eax, dword [rcx + 0x14]
and r8d, 0x2000000
and eax, 0x2000000
cmp r8d, eax
cmovbe r9, rdx
sub r11, 8
sub r10, 1
jns 0x140199b90
movups xmm0, xmmword [rbx + 0x3d20]
lea rcx, [rsp + 0x40]
mulss xmm1, dword [rbx + 0x38f0]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.1401a10c0
mov edx, eax
mov rcx, r9
add rsp, 0x50
pop rbx
jmp 0x140199d10
add rsp, 0x50
pop rbx
ret
test edx, 0xff000000
je 0x140199f5c
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax + 8], rbx
mov edi, edx
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1404e2e80]
mov r8, qword [rax + 0x4b00]
mov rax, qword [r8]
movss xmm8, dword [rax + 4]
movss xmm9, dword [rax + 8]
movaps xmm6, xmm8
addss xmm6, dword [rax + 0xc]
movaps xmm7, xmm9
movss dword [rsp + 0x30], xmm8
addss xmm7, dword [rax + 0x10]
mov rax, qword [rcx + 0x388]
movss dword [rsp + 0x34], xmm9
movss dword [rsp + 0x38], xmm6
mov rbx, qword [rax + 0x2a8]
movss dword [rsp + 0x3c], xmm7
cmp dword [rbx], 0
jne 0x140199da3
mov rcx, rbx
call fcn.1401aecd0
movss xmm0, dword [0x14025d728]
lea r8, [rsp + 0xa0]
addss xmm6, xmm0
xor r9d, r9d
addss xmm7, xmm0
mov rcx, rbx
subss xmm8, xmm0
subss xmm9, xmm0
lea rdx, [rsp + 0xa8]
movss dword [rsp + 0xa0], xmm6
movss dword [rsp + 0xa4], xmm7
movss dword [rsp + 0xa8], xmm8
movss dword [rsp + 0xac], xmm9
call fcn.1401b1210
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0
mov r9d, edi
movss dword [rsp + 0x20], xmm0
lea r8, [rsp + 0x38]
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.1401b0d40
mov rax, qword [rbx + 8]
movsxd r8, dword [rbx]
imul rcx, r8, 0x38
lea edx, [r8 - 1]
movsd xmm9, qword [rcx + rax - 8]
movups xmm6, xmmword [rcx + rax - 0x38]
movups xmm7, xmmword [rcx + rax - 0x28]
movups xmm8, xmmword [rcx + rax - 0x18]
mov dword [rbx], edx
mov ecx, dword [rbx + 4]
test edx, edx
jne 0x140199ea0
cmp edx, ecx
jne 0x140199e7d
test ecx, ecx
je 0x140199e66
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140199e6b
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140048630
movsxd rax, dword [rbx]
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm6
movups xmmword [rcx + rax + 0x10], xmm7
movups xmmword [rcx + rax + 0x20], xmm8
movsd qword [rcx + rax + 0x30], xmm9
jmp 0x140199ef9
cmp edx, ecx
jne 0x140199eca
test ecx, ecx
je 0x140199eb3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140199eb8
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140048630
movsxd rax, dword [rbx]
test rax, rax
jle 0x140199ee3
mov rdx, qword [rbx + 8]
imul r8, rax, 0x38
lea rcx, [rdx + 0x38]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmmword [rax], xmm6
movups xmmword [rax + 0x10], xmm7
movups xmmword [rax + 0x20], xmm8
movsd qword [rax + 0x30], xmm9
inc dword [rbx]
mov rcx, rbx
call fcn.1401aecd0
mov eax, dword [rbx + 0x58]
movaps xmm9, xmmword [rsp + 0x40]
sub eax, 1
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbx + 0x58], eax
jne 0x140199f2e
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x140199f3a
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.1401ad540
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret