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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xcc]
cmp dword [rax + 0x3c], ecx
jae 0x180098b1e
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xcc]
inc eax
mov rcx, qword [rsp + 0x120]
cmp dword [rcx + 0x48], eax
jb 0x180098b45
lea r8, str.opj_pi_next_pcrl__:_invalid_compno0_compno1_n
mov edx, 1
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0xf8]
call fcn.18006c770
xor eax, eax
jmp 0x1800996c2
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x34], 0
jne 0x180098b80
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0xd0]
mov qword [rsp + 0x20], rax
jmp 0x1800996a7
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x120]
mov dword [rax + 0xf0], 0
mov rax, qword [rsp + 0x120]
mov dword [rax + 0xf4], 0
mov dword [rsp + 0x40], 0
jmp 0x180098bc7
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xcc]
cmp dword [rsp + 0x40], eax
jae 0x180098e54
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0xd0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x2c], 0
jmp 0x180098c0f
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x2c], eax
jae 0x180098e4f
mov eax, dword [rsp + 0x2c]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
cmp eax, 0x20
jae 0x180098d44
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov dword [rsp + 0x9c], eax
xor edx, edx
mov eax, 0xffffffff
mov ecx, dword [rsp + 0x9c]
div ecx
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], eax
ja 0x180098d44
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xf0], 0
jne 0x180098cfe
mov dword [rsp + 0x50], 1
jmp 0x180098d06
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
je 0x180098d17
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x58], eax
jmp 0x180098d32
mov edx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xf0]
call fcn.180097770
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0xf0], ecx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
cmp eax, 0x20
jae 0x180098e4a
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
mov ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
mov dword [rsp + 0x70], eax
xor edx, edx
mov eax, 0xffffffff
mov ecx, dword [rsp + 0x70]
div ecx
mov rcx, qword [rsp + 0x20]
cmp dword [rcx + 4], eax
ja 0x180098e4a
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
lea eax, [rax + rcx - 1]
sub eax, dword [rsp + 0x2c]
mov ecx, 1
mov dword [rsp + 0x74], ecx
movzx ecx, al
mov eax, dword [rsp + 0x74]
shl eax, cl
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 4]
imul ecx, eax
mov eax, ecx
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xf4], 0
jne 0x180098e04
mov dword [rsp + 0x5c], 1
jmp 0x180098e0c
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
je 0x180098e1d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
jmp 0x180098e38
mov edx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xf4]
call fcn.180097770
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0xf4], ecx
jmp 0x180098c05
jmp 0x180098bbd
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xf0], 0
je 0x180098e76
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xf4], 0
jne 0x180098e7d
xor eax, eax
jmp 0x1800996c2
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
test eax, eax
jne 0x180098ef0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xdc]
mov dword [rax + 0x74], ecx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xd8]
mov dword [rax + 0x6c], ecx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xe4]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xe0]
mov dword [rax + 0x70], ecx
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x74]
mov dword [rax + 0xec], ecx
jmp 0x180098f59
xor edx, edx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xec]
mov rcx, qword [rsp + 0x120]
div dword [rcx + 0xf4]
mov eax, edx
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xf4]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
add eax, dword [rcx + 0xec]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xec], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x78]
cmp dword [rax + 0xec], ecx
jae 0x1800996c0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x6c]
mov dword [rax + 0xe8], ecx
jmp 0x180098fe1
xor edx, edx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xe8]
mov rcx, qword [rsp + 0x120]
div dword [rcx + 0xf0]
mov eax, edx
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xf0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
add eax, dword [rcx + 0xe8]
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xe8], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x70]
cmp dword [rax + 0xe8], ecx
jae 0x1800996bb
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x3c]
mov dword [rax + 0x24], ecx
jmp 0x180099030
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x24]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x24], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x48]
cmp dword [rax + 0x24], ecx
jae 0x1800996b6
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x120]
add rax, qword [rcx + 0xd0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x38]
mov dword [rax + 0x28], ecx
jmp 0x18009909f
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0x44]
call fcn.180097770
mov rcx, qword [rsp + 0x120]
cmp dword [rcx + 0x28], eax
jae 0x1800996b1
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x28]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
dec eax
mov rcx, qword [rsp + 0x120]
sub eax, dword [rcx + 0x28]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x20
jae 0x180099165
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xa0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
shl eax, cl
mov ecx, dword [rsp + 0x28]
shr eax, cl
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx]
jne 0x180099165
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xa8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 4]
shl eax, cl
mov ecx, dword [rsp + 0x28]
shr eax, cl
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 4]
je 0x18009916a
jmp 0x180099087
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xb0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
shl eax, cl
cmp eax, 0x7fffffff
ja 0x1800991b9
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xb8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 4]
shl eax, cl
cmp eax, 0x7fffffff
jbe 0x1800991be
jmp 0x180099087
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xc0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xd8]
call fcn.180097830
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xc8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xdc]
call fcn.180097830
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xd0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xe0]
call fcn.180097830
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xd8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xe4]
call fcn.180097830
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x3c], 0x1f
jae 0x180099337
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
shr eax, cl
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx]
jne 0x180099337
cmp dword [rsp + 0x38], 0x1f
jae 0x180099337
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 4]
shl eax, cl
mov ecx, dword [rsp + 0x38]
shr eax, cl
mov rcx, qword [rsp + 0x20]
cmp eax, dword [rcx + 4]
je 0x18009933c
jmp 0x180099087
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xf0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 4]
shl eax, cl
mov dword [rsp + 0x78], eax
xor edx, edx
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + 0xec]
mov ecx, dword [rsp + 0x78]
div ecx
mov eax, edx
test eax, eax
je 0x1800993c4
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xdc]
cmp dword [rax + 0xec], ecx
jne 0x1800993bf
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x4c]
shl eax, cl
mov ecx, dword [rsp + 0x38]
mov edx, 1
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
test eax, eax
jne 0x1800993c4
jmp 0x180099087
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0xf8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
shl eax, cl
mov dword [rsp + 0x7c], eax
xor edx, edx
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + 0xe8]
mov ecx, dword [rsp + 0x7c]
div ecx
mov eax, edx
test eax, eax
je 0x18009944b
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0xd8]
cmp dword [rax + 0xe8], ecx
jne 0x180099446
mov eax, dword [rsp + 0x28]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov ecx, dword [rsp + 0x3c]
mov edx, 1
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
test eax, eax
jne 0x18009944b
jmp 0x180099087
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x180099461
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
jne 0x180099466
jmp 0x180099087
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x48], eax
je 0x180099480
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x4c], eax
jne 0x180099485
jmp 0x180099087
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xe8]
call fcn.180097830
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx]
mov ecx, eax
call fcn.1800978b0
mov dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx]
mov ecx, dword [rsp + 0x48]
call fcn.1800978b0
mov ecx, dword [rsp + 0x88]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 4]
shl eax, cl
mov edx, eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rax + 0xec]
call fcn.180097830
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 4]
mov ecx, eax
call fcn.1800978b0
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 4]
mov ecx, dword [rsp + 0x4c]
call fcn.1800978b0
mov ecx, dword [rsp + 0x8c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x90]
imul ecx, dword [rax + 8]
mov eax, ecx
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x4c]
mov dword [rax + 0x30], ecx
jmp 0x1800995b8
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
inc eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x40]
cmp dword [rax + 0x30], ecx
jae 0x1800996ac
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rax + 0x30]
imul eax, dword [rcx + 0x14]
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x28]
imul ecx, dword [rdx + 0x18]
add eax, ecx
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x24]
imul ecx, dword [rdx + 0x1c]
add eax, ecx
mov rcx, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x2c]
imul ecx, dword [rdx + 0x20]
add eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x10]
cmp dword [rsp + 0x44], eax
jb 0x18009966f
lea r8, [0x1801543f8]
mov edx, 1
mov rax, qword [rsp + 0x120]
mov rcx, qword [rax + 0xf8]
call fcn.18006c770
xor eax, eax
jmp 0x1800996c2
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
test eax, eax
jne 0x1800996a7
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 8]
mov edx, 1
mov word [rcx + rax*2], dx
mov eax, 1
jmp 0x1800996c2
jmp 0x1800995a0
jmp 0x180099087
jmp 0x180099018
jmp 0x180098f93
jmp 0x180098f0b
xor eax, eax
add rsp, 0x118
ret