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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor r14d, r14d
mov rdi, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
cmp byte [rsp + 0x80], r14b
je 0x1400076de
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140007fd3.0]
mov qword [rbx + 8], rbp
mov rdx, r14
mov r15d, 1
mov rax, qword [rbx + 8]
mov cl, byte [rax + rdx + 0x60]
mov byte [rbx + rdx + 0x18], cl
add rdx, r15
cmp rdx, 2
jl 0x1400076eb
mov eax, dword [rdi + 8]
mov r9d, dword [rsp + 0x78]
sub r9d, dword [rsp + 0x70]
mov r10d, dword [rsp + 0x68]
mov ecx, r9d
mov ebp, dword [rsp + 0x60]
sub r10d, ebp
mov dword [rbx + 0x1c], eax
mov eax, dword [rdi + 0xc]
mov dword [rbx + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x38], eax
mov eax, dword [rdi + 0x14]
mov dword [rbx + 0x3c], eax
mov edx, dword [rdi + 0x20]
imul ecx, edx
mov dword [rbx + 0x30], edx
mov r8d, dword [rdi + 0x24]
mov dword [rbx + 0x34], r8d
mov dword [rbx + 0x28], r10d
mov dword [rbx + 0x24], r9d
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0x40], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbx + 0x44], eax
mov eax, dword [rdi + 0x18]
sub eax, ecx
mov ecx, r10d
imul ecx, r8d
mov dword [rbx + 0x48], eax
mov eax, dword [rdi + 0x1c]
sub eax, ecx
movsxd rcx, r9d
mov dword [rbx + 0x4c], eax
cmp r9d, r10d
mov eax, r9d
cmovge eax, r10d
shl rcx, 2
mov dword [rbx + 0x2c], eax
call fcn.140010bb0
mov qword [rbx + 0xd8], rax
test rax, rax
jne 0x1400077b6
mov eax, 5
mov dword [rsi], eax
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
movsxd rcx, dword [rbx + 0x2c]
shl rcx, 2
call fcn.140010bb0
mov qword [rbx + 0xe0], rax
test rax, rax
je 0x140007792
mov eax, dword [rbx + 0x24]
imul eax, dword [rbx + 0x28]
movsxd rcx, eax
shl rcx, 2
call fcn.140010bb0
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140007792
mov r10d, r14d
cmp dword [rbx + 0x28], r14d
jle 0x140007842
mov r11d, r14d
cmp dword [rbx + 0x24], r14d
jle 0x140007839
mov r8, qword [rbx + 8]
lea eax, [r10 + rbp]
mov rcx, qword [rbx + 0x10]
imul eax, dword [r8 + 0x64]
mov r8, qword [r8 + 0x58]
add eax, r11d
add eax, dword [rsp + 0x70]
movsxd r9, eax
mov eax, dword [rbx + 0x24]
imul eax, r10d
add eax, r11d
add r11d, r15d
movsxd rdx, eax
mov eax, dword [r8 + r9*4]
mov dword [rcx + rdx*4], eax
cmp r11d, dword [rbx + 0x24]
jl 0x1400077fd
add r10d, r15d
cmp r10d, dword [rbx + 0x28]
jl 0x1400077f4
mov edx, dword [rbx + 0x30]
mov r8d, dword [rbx + 0x34]
movss xmm1, dword [0x1400379b4]
cmp edx, r8d
jl 0x140007892
cmp edx, 4
jne 0x140007860
movaps xmm2, xmm1
jmp 0x140007873
lea ecx, [rdx*8 - 1]
mov eax, r15d
shl eax, cl
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm0, dword [0x1400378cc]
subss xmm2, xmm0
movss dword [rbx + 0x74], xmm2
cmp edx, 4
je 0x1400078c8
lea ecx, [rdx*8 - 1]
jmp 0x1400078d5
cmp r8d, 4
jne 0x14000789d
movaps xmm2, xmm1
jmp 0x1400078b1
lea ecx, [r8*8 - 1]
mov eax, r15d
shl eax, cl
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss xmm0, dword [0x1400378cc]
subss xmm2, xmm0
movss dword [rbx + 0x74], xmm2
cmp r8d, 4
jne 0x1400078cd
movaps xmm3, xmm1
jmp 0x1400078e1
lea ecx, [r8*8 - 1]
mov eax, r15d
shl eax, cl
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm2, xmm0
mov eax, edx
sub eax, r8d
subss xmm2, xmm3
shl eax, 3
mov ecx, r8d
shl r8d, 3
movss dword [rbx + 0x70], xmm2
mov dword [rbx + 0x7c], eax
mov eax, r8d
sub eax, dword [rbx + 0x3c]
mov dword [rbx + 0x114], eax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x5c], eax
cmp dword [rdi + 0x40], r14d
je 0x140007961
cmp dword [rdi + 0x40], r15d
jne 0x1400079a0
cmp dword [rdi + 0x44], r14d
jne 0x14000799a
cmp ecx, 4
jne 0x140007933
movaps xmm2, xmm1
jmp 0x140007943
lea ecx, [r8 - 1]
mov eax, r15d
shl eax, cl
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rbx + 0x78], xmm2
subss xmm2, xmm0
mov dword [rbx + 0x7c], r14d
movss dword [rbx + 0x74], xmm2
xorps xmm2, xmmword [0x140037a20]
movss dword [rbx + 0x70], xmm2
cmp dword [rdi + 0x44], r14d
je 0x1400079b0
cmp dword [rdi + 0x44], r15d
jne 0x1400079a0
cmp dword [rdi + 0x40], r14d
jne 0x1400079aa
cmp edx, 4
je 0x14000798b
lea ecx, [rdx*8 - 1]
mov eax, r15d
shl eax, cl
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
mov dword [rbx + 0x7c], r14d
movss dword [rbx + 0x78], xmm0
jmp 0x1400079b0
cmp dword [rdi + 0x44], r15d
je 0x140007961
mov eax, 0xd
jmp 0x140007797
cmp dword [rdi + 0x40], r15d
jne 0x1400079a0
mov rax, qword [rbx]
lea rdx, [rsp + 0x80]
mov rcx, rbx
mov rax, qword [rax + 0x28]
call qword [case.0x140007fd3.0]
mov eax, dword [rax]
test eax, eax
jne 0x140007797
movsxd rdi, dword [rbx + 0x2c]
mov rcx, 0xffffffffffffffff
mov eax, 0x30
mul rdi
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.140010bb0
test rax, rax
je 0x140007a2f
mov qword [rax], rdi
lea rcx, [rax + 8]
mov rax, rcx
test rdi, rdi
je 0x140007a32
mov qword [rax], r14
mov qword [rax + 0x10], r14
mov qword [rax + 8], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
lea rax, [rax + 0x30]
sub rdi, r15
jne 0x140007a0d
jmp 0x140007a32
mov rcx, r14
mov qword [rbx + 0xf8], rcx
test rcx, rcx
je 0x140007792
mov rax, qword [rbx + 8]
cmp byte [rax + 0x88], r14b
je 0x140007a6c
mov r8b, r15b
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.140007a8c
mov eax, dword [rax]
test eax, eax
jne 0x140007797
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x140007fd3.0]
mov dword [rsi], r14d
jmp 0x140007799