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

Disassembly:
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x8c], 0
lea rdx, [rbp - 0x30]
mov eax, 0
mov ecx, 0x14
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, qword [rbp + 0xd0]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, str.SELECT__FROM_Win32_UserAccount_where_name____ws_
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_wsprintfW]
call rax
mov edx, 6
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitializeEx]
call rax
test eax, eax
js 0x140008325
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
mov rax, qword [sym.imp.ole32.dll_CoInitializeSecurity]
call rax
test eax, eax
js 0x14000831c
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400127f0]
mov r8d, 1
mov edx, 0
mov rax, qword [0x1400127e0]
mov rcx, rax
mov rax, qword [sym.imp.ole32.dll_CoCreateInstance]
call rax
test eax, eax
js 0x14000831c
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov r10, qword [rax + 0x18]
mov rax, qword [rbp + 0xa8]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rdx, str.._rootCIMV2
mov rcx, rax
call r10
test eax, eax
js 0x140008302
mov rax, qword [rbp + 0xa0]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov r9, 0xffffffffffffffff
mov r8d, 0xffffffff
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.ole32.dll_CoSetProxyBlanket]
call rax
test eax, eax
js 0x1400082e8
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov r10, qword [rax + 0xa0]
mov rax, qword [rbp + 0xa0]
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x98]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov r8, rcx
lea rdx, [0x140011968]
mov rcx, rax
call r10
test eax, eax
js 0x1400082e8
jmp 0x1400082d5
mov rax, qword [rbp + 0x98]
mov rax, qword [rax]
mov r10, qword [rax + 0x20]
mov rax, qword [rbp + 0x98]
lea rcx, [rbp + 0x90]
lea rdx, [rbp + 0x8c]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 1
mov edx, 0xffffffff
mov rcx, rax
call r10
test eax, eax
js 0x1400082d5
mov eax, dword [rbp + 0x8c]
test eax, eax
je 0x1400082e7
lea rax, [rbp + 0x70]
mov edx, 0x18
mov rcx, rax
call fcn.14000f9f0
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
mov r10, qword [rax + 0x20]
mov rax, qword [rbp + 0x90]
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
lea rdx, [0x140011e5e]
mov rcx, rax
call r10
test eax, eax
js 0x1400082bb
mov rax, qword [rbp + 0x78]
mov r8, rax
lea rax, [0x140011a1c]
mov rdx, rax
lea rax, [0x140018160]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_wsprintfW]
call rax
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x90]
mov rcx, rax
call rdx
jmp 0x1400082e8
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0x90]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0x98]
test rax, rax
jne 0x1400081d3
jmp 0x1400082e8
nop
mov rax, qword [rbp + 0xa0]
mov rax, qword [rax]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0xa0]
mov rcx, rax
call rdx
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp + 0xa8]
mov rcx, rax
call rdx
mov rax, qword [sym.imp.ole32.dll_CoUninitialize]
call rax
nop
add rsp, 0x138
pop rdi
pop rbp
ret