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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x98]
mov dword [rax + 0x58], 0
cmp dword [rsp + 0xa0], 0
jge 0x783184
mov eax, dword [rsp + 0x90]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x90]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0xa0], 0xffffffff
jmp 0x78318f
mov dword [rsp + 0xa0], 1
mov rax, qword [rsp + 0x98]
mov ecx, dword [rax + 8]
call fcn.007b0d40
movzx ecx, al
call fcn.007b0da0
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 8], eax
mov dword [rsp + 0x20], 0
jmp 0x7831c6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 8
jge 0x7831fd
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + rax*4 + 0x10]
call fcn.007b0c70
mov ecx, eax
call fcn.007b0cb0
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x98]
mov dword [rdx + rcx*4 + 0x10], eax
jmp 0x7831bc
mov rax, qword [rsp + 0x98]
cmp dword [rax], 8
jle 0x7833e3
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x90]
dec ecx
mov dword [rsp + 0x90], ecx
test eax, eax
je 0x7833de
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
and eax, 1
test eax, eax
je 0x78325c
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
shl eax, 1
mov rcx, qword [rsp + 0x98]
sub eax, dword [rcx + 0x14]
mov dword [rsp + 0x28], eax
jmp 0x78327b
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x10]
imul eax, eax, 3
mov rcx, qword [rsp + 0x98]
sub eax, dword [rcx + 0x14]
sar eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x10], ecx
movsx eax, word [rsp + 0x28]
cmp dword [rsp + 0x28], eax
je 0x7832f6
mov eax, dword [rsp + 0x28]
and eax, 0xffff
mov rcx, qword [rsp + 0x98]
imul eax, dword [rcx + 8]
sar eax, 9
mov ecx, dword [rsp + 0x28]
and ecx, 0xffff0000
sar ecx, 9
mov rdx, qword [rsp + 0x98]
imul ecx, dword [rdx + 8]
lea eax, [rax + rcx + 1]
sar eax, 1
mov dword [rsp + 0x68], eax
jmp 0x783312
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x28]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x28], 0
je 0x783372
cmp dword [rsp + 0x2c], 0
je 0x783372
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax + 4]
xor eax, ecx
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x30]
mov ecx, dword [rcx + 8]
sub ecx, edx
add eax, ecx
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x58]
mov rcx, qword [rsp + 0x98]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x58], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x2c]
mov dword [rax], ecx
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x80], rax
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x88], rax
jmp 0x78320e
jmp 0x7835a1
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jle 0x7835a1
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x90]
dec ecx
mov dword [rsp + 0x90], ecx
test eax, eax
je 0x7835a1
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
and eax, 7
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4 + 0x10]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4 + 0x10], edx
mov eax, dword [rsp + 0x24]
inc eax
and eax, 7
mov dword [rsp + 0x24], eax
movsx eax, word [rsp + 0x34]
cmp dword [rsp + 0x34], eax
je 0x7834b9
mov eax, dword [rsp + 0x34]
and eax, 0xffff
mov rcx, qword [rsp + 0x98]
imul eax, dword [rcx + 8]
sar eax, 9
mov ecx, dword [rsp + 0x34]
and ecx, 0xffff0000
sar ecx, 9
mov rdx, qword [rsp + 0x98]
imul ecx, dword [rdx + 8]
lea eax, [rax + rcx + 1]
sar eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x7834d5
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 8]
imul eax, dword [rsp + 0x34]
add eax, 0x200
sar eax, 0xa
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x34], 0
je 0x783535
cmp dword [rsp + 0x38], 0
je 0x783535
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rax + 4]
xor eax, ecx
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rcx + 8]
sub ecx, edx
add eax, ecx
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x58]
mov rcx, qword [rsp + 0x98]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x58], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x80], rax
movsxd rax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x88], rax
jmp 0x7833f4
cmp dword [rsp + 0x24], 0
je 0x783625
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jle 0x783625
mov rax, qword [rsp + 0x98]
cmp dword [rax], 8
jg 0x783625
mov rax, qword [rsp + 0x98]
add rax, 0x10
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.007783e0
mov dword [rsp + 0x44], 0
jmp 0x7835f5
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 8
jge 0x783625
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x98]
mov eax, dword [rsp + rax*4 + 0x48]
mov dword [rdx + rcx*4 + 0x10], eax
mov eax, dword [rsp + 0x24]
inc eax
and eax, 7
mov dword [rsp + 0x24], eax
jmp 0x7835eb
add rsp, 0x78
ret