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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x140223748]
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 0x140138915
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140138941
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
mov rdx, qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rsp + 0x140]
call fcn.14013929c
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 0x1401389da
cmp dword [rsp + 0x58], 0x80010119
je 0x1401389da
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x1401e1bd8]
mov r8d, 1
xor edx, edx
lea rcx, [0x1401e1be8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x140138a39
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140004900
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.140008a8c
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 0x140138b1f
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x68]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x60]
call fcn.140004900
nop
lea rcx, [rsp + 0x60]
call fcn.140008a8c
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 0x140138bbd
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x68]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
mov rax, qword [0x1401e0b18]
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.140008a8c
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 0x140138c9b
mov rcx, qword [rsp + 0x280]
call fcn.140010ce0
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x60]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x68]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
jmp 0x140138ece
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x78]
call fcn.140004900
nop
lea rcx, [rsp + 0x118]
call fcn.140010ce0
nop
lea rcx, [rsp + 0x78]
call fcn.140139540
movzx eax, al
test eax, eax
je 0x140138e2d
lea rcx, [rsp + 0x78]
call fcn.140008a8c
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 0x140138d32
jmp 0x140138e2d
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xa0]
call fcn.140004900
nop
lea rcx, [rsp + 0xa0]
call fcn.140008a8c
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.140138f14
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.140139368
nop
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x180]
call fcn.140135ae0
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x118]
call fcn.1400149bc
lea rcx, [rsp + 0x180]
call fcn.140013cb0
nop
lea rcx, [rsp + 0x1a0]
call fcn.140138790
nop
lea rcx, [rsp + 0xa0]
call fcn.1401394f8
jmp 0x140138cbc
xor r8d, r8d
mov dl, 0x7c
lea rcx, [rsp + 0x118]
call fcn.14005fb98
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0xffffffffffffffff
je 0x140138e6a
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x118]
call fcn.140025654
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x280]
call fcn.14001056c
mov eax, dword [rsp + 0x50]
or eax, 1
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x118]
call fcn.140013cb0
nop
lea rcx, [rsp + 0x78]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x60]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x68]
call fcn.1401394f8
nop
lea rcx, [rsp + 0x140]
call fcn.140138790
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14017c920
add rsp, 0x268
pop rdi
pop rsi
ret