Function at 0x40c5f0
Capabilities:
Connect to wmi namespace via wbemlocator
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040d0f0
mov dword [esi], eax
push 0
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
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]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
push 0x53b7d0
push 1
push 0
push 0x53b7c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x48], 0
push eax
lea ecx, [ebp - 0x41]
call fcn.0040afb0
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x48]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [ebp - 0x6c]
mov dword [ebp - 4], 1
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40c9cb
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x48]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x41]
call fcn.0040b320
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x41]
call fcn.0040a9c0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x54]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x88]
push edx
push 0
push 0x20
push edi
mov dword [ebp - 0x54], 0
mov ecx, dword [eax]
push esi
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x50]
test eax, eax
js 0x40c92f
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x40c925
mov eax, dword [ecx]
lea edx, [ebp - 0x60]
push edx
lea edx, [ebp - 0x64]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x60], 0
je 0x40c925
lea eax, [ebp - 0x9c]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x9c], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 5
mov dword [ebp - 0x84], 0x690064
mov dword [ebp - 0x80], 0x700073
mov dword [ebp - 0x7c], 0x61006c
mov dword [ebp - 0x78], 0x4e0079
mov dword [ebp - 0x74], 0x6d0061
mov dword [ebp - 0x70], 0x65
call fcn.00407780
mov ecx, eax
test ecx, ecx
je 0x40c9ee
mov eax, dword [ecx]
push 2
push 0xb
mov eax, dword [eax]
call eax
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x40c9e9
add eax, 0x10
mov dword [ebp - 0x8c], eax
cmp dword [eax - 8], 0xb
jl 0x40c9df
xor ecx, ecx
mov dword [eax - 0xc], 0xb
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x84]
push 0x16
push ecx
push 0x16
push eax
call fcn.0040a010
or dword [ebp - 0x50], 2
add esp, 0x10
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x9c]
push 0
push 0
push edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
add edx, 0x10
push 0
push edx
push eax
mov byte [ebp - 4], 6
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x4c]
or eax, 0xffffffff
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
mov edi, dword [ebp - 0x68]
test eax, eax
jg 0x40c870
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x94]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x4c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c892
sub eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00409b90
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
call fcn.0040a260
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40c909
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c8ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c9da
push edx
push ecx
call fcn.0043e101
add esp, 8
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x40c770
lea ecx, [ebp - 0x40]
call fcn.004055f0
jmp 0x40c93c
push str.Error_executing_query__n
call fcn.0040d2a0
add esp, 4
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40c958
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40c974
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x6c]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40c9ae
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.0043e3a9
mov esp, ebp
pop ebp
ret
push str.Connection_error__n
call fcn.0040d2a0
add esp, 4
jmp 0x40c977
call fcn.004d62f9
push 0x80070057
call fcn.00406290
call fcn.00409290
push 0x80004005
call fcn.00406290
int3