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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
movd xmm1, dword [rcx + 0x68]
mov ebx, r9d
mov r10d, dword [rcx + 0x44]
mov r11, rcx
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
movss xmm6, dword [rcx]
movaps xmm0, xmm6
movaps xmmword [rsp + 0x10], xmm7
movss xmm7, dword [rcx + 0xc]
movaps xmmword [rsp], xmm8
movaps xmm8, xmm7
cvtdq2ps xmm1, xmm1
movd xmm2, r8d
addss xmm1, dword [rcx + 0x40]
cvtdq2ps xmm2, xmm2
movaps xmm4, xmm1
movd xmm5, ebx
addss xmm2, dword [rcx + 0x40]
mulss xmm1, dword [rcx + 0x10]
mulss xmm4, dword [rcx + 4]
mulss xmm0, xmm2
mulss xmm8, xmm2
addss xmm0, xmm4
cvtdq2ps xmm5, xmm5
addss xmm0, dword [rcx + 8]
addss xmm5, xmm2
addss xmm8, xmm1
mulss xmm6, xmm5
addss xmm8, dword [rcx + 0x14]
mulss xmm7, xmm5
addss xmm6, xmm4
addss xmm7, xmm1
movss xmm1, dword [0x1402c2d58]
mulss xmm0, xmm1
addss xmm7, dword [rcx + 0x14]
mov dword [rcx + 0x1c], ebx
addss xmm6, dword [rcx + 8]
cvttss2si r9d, xmm0
movss xmm0, dword [0x1402c2e24]
mulss xmm6, xmm0
mov r8d, r9d
neg r8d
cvttss2si ecx, xmm6
movaps xmm6, xmmword [rsp + 0x20]
sub r8d, ecx
lea ecx, [r10 + r9]
mov eax, r8d
mov dword [r11 + 0x18], ecx
cdq
idiv ebx
mov esi, eax
mov dword [r11 + 0x20], eax
mov eax, r8d
cdq
idiv ebx
mov dword [r11 + 0x28], edx
test edx, edx
jg 0x14019f74d
add edx, ebx
lea eax, [rsi - 1]
mov dword [r11 + 0x28], edx
mov dword [r11 + 0x20], eax
sub edx, ebx
mulss xmm8, xmm1
mov dword [r11 + 0x24], edx
mulss xmm7, xmm0
mov dword [r11 + 0x30], ebx
cvttss2si r8d, xmm8
movaps xmm8, xmmword [rsp]
cvttss2si ecx, xmm7
mov eax, r8d
neg eax
movaps xmm7, xmmword [rsp + 0x10]
sub eax, ecx
lea ecx, [r8 + r10]
cdq
mov dword [r11 + 0x2c], ecx
idiv ebx
mov dword [r11 + 0x34], eax
mov dword [r11 + 0x3c], edx
test edx, edx
jg 0x14019f79d
add edx, ebx
dec eax
mov dword [r11 + 0x3c], edx
mov dword [r11 + 0x34], eax
mov qword [rsp + 0x80], r12
sub edx, ebx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov dword [r11 + 0x38], edx
nop word [rax + rax]
mov ebp, dword [r11 + 0x18]
mov eax, dword [r11 + 0x28]
add dword [r11 + 0x24], eax
mov eax, dword [r11 + 0x20]
mov edx, dword [r11 + 0x24]
add eax, ebp
mov dword [r11 + 0x18], eax
test edx, edx
jle 0x14019f7ec
sub edx, dword [r11 + 0x1c]
inc eax
mov dword [r11 + 0x24], edx
mov dword [r11 + 0x18], eax
mov r9d, dword [r11 + 0x2c]
mov eax, dword [r11 + 0x3c]
add dword [r11 + 0x38], eax
mov eax, r9d
add eax, dword [r11 + 0x34]
mov edx, dword [r11 + 0x38]
mov dword [r11 + 0x2c], eax
test edx, edx
jle 0x14019f819
sub edx, dword [r11 + 0x30]
inc eax
mov dword [r11 + 0x38], edx
mov dword [r11 + 0x2c], eax
mov r8, qword [r11 + 0x50]
mov eax, ebp
sar eax, 8
cdq
mov ecx, dword [r8 + 0x14]
idiv ecx
mov eax, r9d
test edx, edx
lea r10d, [rdx + rcx]
mov ecx, dword [r8 + 0x18]
cmovns r10d, edx
sar eax, 8
cdq
idiv ecx
test edx, edx
lea esi, [rdx + rcx]
cmovns esi, edx
cmp dword [r11 + 0x5c], 0
je 0x14019f971
cmp r10d, dword [r11 + 0x60]
jae 0x14019f971
cmp esi, dword [r11 + 0x64]
jae 0x14019f971
movsxd rcx, dword [r8 + 0x10]
mov r12d, 0x100
imul r10d, ecx
mov rdx, rcx
movzx r15d, r9b
movsxd r9, dword [r8 + 0xc]
imul esi, r9d
movzx r14d, bpl
sub r12d, r14d
movsxd r13, r10d
movsxd rax, esi
add r13, rax
mov eax, r12d
add r13, qword [r8]
mov r8d, 0x100
sub r8d, r15d
imul r12d, r15d
imul eax, r8d
imul r8d, r14d
movzx edi, byte [r13]
movzx esi, byte [r13 + 1]
movzx ebp, byte [r13 + 2]
add r13, rcx
imul edi, eax
imul ebp, eax
imul esi, eax
movzx r11d, byte [r13 + 1]
movzx r10d, byte [r13]
movzx ebx, byte [r13 + 2]
add edi, 0x8000
add r13, r9
imul r11d, r8d
imul ebx, r8d
imul r10d, r8d
imul r14d, r15d
movzx ecx, byte [r13]
movzx r8d, byte [r13 + 1]
add r11d, 0x8000
movzx r9d, byte [r13 + 2]
sub r13, rdx
imul ecx, r14d
imul r8d, r14d
movzx edx, byte [r13]
movzx eax, byte [r13 + 1]
imul eax, r12d
imul edx, r12d
imul r9d, r14d
add eax, esi
add edx, ecx
add eax, r8d
movzx ecx, byte [r13 + 2]
add eax, r11d
mov r11, qword [rsp + 0x70]
add edx, edi
mov rdi, qword [rsp + 0x78]
add edx, r10d
shr eax, 0x10
shr edx, 0x10
mov byte [rdi + 1], al
mov eax, ecx
imul eax, r12d
lea ecx, [rbp + 0x8000]
mov byte [rdi], dl
add eax, ebx
mov ebx, dword [rsp + 0x88]
add eax, r9d
add ecx, eax
shr ecx, 0x10
jmp 0x14019f99b
mov eax, dword [r8 + 0xc]
imul eax, esi
movsxd rcx, eax
mov eax, dword [r8 + 0x10]
imul eax, r10d
cdqe
add rcx, rax
add rcx, qword [r8]
movzx eax, byte [rcx]
mov byte [rdi], al
movzx eax, byte [rcx + 1]
mov byte [rdi + 1], al
movzx ecx, byte [rcx + 2]
mov byte [rdi + 2], cl
lea rax, [rdi + 3]
dec ebx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x88], ebx
mov rdi, rax
test ebx, ebx
jg 0x14019f7c0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x80]
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret