Function at 0x4a5b90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd798
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6d5760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi]
mov dword [ebp - 0x190], edi
push dword [eax + 4]
call fcn.004a6380
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
push dword [eax + 4]
call fcn.004795b0
mov eax, dword [edi + 8]
lea ecx, [edi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
push dword [eax + 4]
call fcn.00413600
mov eax, dword [edi + 0x10]
push 0x124
push 0
mov dword [eax + 4], eax
mov eax, dword [edi + 0x10]
mov dword [eax], eax
mov eax, dword [edi + 0x10]
mov dword [eax + 8], eax
lea eax, [ebp - 0x184]
push eax
mov dword [edi + 0x14], 0
call fcn.005b7980
add esp, 0xc
mov dword [ebp - 0x188], pe_nt_image_headers32
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x19c], ebx
cmp ebx, 0xffffffff
je 0x4a5c82
lea eax, [ebp - 0x188]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4a5c90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4a5f3c
push dword [ebp - 0x180]
mov dword [ebp - 4], 0
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4a5cbe
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp byte [ebp - 0x164], 0
mov eax, dword [ebp - 0x180]
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], eax
jne 0x4a5cfc
xor eax, eax
jmp 0x4a5d0e
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a5d05
sub eax, edx
push eax
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x44]
call fcn.00407960
push dword [ebp - 0x180]
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.004a5a50
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4a5d9f
cmp dword [ebp - 0x18], 0x10
jb 0x4a5d49
push dword [ebp - 0x2c]
call fcn.005b62e5
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x4a5d77
mov eax, dword [esi + 0x10]
inc eax
je 0x4a5d82
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.005b6430
add esp, 0xc
jmp 0x4a5d82
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x4c], 0x10
jb 0x4a5db0
push dword [ebp - 0x60]
call fcn.005b62e5
add esp, 4
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x44]
lea ebx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmp esi, 0x10
cmovae ecx, edx
cmovae ebx, edx
add eax, ecx
cmp esi, 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, edx
cmp ecx, eax
je 0x4a5df0
push 0x5bb098
push ebx
push eax
push ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.004a4970
add esp, 0x14
jmp 0x4a5df6
mov dword [ebp - 0x1a0], ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004a6440
mov esi, eax
cmp esi, dword [edi]
je 0x4a5e54
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
mov ebx, dword [edx + 0x10]
jb 0x4a5e15
mov edx, dword [edx]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, ebx
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x34], ebx
cmovb eax, dword [ebp - 0x34]
push eax
push edx
push ecx
call fcn.004136d0
add esp, 0xc
test eax, eax
jne 0x4a5e4d
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jae 0x4a5e44
or eax, 0xffffffff
jmp 0x4a5e4b
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sets al
test al, al
je 0x4a5e91
lea eax, [ebp - 0x44]
mov ecx, edi
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x189]
push eax
lea eax, [ebp - 0x194]
push eax
push 0x7135e7
call fcn.004a3ae0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x198]
push eax
call fcn.004a40a0
mov esi, dword [ebp - 0x198]
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x4a5eab
push 0xffffffffffffffff
push 0
push eax
call fcn.00407830
lea ecx, [esi + 0x44]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x4a5ebf
push 0xffffffffffffffff
push 0
push eax
call fcn.00407830
push dword [ebp - 0x180]
mov ecx, edi
call fcn.004a57d0
cmp dword [ebp - 0x18], 0x10
jb 0x4a5edd
push dword [ebp - 0x2c]
call fcn.005b62e5
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x4a5f0e
push dword [ebp - 0x44]
call fcn.005b62e5
add esp, 4
jmp 0x4a5f0e
mov ebx, dword [ebp - 0x19c]
lea eax, [ebp - 0x188]
push eax
push ebx
mov dword [ebp - 4], 0xffffffff
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4a5c90
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b6a74
mov esp, ebp
pop ebp
ret