Function at 0x14016cf30
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x58], 0
call fcn.1401627b0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x48], 0
cmp qword [0x1402e9b38], 0
jne 0x14016d06e
lea rcx, [0x14028c9d8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14016cfa2
xor eax, eax
jmp 0x14016d1ef
lea rdx, str.MessageBoxW
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14016cfc8
xor eax, eax
jmp 0x14016d1ef
mov rcx, qword [rsp + 0x58]
call fcn.140162780
mov qword [0x1402e9b38], rax
lea rdx, str.GetActiveWindow
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140162780
mov qword [0x1402e9b40], rax
lea rdx, str.GetLastActivePopup
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140162780
mov qword [0x1402e9b48], rax
lea rdx, str.GetUserObjectInformationW
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140162780
mov qword [0x1402e9b58], rax
cmp qword [0x1402e9b58], 0
je 0x14016d06e
lea rdx, str.GetProcessWindowStation
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140162780
mov qword [0x1402e9b50], rax
mov rax, qword [rsp + 0x30]
cmp qword [0x1402e9b50], rax
je 0x14016d10b
mov rax, qword [rsp + 0x30]
cmp qword [0x1402e9b58], rax
je 0x14016d10b
mov rcx, qword [0x1402e9b50]
call fcn.1401627c0
mov qword [rsp + 0x70], rax
mov rcx, qword [0x1402e9b58]
call fcn.1401627c0
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x70], 0
je 0x14016d10b
cmp qword [rsp + 0x78], 0
je 0x14016d10b
call qword [rsp + VarBstrFromDate]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14016d103
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x78]
test eax, eax
je 0x14016d103
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
jne 0x14016d10b
mov dword [rsp + 0x64], 1
cmp dword [rsp + 0x64], 0
je 0x14016d127
mov eax, dword [rsp + 0xc0]
or eax, 0x200000
mov dword [rsp + 0xc0], eax
jmp 0x14016d1a6
mov rax, qword [rsp + 0x30]
cmp qword [0x1402e9b40], rax
je 0x14016d160
mov rcx, qword [0x1402e9b40]
call fcn.1401627c0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14016d160
call qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14016d1a6
mov rax, qword [rsp + 0x30]
cmp qword [0x1402e9b48], rax
je 0x14016d1a6
mov rcx, qword [0x1402e9b48]
call fcn.1401627c0
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14016d1a6
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov rcx, qword [0x1402e9b38]
call fcn.1401627c0
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x14016d1ed
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call qword [rsp + DllRegisterServer]
jmp 0x14016d1ef
xor eax, eax
add rsp, 0xa8
ret