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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe2ae
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x568461], 0
je 0x4ac00e
lea edx, [ebp - 0x82c]
push edx
push 0x5020f8
push 1
push edi
push 0x5021c8
mov dword [ebp - 0x82c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4ac008
mov eax, dword [ebp - 0x82c]
lea edx, [ebp - 0x830]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0x830], edi
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4abffa
mov eax, dword [ebp - 0x830]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x830]
js 0x4abff2
lea edx, [ebp - 0x838]
push edx
push edi
push 0x30
push str.SELECT__FROM_Win32_Process
mov dword [ebp - 0x838], edi
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4ac015
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x82c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x4ac6e9
mov esi, dword [ebp - 0x838]
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x844], edi
cmp esi, edi
je 0x4ac6ba
nop
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004e8ba0
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x10]
add esp, 0xc
lea edx, [ebp - 0x844]
push edx
lea eax, [ebp - 0x828]
push eax
push 1
push 0xffffffffffffffff
push esi
call ecx
cmp dword [ebp - 0x844], 0
je 0x4ac6b4
mov eax, dword [ebp - 0x828]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x824]
push ecx
push esi
push str.Name
push eax
call edx
test eax, eax
jne 0x4ac249
mov ebx, 1
cmp word [ebp - 0x824], bx
je 0x4ac249
mov eax, dword [ebp - 0x81c]
push 0x7f
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.004e5481
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
jmp 0x4ac0d0
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4ac0d0
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x824]
mov dword [edi], edx
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call edi
mov eax, dword [ebp - 0x828]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x824]
push edx
push esi
push str.ProcessId
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, esi
jne 0x4ac6a6
cmp word [ebp - 0x824], bx
je 0x4ac6a6
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4ac130
sub eax, edx
mov edx, dword [ebp - 0x81c]
sar eax, 1
push 0xa
lea ecx, [ebp + eax*2 - 0x414]
push ecx
push edx
call fcn.004e534f
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4ac161
mov ecx, dword [ebp - 0x81c]
mov eax, dword [0x51ccdc]
push ecx
push 1
push 0x400
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test byte [0x57039c], 1
mov ebx, eax
jne 0x4ac1ae
or dword [0x57039c], 1
mov dword [ebp - 4], esi
call fcn.004bc0d0
mov dword [0x570398], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x570398], esi
je 0x4ac269
lea edx, [ebp - 0x840]
push edx
push ebx
mov dword [ebp - 0x840], esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x4ac23e
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
cmp dword [ebp - 0x840], esi
je 0x4ac212
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x4ac1e3
mov ecx, dword [0x525e80]
mov edx, dword [0x525e84]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4ac28f
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x4ac212
mov ecx, dword [0x525e88]
mov edx, dword [0x525e8c]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4ac28f
cmp ebx, esi
je 0x4ac249
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x838]
test esi, esi
jne 0x4ac030
jmp 0x4ac6ba
lea eax, [ebp - 0x414]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x4ac272
mov edx, dword [0x525e80]
mov ecx, dword [0x525e84]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x828]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x824]
push ecx
push esi
push str.ExecutablePath
push eax
call edx
test eax, eax
jne 0x4ac68f
cmp word [ebp - 0x824], 1
je 0x4ac68f
mov eax, dword [ebp - 0x81c]
push 0xff
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.004e5d06
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4ac2e6
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x824]
push eax
mov dword [edi], edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x834]
push ecx
push 8
push ebx
mov dword [ebp - 0x834], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x834]
cmp eax, esi
jne 0x4ac33b
cmp ebx, esi
je 0x4ac256
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4ac256
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [ebp - 0x83c]
push edx
push 0
push 0
push 1
push eax
mov dword [ebp - 0x83c], 0
call edi
mov eax, dword [ebp - 0x83c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp - 0x83c]
lea ecx, [ebp - 0x83c]
push ecx
push edx
mov esi, eax
mov eax, dword [ebp - 0x834]
push esi
push 1
push eax
call edi
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x612]
push edx
mov word [ebp - 0x614], cx
call fcn.004e8ba0
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x812]
mov edi, 0x100
push ecx
mov dword [ebp - 0x854], edi
mov word [ebp - 0x814], ax
call fcn.004e8ba0
add esp, 0x18
lea edx, [ebp - 0x858]
push edx
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x854]
push edx
lea eax, [ebp - 0x614]
mov dword [ebp - 0x848], edi
mov ecx, dword [esi]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov edx, dword [ebp - 0x834]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
push esi
mov dword [ebp - 0x834], 0
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x4ac425
push ebx
call edi
push 0xff
lea eax, [ebp - 0x614]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.004e5d06
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac450
mov edx, dword [0x51ccdc]
mov eax, dword [ebp - 0x828]
push 0
push 0
mov dword [edi], edx
mov ecx, dword [eax]
lea edx, [ebp - 0x824]
push edx
push 0
push str.CreationDate
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4ac249
mov ebx, 1
cmp word [ebp - 0x824], bx
je 0x4ac249
mov ecx, dword [ebp - 0x81c]
push 0xe
push ecx
lea edx, [ebp - 0x414]
push edx
call fcn.004e5d06
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac4c0
mov eax, dword [0x51ccdc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x824]
push ecx
mov dword [edi], eax
call esi
mov eax, dword [ebp - 0x828]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [ebp - 0x824]
push ecx
push 0
push str.SessionId
push eax
call edx
test eax, eax
jne 0x4ac681
cmp word [ebp - 0x824], bx
je 0x4ac681
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac520
mov ecx, dword [ebp - 0x81c]
sub eax, edx
sar eax, 1
push 0xa
lea eax, [ebp + eax*2 - 0x414]
push eax
push ecx
call fcn.004e534f
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac551
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x824]
push eax
mov dword [edi], edx
call esi
mov eax, dword [ebp - 0x828]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x824]
push edx
push 0
push str.PeakWorkingSetSize
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4ac673
cmp word [ebp - 0x824], bx
je 0x4ac673
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac5b0
sub eax, edx
mov edx, dword [ebp - 0x81c]
sar eax, 1
push 0xa
lea ecx, [ebp + eax*2 - 0x414]
push ecx
push edx
call fcn.004e534f
lea edi, [ebp - 0x414]
add esp, 0xc
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4ac5e1
mov eax, dword [0x51ccdc]
lea ecx, [ebp - 0x824]
push ecx
mov dword [edi], eax
call esi
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac606
sub eax, edx
sar eax, 1
mov word [ebp + eax*2 - 0x414], bx
mov ebx, dword [ebp - 0x84c]
cmp dword [ebx], 0x100
jae 0x4ac6b4
lea eax, [ebp - 0x414]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ac637
mov edi, dword [ebp - 0x850]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4ac650
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [ebx]
jmp 0x4ac256
lea edx, [ebp - 0x824]
push edx
call esi
jmp 0x4ac256
lea eax, [ebp - 0x824]
push eax
call esi
jmp 0x4ac256
cmp ebx, esi
je 0x4ac69a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x824]
push edx
jmp 0x4ac250
lea eax, [ebp - 0x824]
push eax
call edi
jmp 0x4ac256
mov esi, dword [ebp - 0x838]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x82c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret