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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov rax, qword [rdx + 0xa8]
xor r13d, r13d
movzx ebx, r9b
movzx eax, byte [rax + 0x10]
mov rdi, rdx
mov r12, rcx
shr al, 4
lea r15, [rcx + 0xd4b0]
mov dword [rsp + 0x90], r13d
test al, 1
je 0x1801cfb9d
mov qword [r15 + 0x10], r13
jmp 0x1801cfc1d
mov rax, qword [rdx + 0x100]
cmp rax, 0xffffffffffffffff
je 0x1801cfbfe
mov eax, dword [rax + 0x78]
and eax, 0xfff00000
cmp eax, 0x12700000
jne 0x1801cfbfe
mov eax, dword [rdx + 0x98]
bt rax, 0x12
jb 0x1801cfbfe
cmp qword [rdx + 0x90], r13
jne 0x1801cfbdf
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfc1d
cmp qword [rdx + 0x88], r13
jne 0x1801cfbf8
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfc1d
mov qword [r15 + 0x10], r13
jmp 0x1801cfc1d
mov rax, qword [rdx + 0x90]
test rax, rax
jne 0x1801cfc1a
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfc1d
mov r15, rax
test r13d, r13d
js 0x1801cff88
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rsi
test rax, rax
je 0x1801cfde1
test rax, rax
je 0x1801cfc47
mov rbx, qword [r15]
jmp 0x1801cfc49
xor ebx, ebx
cmp dword [rbx + 8], 0xffffffff
je 0x1801cfdb6
mov rcx, rbx
call fcn.18019d2c0
mov rbp, rax
mov rax, qword [rax + 0xa8]
mov edx, dword [rax + 0x1c]
cmp qword [r15 + 0x10], rdx
ja 0x1801cfdc8
mov rcx, r15
call fcn.1801cfaa0
test al, al
je 0x1801cfdbf
mov rcx, rbx
call fcn.18019d260
xor r13d, r13d
lea rbx, [r12 + 0xd4d0]
mov rsi, rax
mov rax, qword [rdi + 0xa8]
mov dword [rsp + 0x90], r13d
movzx ecx, byte [rax + 0x10]
shr cl, 4
test cl, 1
je 0x1801cfcbc
mov qword [rbx + 0x10], r13
jmp 0x1801cfd74
mov rax, qword [rdi + 0x100]
cmp rax, 0xffffffffffffffff
je 0x1801cfd55
mov eax, dword [rax + 0x78]
and eax, 0xfff00000
cmp eax, 0x12700000
jne 0x1801cfd55
mov eax, dword [rdi + 0x98]
bt rax, 0x12
jb 0x1801cfd55
cmp qword [rdi + 0x90], r13
jne 0x1801cfd02
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfd74
cmp qword [rdi + 0x88], r13
jne 0x1801cfd1b
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfd74
lea rdx, [rsp + 0x30]
mov r8d, 1
mov rcx, rbx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], 0xffffffff
mov byte [rsp + 0x3c], r13b
mov byte [rsp + 0x3d], r13b
mov qword [rbx + 0x10], r13
call fcn.1801e8f50
mov r13d, eax
mov dword [rsp + 0x90], eax
jmp 0x1801cfd74
mov rax, qword [rdi + 0x88]
test rax, rax
jne 0x1801cfd71
mov r13d, 0x80004005
mov dword [rsp + 0x90], r13d
jmp 0x1801cfd74
mov rbx, rax
test r13d, r13d
js 0x1801cfdae
mov rax, qword [rbp + 0xa8]
mov edx, dword [rax + 0x1c]
cmp qword [rbx + 0x10], rdx
ja 0x1801cfdda
mov rcx, rbx
call fcn.1801cfaa0
test al, al
je 0x1801cfdd1
mov ecx, dword [rsp + 0xb0]
test ecx, ecx
je 0x1801cfdae
mov rdi, qword [rsp + 0xc0]
mov rax, rsi
rep stosq qword [rdi], rax
mov eax, r13d
jmp 0x1801cff5d
mov bl, byte [rsp + 0xa8]
jmp 0x1801cfde1
mov bl, byte [rsp + 0xa8]
jmp 0x1801cfde1
mov bl, byte [rsp + 0xa8]
jmp 0x1801cfde1
mov bl, byte [rsp + 0xa8]
jmp 0x1801cfde1
mov bl, byte [rsp + 0xa8]
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x48], r14
xor r14d, r14d
test rax, rax
je 0x1801cff83
mov r9, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0xb0]
mov r13, qword [rsp + 0xa0]
xor esi, esi
movabs rdi, 0x200008000000
nop word [rax + rax]
cmp rsi, rax
jae 0x1801cfe2e
shl rsi, 4
add rsi, qword [r15]
jmp 0x1801cfe30
xor esi, esi
mov rax, qword [rsi]
or r12, 0xffffffffffffffff
mov rcx, qword [rax + 0x100]
mov qword [rsp + 0x98], r12
cmp rcx, r12
je 0x1801cfe86
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsi + 8]
lea r9, [rsp + 0x98]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call fcn.180197cf0
mov r12, qword [rsp + 0x98]
mov r8d, dword [rsp + 0xb0]
mov r9, qword [rsp + 0xc0]
mov rax, qword [r12 + 0xa8]
mov rcx, qword [rax + 0x10]
test rdi, rcx
jne 0x1801cff1d
shr cl, 1
test cl, 1
je 0x1801cfee6
movzx edi, byte [r12 + 0xd8]
mov rdx, qword [r12 + 0xd0]
movzx ecx, bl
mov rax, r13
cmp r13, 0xffffffffffffffff
je 0x1801cfedc
nop
cmp rax, rdx
je 0x1801cff74
mov cl, byte [rax + 0xd8]
mov rax, qword [rax + 0xd0]
cmp rax, 0xffffffffffffffff
jne 0x1801cfec0
cmp rax, rdx
jne 0x1801cff1d
cmp cl, dil
jne 0x1801cff1d
test r8d, r8d
je 0x1801cff1d
mov rbp, qword [rsp + 0xb8]
mov rdi, r9
mov ebx, r8d
sub rbp, r9
nop dword [rax]
mov rdx, qword [rdi + rbp]
mov rcx, rsi
call fcn.18019d450
test al, al
je 0x1801cff13
mov qword [rdi], r12
add rdi, 8
sub rbx, 1
jne 0x1801cff00
mov rax, qword [r15 + 0x10]
mov r8d, dword [rsp + 0xb0]
mov r9, qword [rsp + 0xc0]
mov bl, byte [rsp + 0xa8]
inc r14d
movabs rdi, 0x200008000000
mov esi, r14d
cmp rsi, rax
jb 0x1801cfe20
mov eax, dword [rsp + 0x90]
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x60
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret
cmp cl, dil
sete al
test al, al
je 0x1801cff1d
jmp 0x1801cfee6
mov eax, r13d
jmp 0x1801cff58
mov eax, r13d
add rsp, 0x60
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret