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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [0x14017b048]
lea r14, [0x14017b048]
cmp rcx, r14
je 0x14001677e
test dword [rcx + 0x1c], 0x200
je 0x14001677e
cmp byte [rcx + 0x19], 4
jb 0x14001677e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401563e0]
mov edx, DllRegisterServer
call fcn.140004c10
mov eax, dword [rdi + 0x170]
imul rcx, rax, 0x70
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x1400167a6
mov esi, 0x8007000e
jmp 0x140016a24
mov eax, dword [rdi + 0x170]
xor edx, edx
imul r8, rax, 0x70
mov rcx, rbp
call sub.msvcrt.dll_memset
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx + 0x8c], xmm0
xor r12d, r12d
mov dword [rbx + 0x9c], eax
cmp dword [rdi + 0x170], eax
jbe 0x14001689b
mov eax, r12d
xor r8d, r8d
imul r14, rax, 0x170
imul r15, rax, 0x70
add r14, qword [rdi + 0xd8]
movups xmm0, xmmword [r14 + 0x44]
add r15, rbp
movdqu xmmword [r15], xmm0
mov eax, dword [r14 + 0x54]
lea rdx, [r15 + 0x40]
mov dword [r15 + 0x10], eax
mov al, byte [r14 + 0x68]
mov byte [r15 + 0x14], al
mov rax, qword [r14 + 0x28]
mov qword [r15 + 0x28], rax
mov eax, dword [r14 + 0x10]
mov dword [r15 + 0x30], eax
mov eax, dword [r14 + 0x14]
mov dword [r15 + 0x34], eax
mov eax, dword [r14 + 0x18]
mov dword [r15 + 0x48], eax
mov eax, dword [r14 + 0x20]
mov dword [r15 + 0x38], eax
mov eax, dword [r14 + 0x24]
mov dword [r15 + 0x3c], eax
mov rcx, qword [r14 + 0x58]
call fcn.1400889dc
mov esi, eax
test eax, eax
js 0x1400169fa
test byte [r14 + 0x54], 0x40
je 0x140016875
mov rdx, r15
mov rcx, r14
call fcn.140013a88
mov esi, eax
test eax, eax
js 0x1400169fa
jmp 0x140016884
mov rax, qword [r14]
mov qword [r15 + 0x18], rax
mov rax, qword [r14 + 8]
mov qword [r15 + 0x20], rax
inc r12d
cmp r12d, dword [rdi + 0x170]
jb 0x1400167db
lea r14, [0x14017b048]
mov eax, dword [rdi + 0xe8]
lea rdx, [rbx + 0x30]
mov dword [rbx], eax
xor r8d, r8d
mov eax, dword [rdi + 0x20]
mov dword [rbx + 4], eax
mov eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
mov eax, dword [rdi + 0xe0]
mov dword [rbx + 0xc], eax
mov eax, dword [rdi + 0x174]
mov dword [rbx + 0x28], eax
mov eax, dword [rdi + 0x170]
mov dword [rbx + 0x2c], eax
mov rax, qword [rdi + 0x188]
mov qword [rbx + 0x48], rax
mov al, byte [rdi + 0x185]
mov byte [rbx + 0x84], al
mov al, byte [rdi + 0x186]
mov byte [rbx + 0x85], al
mov eax, dword [rdi + 0x140]
mov dword [rbx + 0x88], eax
mov rax, qword [rdi + 0xf8]
mov qword [rbx + 0x20], rax
mov rax, qword [rdi + 0xf0]
mov qword [rbx + 0x18], rax
mov rcx, qword [rdi + 0x158]
call fcn.1400889dc
mov esi, eax
test eax, eax
js 0x1400169fa
mov rcx, qword [rdi + 0x160]
lea rdx, [rbx + 0x38]
xor r8d, r8d
call fcn.1400889dc
mov esi, eax
test eax, eax
js 0x1400169fa
mov qword [rbx + 0x40], rbp
lea rdx, [rbx + 0x10]
mov rcx, qword [rdi + 0x1e8]
xor r8d, r8d
xor ebp, ebp
call fcn.1400889dc
mov esi, eax
test eax, eax
js 0x140016a24
mov eax, dword [rdi + 0x180]
lea r8, [rbx + 0x60]
mov dword [rbx + 0xa0], eax
lea rdx, [rbx + 0x58]
mov rcx, qword [rdi + 0x328]
call fcn.1400f7f80
mov esi, eax
test eax, eax
jns 0x1400169c4
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x140016a1c
test byte [rcx + 0x1c], 1
je 0x140016a1c
cmp byte [rcx + 0x19], 2
jb 0x140016a1c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401563e0]
mov edx, DllRegisterServer
mov r9d, eax
call fcn.140004c3c
jmp 0x140016a15
mov edx, dword [rdi + 0x150]
lea r8, [rbx + 0x50]
mov rcx, qword [rdi + 0x158]
call fcn.14010f7dc
mov esi, eax
test eax, eax
js 0x140016a24
movups xmm0, xmmword [rdi + 0x100]
movups xmmword [rbx + 0x8c], xmm0
mov eax, dword [rdi + 0x110]
mov dword [rbx + 0x9c], eax
test rbp, rbp
je 0x140016a0e
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r14, [0x14017b048]
mov rcx, qword [0x14017b048]
test esi, esi
jns 0x140016b50
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
and qword [rbx + 0x38], 0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x30], 0
xor edi, edi
cmp dword [rbx + 0x2c], edi
jbe 0x140016a7e
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x140016a77
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbx + 0x40]
and qword [rax + 0x40], 0
inc edi
cmp edi, dword [rbx + 0x2c]
jb 0x140016a55
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
and qword [rbx + 0x40], 0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
and qword [rbx + 0x10], 0
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x60]
mov ecx, dword [rbx + 0x58]
and qword [rbx + 0x50], 0
call fcn.140142cfc
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140016af1
call fcn.140142db8
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140016af1
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x70], 0
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140016b19
call fcn.140142ec0
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140016b19
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx + 0x68], 0
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x140016b79
test byte [rcx + 0x1c], 1
je 0x140016b50
cmp byte [rcx + 0x19], 2
jb 0x140016b50
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401563e0]
mov edx, DllRegisterServer
mov r9d, esi
call fcn.140004c3c
mov rcx, qword [0x14017b048]
cmp rcx, r14
je 0x140016b79
test dword [rcx + 0x1c], 0x200
je 0x140016b79
cmp byte [rcx + 0x19], 4
jb 0x140016b79
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401563e0]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
call fcn.140004c10
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret