Function at 0x55c30f
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
test ebx, ebx
js 0x55c56a
cmp ebx, 7
jae 0x55c56a
mov esi, dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
call esi
test eax, eax
jns 0x55c34d
push 2
push edi
call esi
test eax, eax
jns 0x55c34d
push 0xfffffffffffffffe
pop eax
jmp 0x55c56d
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x5b3d30
push 1
push esi
push 0x5b3d20
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x55c375
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x55c345
push str.ROOTCIMV2
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0055be39
mov eax, dword [eax]
test eax, eax
je 0x55c38f
mov edx, dword [eax]
jmp 0x55c391
mov edx, esi
mov eax, dword [ebp - 8]
lea esi, [ebp - 4]
push esi
xor esi, esi
push esi
mov ecx, dword [eax]
push esi
push esi
push esi
push esi
push esi
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x14]
mov esi, eax
test ecx, ecx
je 0x55c3b5
call fcn.0055be9b
test esi, esi
jns 0x55c3c4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x55c36d
xor esi, esi
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x55c3e1
push 0xfffffffffffffffe
jmp 0x55c44d
push dword [ebx*8 + 0x5a7a14]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], esi
call fcn.0055bdef
mov eax, dword [eax]
test eax, eax
je 0x55c3fb
mov esi, dword [eax]
push 0x5a7cdc
lea ecx, [ebp - 0x10]
call fcn.0055bdef
mov eax, dword [eax]
test eax, eax
je 0x55c412
mov edx, dword [eax]
jmp 0x55c414
xor edx, edx
mov eax, dword [ebp - 4]
lea ebx, [ebp - 0xc]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x55c43b
call fcn.0055be9b
and dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x55c447
call fcn.0055be9b
test esi, esi
jns 0x55c46d
push 0xfffffffffffffffd
mov ecx, dword [ebp - 4]
pop esi
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x55c56d
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x55c548
mov esi, dword [ebp + 0xc]
and dword [ebp + 8], 0
and dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x55c492
cmp edi, dword [ebp + 0x10]
jge 0x55c548
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x10], 0
je 0x55c545
cmp dword [ebp + 0xc], 0
je 0x55c52b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x24]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebx*8 + 0x5a7a18]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0055be39
mov ecx, dword [eax]
test ecx, ecx
je 0x55c4f0
call fcn.0055be83
jmp 0x55c4f2
xor eax, eax
push eax
push 0x80
push esi
call fcn.0055bf01
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x55c50e
call fcn.0055be9b
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x80
push esi
push ebx
call fcn.0055c26b
add esp, 0xc
test eax, eax
je 0x55c52f
inc edi
sub esi, 0xffffff80
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x55c47b
jmp 0x55c548
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
jmp 0x55c56d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret