Function at 0x4f9550
Capabilities:
Enumerate process modules
Enumerate processes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bdefd
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24
push 0
lea eax, [ebp - 0x3e4]
push eax
call fcn.00650120
add esp, 0xc
lea ecx, [ebp - 0x3e4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x378], 0x128
lea edx, [ebp - 0x378]
mov dword [ebp - 0x380], edx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x380]
push eax
mov ecx, dword [ebp - 0x384]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x398], eax
cmp dword [ebp - 0x398], 0
je 0x4f97f8
mov edx, dword [ebp - 0x380]
mov eax, dword [edx + 8]
push eax
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x4f97da
mov ecx, dword [ebp - 0x380]
mov edx, dword [ecx + 8]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0xffffffff
je 0x4f97cd
push 0x224
push 0
lea eax, [ebp - 0x250]
push eax
call fcn.00650120
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x37c]
push edx
call sub.KERNEL32.dll_Module32First
mov dword [ebp - 0x390], eax
cmp dword [ebp - 0x390], 0
je 0x4f97c0
lea eax, [ebp - 0x130]
push eax
call fcn.00660cd0
add esp, 4
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00564c40
add esp, 8
mov dword [ebp - 0x388], eax
lea edx, [ebp - 0x388]
push edx
lea eax, [ebp - 0x39c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00466730
lea ecx, [ebp - 0x3a8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004603f0
mov dword [ebp - 0x3a0], eax
lea edx, [ebp - 0x39c]
push edx
mov ecx, dword [ebp - 0x3a0]
call fcn.0045fb10
movzx eax, al
test eax, eax
je 0x4f977a
lea ecx, [ebp - 0x130]
push ecx
call fcn.00565260
add esp, 4
mov dword [ebp - 0x38c], eax
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x3b0]
push ecx
call fcn.0045f880
add esp, 0xc
push eax
lea edx, [ebp - 0x3b8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00472950
lea eax, [ebp - 0x130]
mov dword [ebp - 0x3a4], eax
lea ecx, [ebp - 0x3a4]
push ecx
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x3c0]
push eax
call fcn.0045f880
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.004f9990
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004fae20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004a9730
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x224
push 0
lea edx, [ebp - 0x250]
push edx
call fcn.00650120
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x37c]
push ecx
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x390], eax
jmp 0x4f966a
mov edx, dword [ebp - 0x37c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x394]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x380]
push ecx
mov edx, dword [ebp - 0x384]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x398], eax
jmp 0x4f95d9
mov eax, dword [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret