Function at 0xd8b5e0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0xdbf424
push 0x17
xor ebx, ebx
push ebx
xor esi, esi
push 0xdb9770
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0xd8b80a
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push str.rootCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0xd8b7e6
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push edx
push ebx
push 0x20
push str.SELECT__FROM_Win32_Process
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push 0xdbda4c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0xd8b797
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 4]
push edx
push 1
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
je 0xd8b76c
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jl 0xd8b76c
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x30]
push ecx
push ebx
push str.Name
push eax
call edx
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
call edi
mov ecx, dword [ebp + 8]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xd8b6e8
cmp dx, bx
je 0xd8b6e4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xd8b6e8
add eax, 4
add ecx, 4
cmp dx, bx
jne 0xd8b6c2
xor eax, eax
jmp 0xd8b6ed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
je 0xd8b71e
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 4]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, 1
jne 0xd8b68b
jmp 0xd8b76c
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push str.SessionId
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
mov dword [edx], ecx
call edi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push str.CommandLine
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x14], ecx
call edi
mov eax, dword [ebp - 4]
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, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
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.GetProcessDetails_:_Unable_to_retrive_process_details__n
call fcn.00d9f6dc
add esp, 4
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
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.GetProcessDetails_:_Unable_to_connect_to__CIMV2___n
jmp 0xd8b7c4
push ebx
call fcn.00da0839
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
add esp, 4
push eax
mov dword [ebp - 0x1c], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
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.GetProcessDetails_:_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