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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xcc]
cmp dword [rax + 0x3c], ecx
jae 0x18009972e
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xcc]
inc eax
mov rcx, qword [rsp + 0x130]
cmp dword [rcx + 0x48], eax
jb 0x180099755
lea r8, str.opj_pi_next_cprl__:_invalid_compno0_compno1_n
mov edx, 1
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0xf8]
call fcn.18006c770
xor eax, eax
jmp 0x18009a288
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x34], 0
jne 0x18009978d
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0xd0]
mov qword [rsp + 0x28], rax
jmp 0x18009a26d
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x3c]
mov dword [rax + 0x24], ecx
jmp 0x1800997cc
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x48]
cmp dword [rax + 0x24], ecx
jae 0x18009a286
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x130]
add rax, qword [rcx + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf0], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0
mov dword [rsp + 0x30], 0
jmp 0x180099843
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x30], eax
jae 0x180099a83
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
cmp eax, 0x20
jae 0x180099978
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov dword [rsp + 0xa0], eax
xor edx, edx
mov eax, 0xffffffff
mov ecx, dword [rsp + 0xa0]
div ecx
mov rcx, qword [rsp + 0x28]
cmp dword [rcx], eax
ja 0x180099978
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf0], 0
jne 0x180099932
mov dword [rsp + 0x54], 1
jmp 0x18009993a
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
je 0x18009994b
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
jmp 0x180099966
mov edx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xf0]
call fcn.180097770
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x5c]
mov dword [rax + 0xf0], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
cmp eax, 0x20
jae 0x180099a7e
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x70], ecx
movzx ecx, al
mov eax, dword [rsp + 0x70]
shl eax, cl
mov dword [rsp + 0x74], eax
xor edx, edx
mov eax, 0xffffffff
mov ecx, dword [rsp + 0x74]
div ecx
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + 4], eax
ja 0x180099a7e
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x30]
mov ecx, 1
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shl eax, cl
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 4]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
jne 0x180099a38
mov dword [rsp + 0x60], 1
jmp 0x180099a40
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x180099a51
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
jmp 0x180099a6c
mov edx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xf4]
call fcn.180097770
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0xf4], ecx
jmp 0x180099839
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf0], 0
je 0x180099aa5
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
jne 0x180099aac
xor eax, eax
jmp 0x18009a288
mov rax, qword [rsp + 0x130]
movzx eax, byte [rax]
test eax, eax
jne 0x180099b1f
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xdc]
mov dword [rax + 0x74], ecx
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xd8]
mov dword [rax + 0x6c], ecx
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xe4]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xe0]
mov dword [rax + 0x70], ecx
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x74]
mov dword [rax + 0xec], ecx
jmp 0x180099b88
xor edx, edx
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xec]
mov rcx, qword [rsp + 0x130]
div dword [rcx + 0xf4]
mov eax, edx
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xf4]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0xec]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xec], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x78]
cmp dword [rax + 0xec], ecx
jae 0x18009a281
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x6c]
mov dword [rax + 0xe8], ecx
jmp 0x180099c10
xor edx, edx
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xe8]
mov rcx, qword [rsp + 0x130]
div dword [rcx + 0xf0]
mov eax, edx
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xf0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
add eax, dword [rcx + 0xe8]
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xe8], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x70]
cmp dword [rax + 0xe8], ecx
jae 0x18009a27c
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x38]
mov dword [rax + 0x28], ecx
jmp 0x180099c5f
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0x44]
call fcn.180097770
mov rcx, qword [rsp + 0x130]
cmp dword [rcx + 0x28], eax
jae 0x18009a277
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x28]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
dec eax
mov rcx, qword [rsp + 0x130]
sub eax, dword [rcx + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jae 0x180099d25
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax]
shl eax, cl
mov ecx, dword [rsp + 0x20]
shr eax, cl
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx]
jne 0x180099d25
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xb0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
shl eax, cl
mov ecx, dword [rsp + 0x20]
shr eax, cl
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 4]
je 0x180099d2a
jmp 0x180099c47
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xb8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
shl eax, cl
cmp eax, 0x7fffffff
ja 0x180099d79
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xc0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
shl eax, cl
cmp eax, 0x7fffffff
jbe 0x180099d7e
jmp 0x180099c47
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xc8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xd8]
call fcn.180097830
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xd0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xdc]
call fcn.180097830
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xd8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xe0]
call fcn.180097830
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xe4]
call fcn.180097830
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x44], 0x1f
jae 0x180099ef7
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax]
shl eax, cl
mov ecx, dword [rsp + 0x44]
shr eax, cl
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx]
jne 0x180099ef7
cmp dword [rsp + 0x40], 0x1f
jae 0x180099ef7
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xf0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 4]
shl eax, cl
mov ecx, dword [rsp + 0x40]
shr eax, cl
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 4]
je 0x180099efc
jmp 0x180099c47
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0xf8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 4]
shl eax, cl
mov dword [rsp + 0x7c], eax
xor edx, edx
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + 0xec]
mov ecx, dword [rsp + 0x7c]
div ecx
mov eax, edx
test eax, eax
je 0x180099f84
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xdc]
cmp dword [rax + 0xec], ecx
jne 0x180099f7f
mov eax, dword [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x50]
shl eax, cl
mov ecx, dword [rsp + 0x40]
mov edx, 1
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
test eax, eax
jne 0x180099f84
jmp 0x180099c47
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
shl eax, cl
mov dword [rsp + 0x80], eax
xor edx, edx
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + 0xe8]
mov ecx, dword [rsp + 0x80]
div ecx
mov eax, edx
test eax, eax
je 0x18009a011
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xd8]
cmp dword [rax + 0xe8], ecx
jne 0x18009a00c
mov eax, dword [rsp + 0x20]
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
mov ecx, dword [rsp + 0x44]
mov edx, 1
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
test eax, eax
jne 0x18009a011
jmp 0x180099c47
mov rax, qword [rsp + 0x38]
cmp dword [rax + 8], 0
je 0x18009a027
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
jne 0x18009a02c
jmp 0x180099c47
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x4c], eax
je 0x18009a046
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
jne 0x18009a04b
jmp 0x180099c47
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xe8]
call fcn.180097830
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx]
mov ecx, eax
call fcn.1800978b0
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx]
mov ecx, dword [rsp + 0x4c]
call fcn.1800978b0
mov ecx, dword [rsp + 0x8c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x110], rcx
movzx ecx, al
mov rax, qword [rsp + 0x110]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rax + 0xec]
call fcn.180097830
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx + 4]
mov ecx, eax
call fcn.1800978b0
mov dword [rsp + 0x90], eax
mov rcx, qword [rsp + 0x38]
mov edx, dword [rcx + 4]
mov ecx, dword [rsp + 0x50]
call fcn.1800978b0
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x94]
imul ecx, dword [rax + 8]
mov eax, ecx
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x4c]
mov dword [rax + 0x30], ecx
jmp 0x18009a17e
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x30]
inc eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x30], ecx
jae 0x18009a272
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
mov eax, dword [rax + 0x30]
imul eax, dword [rcx + 0x14]
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x28]
imul ecx, dword [rdx + 0x18]
add eax, ecx
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x24]
imul ecx, dword [rdx + 0x1c]
add eax, ecx
mov rcx, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0x2c]
imul ecx, dword [rdx + 0x20]
add eax, ecx
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x48], eax
jb 0x18009a235
lea r8, str.Invalid_access_to_pi__include
mov edx, 1
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0xf8]
call fcn.18006c770
xor eax, eax
jmp 0x18009a288
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x18009a26d
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 8]
mov edx, 1
mov word [rcx + rax*2], dx
mov eax, 1
jmp 0x18009a288
jmp 0x18009a166
jmp 0x180099c47
jmp 0x180099bc2
jmp 0x180099b3a
jmp 0x1800997b4
xor eax, eax
add rsp, 0x128
ret