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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
xor r12d, r12d
mov r15, rcx
lea rcx, [rbp + 7]
mov dword [rbp + 0x6f], r12d
mov edi, r12d
mov qword [rbp - 0x19], r12
mov qword [rbp + 0x7f], r12
mov qword [rbp + 0x77], r12
mov qword [rbp - 0x11], r12
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xor r8d, r8d
lea rdx, [0x14009d600]
mov rcx, r15
call fcn.140004d8c
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0x40], r12
lea r13d, [r12 + 1]
mov dword [rsp + 0x38], r12d
lea esi, [r12 + 3]
test eax, eax
mov qword [rsp + 0x30], r12
mov r14d, r12d
mov dword [rsp + 0x28], esi
cmove r14d, r13d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
je 0x14002ec80
cmp eax, 0x80010119
jne 0x14002edef
lea rax, [rbp - 0x19]
mov r8d, r13d
lea r9, [0x1400a9528]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x1400a94c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
lea rdx, str.ROOTCIMV2
lea rcx, [rbp - 1]
cmove r14d, r13d
call fcn.1400220fc
mov rdx, qword [rax]
test rdx, rdx
je 0x14002ecc5
mov rdx, qword [rdx]
jmp 0x14002ecc8
mov rdx, r12
mov rcx, qword [rbp - 0x19]
lea r8, [rbp + 0x7f]
mov qword [rsp + 0x40], r8
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [rax + 0x18]
lea rcx, [rbp - 1]
mov ebx, eax
call fcn.140024498
test ebx, ebx
jne 0x14002edef
mov rcx, qword [rbp + 0x7f]
lea edx, [rbx + 0xa]
mov dword [rsp + 0x38], r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jne 0x14002edef
lea ecx, [rbx + 0x18]
call fcn.140037e24
mov rbx, rax
test rax, rax
je 0x14002ed5e
lea rcx, str.Select__from_Win32_Processor
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
call fcn.140039270
mov qword [rbx], rax
jmp 0x14002ed61
mov rbx, r12
mov qword [rbp - 1], rbx
test rbx, rbx
je 0x14002ef07
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.140037e24
mov rbx, rax
test rax, rax
je 0x14002ed9c
lea rcx, [0x1400a1d74]
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
call fcn.140039270
mov qword [rbx], rax
jmp 0x14002ed9f
mov rbx, r12
mov qword [rbp - 9], rbx
test rbx, rbx
je 0x14002ef12
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x28], rdx
mov r9d, gethostbyname
mov rdx, qword [rbx]
mov r8, rsi
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0xa0]
lea rcx, [rbp - 9]
mov ebx, eax
call fcn.140024498
lea rcx, [rbp - 1]
call fcn.140024498
test ebx, ebx
je 0x14002eee7
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x7f]
test rdx, rdx
je 0x14002ee09
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x14002ee1f
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14002ee2a
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14002ee39
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
test r14d, r14d
je 0x14002ee44
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rbx, qword [rsp + 0xd0]
mov eax, edi
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
or edx, 0xffffffff
mov r8d, r13d
call qword [rax + 0x20]
test eax, eax
jne 0x14002eef6
cmp dword [rbp + 0x6f], r12d
je 0x14002eee7
mov rcx, qword [rbp - 0x11]
lea r9, [rbp + 7]
mov qword [rsp + 0x28], r12
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14002eee7
cmp word [rbp + 7], 2
jb 0x14002eee7
mov rcx, qword [rbp + 0xf]
call fcn.140039150
mov rbx, rax
cmp byte [rax], r12b
jne 0x14002eed1
mov rax, r12
jmp 0x14002eed9
mov rcx, rbx
call fcn.140045e50
mov r8, rax
mov rdx, rbx
mov rcx, r15
call fcn.140004d8c
mov rcx, qword [rbp + 0x77]
test rcx, rcx
jne 0x14002ee6b
jmp 0x14002eefa
mov rcx, qword [rbp + 0x77]
cmp qword [r15 + 0x10], r12
cmovne edi, r13d
jmp 0x14002edf3
mov ecx, 0x8007000e
call fcn.140038fa0
int3
mov ecx, 0x8007000e
call fcn.140038fa0
int3