Function at 0x140055910
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, 0x58
movd xmm1, dword [rcx + 0x68]
mov edi, r9d
mov r10d, dword [rcx + 0x44]
mov r11, rcx
movaps xmmword [rsp + 0x20], xmm6
mov rbx, 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, edi
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 [0x1403a8d50]
mulss xmm0, xmm1
addss xmm7, dword [rcx + 0x14]
mov dword [rcx + 0x1c], edi
addss xmm6, dword [rcx + 8]
cvttss2si r9d, xmm0
movss xmm0, dword [0x1403a8e38]
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 edi
mov esi, eax
mov dword [r11 + 0x20], eax
mov eax, r8d
cdq
idiv edi
mov dword [r11 + 0x28], edx
test edx, edx
jg 0x140055a1d
add edx, edi
lea eax, [rsi - 1]
mov dword [r11 + 0x28], edx
mov dword [r11 + 0x20], eax
sub edx, edi
mulss xmm8, xmm1
mov dword [r11 + 0x24], edx
mulss xmm7, xmm0
mov dword [r11 + 0x30], edi
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 edi
mov dword [r11 + 0x34], eax
mov dword [r11 + 0x3c], edx
test edx, edx
jg 0x140055a6d
add edx, edi
dec eax
mov dword [r11 + 0x3c], edx
mov dword [r11 + 0x34], eax
mov qword [rsp + 0x50], r12
sub edx, edi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], 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, ebp
add eax, dword [r11 + 0x20]
mov edx, dword [r11 + 0x24]
mov dword [r11 + 0x18], eax
test edx, edx
jle 0x140055abc
sub edx, dword [r11 + 0x1c]
inc eax
mov dword [r11 + 0x24], edx
mov dword [r11 + 0x18], eax
mov r8d, dword [r11 + 0x2c]
mov eax, dword [r11 + 0x3c]
add dword [r11 + 0x38], eax
mov eax, r8d
add eax, dword [r11 + 0x34]
mov edx, dword [r11 + 0x38]
mov dword [r11 + 0x2c], eax
test edx, edx
jle 0x140055ae9
sub edx, dword [r11 + 0x30]
inc eax
mov dword [r11 + 0x38], edx
mov dword [r11 + 0x2c], eax
mov r9, qword [r11 + 0x50]
mov eax, ebp
sar eax, 8
cdq
mov ecx, dword [r9 + 0x14]
idiv ecx
mov eax, r8d
test edx, edx
lea r10d, [rdx + rcx]
mov ecx, dword [r9 + 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 0x140055c53
cmp r10d, dword [r11 + 0x60]
jae 0x140055c53
cmp esi, dword [r11 + 0x64]
jae 0x140055c53
movsxd rcx, dword [r9 + 0x10]
mov edx, 0x100
imul r10d, ecx
movzx r12d, r8b
movsxd r8, dword [r9 + 0xc]
sub edx, r12d
imul esi, r8d
movzx r14d, bpl
movsxd r13, r10d
mov r10, rcx
movsxd rax, esi
add r13, rax
mov eax, edx
add r13, qword [r9]
mov r9d, 0x100
imul edx, r14d
sub r9d, r14d
imul eax, r9d
imul r14d, r12d
movzx esi, byte [r13]
movzx ebp, byte [r13 + 1]
movzx r15d, byte [r13 + 2]
add r13, rcx
imul r15d, eax
imul esi, eax
imul ebp, eax
movzx r11d, byte [r13]
movzx ebx, byte [r13 + 1]
movzx edi, byte [r13 + 2]
add r13, r8
imul ebx, edx
imul edi, edx
imul r11d, edx
movzx ecx, byte [r13]
movzx r8d, byte [r13 + 1]
imul ecx, r14d
add ebx, 0x8000
mov dword [rsp + 0x90], r9d
movzx r9d, byte [r13 + 2]
sub r13, r10
mov r10d, dword [rsp + 0x90]
imul r10d, r12d
lea edx, [r11 + 0x8000]
imul r8d, r14d
movzx eax, byte [r13]
mov r11, qword [rsp + 0x80]
imul r9d, r14d
imul eax, r10d
add eax, ecx
movzx ecx, byte [r13 + 2]
add eax, esi
add edx, eax
movzx eax, byte [r13 + 1]
imul eax, r10d
shr edx, 0x10
add eax, r8d
add eax, ebx
mov rbx, qword [rsp + 0x88]
add eax, ebp
shr eax, 0x10
mov byte [rbx + 1], al
mov eax, ecx
imul eax, r10d
lea ecx, [r15 + 0x8000]
mov byte [rbx], dl
add eax, r9d
add eax, edi
mov edi, dword [rsp + 0x98]
add ecx, eax
shr ecx, 0x10
jmp 0x140055c7d
mov eax, dword [r9 + 0xc]
imul eax, esi
movsxd rcx, eax
mov eax, dword [r9 + 0x10]
imul eax, r10d
cdqe
add rcx, rax
add rcx, qword [r9]
movzx eax, byte [rcx]
mov byte [rbx], al
movzx eax, byte [rcx + 1]
mov byte [rbx + 1], al
movzx ecx, byte [rcx + 2]
mov byte [rbx + 2], cl
lea rax, [rbx + 3]
dec edi
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x98], edi
mov rbx, rax
test edi, edi
jg 0x140055a90
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret