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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x68], rax
movsxd rdi, r8d
mov rsi, rcx
test rdx, rdx
je 0x1403d28a5
mov qword [rsp + 0x80], r15
test r9, r9
jne 0x1403d242a
movups xmm0, xmmword [rdx]
jmp 0x1403d242e
movups xmm0, xmmword [r9]
mov r8, rdx
mov qword [rsp + 0xd8], rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x58], xmm0
call qword [0x140449c40]
mov r11d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
mov r15d, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x4c]
sub r11d, r8d
jne 0x1403d247d
cmp ecx, edx
jne 0x1403d247d
mov rbx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x30]
jmp 0x1403d2492
sub ecx, edx
imul r8d, r15d
imul edx, edi
movsxd rbx, r8d
movsxd rax, edx
add rax, rsi
add rbx, rax
xor eax, eax
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x90], r13
movaps xmmword [rsp + 0x70], xmm6
mov dword [rsp + 0x20], 0
movsd xmm2, qword [rax + 0x10]
cmp r15d, 4
jne 0x1403d2577
movsd xmm0, qword [0x1404541f8]
xorps xmm1, xmm1
mulsd xmm2, xmm0
comisd xmm1, xmm2
jbe 0x1403d24ec
xorps xmm3, xmm3
jmp 0x1403d24f3
movaps xmm3, xmm0
minsd xmm3, xmm2
movsd xmm4, qword [rax + 8]
cvttsd2si r8d, xmm3
mulsd xmm4, xmm0
mov dword [rsp + 0x30], r8d
comisd xmm1, xmm4
jbe 0x1403d2511
xorps xmm2, xmm2
jmp 0x1403d2518
movaps xmm2, xmm0
minsd xmm2, xmm4
movsd xmm3, qword [rax]
cvttsd2si edx, xmm2
mulsd xmm3, xmm0
mov dword [rsp + 0x28], edx
comisd xmm1, xmm3
jbe 0x1403d2533
xorps xmm2, xmm2
jmp 0x1403d253a
movaps xmm2, xmm0
minsd xmm2, xmm3
movsd xmm3, qword [rax + 0x18]
mulsd xmm3, xmm0
cvttsd2si r13d, xmm2
comisd xmm1, xmm3
ja 0x1403d2555
minsd xmm0, xmm3
movaps xmm1, xmm0
movss xmm3, dword [rsp + 0x44]
movss xmm6, dword [rsp + 0x40]
movss xmm5, dword [rsp + 0x3c]
movss xmm4, dword [rsp + 0x38]
cvttsd2si r12d, xmm1
jmp 0x1403d2603
movsd xmm1, qword [0x1404538b8]
xorps xmm0, xmm0
comisd xmm0, xmm2
jbe 0x1403d258d
xorps xmm3, xmm3
jmp 0x1403d2594
movaps xmm3, xmm1
minsd xmm3, xmm2
movsd xmm4, qword [rax + 8]
comisd xmm0, xmm4
cvtpd2ps xmm6, xmm3
jbe 0x1403d25a8
xorps xmm2, xmm2
jmp 0x1403d25af
movaps xmm2, xmm1
minsd xmm2, xmm4
movsd xmm3, qword [rax]
comisd xmm0, xmm3
cvtpd2ps xmm5, xmm2
jbe 0x1403d25c2
xorps xmm2, xmm2
jmp 0x1403d25c9
movaps xmm2, xmm1
minsd xmm2, xmm3
movsd xmm3, qword [rax + 0x18]
comisd xmm0, xmm3
cvtpd2ps xmm4, xmm2
ja 0x1403d25df
minsd xmm1, xmm3
movaps xmm0, xmm1
movzx r8d, byte [rsp + 0x22]
movzx edx, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x23]
movzx r13d, byte [rsp + 0x20]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
cvtpd2ps xmm3, xmm0
test ecx, ecx
jle 0x1403d287c
mov qword [rsp + 0xa0], rbp
mov rax, rdi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x20], rax
mov r14d, ecx
cmp r15d, 4
jne 0x1403d26b3
test r11d, r11d
jle 0x1403d2856
movzx ebp, r8b
lea r8, [rbx + 2]
movzx edi, r13b
movzx r9d, r12b
movzx esi, dl
mov r10d, r11d
nop
movzx ecx, byte [r8 - 2]
lea r8, [r8 + 4]
mov eax, edi
sub eax, ecx
imul eax, r9d
cdq
movzx edx, dl
add eax, edx
sar eax, 8
add al, cl
movzx ecx, byte [r8 - 5]
mov byte [r8 - 6], al
mov eax, esi
sub eax, ecx
imul eax, r9d
cdq
movzx edx, dl
add eax, edx
sar eax, 8
add al, cl
movzx ecx, byte [r8 - 4]
mov byte [r8 - 5], al
mov eax, ebp
sub eax, ecx
imul eax, r9d
cdq
movzx edx, dl
add eax, edx
sar eax, 8
add al, cl
mov byte [r8 - 4], al
sub r10, 1
jne 0x1403d2650
jmp 0x1403d2851
xor edx, edx
mov rcx, rbx
cmp r11d, 4
jl 0x1403d27f8
lea eax, [r11 - 4]
shr eax, 2
inc eax
mov r8d, eax
lea edx, [rax*4]
nop word [rax + rax]
movaps xmm1, xmm4
subss xmm1, dword [rcx]
mulss xmm1, xmm3
addss xmm1, dword [rcx]
movss dword [rcx], xmm1
movaps xmm1, xmm5
subss xmm1, dword [rcx + 4]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 4]
movss dword [rcx + 4], xmm1
movaps xmm1, xmm6
subss xmm1, dword [rcx + 8]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 8]
movss dword [rcx + 8], xmm1
movaps xmm1, xmm4
subss xmm1, dword [rcx + 0x10]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x10]
movss dword [rcx + 0x10], xmm1
movaps xmm1, xmm5
subss xmm1, dword [rcx + 0x14]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x14]
movss dword [rcx + 0x14], xmm1
movaps xmm1, xmm6
subss xmm1, dword [rcx + 0x18]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x18]
movss dword [rcx + 0x18], xmm1
movaps xmm1, xmm4
subss xmm1, dword [rcx + 0x20]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x20]
movss dword [rcx + 0x20], xmm1
movaps xmm1, xmm5
subss xmm1, dword [rcx + 0x24]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x24]
movss dword [rcx + 0x24], xmm1
movaps xmm1, xmm6
subss xmm1, dword [rcx + 0x28]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x28]
movss dword [rcx + 0x28], xmm1
movaps xmm1, xmm4
subss xmm1, dword [rcx + 0x30]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x30]
movss dword [rcx + 0x30], xmm1
movaps xmm1, xmm5
subss xmm1, dword [rcx + 0x34]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x34]
movss dword [rcx + 0x34], xmm1
movaps xmm1, xmm6
subss xmm1, dword [rcx + 0x38]
mulss xmm1, xmm3
addss xmm1, dword [rcx + 0x38]
movss dword [rcx + 0x38], xmm1
add rcx, 0x40
sub r8, 1
jne 0x1403d26e0
mov rax, qword [rsp + 0x20]
cmp edx, r11d
jge 0x1403d2856
add rcx, 8
mov eax, r11d
sub eax, edx
mov edx, eax
movaps xmm1, xmm4
movaps xmm0, xmm6
subss xmm1, dword [rcx - 8]
subss xmm0, dword [rcx]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, dword [rcx - 8]
addss xmm0, dword [rcx]
movss dword [rcx - 8], xmm1
movaps xmm1, xmm5
subss xmm1, dword [rcx - 4]
movss dword [rcx], xmm0
mulss xmm1, xmm3
addss xmm1, dword [rcx - 4]
movss dword [rcx - 4], xmm1
add rcx, 0x10
sub rdx, 1
jne 0x1403d2808
mov rax, qword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
add rbx, rax
mov r8d, dword [rsp + 0x30]
sub r14, 1
jne 0x1403d2626
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
xor eax, eax
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xd8]
jmp 0x1403d28aa
mov eax, 0x80004003
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0xa8
pop rdi
pop rsi
ret