Function at 0x490f00
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
mov byte [ecx + 0x240], 1
mov ecx, dword [ecx + 0x23c]
test ecx, ecx
je 0x490f16
jmp 0x49aaf0
ret
sub esp, 0x278
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x274], eax
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x49aced
push ebx
push ebp
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x228
lea ecx, [esp + 0x60]
push 0
push ecx
mov dword [esp + 0x20], 0
call fcn.0046dea0
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push edi
mov dword [esp + 0x60], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebp, 8
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x49ac31
xor ebx, ebx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x49abb7
call fcn.0046d2c9
mov eax, dword [esi + 0x14]
add eax, ebx
cmp dword [eax + 0x18], ebp
jb 0x49abc6
mov eax, dword [eax + 4]
jmp 0x49abc9
add eax, 4
push eax
lea edx, [esp + 0x80]
push edx
call fcn.0046e341
add esp, 8
test eax, eax
je 0x49ac01
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x1c
cmp edi, eax
jb 0x49ab95
jmp 0x49ac31
mov ecx, dword [esp + 0x60]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x49ac31
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push ecx
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x49ab72
push 0x38
xor edi, edi
lea eax, [esp + 0x24]
push edi
push eax
mov dword [esp + 0x28], 0x3c
call fcn.0046dea0
lea ecx, [esp + 0x24]
push 0x4ceafc
push ecx
call fcn.0042c800
mov edx, dword [esp + 0x2c]
add esp, 0x14
push str.fork_server_server
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edx
call fcn.00409e10
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x49accd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49aced
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x278]
pop esi
xor ecx, esp
call fcn.0046da8a
add esp, 0x278
ret