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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011b01b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10128040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
push 0x1012337c
lea ecx, [ebp - 0x2c]
call fcn.100c21d0
mov byte [ebp - 4], 2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
push eax
push 0x1011d0ac
push 1
push 0
push 0x1011d0bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x1000414c
cmp dword [ebp - 0x54], 0
je 0x1000414c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x54]
push ecx
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.10001180
add esp, 8
push 0x101233a0
mov ecx, dword [ebp + 8]
call fcn.100c21d0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100c20e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100c26c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100c20e0
mov eax, dword [ebp + 8]
jmp 0x10004540
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x64], edx
push str.rootCIMV2
lea ecx, [ebp - 0x68]
call fcn.10001a00
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
call fcn.10001ac0
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.10001aa0
cmp dword [ebp - 0x54], 0
jge 0x10004220
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__2__d_n
call fcn.10001180
add esp, 8
push 0x101233cc
mov ecx, dword [ebp + 8]
call fcn.100c21d0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100c20e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100c26c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100c20e0
mov eax, dword [ebp + 8]
jmp 0x10004540
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x100042bc
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__3__d_n
call fcn.10001180
add esp, 8
push 0x101233e0
mov ecx, dword [ebp + 8]
call fcn.100c21d0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100c20e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100c26c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100c20e0
mov eax, dword [ebp + 8]
jmp 0x10004540
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x84], eax
lea ecx, [ebp + 0xc]
call fcn.100c2460
push eax
lea ecx, [ebp - 0x8c]
call fcn.10001940
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
call fcn.10001ac0
mov dword [ebp - 0x7c], eax
push 0x101233e4
lea ecx, [ebp - 0x88]
call fcn.10001940
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
call fcn.10001ac0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x84]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.10001aa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10001aa0
cmp dword [ebp - 0x54], 0
jge 0x100043e1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR__4__d_n
call fcn.10001180
add esp, 8
push 0x101233f8
mov ecx, dword [ebp + 8]
call fcn.100c21d0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100c20e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100c26c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100c20e0
mov eax, dword [ebp + 8]
jmp 0x10004540
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x38], 0
je 0x100044c3
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x38]
push eax
call dword [ebp - 0x90]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x14], 0
jne 0x1000442e
jmp 0x100044c3
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x98], ecx
lea ecx, [ebp + 0x24]
call fcn.100c2020
mov dword [ebp - 0x94], eax
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xbc]
call fcn.100c21d0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100c2100
lea ecx, [ebp - 0xbc]
call fcn.100c20e0
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x100043ef
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100c2170
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100c20e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100c26c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100c20e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10101743
mov esp, ebp
pop ebp
ret