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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
add rax, 0x44
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x7ac548
mov eax, dword [rsp + 0x90]
shl eax, 1
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x24], 0
jmp 0x7ac55c
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x24], eax
jge 0x7acca8
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, 4
mov qword [rsp + 0x88], rcx
test eax, eax
jge 0x7ac5a1
mov dword [rsp + 0x50], 1
jmp 0x7ac5a9
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x7ac5e4
mov eax, dword [rsp + 0x24]
and eax, 1
cdqe
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 0x44]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x44], 2
jae 0x7ac794
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x3c], 0
jne 0x7ac794
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x58], 2
jae 0x7ac794
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x38], 0
je 0x7ac660
cmp dword [rsp + 0x20], 0
je 0x7ac63e
mov rcx, qword [rsp + 0x80]
call fcn.007accc0
jmp 0x7ac65b
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x38], eax
jmp 0x7ac552
jmp 0x7ac794
cmp dword [rsp + 0x20], 0
je 0x7ac748
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0xf4], ecx
movsxd rax, dword [rsp + 0x54]
cmp rax, 0x10
jne 0x7ac746
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xe0]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + 0xf8]
mov word [rax], cx
mov rax, qword [rsp + 0x80]
mov dword [rax + 0xf4], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0xf8], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x58], rax
jne 0x7ac746
mov rax, qword [rsp + 0x80]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x80]
call qword [rax + 0xe8]
jmp 0x7ac794
mov rax, qword [rsp + 0x80]
add rax, 0x44
mov r8d, 0xc
xor edx, edx
mov rcx, rax
call fcn.00778460
mov rax, qword [rsp + 0x80]
add rax, 0x58
mov r8d, 0xc
xor edx, edx
mov rcx, rax
call fcn.00778460
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x38], 1
jmp 0x7ac552
cmp dword [rsp + 0x38], 0
je 0x7ac7a5
mov eax, dword [rsp + 0x20]
not eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
shr eax, 4
inc eax
cmp dword [rsp + 0x20], eax
jge 0x7ac801
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
shr eax, 4
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
add eax, 0x7e
xor edx, edx
mov ecx, 0x80
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx], eax
jmp 0x7ac9d0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
shr eax, 4
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax]
add eax, 0x80
xor edx, edx
mov ecx, 0x80
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x28]
mov dword [rcx], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
shr ecx, 4
inc ecx
cmp eax, ecx
jae 0x7ac8a2
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
shr eax, 4
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
add eax, 0x3e
xor edx, edx
mov ecx, 0x40
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 4], eax
jmp 0x7ac9d0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
shr eax, 4
mov ecx, dword [rsp + 0x3c]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
add eax, 0x40
xor edx, edx
mov ecx, 0x40
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 4]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 4], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
shr ecx, 4
inc ecx
cmp eax, ecx
jae 0x7ac94b
mov dword [rsp + 0x34], 2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
shr eax, 4
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
add eax, 0x1e
xor edx, edx
mov ecx, 0x20
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
jmp 0x7ac9d0
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
shr ecx, 4
inc ecx
xor edx, edx
div ecx
add eax, 2
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
sub eax, 2
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
shr ecx, 4
inc ecx
imul eax, ecx
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
shr eax, 4
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
add eax, 0x20
xor edx, edx
mov ecx, 0x20
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x3c], 0
je 0x7aca3d
cmp dword [rsp + 0x34], 0
je 0x7ac9fd
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov rcx, qword [rsp + 0x80]
call fcn.007accc0
cmp dword [rsp + 0x34], 0
je 0x7aca2c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x3c], 1
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x7aca3b
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x3c], 0
jmp 0x7aca4c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x3c], 1
mov eax, dword [rsp + 0x34]
shl eax, 1
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
je 0x7acc42
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x44], 0x100
jae 0x7acaaa
mov eax, dword [rsp + 0x44]
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x60], eax
jmp 0x7acb23
cmp dword [rsp + 0x44], 0x10000
jae 0x7acad1
mov eax, dword [rsp + 0x44]
shr eax, 8
mov eax, eax
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 8
mov dword [rsp + 0x64], eax
jmp 0x7acb1b
cmp dword [rsp + 0x44], 0x1000000
jae 0x7acaf8
mov eax, dword [rsp + 0x44]
shr eax, 0x10
mov eax, eax
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x10
mov dword [rsp + 0x68], eax
jmp 0x7acb13
mov eax, dword [rsp + 0x44]
shr eax, 0x18
mov eax, eax
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x18
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x4c], eax
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x008c1d00]
mov edx, dword [rsp + 0x44]
mov eax, dword [rcx + rax*4]
sub eax, edx
dec eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jae 0x7acba1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx + rax - 1]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
jmp 0x7acc42
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
shr eax, 1
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x40]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov ecx, dword [rsp + 0x4c]
lea eax, [rcx + rax - 1]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
and eax, 1
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x40]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x3c], 0
jne 0x7acca3
mov rcx, qword [rsp + 0x80]
call fcn.007accc0
jmp 0x7ac552
add rsp, 0x78
ret