Function at 0x41e5a0
Capabilities:
Enumerate process modules
Enumerate processes
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2522
mov eax, dword fs:[0]
push eax
sub esp, 0x704
mov eax, dword [0x4e143c]
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 dword [ebp - 0x6e0], ecx
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
mov dword [ebp - 0x6d8], ebx
push eax
mov dword [ebp - 0x494], 2
call fcn.0048da50
push 0x228
lea eax, [ebp - 0x6c0]
push ebx
push eax
call fcn.0048da50
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41e630
push 0
mov ecx, 7
mov esi, 0x4d2f6c
rep movsd dword es:[edi], dword [esi]
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x6d4], edi
cmp edi, 0xffffffff
jne 0x41e66d
call esi
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x6c4]
mov dword [ebp - 0x6c4], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41e691
call esi
mov dword [ebp - 0x494], eax
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [eax]
push dword [ebp - 0x6bc]
push 0
push 0x1fffff
call esi
mov dword [ebp - 0x6cc], eax
test eax, eax
je 0x41ea44
push 0x258
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.0048da50
add esp, 0xc
push dword [ebp - 0x6bc]
push 0
push 0x410
call esi
mov esi, eax
test esi, esi
je 0x41e71f
lea eax, [ebp - 0x48c]
push eax
push 4
lea eax, [ebp - 0x498]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x41e71c
push 0x104
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x498]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push esi
call edi
xor eax, eax
mov dword [ebp - 0x488], 0
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 7
lea edx, [ecx + 2]
mov word [ebp - 0x488], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e750
sub ecx, edx
lea eax, [ebp - 0x470]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x488]
call fcn.00402a50
or ebx, 4
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x478]
test esi, esi
jne 0x41e7b8
lea eax, [ebp - 0x6a0]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e790
sub eax, edx
lea ecx, [ebp - 0x488]
sar eax, 1
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.00402a50
mov esi, dword [ebp - 0x478]
xor eax, eax
mov dword [ebp - 0x710], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x700], 0
mov dword [ebp - 0x6fc], 7
lea edx, [ecx + 2]
mov word [ebp - 0x710], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e7f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x710]
call fcn.00402a50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x710]
mov eax, dword [ebp - 0x710]
lea edi, [ebp - 0x488]
or ebx, 1
mov dword [ebp - 0x6dc], eax
cmp dword [ebp - 0x6fc], 8
mov dword [ebp - 0x490], ebx
cmovae ecx, eax
mov dword [ebp - 0x6d8], ebx
cmp dword [ebp - 0x474], 8
mov eax, dword [ebp - 0x488]
cmovae edi, eax
mov dword [ebp - 0x6d0], eax
cmp esi, dword [ebp - 0x700]
jne 0x41e899
mov edx, esi
test edx, edx
je 0x41e881
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x41e899
add ecx, 2
sub edx, 1
jne 0x41e870
mov ebx, dword [ebp - 0x6e4]
mov edi, dword [ebp - 0x6f8]
mov byte [ebp - 0x6c5], 1
jmp 0x41e931
push 0xc
push str.explorer.exe
lea ecx, [ebp - 0x6f8]
mov dword [ebp - 0x6f8], 0
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x6e4], 7
call fcn.00402a50
mov edi, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x6f8]
or ebx, 2
lea edx, [ebp - 0x488]
mov dword [ebp - 0x490], ebx
mov ebx, dword [ebp - 0x6e4]
cmp ebx, 8
cmovae ecx, edi
cmp dword [ebp - 0x474], 8
cmovae edx, dword [ebp - 0x6d0]
cmp esi, dword [ebp - 0x6e8]
jne 0x41e92a
test esi, esi
je 0x41e921
sub edx, ecx
nop dword [eax]
mov ax, word [ecx + edx]
cmp ax, word [ecx]
jne 0x41e92a
add ecx, 2
sub esi, 1
jne 0x41e910
mov byte [ebp - 0x6c5], 1
jmp 0x41e931
mov byte [ebp - 0x6c5], 0
mov eax, dword [ebp - 0x490]
test al, 2
je 0x41e978
and eax, 0xfffffffd
mov dword [ebp - 0x490], eax
cmp ebx, 8
jb 0x41e978
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41e96e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb4e
push ecx
push edi
call fcn.0048bac4
add esp, 8
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x490]
test bl, 1
je 0x41e9cd
mov eax, dword [ebp - 0x6fc]
and ebx, 0xfffffffe
cmp eax, 8
jb 0x41e9cd
mov edx, dword [ebp - 0x6dc]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e9c3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb4e
push ecx
push edx
call fcn.0048bac4
add esp, 8
cmp byte [ebp - 0x6c5], 0
mov esi, dword [ebp - 0x6cc]
jne 0x41ea7e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x474]
mov dword [ebp - 0x6cc], eax
cmp ecx, 8
jb 0x41ea3e
mov edx, dword [ebp - 0x6d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ea2e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb4e
push ecx
push edx
call fcn.0048bac4
mov eax, dword [ebp - 0x6cc]
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x6cc], eax
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x6d4]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41e6a0
mov esi, dword [ebp - 0x6cc]
mov ebx, dword [ebp - 0x494]
test esi, esi
je 0x41eb23
jmp 0x41eb20
lea eax, [ebp - 0x490]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41ead8
lea eax, [ebp - 0x494]
mov dword [ebp - 0x494], 0
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x490]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [ebp - 0x6e0]
xor ebx, ebx
mov eax, dword [ebp - 0x494]
push dword [ebp - 0x490]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41eade
mov ebx, dword [ebp - 0x494]
mov eax, dword [ebp - 0x474]
cmp eax, 8
jb 0x41eb1a
mov edx, dword [ebp - 0x6d0]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41eb10
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb4e
push ecx
push edx
call fcn.0048bac4
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [ebp - 0x6d4]
test eax, eax
je 0x41eb30
push eax
call edi
mov eax, ebx
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.0048b62c
mov esp, ebp
pop ebp
ret
call fcn.004952eb
int3