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

Disassembly:
push rbx
sub rsp, 0xa0
mov rbx, rdx
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x78], r14
mov r14, rcx
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1801d0d40
xor r12d, r12d
test byte [r14 + 0xc1], 0x40
mov qword [rsp + 0xb0], r12
je 0x18016c932
mov rax, qword [r14]
mov rdx, rbx
mov rcx, r14
call qword [rax + 0xc0]
jmp 0x18016c9be
cmp byte [rbx + 0x10], r12b
je 0x18016c945
mov rcx, qword [rbx]
mov byte [rbx + 0x10], r12b
mov rax, qword [rcx]
call qword [rax + 0x68]
mov eax, dword [rsp + 0x20]
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
mov rdx, rbx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov rcx, r14
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov byte [rbx + 0x10], 1
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0xb8], r12
call fcn.180029340
test al, al
je 0x18016c99a
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x60]
test al, al
jne 0x18016c9a9
mov rax, qword [r14]
mov rdx, rbx
mov rcx, r14
call qword [rax + 0xc0]
cmp byte [rbx + 0x10], r12b
je 0x18016c9b5
mov byte [rbx + 0x10], r12b
jmp 0x18016c9be
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp dword [r14 + 0x50], r12d
jle 0x18016cc87
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x70], r15
mov r13d, 1
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r14 + 0x40]
mov rbp, qword [r12 + rax]
test byte [rbp + 0xc0], 2
je 0x18016cc45
cmp qword [rbp + 0x38], 0
je 0x18016cab2
cmp byte [rbx + 0x10], 0
je 0x18016ca33
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 0
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 1
mov rdi, qword [rbp + 0x38]
mov byte [rbx + 0x10], 0
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test byte [rbp + 0xc1], 0x40
je 0x18016ca6a
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x60]
test al, al
je 0x18016caa2
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.18001f3c0
cmp byte [rbx + 0x10], 0
mov rdi, rax
je 0x18016ca8d
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 0
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov rcx, qword [rbx]
mov rdx, rdi
mov r8, qword [rcx]
call qword [r8 + 0x28]
test al, al
je 0x18016cc30
mov rdx, rbx
mov rcx, rbp
call fcn.18016ccf0
jmp 0x18016cc30
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.18001f3c0
mov esi, dword [rsp + 0x20]
mov r10d, dword [rsp + 0x28]
mov rdx, rax
mov eax, dword [rax]
lea ecx, [rsi + r10]
cmp ecx, eax
jle 0x18016cc45
mov edi, dword [rsp + 0x24]
mov r8d, dword [rsp + 0x2c]
mov r11d, dword [rdx + 4]
lea ecx, [rdi + r8]
cmp ecx, r11d
jle 0x18016cc45
mov r9d, dword [rdx + 8]
add eax, r9d
cmp esi, eax
jge 0x18016cc45
mov ecx, dword [rdx + 0xc]
lea eax, [rcx + r11]
cmp edi, eax
jge 0x18016cc45
test r10d, r10d
jle 0x18016cc45
test r8d, r8d
jle 0x18016cc45
test r9d, r9d
jle 0x18016cc45
test ecx, ecx
jle 0x18016cc45
cmp byte [rbx + 0x10], 0
je 0x18016cb47
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 0
mov rax, qword [rcx]
call qword [rax + 0x68]
mov byte [rbx + 0x10], 1
test byte [rbp + 0xc1], 0x40
mov rcx, rbp
je 0x18016cb64
mov rdx, rbx
call fcn.18016ccf0
jmp 0x18016cc30
lea rdx, [rsp + 0x50]
call fcn.18001f3c0
cmp byte [rbx + 0x10], 0
mov rdi, rax
je 0x18016cb84
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 0
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov rcx, qword [rbx]
mov rdx, rdi
mov r8, qword [rcx]
call qword [r8 + 0x28]
test al, al
je 0x18016cc30
mov r12b, 1
mov edi, r13d
cmp r13d, dword [r14 + 0x50]
jge 0x18016cc1d
mov rsi, qword [rsp + 0xb0]
add rsi, 8
mov rax, qword [r14 + 0x40]
mov rcx, qword [rsi + rax]
movzx eax, byte [rcx + 0xc0]
test al, 4
je 0x18016cbff
test al, 2
je 0x18016cbff
cmp qword [rcx + 0x38], 0
jne 0x18016cbff
lea rdx, [rsp + 0x60]
xor r12b, r12b
call fcn.18001f3c0
mov r15, rax
cmp byte [rbx + 0x10], r12b
je 0x18016cbf2
mov rcx, qword [rbx]
mov byte [rbx + 0x10], r12b
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov rcx, qword [rbx]
mov rdx, r15
mov r8, qword [rcx]
call qword [r8 + 0x38]
inc edi
add rsi, 8
cmp edi, dword [r14 + 0x50]
jl 0x18016cbb1
test r12b, r12b
jne 0x18016cc1d
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x60]
test al, al
jne 0x18016cc28
mov rdx, rbx
mov rcx, rbp
call fcn.18016ccf0
mov r12, qword [rsp + 0xb0]
cmp byte [rbx + 0x10], 0
je 0x18016cc3c
mov byte [rbx + 0x10], 0
jmp 0x18016cc45
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x70]
inc r13d
add r12, 8
lea eax, [r13 - 1]
mov qword [rsp + 0xb0], r12
cmp eax, dword [r14 + 0x50]
jl 0x18016ca00
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xc0]
cmp byte [rbx + 0x10], 0
mov r12, qword [rsp + 0x88]
je 0x18016cca2
mov rcx, qword [rbx]
mov byte [rbx + 0x10], 0
mov rax, qword [rcx]
call qword [rax + 0x68]
mov byte [rbx + 0x10], 1
mov rax, qword [r14]
mov rdx, rbx
mov rcx, r14
call qword [rax + 0xc8]
cmp byte [rbx + 0x10], 0
mov r14, qword [rsp + 0x78]
je 0x18016cccd
mov byte [rbx + 0x10], 0
add rsp, 0xa0
pop rbx
ret
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x70]
add rsp, 0xa0
pop rbx
ret