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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6559d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3d4
mov eax, dword [0x6f77c8]
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 - 0x3e0]
push eax
call fcn.00615df0
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x378], 0x128
lea edx, [ebp - 0x378]
mov dword [ebp - 0x37c], edx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x384]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x394], eax
cmp dword [ebp - 0x394], 0
je 0x525c8e
mov edx, dword [ebp - 0x37c]
mov eax, dword [edx + 8]
push eax
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x398], eax
cmp dword [ebp - 0x398], 0
je 0x525c70
mov ecx, dword [ebp - 0x37c]
mov edx, dword [ecx + 8]
push edx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x525c63
push 0x224
push 0
lea eax, [ebp - 0x250]
push eax
call fcn.00615df0
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x380]
push edx
call sub.KERNEL32.dll_Module32First
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0
je 0x525c56
lea eax, [ebp - 0x130]
push eax
call fcn.006160f0
add esp, 4
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.00579240
add esp, 8
mov dword [ebp - 0x390], eax
lea edx, [ebp - 0x390]
push edx
lea eax, [ebp - 0x39c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0050e0b0
lea ecx, [ebp - 0x39c]
push ecx
lea edx, [ebp - 0x3a4]
push edx
mov ecx, dword [ebp + 8]
call fcn.004b81c0
mov ecx, eax
call fcn.004e76f0
movzx eax, al
test eax, eax
je 0x525c10
lea ecx, [ebp - 0x130]
push ecx
call fcn.00579610
add esp, 4
mov dword [ebp - 0x38c], eax
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.004ad480
add esp, 0xc
push eax
lea edx, [ebp - 0x3ac]
push edx
mov ecx, dword [ebp + 8]
call fcn.004b6910
lea eax, [ebp - 0x130]
mov dword [ebp - 0x3a0], eax
lea ecx, [ebp - 0x3a0]
push ecx
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x3b4]
push eax
call fcn.004ad480
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
call fcn.00525e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.005274b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0051f870
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x224
push 0
lea edx, [ebp - 0x250]
push edx
call fcn.00615df0
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x380]
push ecx
call sub.KERNEL32.dll_Module32Next
mov dword [ebp - 0x388], eax
jmp 0x525b0a
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x384]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x394], eax
jmp 0x525a79
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.0061693e
mov esp, ebp
pop ebp
ret