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

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x51fbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x214]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x450453
mov dword [ebp - 0x2c], eax
push 2
push ebx
mov edi, dword [sym.imp.ole32.dll_CoInitializeEx]
call edi
mov dword [ebp - 0x20], eax
cmp eax, 0x80010106
jne 0x450476
call dword [sym.imp.ole32.dll_CoUninitialize]
push 2
push ebx
call edi
mov dword [ebp - 0x20], eax
cmp eax, ebx
jge 0x4504a4
cmp eax, 0x80010106
je 0x4504a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.MyGetProcessInfo_CoInitializeEx
mov ecx, eax
call fcn.00493500
mov dword [ebp - 0x50], ebx
push 0x5815cc
lea eax, [ebp - 0x50]
push eax
call fcn.004fd5a3
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x4504d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x4504d4
mov dword [ebp - 0x40], ebx
push 0x5815cc
lea ecx, [ebp - 0x40]
push ecx
call fcn.004fd5a3
lea edx, [ebp - 0x28]
push edx
push 0x52badc
push 1
push ebx
push 0x52bbac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x450500
mov dword [ebp - 0x48], ebx
push 0x5815cc
lea eax, [ebp - 0x48]
push eax
call fcn.004fd5a3
lea ecx, [ebp - 0x34]
push ecx
mov edi, str.ROOTCIMV2
call fcn.00421c80
mov byte [ebp - 4], 1
cmp dword [eax], ebx
je 0x45051c
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x45051e
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
lea esi, [ebp - 0x1c]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
mov byte [ebp - 4], bl
lea edi, [ebp - 0x34]
call fcn.00421c30
cmp esi, ebx
jge 0x450556
mov dword [ebp - 0x4c], ebx
push 0x5815cc
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004fd5a3
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x45057f
mov dword [ebp - 0x54], ebx
push 0x5815cc
lea eax, [ebp - 0x54]
push eax
call fcn.004fd5a3
push 0x208
push ebx
lea ecx, [ebp]
push ecx
call fcn.004fd670
push str.RUNDLL32.EXE
push str.SELECT__FROM_Win32_Process_WHERE_Name___s
lea edx, [ebp]
call fcn.00450c20
add esp, 0x14
lea edx, [ebp - 0x30]
push edx
lea edi, [ebp]
call fcn.00421c80
mov edi, eax
mov byte [ebp - 4], 2
lea ebx, [ebp - 0x34]
call fcn.00450c40
mov byte [ebp - 4], 3
xor esi, esi
cmp dword [edi], esi
je 0x4505cd
mov edi, dword [edi]
mov edx, dword [edi]
jmp 0x4505cf
xor edx, edx
cmp dword [eax], esi
je 0x4505d9
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4505db
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
lea ebx, [ebp - 0x24]
push ebx
push esi
push 0x30
push edx
push ecx
push eax
mov eax, dword [edi + 0x50]
call eax
mov ebx, eax
mov byte [ebp - 4], 2
lea edi, [ebp - 0x34]
call fcn.00421c30
mov byte [ebp - 4], 0
lea edi, [ebp - 0x30]
call fcn.00421c30
cmp ebx, esi
jge 0x45061e
mov dword [ebp - 0x44], esi
push 0x5815cc
lea ecx, [ebp - 0x44]
push ecx
call fcn.004fd5a3
mov dword [ebp - 0x3c], esi
push 0x535a4c
lea ecx, [ebp - 0x38]
call fcn.00405c00
mov byte [ebp - 4], 4
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
jmp 0x450640
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4507b7
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xffffffffffffffff
push eax
mov edx, dword [edx + 0x10]
call edx
cmp dword [ebp - 0x3c], 0
je 0x4507b7
add dword [ebp - 0x14], 1
mov eax, dword [ebp + 0x218]
test eax, eax
je 0x450680
cmp dword [ebp - 0x14], eax
jg 0x4507b7
push 0x535a4c
lea ecx, [ebp - 0x38]
call fcn.00405ec0
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x450640
lea eax, [ebp - 0x64]
push eax
call ebx
lea ecx, [ebp - 0x84]
push ecx
call ebx
lea edx, [ebp - 0x74]
push edx
call ebx
push 0xa0c
push 0
push esi
call fcn.004fd670
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x64]
push edx
push 0
push 0x54bb6c
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45070b
mov edx, dword [ebp - 0x5c]
test edx, edx
je 0x45070b
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4506e3
sub eax, edi
sar eax, 1
je 0x45070b
push 0x103
push edx
push 0x104
lea ecx, [esi + 4]
push ecx
call fcn.004fa71b
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0x5506b8
push eax
mov edx, dword [edx + 0x10]
call edx
test eax, eax
jne 0x45076b
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x45076b
mov eax, edx
lea edi, [eax + 2]
jmp 0x450740
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450740
sub eax, edi
sar eax, 1
je 0x45076b
push 0x3ff
push edx
push 0x400
lea eax, [esi + 0x20c]
push eax
call fcn.004fa71b
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x74]
push edx
push 0
push str.ProcessId
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x45078e
mov ecx, dword [ebp - 0x6c]
mov dword [esi], ecx
add esi, 0xa0c
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x64]
push edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call esi
lea eax, [ebp - 0x84]
push eax
call esi
lea ecx, [ebp - 0x74]
push ecx
call esi
jmp 0x450640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4507d9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4507e8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4507f7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x450806
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
cmp dword [ebp - 0x20], 0
jl 0x450812
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x20c
mov esp, ebp
pop ebp
ret