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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x14045b0c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
cmp dword [rsp + 0x140], 3
jl 0x1401d86b7
mov eax, dword [rsp + 0x148]
and eax, 0xff000000
test eax, eax
jne 0x1401d86bc
jmp 0x1401d90c8
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xd0]
call fcn.1401f3210
nop
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x30]
and eax, 4
test eax, eax
je 0x1401d8e62
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 0xb8]
movss dword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x148]
and eax, 0xffffff
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x140]
sub eax, 2
imul eax, eax, 3
imul ecx, dword [rsp + 0x140], 6
add eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x140]
shl eax, 1
mov dword [rsp + 0x64], eax
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x130]
call fcn.1401da640
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x34]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
add rax, 0x30
mov qword [rsp + 0xb8], rax
mov ecx, dword [rsp + 0x140]
call fcn.1401f3860
cdqe
add rax, 8
xor edx, edx
mov ecx, 8
div rcx
mov dword [rsp + 0x70], eax
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
call fcn.1401f5010
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
mov r9, qword [rax + 0x38]
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1401ef6e0
nop
cmp dword [rsp + 0xd0], 0
jle 0x1401d88cc
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd0]
call fcn.1401ef790
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x100]
mov ecx, dword [rsp + 0x2c]
lea eax, [rcx + rax*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x100]
mov ecx, dword [rsp + 0x2c]
lea eax, [rcx + rax*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, 4
imul rax, rax, 2
mov eax, dword [rsp + rax + 0x100]
mov ecx, dword [rsp + 0x2c]
lea eax, [rcx + rax*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x48]
add rax, 6
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x48], rax
jmp 0x1401d87f8
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
add rax, 0x30
mov qword [rsp + 0xc0], rax
mov edx, dword [rsp + 0x140]
mov rcx, qword [rsp + 0xc0]
call fcn.1401f5010
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x140]
dec eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], 0
jmp 0x1401d893e
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x140]
cmp dword [rsp + 0x30], eax
jge 0x1401d8a5c
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x138]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa0], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x138]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
movss xmm0, dword [rax]
subss xmm0, dword [rcx]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
movss xmm0, dword [rax + 4]
subss xmm0, dword [rcx + 4]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x34]
mulss xmm1, dword [rsp + 0x34]
addss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x54]
comiss xmm0, dword [0x140260d18]
jbe 0x1401d8a25
movss xmm0, dword [rsp + 0x54]
call fcn.1401e02a0
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [rsp + 0x58]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x34]
mulss xmm0, dword [rsp + 0x58]
movss dword [rsp + 0x34], xmm0
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movss xmm0, dword [rsp + 0x34]
movss dword [rcx + rax*8], xmm0
movss xmm0, dword [rsp + 0x38]
xorps xmm0, xmmword [0x140260ea0]
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
movss dword [rcx + rax*8 + 4], xmm0
jmp 0x1401d8924
mov eax, dword [rsp + 0x140]
dec eax
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x20], 0
jmp 0x1401d8a8d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x140]
cmp dword [rsp + 0x20], eax
jge 0x1401d8e42
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xa8], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax*8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
movss xmm0, dword [rax]
addss xmm0, dword [rcx]
mulss xmm0, dword [0x140260d48]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rcx + 4]
mulss xmm0, dword [0x140260d48]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x24]
movss xmm1, dword [rsp + 0x28]
mulss xmm1, dword [rsp + 0x28]
addss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rsp + 0x5c]
comiss xmm0, dword [0x140281c0c]
jbe 0x1401d8b9e
movss xmm0, dword [0x140260d70]
divss xmm0, dword [rsp + 0x5c]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [0x140260e48]
jbe 0x1401d8b7a
movss xmm0, dword [0x140260e48]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x28]
mulss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [0x140260d48]
movss xmm1, dword [rsp + 0x24]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [0x140260d48]
movss xmm1, dword [rsp + 0x28]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
movss xmm0, dword [rcx + rax*8]
subss xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
movss xmm0, dword [rcx + rax*8 + 4]
subss xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0x148]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
movss xmm0, dword [rcx + rax*8]
addss xmm0, dword [rsp + 0x24]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax], xmm0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x138]
movss xmm0, dword [rcx + rax*8 + 4]
addss xmm0, dword [rsp + 0x28]
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
movss dword [rcx + rax + 4], xmm0
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0x7c]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x40]
add rax, 0x28
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x40], rax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
mov ecx, 2
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x48]
add rax, 0xc
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x48], rax
jmp 0x1401d8a73
movzx eax, word [rsp + 0x64]
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x34], eax
jmp 0x1401d90c8
mov eax, dword [rsp + 0x140]
sub eax, 2
imul eax, eax, 3
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x140]
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x130]
call fcn.1401da640
nop
mov dword [rsp + 0x48], 0
jmp 0x1401d8eaf
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jge 0x1401d8f4a
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x138]
mov rax, qword [rcx + rax*8]
mov ecx, 0x14
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x40]
mov qword [rdx + rcx], rax
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x90]
mov qword [rcx + rax + 8], rdx
mov eax, 0x14
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x40]
mov edx, dword [rsp + 0x148]
mov dword [rcx + rax + 0x10], edx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x40]
add rax, 0x14
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x40], rax
jmp 0x1401d8ea5
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
add rax, 0x30
mov qword [rsp + 0xc8], rax
mov ecx, dword [rsp + 0x140]
call fcn.1401f3860
cdqe
add rax, 8
xor edx, edx
mov ecx, 8
div rcx
mov dword [rsp + 0x84], eax
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0xc8]
call fcn.1401f5010
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x38]
mov r9, qword [rax + 0x38]
mov r8d, dword [rsp + 0x140]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1401ef6e0
nop
cmp dword [rsp + 0xd0], 0
jle 0x1401d90ad
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd0]
call fcn.1401ef790
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x34]
add ecx, dword [rsp + rax + 0x100]
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x34]
add ecx, dword [rsp + rax + 0x100]
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x34]
add ecx, dword [rsp + rax + 0x100]
mov eax, ecx
mov ecx, 2
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x48]
mov word [rcx + rdx], ax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x48]
add rax, 6
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x48], rax
jmp 0x1401d8fc7
movzx eax, word [rsp + 0x50]
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0x34]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x34], eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140259db0
add rsp, 0x128
ret