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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x10a8
call fcn.14002c200
sub rsp, rax
mov rax, qword [0x14003a0c0]
xor rax, rsp
mov qword [rsp + 0x1090], rax
movsd xmm4, qword [r9]
mov rbx, r9
mov r10d, dword [r9 + 0x38]
movaps xmm0, xmm4
mulsd xmm0, qword [0x140032fc0]
mov rdi, rcx
mov r11d, dword [r9 + 0x3c]
movsd xmm5, qword [rbx + 8]
mov r13d, dword [r8 + 8]
mov rbp, qword [r8]
movsxd rax, edx
mov qword [rsp + 0x88], rcx
lea rcx, [0x140033000]
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x34], r10d
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x70], rax
mov eax, dword [r9 + 0x40]
cvttsd2si r9d, xmm0
cdq
mov dword [rsp + 0x38], r11d
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x4c], eax
movaps xmm0, xmm5
mulsd xmm0, qword [0x140032fc0]
mov dword [rsp + 0x3c], r9d
cvttsd2si r14d, xmm0
mov dword [rsp + 0x40], r14d
jmp 0x14001c0e8
movsx edx, word [rbp + 2]
movaps xmm0, xmm4
movzx r12d, word [rbp + 4]
mov eax, edx
imul eax, dword [rdi + 0x1c]
dec r13d
mov dword [rsp + 0x54], r13d
movd xmm3, edx
cvtdq2pd xmm3, xmm3
movsxd rcx, eax
movsx rax, word [rbp]
addsd xmm3, qword [0x14002ecf0]
lea r15, [rcx + rax*4]
mov rax, qword [rbx + 0x30]
movzx ecx, byte [rbp + 6]
imul ecx, dword [rbx + 0x44]
add r15, qword [rdi + 8]
movaps xmm1, xmm3
mov qword [rsp + 0x60], rax
mulsd xmm1, qword [rbx + 0x10]
movsx eax, word [rbp]
mulsd xmm3, qword [rbx + 0x18]
sar ecx, 8
mov dword [rsp + 0x30], ecx
movd xmm2, eax
cvtdq2pd xmm2, xmm2
addsd xmm2, qword [0x14002ecf0]
mulsd xmm0, xmm2
addsd xmm1, xmm0
movaps xmm0, xmm5
mulsd xmm0, xmm2
addsd xmm1, qword [rbx + 0x20]
addsd xmm3, xmm0
mulsd xmm1, qword [0x140032fc0]
addsd xmm3, qword [rbx + 0x28]
cvttsd2si eax, xmm1
mulsd xmm3, qword [0x140032fc0]
mov dword [rsp + 0x20], eax
cvttsd2si eax, xmm3
mov dword [rsp + 0x28], eax
test r12d, r12d
je 0x14001c0e4
mov ebx, dword [rsp + 0x20]
mov edi, r10d
mov r13d, dword [rsp + 0x28]
mov eax, r9d
cdq
shl edi, 0x10
idiv edi
mov esi, r11d
mov eax, r14d
mov dword [rsp + 0x44], edx
mov ebp, ecx
cdq
shl esi, 0x10
idiv esi
mov dword [rsp + 0x48], edx
mov r14d, 0x400
lea r9, [rsp + 0x90]
cmp r12d, r14d
cmovl r14d, r12d
movsxd rax, r14d
mov dword [rsp + 0x50], r14d
lea rcx, [rax*4]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rcx
add rax, rcx
mov qword [rsp + 0x68], rax
mov eax, ebx
cdq
idiv edi
mov eax, r13d
mov r8d, edx
cdq
idiv esi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
add rax, rcx
cmp qword [rsp + 0x28], rax
jae 0x14001c08a
mov ebp, dword [rsp + 0x44]
dec rcx
mov r14d, dword [rsp + 0x48]
shr rcx, 2
inc ecx
mov eax, ecx
imul ecx, dword [rsp + 0x40]
imul eax, dword [rsp + 0x3c]
add ebx, eax
add r13d, ecx
mov dword [rsp + 0x20], ebx
mov rbx, qword [rsp + 0x60]
mov dword [rsp + 0x28], r13d
mov r13d, dword [rsp + 0x4c]
test r8d, r8d
jns 0x14001c02b
mov eax, r10d
shl eax, 0x10
add r8d, eax
test edx, edx
jns 0x14001c037
mov eax, r11d
shl eax, 0x10
add edx, eax
mov eax, r8d
mov ecx, edx
sar ecx, 0x10
imul ecx, r13d
sar eax, 0x10
add eax, ecx
cdqe
mov ecx, dword [rbx + rax*4]
lea eax, [r8 + rbp]
mov dword [r9], ecx
mov r8d, eax
sub r8d, edi
lea ecx, [r14 + rdx]
add r9, 4
mov edx, ecx
cmp eax, edi
cmovl r8d, eax
sub edx, esi
cmp ecx, esi
cmovl edx, ecx
cmp r9, qword [rsp + 0x68]
jb 0x14001c01d
mov r14d, dword [rsp + 0x50]
mov ebx, dword [rsp + 0x20]
mov r13d, dword [rsp + 0x28]
mov ebp, dword [rsp + 0x30]
mov r9d, ebp
lea r8, [rsp + 0x90]
mov edx, r14d
mov rcx, r15
call qword [rsp + 0x70]
add r15, qword [rsp + 0x78]
mov r10d, dword [rsp + 0x34]
mov r11d, dword [rsp + 0x38]
sub r12d, r14d
jne 0x14001bf7c
mov rbx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x3c]
movsd xmm4, qword [rbx]
movsd xmm5, qword [rbx + 8]
mov r14d, dword [rsp + 0x40]
mov rdi, qword [rsp + 0x88]
add rbp, 8
mov qword [rsp + 0x58], rbp
test r13d, r13d
jne 0x14001be98
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.140011e80
add rsp, 0x10a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret