Function at 0x4d6c06
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
sub esp, 0x38
mov eax, 0x726513
call fcn.006db31c
sub esp, 0xd4
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
setns byte [ebp + 0x2b]
and dword [ebp + 0x20], 0
and dword [ebp - 4], 0
and dword [ebp + 0x2c], 0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 1
push eax
push 0x72f24c
push 0x17
push 0
push 0x72eff0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x4d70ca
push 0x7298d8
lea ecx, [ebp + 0x34]
call fcn.004be48b
mov esi, eax
push 0x72f000
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.004be48b
mov ecx, dword [edi]
lea edx, [ebp + 0x2c]
push edx
push 0
push dword [esi]
mov byte [ebp - 4], 3
push 0x80
push 0
push 0
push 0
push dword [eax]
push edi
call dword [ecx + 0xc]
push dword [ebp + 0x38]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, eax
call ebx
push dword [ebp + 0x34]
mov byte [ebp - 4], 1
call ebx
test esi, esi
js 0x4d70ca
xor eax, eax
push eax
push eax
push 3
push eax
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push dword [ebp + 0x2c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4d70ca
xor edi, edi
mov dword [ebp + 0x24], edi
push str.Select_ProcessId__Name__from_Win32_Process
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 4
call fcn.004be48b
mov esi, dword [ebp + 0x2c]
lea ecx, [ebp + 0x38]
push 0x72f084
mov byte [ebp - 4], 5
call fcn.004be48b
mov ecx, dword [esi]
lea edx, [ebp + 0x24]
push edx
push edi
push 0x20
push dword [ebp + 0x18]
mov byte [ebp - 4], 6
push dword [eax]
push esi
call dword [ecx + 0x50]
push dword [ebp + 0x38]
mov esi, eax
call ebx
test esi, esi
js 0x4d70b4
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4d70b4
mov dword [ebp + 0x30], edi
lea edx, [ebp + 0x1c]
mov dword [ebp + 0x1c], edi
mov ecx, dword [eax]
push edx
lea edx, [ebp + 0x30]
mov byte [ebp - 4], 7
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4d70a3
push 8
pop ebx
mov dword [ebp - 0x58], 0x1c
cmp dword [ebp + 0x1c], 1
jne 0x4d709d
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 0x30]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], bl
xor ebx, ebx
push ebx
push ebx
mov ecx, dword [eax]
push edx
push ebx
push 0x72f158
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4d705c
push 8
pop eax
cmp word [ebp - 0x54], ax
jne 0x4d705c
cmp dword [ebp - 0x4c], ebx
je 0x4d705c
push 3
push dword [ebp - 0x4c]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
call fcn.004c7a39
mov ecx, dword [ebp - 0xe0]
push 0xf
pop edi
mov dword [ebp], ebx
mov byte [ebp - 4], 9
lea edx, [ecx + 1]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edi
mov byte [ebp], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6df3
sub ecx, edx
push ecx
push dword [ebp - 0xe0]
lea ecx, [ebp]
call fcn.004519c9
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xe0], eax
je 0x4d6e25
push dword [ebp - 0xe0]
call fcn.006e60fe
pop ecx
mov ecx, edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x44], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x28], bl
mov eax, dword [ebp + 0x44]
mov byte [ebp - 4], 0xc
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
cdq
idiv dword [ebp - 0x58]
test eax, eax
je 0x4d6e9c
xor edi, edi
lea ecx, [esi + edi]
push 0x10
pop esi
cmp dword [ecx + 0x14], esi
jb 0x4d6e64
mov ecx, dword [ecx]
cmp dword [ebp + 0x14], esi
lea eax, [ebp]
push ecx
cmovae eax, dword [ebp]
push eax
call fcn.006ec4f8
pop ecx
pop ecx
test eax, eax
je 0x4d6f74
mov eax, dword [ebp + 0x44]
inc ebx
push 0x1c
pop ecx
add edi, ecx
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
cdq
idiv ecx
cmp ebx, eax
jb 0x4d6e57
mov ecx, dword [ebp - 0x14]
push 0xf
pop edi
mov edx, dword [ebp + 0x30]
xor ebx, ebx
test edx, edx
je 0x4d6eb1
mov dword [ebp + 0x30], ebx
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
push 0x10
pop esi
cmp ecx, esi
jb 0x4d6ee8
mov eax, dword [ebp - 0x28]
inc ecx
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x34], eax
cmp ecx, 0x1000
jb 0x4d6edf
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00450606
mov eax, dword [ebp + 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x38]
push ecx
push eax
call fcn.006db2db
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], bl
cmp eax, esi
jb 0x4d6f27
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], ecx
cmp eax, 0x1000
jb 0x4d6f1e
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00450606
mov eax, dword [ebp + 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x34]
push eax
push ecx
call fcn.006db2db
pop ecx
pop ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x44], bl
cmp eax, esi
jb 0x4d6f66
mov ecx, dword [ebp]
inc eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], ecx
cmp eax, 0x1000
jb 0x4d6f5d
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00450606
mov eax, dword [ebp + 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x34]
push eax
push ecx
call fcn.006db2db
pop ecx
pop ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], edi
mov byte [ebp], bl
jmp 0x4d706c
mov ecx, dword [ebp + 0x44]
imul eax, ebx, 0x1c
add eax, dword [ecx]
mov al, byte [eax + 0x18]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x30]
lea edx, [ebp - 0x54]
xor ebx, ebx
push ebx
push ebx
mov ecx, dword [eax]
push edx
push ebx
push 0x72f08c
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x4d6ff5
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4d6fb7
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
jb 0x4d6fed
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x38], ecx
cmp eax, 0x1000
jb 0x4d6fe4
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.00450606
mov eax, dword [ebp + 0x34]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x38]
push eax
push ecx
call fcn.006db2db
pop ecx
pop ecx
push 0xf
pop edi
jmp 0x4d6ee8
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
cmp dword [ebp + 0x14], esi
push dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp]
cmovae eax, dword [ebp]
push eax
call fcn.004519c9
mov ecx, dword [ebp + 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.004d6385
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4d702d
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
jb 0x4d6fed
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x34], ecx
cmp eax, 0x1000
jb 0x4d6fe4
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.00450606
mov eax, dword [ebp + 0x38]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x34]
jmp 0x4d6fe4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4d706c
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 0x24]
lea edx, [ebp + 0x1c]
push edx
lea edx, [ebp + 0x30]
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
push 8
pop ebx
test eax, eax
je 0x4d6d66
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 5
test eax, eax
je 0x4d70b4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0x18]
call ebx
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
test eax, eax
je 0x4d70ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp + 0x48]
xor edi, edi
push 0x38
pop ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cdq
idiv ecx
test eax, eax
je 0x4d7103
xor esi, esi
mov eax, dword [ebx]
lea ecx, [ebp + 0x2c]
push ecx
mov ecx, dword [ebp - 0x5c]
add eax, esi
push eax
call fcn.004d875b
mov eax, dword [ebx + 4]
inc edi
sub eax, dword [ebx]
push 0x38
pop ecx
cdq
add esi, ecx
idiv ecx
cmp edi, eax
jb 0x4d70e0
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x4d7117
and dword [ebp + 0x2c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x4d712b
and dword [ebp + 0x20], 0
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp + 0x2c]
cmp byte [ebp + 0x2b], 0
je 0x4d713a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x2c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4d7148
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x4d7159
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x3c
leave
ret 8