Function at 0x14018dfd0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov rsi, rcx
mov r15, qword [rcx]
cmp r15, 2
jne 0x14018e176
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
mov edi, eax
cmp eax, 2
setb bl
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 0xffffffff
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoInitializeSecurity
test eax, eax
js 0x14018e1a6
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rcx, [0x140274278]
lea r9, [0x140274288]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14018e1a6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x100], 1
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x120], 0
mov byte [rsp + 0x130], bl
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x100]
call fcn.14018e910
mov r13, qword [rsp + 0x58]
mov r15d, 2
cmp r13, 2
je 0x14018e1b6
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov r14, qword [rsp + 0x80]
movzx ebp, byte [rsp + 0x88]
test r12b, 1
mov qword [rsp + 0x50], rax
je 0x14018e37b
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
mov rax, qword [rsp + 0x50]
js 0x14018e37b
lea rax, [rsp + 0x89]
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rsp + 0x93], eax
mov rax, qword [rsp + 0x50]
mov dword [rsp + 0x90], ecx
mov r15, r13
jmp 0x14018e1b6
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsi], 2
jmp 0x14018e2a5
mov r15d, 2
cmp edi, 1
ja 0x14018e1b6
call fcn.1401efa06
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], r14
mov byte [rsi + 0x30], bpl
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x93]
mov dword [rsi + 0x31], eax
mov dword [rsi + 0x34], ecx
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov r9, qword [rsi + 0x28]
mov qword [rsp + 0xb0], r9
movzx r9d, byte [rsi + 0x30]
mov byte [rsp + 0xb8], r9b
mov r9d, dword [rsi + 0x31]
mov dword [rsp + 0xb9], r9d
movzx r9d, word [rsi + 0x35]
mov word [rsp + 0xbd], r9w
movzx r9d, byte [rsi + 0x37]
mov byte [rsp + 0xbf], r9b
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
mov qword [rsi], 2
cmp r15d, 2
jne 0x14018e2a5
mov qword [rsp + 0x58], 2
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsi], rax
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
cmp dword [rsi], 2
jne 0x14018e33a
jmp 0x14018e367
mov qword [rsp + 0xc8], r15
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
movaps xmm0, xmmword [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], r8
movups xmmword [rsp + 0xf0], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0xc8]
call fcn.14018ea70
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmm2, xmmword [rsp + 0x78]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp dword [rsi], 2
je 0x14018e367
lea rcx, [rsp + 0x58]
mov rdx, rsi
xor r8d, r8d
call fcn.14018ebe0
cmp dword [rsp + 0x5c], 2
je 0x14018e367
movss xmm0, dword [rsp + 0x58]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x14018e367
movss dword [rsi + 0x5c], xmm0
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rax, rax
sete al
test r14, r14
sete cl
or cl, al
jne 0x14018e394
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test r12, r12
sete al
test rbx, rbx
sete cl
or cl, al
jne 0x14018e3ad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test r13, r13
sete al
test rdi, rdi
sete cl
or cl, al
jne 0x14018e3c6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test bpl, 1
je 0x14018e3d1
call fcn.1401efa06
mov rax, qword [rsp + 0x50]
jmp 0x14018e1b6