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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101281ab
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10134080]
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 0x101304dc
lea ecx, [ebp - 0x2c]
call fcn.100cb9b0
mov byte [ebp - 4], 2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
push eax
push 0x1012a0bc
push 1
push 0
push 0x1012a0cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x1000417c
cmp dword [ebp - 0x54], 0
je 0x1000417c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x54]
push ecx
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.10001170
add esp, 8
push 0x10130500
mov ecx, dword [ebp + 8]
call fcn.100cb9b0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100cb8c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cbeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100cb8c0
mov eax, dword [ebp + 8]
jmp 0x10004574
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.10001a10
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.10001ad0
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.10001ab0
nop
cmp dword [ebp - 0x54], 0
jge 0x10004251
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.10001170
add esp, 8
push 0x1013052c
mov ecx, dword [ebp + 8]
call fcn.100cb9b0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100cb8c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cbeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100cb8c0
mov eax, dword [ebp + 8]
jmp 0x10004574
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 0x100042ed
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.10001170
add esp, 8
push 0x10130540
mov ecx, dword [ebp + 8]
call fcn.100cb9b0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100cb8c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cbeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100cb8c0
mov eax, dword [ebp + 8]
jmp 0x10004574
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.100cbc40
push eax
lea ecx, [ebp - 0x8c]
call fcn.10001950
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.10001ad0
mov dword [ebp - 0x7c], eax
push 0x10130544
lea ecx, [ebp - 0x88]
call fcn.10001950
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.10001ad0
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.10001ab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10001ab0
nop
cmp dword [ebp - 0x54], 0
jge 0x10004413
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.10001170
add esp, 8
push 0x10130558
mov ecx, dword [ebp + 8]
call fcn.100cb9b0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100cb8c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cbeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100cb8c0
mov eax, dword [ebp + 8]
jmp 0x10004574
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x38], 0
je 0x100044f7
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 0x10004460
jmp 0x100044f7
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.100cb800
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.100cb9b0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.100cb8e0
lea ecx, [ebp - 0xbc]
call fcn.100cb8c0
nop
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x10004421
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.100cb950
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100cb8c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cbeb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100cb8c0
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.1010dd13
mov esp, ebp
pop ebp
ret