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

Disassembly:
test edx, 0xff000000
je 0x140166a4b
mov r11, rsp
push rbp
push r14
push r15
lea rbp, [r11 - 0x48]
sub rsp, 0x130
mov rax, qword [0x140353240]
xor rax, rsp
mov qword [rbp - 0x70], rax
mov rax, qword [rcx + 0x38]
mov r15d, edx
mov qword [r11 + 0x10], rbx
mov r14, rcx
mov qword [r11 + 0x18], rsi
movaps xmmword [r11 - 0x28], xmm6
movss xmm6, dword [rax + 0xc]
movaps xmmword [r11 - 0x38], xmm7
movss xmm7, dword [rax + 8]
movaps xmmword [r11 - 0x48], xmm8
movaps xmm8, xmm6
addss xmm8, dword [rax + 0x14]
movaps xmmword [r11 - 0x58], xmm9
movaps xmm9, xmm7
addss xmm9, dword [rax + 0x10]
mov rax, qword [rcx + 0x3f8]
movaps xmmword [r11 - 0x68], xmm10
movaps xmmword [r11 - 0x78], xmm11
movaps xmmword [r11 - 0x88], xmm12
mov rbx, qword [rax + 0x308]
movaps xmmword [r11 - 0x98], xmm13
mov rdx, rbx
movss dword [rbp - 0x80], xmm7
movss dword [rbp - 0x7c], xmm6
lea rcx, [rbx + 0xa8]
movss dword [rbp - 0x78], xmm9
movss dword [rbp - 0x74], xmm8
movaps xmmword [r11 - 0xa8], xmm14
call fcn.14019a330
cmp dword [rbx], 0
jne 0x140166693
mov rcx, rbx
call fcn.140196c30
movss xmm2, dword [0x140310e40]
lea r8, [rsp + 0x40]
movaps xmm0, xmm9
lea rdx, [rsp + 0x30]
addss xmm0, xmm2
movaps xmm1, xmm7
subss xmm1, xmm2
xor r9d, r9d
mov rcx, rbx
movss dword [rsp + 0x40], xmm0
movaps xmm0, xmm8
addss xmm0, xmm2
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x44], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [rsp + 0x34], xmm0
call fcn.140196ed0
xorps xmm14, xmm14
mov dword [rsp + 0x28], 0
mov r9d, r15d
movss dword [rsp + 0x20], xmm14
lea r8, [rbp - 0x78]
mov rcx, rbx
lea rdx, [rbp - 0x80]
call fcn.140199bf0
mov rdx, qword [rbx + 8]
mov esi, 8
movsxd r8, dword [rbx]
imul rcx, r8, 0x38
lea r9d, [r8 - 1]
movsd xmm13, qword [rcx + rdx - 8]
movsd qword [rsp + 0x78], xmm13
movups xmm10, xmmword [rcx + rdx - 0x38]
movups xmm11, xmmword [rcx + rdx - 0x28]
movups xmm12, xmmword [rcx + rdx - 0x18]
mov dword [rbx], r9d
movups xmmword [rsp + 0x48], xmm10
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x68], xmm12
test r9d, r9d
jne 0x140166769
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1401860f0
jmp 0x1401667c7
mov ecx, dword [rbx + 4]
cmp r9d, ecx
jne 0x140166798
test ecx, ecx
je 0x140166780
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140166782
mov eax, esi
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140186820
mov rdx, qword [rbx + 8]
movsxd rax, dword [rbx]
test rax, rax
jle 0x1401667ad
imul r8, rax, 0x38
lea rcx, [rdx + 0x38]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmmword [rax], xmm10
movups xmmword [rax + 0x10], xmm11
movups xmmword [rax + 0x20], xmm12
movsd qword [rax + 0x30], xmm13
inc dword [rbx]
mov rcx, rbx
call fcn.140196c30
mov eax, dword [rbx + 0x58]
movaps xmm13, xmmword [rsp + 0xb0]
sub eax, 1
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
mov dword [rbx + 0x58], eax
jne 0x140166808
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x140166814
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.140196cf0
mov rax, qword [r14 + 0x3e8]
test byte [rax + 0x45d], 1
je 0x1401669f8
mov rbx, qword [r14 + 0x3f8]
mov qword [rsp + 0x168], rdi
mov ecx, dword [rbx + 0x1c8]
sub ecx, 1
js 0x140166895
mov r9, qword [rbx + 0x1d0]
movsxd rax, ecx
lea rdx, [r9 + rax*8]
mov r8, qword [rdx]
cmp byte [r8 + 0xeb], 0
je 0x140166879
cmp byte [r8 + 0xf2], 0
je 0x140166886
dec ecx
sub rdx, rsi
sub rax, 1
jns 0x140166862
jmp 0x140166895
movsxd rcx, ecx
mov rcx, qword [r9 + rcx*8]
call fcn.140166560
mov rbx, rax
mov rbx, qword [rbx + 0x308]
mov rdx, rbx
lea rcx, [rbx + 0xa8]
call fcn.14019a330
cmp dword [rbx], 0
jne 0x1401668b8
mov rcx, rbx
call fcn.140196c30
comiss xmm7, xmm9
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x34], xmm6
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm8
jb 0x1401668de
movss dword [rsp + 0x38], xmm7
comiss xmm6, xmm8
jb 0x1401668ea
movss dword [rsp + 0x3c], xmm6
mov r8d, dword [rbx + 0x58]
mov ecx, dword [rbx + 0x5c]
cmp r8d, ecx
jne 0x14016691a
inc r8d
test ecx, ecx
je 0x140166907
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [rcx + rax]
cmp esi, r8d
lea rcx, [rbx + 0x58]
cmovg r8d, esi
mov edx, r8d
call fcn.140186b00
movsxd rcx, dword [rbx + 0x58]
mov rax, qword [rbx + 0x60]
add rcx, rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + rcx*8], xmm0
inc dword [rbx + 0x58]
mov rcx, rbx
movups xmmword [rbx + 0x88], xmm0
call fcn.140196cf0
mov rax, qword [r14 + 0x3e8]
lea r8, [rbp - 0x80]
mov r9d, r15d
movss dword [rsp + 0x20], xmm14
lea rdx, [rsp + 0x30]
mov rcx, rbx
movss xmm0, dword [rax + 0x50]
movss xmm1, dword [rax + 0x54]
movss dword [rbp - 0x80], xmm0
addss xmm0, dword [rax + 0x58]
movss dword [rbp - 0x7c], xmm1
addss xmm1, dword [rax + 0x5c]
mov rax, qword [r14 + 0x3f8]
movss dword [rbp - 0x78], xmm0
movss xmm0, dword [rax + 0x50]
movss dword [rbp - 0x74], xmm1
movss xmm1, dword [rax + 0x54]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rax + 0x58]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rax + 0x5c]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.14019e870
mov eax, dword [rbx + 0x58]
mov rdi, qword [rsp + 0x168]
sub eax, 1
mov dword [rbx + 0x58], eax
jne 0x1401669da
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x1401669e6
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.140196cf0
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x158]
movaps xmm14, xmmword [rsp + 0xa0]
mov rcx, qword [rbp - 0x70]
xor rcx, rsp
call fcn.1402863b0
add rsp, 0x130
pop r15
pop r14
pop rbp
ret