Function at 0x4468e0
Capabilities:
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a29cb
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x4be0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea ecx, [ebp - 0x217]
push ebx
push ecx
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x464], 2
mov byte [ebp - 0x218], bl
call fcn.00458dc0
push 0x103
lea edx, [ebp - 0x113]
push ebx
push edx
mov byte [ebp - 0x114], bl
call fcn.00458dc0
push 0x228
lea eax, [ebp - 0x45c]
push ebx
push eax
mov dword [ebp - 0x460], ebx
call fcn.00458dc0
add esp, 0x24
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x218]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x446987
mov edx, dword [0x4b5ee4]
mov ecx, dword [0x4b5ee8]
mov dword [eax], edx
mov edx, dword [0x4b5eec]
mov dword [eax + 4], ecx
mov cx, word [0x4b5ef0]
push ebx
mov dword [eax + 8], edx
push 2
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x468], esi
cmp esi, 0xffffffff
jne 0x4469d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x464], eax
lea edx, [ebp - 0x460]
push edx
push esi
mov dword [ebp - 0x460], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x446a00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x464], eax
mov edi, edi
mov eax, dword [ebp - 0x458]
push eax
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
xor ecx, ecx
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x446a37
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x43c]
lea esi, [ebp - 0x234]
call fcn.00401a50
push 0xc
push str.explorer.exe
mov edx, esi
push edx
mov dword [ebp - 4], ebx
call fcn.0040b190
cmp eax, 0xffffffff
jne 0x446b47
cmp edi, ebx
je 0x446aee
push str.PSAPI
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x446b8e
push str.GetModuleFileNameExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
mov esi, eax
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00458dc0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push ebx
push edi
call esi
cmp eax, ebx
je 0x446adf
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x114]
push eax
call fcn.00460bf2
add esp, 8
test eax, eax
je 0x446bbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x220], 8
jb 0x446b0d
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0044de0c
add esp, 4
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x460]
push eax
xor edx, edx
push ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x446a00
jmp 0x446c19
lea edx, [ebp - 0x468]
push edx
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x446b6c
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0x46c]
mov dword [ecx], eax
cmp dword [ebp - 0x220], 8
jb 0x446b84
mov edx, dword [ebp - 0x234]
push edx
call fcn.0044de0c
add esp, 4
mov eax, 1
jmp 0x446c3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x464], eax
jb 0x446bb2
mov eax, dword [ebp - 0x234]
push eax
call fcn.0044de0c
add esp, 4
xor ecx, ecx
mov word [ebp - 0x234], cx
jmp 0x446c09
lea edx, [ebp - 0x470]
push edx
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x446be8
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x46c]
mov dword [ecx], eax
mov dword [ebp - 0x464], ebx
cmp dword [ebp - 0x220], 8
jb 0x446c00
mov edx, dword [ebp - 0x234]
push edx
call fcn.0044de0c
add esp, 4
xor eax, eax
mov word [ebp - 0x234], ax
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], 7
cmp edi, ebx
je 0x446c24
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x468]
cmp eax, ebx
je 0x446c35
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044de17
mov esp, ebp
pop ebp
ret