Function at 0x4e0c91
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546f44
mov eax, dword fs:[0]
push eax
mov eax, 0x1838
call fcn.004682f0
mov eax, dword [0x657114]
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 - 0x183c], ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1844]
push eax
push 0x1000
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x1840], ecx
push eax
call sub.PSAPI.DLL_EnumProcesses
mov edi, dword [ebp - 0x1844]
xor eax, eax
and dword [ebp - 0x1834], eax
xor esi, esi
shr edi, 2
xor ebx, ebx
mov dword [ebp - 0x1830], eax
test edi, edi
je 0x4e0f97
push dword [ebp + ebx*4 - 0x17e0]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x4e0f76
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call fcn.004e37a0
and dword [ebp - 0x1838], 0
lea eax, [ebp - 0x7e0]
add esp, 0xc
push 0x7d0
push eax
push 0
push dword [ebp - 0x182c]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x7e0]
push eax
call fcn.004f3a59
pop ecx
test eax, eax
jne 0x4e0dc9
test esi, esi
jne 0x4e0d8b
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4e0dc9
mov eax, dword [ebp - 0x1834]
test eax, eax
jne 0x4e0dab
push str.GetProcessImageFileNameW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1834], eax
test eax, eax
je 0x4e0dc9
push 0x104
lea ecx, [ebp - 0x7e0]
push ecx
push dword [ebp - 0x182c]
call eax
mov dword [ebp - 0x1838], 1
lea eax, [ebp - 0x7e0]
push eax
call fcn.004f3a59
pop ecx
test eax, eax
jle 0x4e0f70
lea eax, [ebp - 0x7e0]
push eax
call fcn.004ee398
pop ecx
mov ecx, dword [ebp - 0x183c]
lea eax, [ebp - 0x7e0]
push eax
call fcn.004e0ac6
test al, al
je 0x4e0f70
and dword [ebp - 0x1800], 0
xor eax, eax
mov dword [ebp - 0x1830], 1
mov dword [ebp - 0x17fc], 7
mov word [ebp - 0x1810], ax
cmp word [ebp - 0x7e0], ax
je 0x4e0e3f
lea eax, [ebp - 0x7e0]
push eax
call fcn.004f3a59
pop ecx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x1810]
call fcn.00402650
xor ecx, ecx
mov dword [ebp - 0x17e4], 7
push ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x17e8], ecx
lea ecx, [ebp - 0x17f8]
push 0x63d8a0
mov word [ebp - 0x17f8], ax
call fcn.00402650
cmp dword [ebp - 0x1838], 0
mov byte [ebp - 4], 1
je 0x4e0f01
mov ecx, dword [ebp - 0x183c]
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x1828]
push eax
call fcn.004e1523
push eax
lea ecx, [ebp - 0x17f8]
call fcn.00404010
push 0
push 1
lea ecx, [ebp - 0x1828]
call fcn.00402590
push 0x63d8a0
lea ecx, [ebp - 0x17f8]
call fcn.004c3da9
test eax, eax
jne 0x4e0f17
cmp word [ebp - 0x7e0], ax
je 0x4e0eec
lea eax, [ebp - 0x7e0]
push eax
call fcn.004f3a59
pop ecx
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x17f8]
call fcn.00402650
jmp 0x4e0f17
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1810]
push eax
lea ecx, [ebp - 0x17f8]
call fcn.004028b0
push dword [ebp - 0x1844]
lea eax, [ebp - 0x17f8]
push eax
mov eax, dword [ebp - 0x1840]
push dword [eax + 4]
push dword [eax]
call fcn.004e07f1
mov ecx, dword [ebp - 0x1840]
add esp, 0x10
cmp eax, dword [ecx + 4]
jne 0x4e0f4e
lea eax, [ebp - 0x17f8]
push eax
call fcn.00459750
push 0
push 1
lea ecx, [ebp - 0x17f8]
call fcn.00402590
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1810]
push 0
push 1
call fcn.00402590
mov eax, dword [ebp - 0x182c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, edi
jb 0x4e0d0d
test esi, esi
je 0x4e0f91
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x1830]
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.004682d0
mov esp, ebp
pop ebp
ret 4