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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x10059004]
xor eax, esp
mov dword [esp + 0x330], eax
push ebx
push esi
push edi
push 0
mov edi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x10010bfd
lea eax, [esp + 0x1c]
push eax
push 0x10048698
push 1
push 0
push 0x10048768
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10010bd2
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x10010b9d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esp + 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x10010b5e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0
push 0x30
mov ecx, dword [eax]
push str.Select_From_Win32_UserAccount_Where_LocalAccount__True
push 0x1005149c
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x10010b57
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10010b0e
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x34], 0
je 0x10010b0a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x10010afc
push 0x80
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea eax, [esp + 0x138]
push 0x200
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea eax, [esp + 0x38]
push 0
push 0
push 0x80
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
push 0
push 0
call ebx
test eax, eax
jle 0x10010ad1
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x10051524
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x10010ad1
push 0x80
lea eax, [esp + 0xbc]
push 0
push eax
call fcn.10017bc0
add esp, 0xc
lea eax, [esp + 0xb8]
push 0
push 0
push 0x80
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
push 0
push 0
call ebx
test eax, eax
jle 0x10010ab2
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x3c]
push eax
push str.__24s_t_s
lea eax, [esp + 0x144]
push 0x1fe
push eax
call fcn.100076a0
add esp, 0x14
jmp 0x10010ad1
lea eax, [esp + 0x38]
push eax
push 0x10051538
lea eax, [esp + 0x140]
push 0x1fe
push eax
call fcn.100076a0
add esp, 0x10
lea ecx, [esp + 0x138]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010ae0
sub ecx, edx
je 0x10010afc
lea eax, [esp + 0x138]
push eax
push edi
call fcn.10007760
add esp, 8
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x10010987
jmp 0x10010b0e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10010b20
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.CoExeQuery_Failure
jmp 0x10010b63
push str.CoSetProxyBlank_Failure
push edi
call fcn.10007760
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.CoConnectServer_Failure
push edi
call fcn.10007760
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.CoCreateInstance_Failure
push edi
call fcn.10007760
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret
push str.Coinitialize_Failure
push edi
call fcn.10007760
mov ecx, dword [esp + 0x344]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100136f9
mov esp, ebp
pop ebp
ret