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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a6eb
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1004b080]
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 0x1004470c
lea ecx, [ebp - 0x2c]
call fcn.1000b460
mov byte [ebp - 4], 2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x30]
push eax
push 0x1003d34c
push 1
push 0
push 0x1003d35c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jge 0x1000422c
cmp dword [ebp - 0x54], 0
je 0x1000422c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x54]
push ecx
push str._ERROR__CoCreateInstance_0x_X_n
call fcn.10001300
add esp, 8
push 0x10044730
mov ecx, dword [ebp + 8]
call fcn.1000b460
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b370
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b8c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b370
mov eax, dword [ebp + 8]
jmp 0x10004624
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.10001ac0
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.10001b80
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.10001b60
nop
cmp dword [ebp - 0x54], 0
jge 0x10004301
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.10001300
add esp, 8
push 0x1004475c
mov ecx, dword [ebp + 8]
call fcn.1000b460
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b370
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b8c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b370
mov eax, dword [ebp + 8]
jmp 0x10004624
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 0x1000439d
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.10001300
add esp, 8
push 0x10044770
mov ecx, dword [ebp + 8]
call fcn.1000b460
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b370
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b8c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b370
mov eax, dword [ebp + 8]
jmp 0x10004624
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.1000b680
push eax
lea ecx, [ebp - 0x8c]
call fcn.10001a00
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.10001b80
mov dword [ebp - 0x7c], eax
push 0x10044774
lea ecx, [ebp - 0x88]
call fcn.10001a00
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.10001b80
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.10001b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10001b60
nop
cmp dword [ebp - 0x54], 0
jge 0x100044c3
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.10001300
add esp, 8
push 0x10044788
mov ecx, dword [ebp + 8]
call fcn.1000b460
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b370
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b8c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b370
mov eax, dword [ebp + 8]
jmp 0x10004624
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x38], 0
je 0x100045a7
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 0x10004510
jmp 0x100045a7
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.1000b2b0
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.1000b460
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b390
lea ecx, [ebp - 0xbc]
call fcn.1000b370
nop
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
jmp 0x100044d1
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.1000b400
mov edx, dword [ebp - 0x50]
or edx, 1
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.1000b370
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000b8c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000b370
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.100198a3
mov esp, ebp
pop ebp
ret