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

Disassembly:
test edx, 0xff000000
je 0x140010833
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov qword [rax + 8], rbx
mov r15d, edx
mov qword [rax + 0x10], rsi
mov r14, rcx
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
mov rax, qword [rcx + 0x30]
movss xmm7, dword [rax + 8]
movss xmm6, dword [rax + 0xc]
movaps xmm9, xmm7
addss xmm9, dword [rax + 0x10]
movaps xmm8, xmm6
movss dword [rsp + 0x40], xmm7
addss xmm8, dword [rax + 0x14]
mov rax, qword [rcx + 0x3b0]
movss dword [rsp + 0x44], xmm6
movss dword [rsp + 0x48], xmm9
mov rbx, qword [rax + 0x2c0]
movss dword [rsp + 0x4c], xmm8
cmp dword [rbx], 0
jne 0x14001043c
mov rcx, rbx
call fcn.1400360e0
movss xmm0, dword [0x1400ba6fc]
movaps xmm3, xmm7
subss xmm3, xmm0
movaps xmm1, xmm9
addss xmm1, xmm0
movaps xmm2, xmm6
movaps xmm4, xmm8
subss xmm2, xmm0
addss xmm4, xmm0
movss dword [rsp + 0x30], xmm3
comiss xmm3, xmm1
movss dword [rsp + 0x34], xmm2
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm4
jb 0x140010485
movss dword [rsp + 0x38], xmm3
comiss xmm2, xmm4
jb 0x140010490
movss dword [rsp + 0x3c], xmm2
mov r8d, dword [rbx + 0x58]
mov esi, 8
mov ecx, dword [rbx + 0x5c]
cmp r8d, ecx
jne 0x1400104c8
inc r8d
test ecx, ecx
je 0x1400104b3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400104b5
mov eax, esi
cmp eax, r8d
lea rcx, [rbx + 0x58]
cmovg r8d, eax
mov edx, r8d
call fcn.14002d660
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.1400361a0
xorps xmm14, xmm14
mov dword [rsp + 0x28], 0
mov r9d, r15d
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x48]
mov rcx, rbx
lea rdx, [rsp + 0x40]
call fcn.140038ce0
mov rdx, qword [rbx + 8]
movsxd r8, dword [rbx]
imul rcx, r8, 0x38
lea r9d, [r8 - 1]
movsd xmm13, qword [rcx + rdx - 8]
movsd qword [rbp - 0x80], 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 + 0x50], xmm10
movups xmmword [rsp + 0x60], xmm11
movups xmmword [rsp + 0x70], xmm12
test r9d, r9d
jne 0x14001056d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14002ca30
jmp 0x1400105cb
mov ecx, dword [rbx + 4]
cmp r9d, ecx
jne 0x14001059c
test ecx, ecx
je 0x140010584
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140010586
mov eax, esi
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14002d360
mov rdx, qword [rbx + 8]
movsxd rax, dword [rbx]
test rax, rax
jle 0x1400105b1
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 eax, dword [rbx + 0x58]
movaps xmm13, xmmword [rsp + 0xa0]
sub eax, 1
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
mov dword [rbx + 0x58], eax
jne 0x140010604
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x140010610
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.1400361a0
mov rcx, rbx
call fcn.1400360e0
mov rax, qword [r14 + 0x3a0]
test byte [rax + 0x401], 1
je 0x1400107e4
mov rbx, qword [r14 + 0x3b0]
mov ecx, dword [rbx + 0x1b0]
sub ecx, 1
js 0x140010693
mov r9, qword [rbx + 0x1b8]
movsxd rax, ecx
lea rdx, [r9 + rax*8]
nop
mov r8, qword [rdx]
cmp byte [r8 + 0xcb], 0
je 0x140010677
cmp byte [r8 + 0xd2], 0
je 0x140010684
dec ecx
sub rdx, rsi
sub rax, 1
jns 0x140010660
jmp 0x140010693
movsxd rcx, ecx
mov rcx, qword [r9 + rcx*8]
call fcn.140010320
mov rbx, rax
mov rbx, qword [rbx + 0x2c0]
cmp dword [rbx], 0
jne 0x1400106a7
mov rcx, rbx
call fcn.1400360e0
comiss xmm7, xmm9
movss dword [rsp + 0x30], xmm7
movss dword [rsp + 0x34], xmm6
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm8
jb 0x1400106cd
movss dword [rsp + 0x38], xmm7
comiss xmm6, xmm8
jb 0x1400106d9
movss dword [rsp + 0x3c], xmm6
mov r8d, dword [rbx + 0x58]
mov ecx, dword [rbx + 0x5c]
cmp r8d, ecx
jne 0x140010709
inc r8d
test ecx, ecx
je 0x1400106f6
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.14002d660
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.1400361a0
mov rax, qword [r14 + 0x3a0]
lea r8, [rsp + 0x40]
mov r9d, r15d
movss dword [rsp + 0x20], xmm14
lea rdx, [rsp + 0x30]
mov rcx, rbx
movss xmm0, dword [rax + 0x48]
movss xmm1, dword [rax + 0x4c]
movss dword [rsp + 0x40], xmm0
addss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x44], xmm1
addss xmm1, dword [rax + 0x54]
mov rax, qword [r14 + 0x3b0]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rax + 0x48]
movss dword [rsp + 0x4c], xmm1
movss xmm1, dword [rax + 0x4c]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rax + 0x54]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.14003e010
mov eax, dword [rbx + 0x58]
sub eax, 1
mov dword [rbx + 0x58], eax
jne 0x1400107c6
mov rax, qword [rbx + 0x38]
add rax, 0x1c
jmp 0x1400107d2
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.1400361a0
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
movaps xmm14, xmmword [rsp + 0x90]
add rsp, 0x120
pop r15
pop r14
pop rbp
ret