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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x50], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x80010106
jne 0x140146cbd
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140146ce9
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x280]
jmp 0x140147276
mov rdx, qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rsp + 0x140]
call fcn.140147690
nop
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 r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x140146d82
cmp dword [rsp + 0x58], 0x80010119
je 0x140146d82
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
jmp 0x140147276
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x14020ea10]
mov r8d, 1
xor edx, edx
lea rcx, [0x14020ea20]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x140146de1
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
jmp 0x140147276
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140006b54
nop
lea rax, [rsp + 0x1e8]
lea rcx, str.ROOTCIMV2
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_shutdown
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x68]
call fcn.140009e18
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0xb8]
test eax, eax
jge 0x140146ec7
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x68]
call fcn.14014785c
nop
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
jmp 0x140147276
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140006b54
nop
lea rcx, [rsp + 0x60]
call fcn.140009e18
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x140146f65
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.14014785c
nop
lea rcx, [rsp + 0x68]
call fcn.14014785c
nop
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
jmp 0x140147276
mov rax, qword [0x14020ce58]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x200]
lea rcx, str.SELECT_Name_FROM_Win32_OperatingSystem
mov rdi, rax
mov rsi, rcx
mov ecx, 0x4e
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x60]
call fcn.140009e18
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x30
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x88]
call qword [rsp + reloc.OLEAUT32.dll_SetErrorInfo]
test eax, eax
jge 0x140147043
mov rcx, qword [rsp + 0x280]
call fcn.140012f94
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.14014785c
nop
lea rcx, [rsp + 0x68]
call fcn.14014785c
nop
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
jmp 0x140147276
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.140006b54
nop
lea rcx, [rsp + 0x118]
call fcn.140012f94
nop
lea rcx, [rsp + 0x78]
call fcn.1400f9504
movzx eax, al
test eax, eax
je 0x1401471d5
lea rcx, [rsp + 0x78]
call fcn.140009e18
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xd8]
cmp dword [rsp + 0x70], 0
jne 0x1401470da
jmp 0x1401471d5
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
call fcn.140006b54
nop
lea rcx, [rsp + 0xa0]
call fcn.140009e18
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x100]
xor r8d, r8d
lea rdx, str.Name
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0xe8]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xf8]
call fcn.1401472bc
mov rdx, qword [rax]
lea rcx, [rsp + 0x1a0]
call fcn.1401476cc
nop
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x180]
call fcn.140143be0
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x118]
call fcn.140016d74
lea rcx, [rsp + 0x180]
call fcn.140016068
nop
lea rcx, [rsp + 0x1a0]
call fcn.140146b38
nop
lea rcx, [rsp + 0xa0]
call fcn.14014785c
jmp 0x140147064
xor r8d, r8d
mov dl, 0x7c
lea rcx, [rsp + 0x118]
call fcn.140063a50
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0xffffffffffffffff
je 0x140147212
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x118]
call fcn.140028430
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x280]
call fcn.1400127b8
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x118]
call fcn.140016068
nop
lea rcx, [rsp + 0x78]
call fcn.14014785c
nop
lea rcx, [rsp + 0x60]
call fcn.14014785c
nop
lea rcx, [rsp + 0x68]
call fcn.14014785c
nop
lea rcx, [rsp + 0x140]
call fcn.140146b38
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x268
pop rdi
pop rsi
ret