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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movsx esi, dx
mov rbp, rcx
movsx edi, r8w
mov ecx, 0x38
movsx ebx, r9w
mov qword [rsp + 0x48], 0
movd xmm0, esi
movd xmm1, edi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.1402d160c
mov r14, rax
xor eax, eax
cmp byte [rsp + 0x88], 0
mov qword [r14 + 4], rax
mov qword [r14 + 0xc], rax
mov dword [r14 + 0x28], eax
mov dword [r14 + 0x34], eax
mov eax, dword [rsp + 0x40]
mov dword [r14 + 0x18], eax
mov eax, dword [rsp + 0x44]
mov dword [r14 + 0x1c], eax
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [r14 + 0x24], eax
mov dword [r14], 3
mov dword [r14 + 0x14], ebx
mov dword [r14 + 0x2c], esi
mov dword [r14 + 0x30], edi
je 0x140040aae
mov rdi, qword [0x1403c79b0]
imul rax, qword [rdi + 0x30], 0x1c8
mov rbx, qword [rdi + 0x28]
add rax, rbx
cmp rbx, rax
jae 0x140040aa3
add rbx, 0x30
nop
cmp dword [rbx + 8], 5
jne 0x140040a83
mov rcx, qword [rbx]
test rcx, rcx
je 0x140040a83
mov rdx, qword [rbp + 0x30]
add rcx, 0x488
add rdx, 0x488
cmp qword [rdx + 0x18], 0x10
mov rax, qword [rdx + 0x10]
jb 0x1400409a6
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x1400409b4
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140040a83
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140040a83
xor ecx, ecx
lea r8d, [rax + 1]
test byte [r14 + 0xc], 8
je 0x140040a2e
mov edx, dword [r14 + 0x34]
add edx, 0x3d
call fcn.14000ff40
xor edx, edx
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [r14]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [r14 + 0x30]
movsd qword [rcx + 0x34], xmm1
mov rcx, qword [rax + 0x10]
mov r8d, dword [r14 + 0x34]
add rcx, 0x3c
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140040a6e
mov edx, 0x3d
call fcn.14000ff40
mov rdi, rax
mov rax, qword [rax + 0x10]
mov dword [rax], 4
movups xmm0, xmmword [r14]
mov rax, qword [rdi + 0x10]
movups xmmword [rax + 4], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x14], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rax + 0x24], xmm0
movsd xmm1, qword [r14 + 0x30]
movsd qword [rax + 0x34], xmm1
lea rcx, [rbx - 0x30]
mov r8, rdi
xor edx, edx
call fcn.1400101d0
mov rdi, qword [0x1403c79b0]
imul rcx, qword [rdi + 0x30], 0x1c8
add rbx, 0x1c8
add rcx, qword [rdi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
jb 0x140040970
test rbp, rbp
je 0x140040bb8
jmp 0x140040b07
test rbp, rbp
je 0x140040bb8
mov edx, 0x3d
xor ecx, ecx
lea r8d, [rdx - 0x3c]
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [r14]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [r14 + 0x30]
movsd qword [rcx + 0x34], xmm1
mov rcx, rbp
call fcn.1400101d0
xor ecx, ecx
test byte [r14 + 0xc], 8
lea r8d, [rcx + 1]
je 0x140040b6b
mov edx, dword [r14 + 0x34]
add edx, 0x3d
call fcn.14000ff40
xor edx, edx
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [r14]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [r14 + 0x30]
movsd qword [rcx + 0x34], xmm1
mov rcx, qword [rax + 0x10]
mov r8d, dword [r14 + 0x34]
add rcx, 0x3c
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140040bab
mov edx, 0x3d
call fcn.14000ff40
mov rbx, rax
mov rax, qword [rax + 0x10]
mov dword [rax], 4
movups xmm0, xmmword [r14]
mov rax, qword [rbx + 0x10]
movups xmmword [rax + 4], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x14], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rax + 0x24], xmm0
movsd xmm1, qword [r14 + 0x30]
movsd qword [rax + 0x34], xmm1
mov r8, rbx
xor edx, edx
mov rcx, rbp
call fcn.1400101d0
mov rcx, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
jmp fcn.1402d0d60