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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x24], 4
cmp dword [0x1801596c4], 0
jne 0x18003091e
call fcn.180030c30
mov dword [rsp + 0x28], 0
jmp 0x180030932
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x80]
call fcn.18000acf0
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
jae 0x1800309c3
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
lea rcx, [0x180159640]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 0xff
jne 0x18003098c
mov dword [rsp + 0x30], 0xffffffff
jmp 0x180030c1f
movzx eax, byte [rsp + 0x20]
cmp eax, 0xf
jle 0x1800309aa
movzx eax, byte [rsp + 0x20]
cmp eax, 0x20
jge 0x1800309aa
mov dword [rsp + 0x24], 5
jmp 0x1800309be
movzx eax, byte [rsp + 0x20]
cmp eax, 0x20
jl 0x1800309be
mov dword [rsp + 0x24], 6
jmp 0x1800309c3
jmp 0x180030928
mov dword [rsp + 0x48], 7
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
mov dword [rax], 0
mov dword [rsp + 0x28], 0
jmp 0x1800309ff
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call fcn.18000acf0
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x180030c1f
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
lea rcx, [0x180159640]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x4c], eax
jne 0x180030a99
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov r8, rax
movzx edx, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x40]
call fcn.180030cd0
jmp 0x180030b63
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x4c], eax
jge 0x180030b56
mov eax, dword [rsp + 0x38]
inc eax
cmp eax, dword [rsp + 0x90]
jl 0x180030ac3
mov dword [rsp + 0x30], 0xffffffff
jmp 0x180030c1f
mov dword [rsp + 0x34], 7
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x50], eax
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x44]
sar eax, cl
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x44]
dec ecx
movsxd rcx, ecx
lea rdx, [0x18013b0c8]
movzx ecx, byte [rdx + rcx]
and eax, ecx
mov byte [rsp + 0x3c], al
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov r8, rax
movzx edx, byte [rsp + 0x2c]
xor ecx, ecx
call fcn.180030cd0
mov eax, dword [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov r8, rax
movzx edx, byte [rsp + 0x3c]
mov ecx, dword [rsp + 0x50]
call fcn.180030cd0
jmp 0x180030b63
mov dword [rsp + 0x30], 0xffffffff
jmp 0x180030c1f
cmp dword [rsp + 0x40], 0
jne 0x180030bc4
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x38], eax
jl 0x180030b8e
mov dword [rsp + 0x30], 0xffffffff
jmp 0x180030c1f
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x4c], eax
jne 0x180030bb8
mov dword [rsp + 0x48], 7
jmp 0x180030bc2
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x180030be4
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x4c], eax
jne 0x180030bda
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x180030be4
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
inc eax
test eax, eax
jl 0x180030c0a
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x68], eax
jmp 0x180030c12
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x40], eax
jmp 0x1800309f5
mov eax, dword [rsp + 0x30]
add rsp, 0x78
ret