Function at 0x180035890
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rdi, rcx
lea rdx, [0x18012eb74]
call fcn.180007d10
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1800358f7
cmp eax, 0x80010106
je 0x1800358f7
mov eax, 1
jmp 0x180035d2d
xor esi, esi
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x18011bb00]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x18011bbd0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x18003592e
lea eax, [rsi + 1]
jmp 0x180035d2d
mov qword [rsp + 0x58], rsi
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov rcx, qword [rsp + 0x60]
mov r10, qword [rcx]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [r10 + Ordinal_27]
test eax, eax
jns 0x18003599d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x180035d2d
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1800359f5
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x180035d2d
lea rcx, [0x1801326b0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
lea rcx, str.SELECT__FROM_Win32_ComputerSystemProduct
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x78], rsi
mov rcx, qword [rsp + 0x58]
mov r10, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rsi
mov r9d, Ordinal_50
mov r8, rax
mov rdx, rbx
call qword [r10 + 0xa0]
test eax, eax
jns 0x180035a6b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x180035d2d
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x68]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.UUID
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x180035ce3
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov r8d, eax
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], rsi
mov word [rsp + 0x118], si
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x110]
call fcn.1800251b0
nop
lea rcx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rcx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x128]
lea rbx, [rcx + rax*2]
lea rcx, [rsp + 0x90]
call fcn.180003f30
test rbx, rbx
je 0x180035b88
lea rax, [rsp + 0x118]
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x130]
cmp r8, 8
cmovae rax, rdx
cmp rax, rbx
ja 0x180035b88
lea rcx, [rsp + 0x118]
cmp r8, 8
cmovae rcx, rdx
mov rax, qword [rsp + 0x128]
lea rcx, [rcx + rax*2]
cmp rbx, rcx
jbe 0x180035b9d
call fcn.1800caf8c
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x118]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbx
movaps xmm7, xmmword [rsp + 0x90]
lea rbx, [rsp + 0x118]
cmp r8, 8
cmovae rbx, rdx
lea rcx, [rsp + 0x80]
call fcn.180003f30
test rbx, rbx
je 0x180035c25
lea rax, [rsp + 0x118]
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x130]
cmp r8, 8
cmovae rax, rdx
cmp rax, rbx
ja 0x180035c25
lea rcx, [rsp + 0x118]
cmp r8, 8
cmovae rcx, rdx
mov rax, qword [rsp + 0x128]
lea rcx, [rcx + rax*2]
cmp rbx, rcx
jbe 0x180035c2a
call fcn.1800caf8c
lea rax, [rsp + 0x110]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
movaps xmm6, xmmword [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180002da0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.180002d70
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.180002c90
movdqa xmmword [rsp + 0xc0], xmm7
movdqa xmmword [rsp + 0x100], xmm6
movzx r9d, byte [rsp + 0x50]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xd0]
call fcn.18003ffc0
nop
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call fcn.180003c80
nop
lea rcx, [rsp + 0xd0]
call fcn.180002b10
nop
cmp qword [rsp + 0x130], 8
jb 0x180035ce3
mov rcx, qword [rsp + 0x118]
call fcn.1800ca634
mov rcx, rdi
call fcn.180002b30
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret