Function at 0x57f290
Capabilities:
Enumerate process modules
Enumerate processes
Enumerate threads
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x6385e0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [0x612bf0]
fmul qword [0x612a68]
fst qword [esp + 0x10]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x10]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x10]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetInputState]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x10]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x10]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
fld qword [esp + 0x10]
fadd qword [esi + 0x20]
lea eax, [esp + 0x84]
push eax
fstp qword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x24
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da378]
lea eax, [esp + 0x64]
push eax
fstp qword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x20
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da380]
lea eax, [esp + 0x30]
push eax
fstp qword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 8
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x612bb0]
lea eax, [esp + 0x30]
push eax
fstp qword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetCaretPos]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 8
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x612bb0]
lea eax, [esp + 0x38]
push eax
fstp qword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 8
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
fld qword [0x612bb0]
fmul qword [0x612a68]
push 0
push 0xf
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
fild dword [esi + 0x18]
mov ebx, eax
mov eax, dword [esi + 0x18]
test eax, eax
jge 0x57f47e
fadd qword [0x5d9818]
fcomp qword [esi + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x57f4d9
lea ecx, [esp + 0xa8]
push ecx
push ebx
mov dword [esp + 0xb0], 0x224
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x57f4d9
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x224
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da388]
lea eax, [esp + 0xa8]
push eax
push ebx
fstp qword [esi + 0x20]
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x57f4a5
mov ecx, dword [esi + 0x18]
fild dword [esi + 0x18]
test ecx, ecx
jge 0x57f4e9
fadd qword [0x5d9818]
fcomp qword [esi + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x57f544
lea edx, [esp + 0xa8]
push edx
push ebx
mov dword [esp + 0xb0], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x57f544
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x128
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da390]
lea eax, [esp + 0xa8]
push eax
push ebx
fstp qword [esi + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x57f510
mov ecx, dword [esi + 0x18]
fild dword [esi + 0x18]
test ecx, ecx
jge 0x57f554
fadd qword [0x5d9818]
fcomp qword [esi + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x57f5a0
lea edx, [esp + 0x10]
push edx
push ebx
mov dword [esp + 0x18], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x57f5a0
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x1c
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da398]
lea eax, [esp + 0x10]
push eax
push ebx
fstp qword [esi + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x57f575
mov ecx, dword [esi + 0x18]
fild dword [esi + 0x18]
test ecx, ecx
jge 0x57f5b0
fadd qword [0x5d9818]
fcomp qword [esi + 0x20]
fnstsw ax
test ah, 0x41
jnp 0x57f682
lea edx, [esp + 0x10]
push edx
push ebx
xor edi, edi
mov dword [esp + 0x18], 0x10
call sub.KERNEL32.dll_Heap32ListFirst
test eax, eax
je 0x57f682
jmp 0x57f5e4
mov edi, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da3a0]
inc edi
mov dword [esp + 0xc], edi
fstp qword [esi + 0x20]
cmp edi, 0x20
ja 0x57f682
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x48]
push edx
xor edi, edi
mov dword [esp + 0x4c], 0x24
call sub.KERNEL32.dll_Heap32First
test eax, eax
je 0x57f664
lea esp, [esp]
mov eax, edi
inc edi
cmp eax, 0x80
ja 0x57f664
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x24
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call edx
fld qword [esi + 0x20]
fadd qword [0x5da378]
lea eax, [esp + 0x40]
push eax
fstp qword [esi + 0x20]
call sub.KERNEL32.dll_Heap32Next
test eax, eax
jne 0x57f630
mov ecx, esi
call fcn.0057f260
test al, al
jne 0x57f682
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.KERNEL32.dll_Heap32ListNext
test eax, eax
jne 0x57f5e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 4