Function at 0x4fa480
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404bf4
mov eax, dword [ebp + 8]
call fcn.00404bf4
xor eax, eax
push ebp
push 0x4fa75c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4fa724
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x138], 0x128
lea eax, [ebp - 0x138]
push eax
push edi
call sub.kernel32.dll_Process32First
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4fa70c
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 8]
jne 0x4fa6f9
call fcn.0040be94
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004ab2a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1f4
jge 0x4fa714
cmp byte [0x516554], 1
jne 0x4fa56c
cmp dword [ebp - 0x10], 0x1f4
jge 0x4fa580
mov eax, 0x1f4
sub eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x4fa580
cmp dword [ebp - 0x10], 0xa
jge 0x4fa580
mov eax, 0xa
sub eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0xc]
call fcn.00409d18
mov eax, dword [ebp - 0x13c]
lea edx, [ebp + 8]
call fcn.00408f80
mov eax, dword [ebp + 8]
call fcn.004fa2ec
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp + 8]
mov edx, 0x4fa774
call fcn.00404b50
je 0x4fa5cc
mov eax, dword [ebp + 8]
mov edx, 0x4fa78c
call fcn.00404b50
jne 0x4fa5f5
push 1
push 0
mov eax, dword [0x516560]
call fcn.00404c04
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c04
push eax
push 0x4fa7a0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4fa714
mov eax, dword [ebp + 8]
mov edx, 0x4fa7b0
call fcn.00404b50
jne 0x4fa61b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov si, 0xffeb
call fcn.00403b00
jmp 0x4fa714
lea edx, [ebp - 0x140]
mov eax, 0x4fa7c8
call fcn.004fa160
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp + 8]
call fcn.00404b50
je 0x4fa6bf
lea edx, [ebp - 0x144]
mov eax, 0x4fa7f4
call fcn.004fa160
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp + 8]
call fcn.00404b50
je 0x4fa6bf
lea edx, [ebp - 0x148]
mov eax, 0x4fa814
call fcn.004fa160
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp + 8]
call fcn.00404b50
je 0x4fa6bf
lea edx, [ebp - 0x14c]
mov eax, 0x4fa834
call fcn.004fa160
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp + 8]
call fcn.00404b50
je 0x4fa6bf
lea edx, [ebp - 0x150]
mov eax, 0x4fa858
call fcn.004fa160
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp + 8]
call fcn.00404b50
jne 0x4fa6d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov si, 0xffeb
call fcn.00403b00
jmp 0x4fa714
push 1
push 0
mov eax, dword [0x516558]
call fcn.00404c04
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c04
push eax
push 0x4fa7a0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4fa714
lea eax, [ebp - 0x138]
push eax
push edi
call sub.kernel32.dll_Process32Next
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4fa514
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fa72e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa763
lea eax, [ebp - 0x150]
mov edx, 6
call fcn.00404768
lea eax, [ebp - 0xc]
call fcn.00404744
lea eax, [ebp + 8]
call fcn.00404744
ret