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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f83b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1003d02c]
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 0x10038324
lea ecx, [ebp - 0x2c]
call fcn.1000b1e0
mov byte [ebp - 4], 2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
push eax
push 0x100320ac
push 1
push 0
push 0x100320bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x100041ac
cmp dword [ebp - 0x54], 0
je 0x100041ac
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x54]
push ecx
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.100011b0
add esp, 8
push 0x10038348
mov ecx, dword [ebp + 8]
call fcn.1000b1e0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b0f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b0f0
mov eax, dword [ebp + 8]
jmp 0x100045a0
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.10001a40
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.10001b00
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.10001ae0
cmp dword [ebp - 0x54], 0
jge 0x10004280
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.100011b0
add esp, 8
push 0x10038374
mov ecx, dword [ebp + 8]
call fcn.1000b1e0
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b0f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b0f0
mov eax, dword [ebp + 8]
jmp 0x100045a0
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 0x1000431c
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.100011b0
add esp, 8
push 0x10038388
mov ecx, dword [ebp + 8]
call fcn.1000b1e0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b0f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b0f0
mov eax, dword [ebp + 8]
jmp 0x100045a0
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.1000b3e0
push eax
lea ecx, [ebp - 0x8c]
call fcn.10001980
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.10001b00
mov dword [ebp - 0x7c], eax
push 0x1003838c
lea ecx, [ebp - 0x88]
call fcn.10001980
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.10001b00
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.10001ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10001ae0
cmp dword [ebp - 0x54], 0
jge 0x10004441
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.100011b0
add esp, 8
push 0x100383a0
mov ecx, dword [ebp + 8]
call fcn.1000b1e0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b0f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b0f0
mov eax, dword [ebp + 8]
jmp 0x100045a0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x38], 0
je 0x10004523
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 0x1000448e
jmp 0x10004523
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.1000b030
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.1000b1e0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b110
lea ecx, [ebp - 0xbc]
call fcn.1000b0f0
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1000444f
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.1000b180
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b0f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b0f0
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.10015f53
mov esp, ebp
pop ebp
ret