Function at 0xd8b890
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xc]
push eax
push 0xdbf424
push 0x17
push ebx
push 0xdb9770
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0xd8ba46
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push str.rootCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0xd8ba22
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push ebx
push 0x20
push str.SELECT__FROM_Win32_Service
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push 0xdbda4c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0xd8b9f0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
push edx
push 1
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
je 0xd8b9c6
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0xd8b9c3
lea ecx, [ebp - 0x34]
push ecx
call ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.ProcessId
push eax
call edx
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
call edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp esi, dword [ebp + 8]
je 0xd8b9a2
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
jne 0xd8b947
jmp 0xd8b9c3
push 0
push 0
lea edx, [ebp - 0x34]
push edx
push 0
push str.DisplayName
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x10], ecx
call edi
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetServiceName_:_Unable_to_retrive_process_details__n
jmp 0xd8baaa
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.00d8d7d0
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetServiceName_:_Unable_to_connect_to__CIMV2___n
jmp 0xd8baaa
push ebx
call fcn.00da0839
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
add esp, 4
push eax
mov dword [ebp - 0x20], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
push ecx
inc edx
push edx
add eax, 0x76c
push eax
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._ERROR_
call fcn.00d9f6dc
add esp, 4
push str.GetServiceName_:_Unable_to_create_a_WbemLocator__n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret