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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x38], 0
jmp 0x18018ad61
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x38], eax
jge 0x18018ae02
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call fcn.1801217f0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x56]
cmp eax, 0xffffffff
je 0x18018adbe
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x5a]
test eax, eax
jne 0x18018adbe
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x56], 0xff
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x56]
cmp eax, 0xffffffff
jne 0x18018adce
jmp 0x18018ad57
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x56]
mov eax, eax
mov ecx, 1
shlx rax, rcx, rax
mov rcx, qword [rsp + 0x60]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x18018ad57
mov eax, dword [rsp + 0x24]
mov ecx, 1
shlx rax, rcx, rax
mov rcx, qword [rsp + 0x60]
inc rcx
cmp rax, rcx
je 0x18018ae24
mov byte [rsp + 0x20], 1
jmp 0x18018ae29
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x28], al
cmp dword [rsp + 0x24], 1
jle 0x18018ae54
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
and eax, 0x4000000
test eax, eax
jne 0x18018ae54
mov byte [rsp + 0x21], 1
jmp 0x18018ae59
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x18018ae78
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x18018b04e
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x3c], 0
jmp 0x18018ae95
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x3c], eax
jge 0x18018b04e
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], 0
jmp 0x18018aebf
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x2c], eax
jge 0x18018af91
movsxd rax, dword [rsp + 0x2c]
mov ecx, 1
shlx rax, rcx, rax
mov rcx, qword [rsp + 0x68]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x18018af8c
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x78]
call fcn.1801217f0
movsx eax, byte [rax + 0x56]
cmp eax, 0xffffffff
je 0x18018af8c
cmp dword [rsp + 0x30], 0xffffffff
je 0x18018af84
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.1801217f0
movsx eax, byte [rax + 0x56]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x88]
call fcn.1801217f0
movsx eax, byte [rax + 0x56]
mov ecx, dword [rsp + 0x58]
cmp eax, ecx
jge 0x18018af8c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x30], eax
jmp 0x18018aeb5
mov eax, dword [rsp + 0x30]
mov ecx, 1
shlx rax, rcx, rax
mov rcx, qword [rsp + 0x68]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x90], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
call fcn.1801217f0
movzx ecx, byte [rsp + 0x3c]
mov byte [rax + 0x56], cl
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x18018b049
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x34], 0
jmp 0x18018b001
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x34], eax
jge 0x18018b047
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
je 0x18018b045
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
call fcn.1801217f0
mov byte [rax + 0x56], 0xff
jmp 0x18018aff7
jmp 0x18018b04e
jmp 0x18018ae8b
cmp dword [rsp + 0x24], 0
jne 0x18018b129
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
and eax, 0x8000000
test eax, eax
jne 0x18018b129
mov dword [rsp + 0x40], 0
jmp 0x18018b085
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x74]
cmp dword [rsp + 0x40], eax
jge 0x18018b129
mov rax, qword [rsp + 0xc0]
add rax, 0x18
mov qword [rsp + 0xa0], rax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.1801217f0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x5a]
test eax, eax
je 0x18018b124
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 0x200
test eax, eax
jne 0x18018b124
mov dword [rsp + 0x24], 1
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x56], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.18018eed0
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x5c]
and al, 3
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x65]
and cl, 0xfc
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x48]
mov byte [rcx + 0x65], al
jmp 0x18018b129
jmp 0x18018b07b
mov rax, qword [rsp + 0xc0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x1e0], cl
add rsp, 0xb8
ret