Function at 0x41cfd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
mov eax, 0x505a10
call fcn.004e1300
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x58], eax
mov word [ebp - 0x44], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x38]
mov word [ebp - 0x44], 0x14
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xffffffff
jne 0x41d070
mov word [ebp - 0x44], 0x20
mov edx, 0x5013c7
lea eax, [ebp - 8]
call fcn.004f4164
inc dword [ebp - 0x38]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.004f4338
mov eax, dword [ebp + 8]
mov word [ebp - 0x44], 0x2c
push eax
dec dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f4308
pop eax
mov word [ebp - 0x44], 0x20
inc dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
jmp 0x41d2c7
mov eax, dword [0x4fdd0c]
mov edx, dword [eax]
call dword [edx + 0x40]
mov dword [ebp - 0x188], 0x128
lea ecx, [ebp - 0x188]
push ecx
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
dec eax
jne 0x41d25b
mov word [ebp - 0x44], 0x38
mov edx, 0x5013c8
lea eax, [ebp - 0x10]
call fcn.004f4164
inc dword [ebp - 0x38]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x164]
lea eax, [ebp - 0xc]
call fcn.004f4164
inc dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x38]
pop edx
call fcn.004f4360
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x180]
call fcn.004f42c4
mov edx, eax
inc dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
inc dword [ebp - 0x38]
pop eax
call fcn.004f4360
lea edx, [ebp - 0x1c]
push edx
mov edx, 0x5013ca
lea eax, [ebp - 0x20]
call fcn.004f4164
inc dword [ebp - 0x38]
lea edx, [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
inc dword [ebp - 0x38]
pop eax
call fcn.004f4360
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.004f4338
dec dword [ebp - 0x38]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004f4308
mov edx, dword [ebp - 0x170]
mov eax, dword [0x4fdd0c]
call fcn.004c8f9c
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jl 0x41d222
mov word [ebp - 0x44], 0x44
xor eax, eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
mov eax, dword [0x4fdd0c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x38]
mov eax, 0x5013cc
call fcn.004f486c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004f434c
dec dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004f4308
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 4]
mov eax, dword [0x4fdd0c]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov dword [ebp - 0x188], 0x128
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
dec edx
je 0x41d0a0
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x44], 0x50
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x30]
inc dword [ebp - 0x38]
mov eax, dword [0x4fdd0c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 8]
call fcn.004f4338
mov eax, dword [ebp + 8]
mov word [ebp - 0x44], 0x5c
push eax
dec dword [ebp - 0x38]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004f4308
dec dword [ebp - 0x38]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f4308
pop eax
mov word [ebp - 0x44], 0x50
inc dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret