Function at 0x4c2740
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577618
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 2
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4c29f8
mov ecx, edi
call fcn.004b70a0
push 0x228
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00538910
add esp, 0xc
mov dword [esp + 0x1c], 0x22c
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4c29ee
jmp 0x4c27e0
push dword [ebx + 0x10]
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.0040319a
push eax
call fcn.0053966c
add esp, 0xc
test eax, eax
jne 0x4c29d7
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x250]
call fcn.004c24f0
mov esi, eax
mov dword [esp + 0x278], 0
mov ebx, dword [edi + 4]
cmp esi, ebx
jae 0x4c28ce
mov eax, dword [edi]
cmp eax, esi
ja 0x4c28ce
sub esi, eax
mov eax, 0x2aaaaaab
imul esi
mov eax, dword [edi + 8]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ebx, eax
jne 0x4c28c4
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x4c28c4
mov ecx, dword [edi]
mov eax, 0x2aaaaaab
sub ebx, ecx
imul ebx
mov eax, 0xaaaaaaa
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
sub eax, ebx
cmp eax, 1
jb 0x4c2a1c
mov edx, dword [edi + 8]
mov eax, 0x2aaaaaab
sub edx, ecx
inc ebx
imul edx
mov eax, 0xaaaaaaa
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x4c28b5
xor ecx, ecx
jmp 0x4c28b7
add ecx, edx
cmp ecx, ebx
cmovb ecx, ebx
push ecx
mov ecx, edi
call fcn.004403cb
mov eax, dword [edi]
lea ecx, [esi + esi*2]
lea esi, [eax + ecx*8]
jmp 0x4c294d
mov eax, dword [edi + 8]
cmp ebx, eax
jne 0x4c294d
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x4c294d
sub ebx, dword [edi]
mov eax, 0x2aaaaaab
imul ebx
mov eax, 0xaaaaaaa
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
cmp eax, 1
jb 0x4c2a1c
lea ebx, [ecx + 1]
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
imul ecx
mov eax, 0xaaaaaaa
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp eax, ecx
jae 0x4c293e
xor ecx, ecx
jmp 0x4c2940
add ecx, edx
cmp ecx, ebx
cmovb ecx, ebx
push ecx
mov ecx, edi
call fcn.004403cb
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x4c29ab
mov dword [ebx + 0x14], 7
xor eax, eax
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [esi + 0x14], 8
jae 0x4c2982
mov eax, dword [esi + 0x10]
inc eax
je 0x4c298c
add eax, eax
push eax
push esi
push ebx
call fcn.00536b40
add esp, 0xc
jmp 0x4c298c
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add dword [edi + 4], 0x18
mov dword [esp + 0x278], 0xffffffff
cmp dword [esp + 0x264], 8
jb 0x4c29d3
push dword [esp + 0x250]
call fcn.005363a4
add esp, 4
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4c27e0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.0051b664
int3