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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457120
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4754f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], esi
xor edi, edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], esi
push 8
mov dword [ebp - 4], esi
call fcn.00426610
add esp, 4
cmp eax, esi
je 0x416dc5
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x30]
mov dword [ecx], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
push 0x35
mov eax, str.SELECT__FROM_Win32_Process_WHERE_CommandLine_LIKE__
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.004098d0
push 7
mov eax, str.showtip
lea ecx, [ebp - 0x30]
call fcn.004097e0
push 2
mov eax, 0x46d9a4
lea ecx, [ebp - 0x30]
call fcn.004097e0
lea eax, [ebp - 0x40]
push eax
push 0x45a47c
push 1
push esi
push 0x45a54c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x416d2a
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, esi
jl 0x416d2a
mov ecx, dword [ebp - 0x38]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jl 0x416d2a
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x416cac
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
lea ebx, [ebp - 0x34]
push ebx
push esi
push 0x30
push ecx
push 0x46d9ac
push eax
mov eax, dword [edx + 0x50]
call eax
cmp eax, esi
jl 0x416d2a
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x416d2d
nop
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, esi
jl 0x416d2a
cmp dword [ebp - 0x44], esi
je 0x416d2a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x68]
push edx
push esi
push str.Handle
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, esi
jl 0x416d21
cmp word [ebp - 0x68], 8
jne 0x416d1f
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.004217e0
add esp, 4
mov edi, eax
jmp 0x416d21
xor edi, edi
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x416cd0
jmp 0x416d2d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
cmp ecx, esi
je 0x416d42
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], esi
cmp eax, esi
je 0x416d51
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x416d63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x40]
cmp eax, esi
je 0x416d75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x416d8e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00425770
add esp, 4
lea edx, [ebp - 0x30]
xor ecx, ecx
push edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
call fcn.00409010
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420d00
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], esi
call fcn.004211a0
push 0x46ffcc
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x54], vtable.std::bad_alloc.0
call fcn.00432fc0
int3