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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov eax, 4
imul rax, rax, 0
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rax], ecx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x20]
cmp eax, 0x21
jl 0x18001f61e
movzx eax, byte [rsp + 0x20]
cmp eax, 0x61
jg 0x18001f61e
movzx ecx, byte [rsp + 0x20]
call fcn.180020180
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
sub eax, 0x21
movzx ecx, byte [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 0x27
je 0x18001f4d1
movzx eax, byte [rsp + 0x20]
cmp eax, 0x28
je 0x18001f4d1
movzx eax, byte [rsp + 0x20]
cmp eax, 0x29
je 0x18001f4d1
movzx eax, byte [rsp + 0x20]
cmp eax, 0x2d
jne 0x18001f4e5
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x20]
cmp eax, 0x23
je 0x18001f517
movzx eax, byte [rsp + 0x20]
cmp eax, 0x24
je 0x18001f517
movzx eax, byte [rsp + 0x20]
cmp eax, 0x29
je 0x18001f517
movzx eax, byte [rsp + 0x20]
cmp eax, 0x2b
je 0x18001f517
mov dword [rsp + 0x44], 1
jmp 0x18001f51f
mov dword [rsp + 0x44], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x44]
mov dword [rcx + rax], edx
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x38], al
cmp byte [rsp + 0x38], 0x21
je 0x18001f568
cmp byte [rsp + 0x38], 0x2e
je 0x18001f585
cmp byte [rsp + 0x38], 0x3b
je 0x18001f59f
cmp byte [rsp + 0x38], 0x48
je 0x18001f5b9
cmp byte [rsp + 0x38], 0x55
je 0x18001f5d3
jmp 0x18001f605
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0x1d
jmp 0x18001f605
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0x1e
jmp 0x18001f605
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0x1f
jmp 0x18001f605
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0x20
jmp 0x18001f605
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rax], ecx
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
sub eax, 6
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x6a
ja case.0x18001f65b.14
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x200dc]
mov eax, dword [rcx + rax*4 + 0x2006c]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x80]
jmp 0x180020066
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x88], 0
je 0x18001f907
cmp dword [rsp + 0x24], 0xc0
jb 0x18001f907
mov eax, dword [rsp + 0x24]
and eax, 0x20
test eax, eax
jne 0x18001f6e9
mov eax, dword [rsp + 0x24]
and eax, 0x1f
shl eax, 6
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
jmp 0x18001f907
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x18001f748
mov eax, dword [rsp + 0x24]
and eax, 0xf
shl eax, 0xc
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x18001f907
mov eax, dword [rsp + 0x24]
and eax, 8
test eax, eax
jne 0x18001f7c4
mov eax, dword [rsp + 0x24]
and eax, 7
shl eax, 0x12
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 3
mov qword [rsp + 0x80], rax
jmp 0x18001f907
mov eax, dword [rsp + 0x24]
and eax, 4
test eax, eax
jne 0x18001f861
mov eax, dword [rsp + 0x24]
and eax, 3
shl eax, 0x18
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0x12
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
jmp 0x18001f907
mov eax, dword [rsp + 0x24]
and eax, 1
shl eax, 0x1e
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0x18
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0x12
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 5
mov qword [rsp + 0x80], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0xffffffff
mov rax, qword [rsp + 0x80]
jmp 0x180020066
movzx eax, byte [rsp + 0x20]
cmp eax, 0x1e
jne 0x18001f958
mov dword [rsp + 0x48], 0x1d
jmp 0x18001f960
mov dword [rsp + 0x48], 0x1f
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x48]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x88], 0
je 0x18001fc15
cmp dword [rsp + 0x24], 0xc0
jb 0x18001fc15
mov eax, dword [rsp + 0x24]
and eax, 0x20
test eax, eax
jne 0x18001f9f7
mov eax, dword [rsp + 0x24]
and eax, 0x1f
shl eax, 6
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
jmp 0x18001fc15
mov eax, dword [rsp + 0x24]
and eax, 0x10
test eax, eax
jne 0x18001fa56
mov eax, dword [rsp + 0x24]
and eax, 0xf
shl eax, 0xc
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x18001fc15
mov eax, dword [rsp + 0x24]
and eax, 8
test eax, eax
jne 0x18001fad2
mov eax, dword [rsp + 0x24]
and eax, 7
shl eax, 0x12
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 3
mov qword [rsp + 0x80], rax
jmp 0x18001fc15
mov eax, dword [rsp + 0x24]
and eax, 4
test eax, eax
jne 0x18001fb6f
mov eax, dword [rsp + 0x24]
and eax, 3
shl eax, 0x18
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0x12
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
jmp 0x18001fc15
mov eax, dword [rsp + 0x24]
and eax, 1
shl eax, 0x1e
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
and ecx, 0x3f
shl ecx, 0x18
or eax, ecx
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0x12
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 0xc
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
shl ecx, 6
or eax, ecx
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
add rax, 5
mov qword [rsp + 0x80], rax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax], edx
cmp dword [rsp + 0x24], 0x80
jb 0x18001fc55
cmp dword [rsp + 0x24], 0x100
jae 0x18001fc7b
cmp dword [rsp + 0x88], 0
jne 0x18001fc7b
cmp dword [rsp + 0x90], 0
jne 0x18001fc7b
mov eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x98]
movzx eax, byte [rdx + rax]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
jmp 0x18001fcee
mov eax, dword [rsp + 0x24]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdqe
lea rcx, [0x1800cb070]
movzx eax, word [rcx + rax*2]
imul eax, eax, 0x80
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
cdq
and edx, 0x7f
add eax, edx
and eax, 0x7f
sub eax, edx
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
cdqe
lea rcx, [0x1800d23f0]
movzx eax, word [rcx + rax*2]
imul rax, rax, 0xc
lea rcx, [0x1800cf470]
mov eax, dword [rcx + rax + 4]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax]
cmp dword [rsp + 0x24], eax
jne 0x18001fd22
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0xffffffff
jmp 0x18001fd3a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 0xffffffff
mov rax, qword [rsp + 0x80]
jmp 0x180020066
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
cmp eax, 9
je 0x18001fdc4
mov eax, 1
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rdx + rax]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov eax, 1
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rdx + rax]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x80]
add rax, 2
jmp 0x180020066
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
lea rcx, [0x1800d2230]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa0]
add rax, 0x20
cmp qword [rsp + 0x58], rax
jb 0x18001fe80
mov eax, 1
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rdx + rax]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov eax, 1
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx eax, byte [rdx + rax]
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x80]
jmp 0x180020066
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x60]
add rax, 4
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x6c], 0xffffffff
jne 0x18001fe0e
movzx eax, byte [rsp + 0x20]
cmp eax, 0x10
jne 0x18001fed4
mov dword [rsp + 0x4c], 0x1d
jmp 0x18001fedc
mov dword [rsp + 0x4c], 0x1f
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x80]
jmp 0x180020066
movzx eax, byte [rsp + 0x20]
cmp eax, 0x70
jne 0x18001ff50
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov eax, eax
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax - 1]
mov qword [rsp + 0x30], rax
jmp 0x18001ff61
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
sub eax, 0x62
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xb
ja case.default.0x18001ff99
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x20148]
add rax, rcx
jmp rax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + rax], 1
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp case.default.0x18001ff99
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp case.default.0x18001ff99
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
or eax, ecx
test eax, eax
jne 0x180020008
mov dword [rsp + 0x50], 1
jmp 0x180020010
mov dword [rsp + 0x50], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x50]
mov dword [rcx + rax], edx
mov rax, qword [rsp + 0x30]
add rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x30]
jmp 0x180020066
xor eax, eax
add rsp, 0x78
ret