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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40bd77
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 0x40bdad
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x54]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4351a8
push 1
push 0
push 0x4351b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40be34
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.0040bc60
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x40beec
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40be19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
push str.ROOTCIMV2
mov dword [ebp - 0x10], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x10]
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 - 0x18]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40be9d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x40befd
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.0040bc60
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x40beeb
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov eax, SysReAllocString
mov ecx, dword [edi + 0x10]
sub eax, ecx
mov dword [ebp - 0x2c], ecx
cmp eax, 0xe
jb 0x40c2cb
cmp dword [edi + 0x14], 8
jb 0x40bf1e
mov edi, dword [edi]
lea eax, [ecx + 0xe]
mov dword [ebp - 0x6c], 0
mov esi, 7
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, esi
jbe 0x40bf7d
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x40bf5c
mov esi, SysReAllocString
jmp 0x40bf66
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403df0
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x6c], ecx
movups xmm0, xmmword [str.SELECT__FROM]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], esi
movups xmmword [ecx], xmm0
movq xmm0, qword [0x433c4c]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x433c54]
mov dword [ecx + 0x18], eax
add ecx, 0x1c
mov eax, dword [ebp - 0x2c]
add eax, eax
push eax
push edi
push ecx
call fcn.00415600
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov word [eax + ecx*2], dx
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmovae eax, dword [ebp - 0x6c]
push eax
mov byte [ebp - 4], 1
call edi
mov esi, eax
mov dword [ebp - 0x84], 0
push 3
xor eax, eax
mov dword [ebp - 0x2c], esi
push 0x433c5c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.00403fb0
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x84]
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 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 - 0x2c]
call edi
test esi, esi
jns 0x40c121
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.0040bc60
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x40c0b7
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x40c108
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
jmp 0x40beb1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x40c1ca
mov esi, dword [ebp + 0x10]
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
je 0x40c1ca
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x40c16c
mov edx, dword [esi]
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x3c]
push 0
push 0
push edi
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40c1b6
cmp word [ebp - 0x3c], 8
jne 0x40c1ac
mov edx, dword [ebp - 0x34]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c193
sub eax, edi
lea ecx, [ebp - 0x54]
sar eax, 1
push eax
push edx
call fcn.00403fb0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x40c140
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.0040bc60
mov edx, dword [ebp - 0x70]
cmp edx, 8
jb 0x40c22d
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
cmp edx, 8
jb 0x40c27a
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c270
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2c6
push edx
push ecx
call fcn.0041414e
add esp, 8
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x40beeb
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bee1
call fcn.0041866f
call fcn.00401f30
int3