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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43453d
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], edx
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x88], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40b263
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x40b28d
call dword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
jmp 0x40b4d6
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
push 0x436194
push 1
push 0
push 0x4361a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40b25d
push str.ROOTCIMV2
mov dword [ebp - 0x60], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x68]
mov edi, eax
lea eax, [ebp - 0x60]
push eax
push 0
mov edx, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push edi
push ecx
call dword [edx + 0xc]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40b318
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x40b34b
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x80]
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
jmp 0x40b4d6
mov ecx, dword [ebp - 0x84]
mov eax, SysReAllocString
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 0xe
jb 0x40b66a
cmp dword [ecx + 0x14], 8
jb 0x40b36c
mov ecx, dword [ecx]
push edx
push ecx
push 0xe
push str.SELECT__FROM
push ecx
push dword [ebp - 0x88]
lea ecx, [ebp - 0x5c]
call fcn.0040b670
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmovae eax, dword [ebp - 0x5c]
push eax
call edi
mov esi, eax
mov dword [ebp - 0x44], 0
push 3
xor eax, eax
mov dword [ebp - 0x84], esi
push 0x4407b0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004051a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
call edi
mov ecx, dword [ebp - 0x60]
mov edi, eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0
mov edx, dword [ecx]
push 0x30
push esi
push edi
push ecx
call dword [edx + 0x50]
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call edi
push dword [ebp - 0x84]
call edi
test esi, esi
jns 0x40b4f3
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x80]
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
cmp edx, 8
jb 0x40b488
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b47e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b665
push edx
push ecx
call fcn.00416502
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x40b4d6
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b665
push edx
push ecx
call fcn.00416502
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004164c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x40b5a3
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x6c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x40b5a3
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x88]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x40b544
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
lea esi, [ebp - 0x7c]
push 0
push 0
push esi
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40b58f
cmp word [ebp - 0x7c], 8
jne 0x40b589
mov edx, dword [ebp - 0x74]
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b570
sub eax, esi
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
push edx
call fcn.004051a0
lea eax, [ebp - 0x7c]
push eax
call edi
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x40b512
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x80]
movups xmm0, xmmword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
cmp edx, 8
jb 0x40b619
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b60f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b665
push edx
push ecx
call fcn.00416502
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x40b4d6
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b4cc
call fcn.0041a93f
call fcn.00401220
int3