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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
sar eax, 3
cdqe
lea rcx, [0x1802d81e0]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x180099033
mov dword [rsp + 0x30], 0
jmp 0x18009903b
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x90], 0
jne 0x180099071
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x88], rax
jae 0x18009909e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x34], eax
jmp 0x1800990a6
mov dword [rsp + 0x34], 0
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x34]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
inc rax
cmp rax, qword [rsp + 0x90]
jae 0x1800990e8
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
jmp 0x1800990f0
mov dword [rsp + 0x38], 0
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x38]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 2
cmp rax, qword [rsp + 0x90]
jae 0x180099133
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x3c], eax
jmp 0x18009913b
mov dword [rsp + 0x3c], 0
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x3c]
mov byte [rsp + rax + 0x24], cl
mov rax, qword [rsp + 0x88]
add rax, 3
cmp rax, qword [rsp + 0x90]
jae 0x18009917e
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x88]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x40], eax
jmp 0x180099186
mov dword [rsp + 0x40], 0
mov eax, 1
imul rax, rax, 3
movzx ecx, byte [rsp + 0x40]
mov byte [rsp + rax + 0x24], cl
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
movsxd rcx, dword [rsp + 0x28]
lea rdx, [0x1802d8218]
and eax, dword [rdx + rcx*4]
shl eax, 0x12
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 0xc
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
shl eax, 6
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
and eax, 0x3f
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1802d8258]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
movzx ecx, al
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1802d8240]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
cmp dword [rdx], eax
jae 0x1800992a2
mov dword [rsp + 0x44], 1
jmp 0x1800992aa
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
shl eax, 6
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
shr eax, 0xb
cmp eax, 0x1b
jne 0x1800992d1
mov dword [rsp + 0x48], 1
jmp 0x1800992d9
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
shl eax, 7
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xffff
jbe 0x180099306
mov dword [rsp + 0x4c], 1
jmp 0x18009930e
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
shl eax, 8
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 2
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
and eax, 0xc0
sar eax, 4
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
sar eax, 6
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor eax, 0x2a
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1802d8200]
mov eax, dword [rcx + rax*4]
movzx ecx, al
mov eax, dword [rsp + 0x20]
sar eax, cl
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180099475
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1800993d0
mov dword [rsp + 0x54], 1
jmp 0x1800993d8
mov dword [rsp + 0x54], 0
mov eax, 1
imul rax, rax, 1
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x1800993f4
mov dword [rsp + 0x50], 1
jmp 0x1800993fc
mov dword [rsp + 0x50], 0
mov eax, 1
imul rax, rax, 2
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x180099418
mov dword [rsp + 0x58], 1
jmp 0x180099420
mov dword [rsp + 0x58], 0
mov eax, 1
imul rax, rax, 3
movzx eax, byte [rsp + rax + 0x24]
test eax, eax
je 0x18009943c
mov dword [rsp + 0x5c], 1
jmp 0x180099444
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x58]
add eax, dword [rsp + 0x5c]
mov edx, eax
mov ecx, dword [rsp + 0x2c]
call fcn.1800c67d0
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xfffd
mov eax, dword [rsp + 0x2c]
add rsp, 0x78
ret