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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 4], esi
jl 0x41938c
cmp dword [ebp + 8], 8
jae 0x41938c
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x41919c
push 0xfffffffffffffffe
pop eax
jmp 0x41938f
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0xc]
push eax
push 0x43b860
push 1
push esi
push 0x43b930
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4191d3
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x419194
lea edi, [ebp - 0x18]
mov dword [ebp - 8], esi
call fcn.00418cab
mov eax, dword [eax]
cmp eax, esi
je 0x4191e8
mov eax, dword [eax]
jmp 0x4191ea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
lea edi, [ebp - 8]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push ecx
call dword [edx + 0xc]
lea edi, [ebp - 0x18]
mov ebx, eax
call fcn.00418d0f
cmp ebx, esi
jge 0x419217
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4191cb
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x419250
push 0xfffffffffffffffe
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
pop esi
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x41938f
mov eax, dword [ebp + 8]
push dword [eax*8 + 0x43d518]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x10], esi
call fcn.00418c53
mov eax, dword [eax]
cmp eax, esi
je 0x41926f
mov ebx, dword [eax]
jmp 0x419271
xor ebx, ebx
push 0x43d5d0
lea edi, [ebp - 0x18]
call fcn.00418c53
mov eax, dword [eax]
cmp eax, esi
je 0x419288
mov ecx, dword [eax]
jmp 0x41928a
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
lea edi, [ebp - 0x10]
push edi
push esi
push 0x30
push ebx
push ecx
push eax
call dword [edx + 0x50]
lea edi, [ebp - 0x18]
mov ebx, eax
call fcn.00418d0f
lea edi, [ebp - 0x14]
call fcn.00418d0f
cmp ebx, esi
jge 0x4192b9
push 0xfffffffffffffffd
jmp 0x419230
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x419369
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
je 0x4192dc
cmp dword [ebp - 4], 0xc
jge 0x419369
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x18], esi
je 0x419366
cmp dword [ebp + 0xc], esi
je 0x419347
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x28]
push edx
push esi
push dword [edi*8 + 0x43d51c]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
push SysReAllocString
mov edx, 0x80
mov ecx, ebx
call fcn.00418e0c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
mov ecx, edi
call fcn.004190f1
test eax, eax
je 0x419350
inc dword [ebp - 4]
add ebx, 0x100
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, esi
jne 0x4192c7
jmp 0x419369
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
jmp 0x41938f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret