Function at 0x4a9c50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, 0x4e466c
call fcn.00479eb8
mov word [ebp - 0x44], 8
mov dword [ebp - 0x58], 0xffffffff
mov word [ebp - 0x44], 8
xor edx, edx
mov dword [ebp - 0x5c], edx
mov esi, 0x4e1180
lea edi, [ebp - 0x1a0]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x44], 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.004058c0
pop ecx
add dword [ebp - 0x38], 4
mov word [ebp - 0x44], 0x20
mov word [ebp - 0x44], 0x2c
lea edx, [ebp - 0x30]
push edx
call fcn.004058c0
pop ecx
add dword [ebp - 0x38], 4
mov word [ebp - 0x44], 0x20
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
sete al
and eax, 1
test al, al
je 0x4a9d53
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a9d04
cmp edi, 0x80
jbe 0x4a9cfa
push ebx
call fcn.00477a54
pop ecx
jmp 0x4a9d04
push edi
push ebx
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4a9d3e
cmp dword [ebp - 0x78], 0x80
jbe 0x4a9d32
push esi
call fcn.00477a54
pop ecx
jmp 0x4a9d3e
push dword [ebp - 0x78]
push esi
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
jmp 0x4aa00b
call fcn.004a9ba4
lea ecx, [ebp - 0x30]
cmp ebx, ecx
je 0x4a9d76
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
lea eax, [ebp - 0x64]
push eax
push esi
push edi
lea edx, [ebp - 0x30]
push edx
call fcn.0040f60c
add esp, 0x10
lea ecx, [ebp - 0x30]
push ecx
call fcn.004a9acc
pop ecx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x4a9e0f
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a9dc0
cmp edi, 0x80
jbe 0x4a9db6
push ebx
call fcn.00477a54
pop ecx
jmp 0x4a9dc0
push edi
push ebx
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4a9dfa
cmp dword [ebp - 0x74], 0x80
jbe 0x4a9dee
push esi
call fcn.00477a54
pop ecx
jmp 0x4a9dfa
push dword [ebp - 0x74]
push esi
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
jmp 0x4aa00b
mov dword [ebp - 0x1a0], 0x128
lea ecx, [ebp - 0x1a0]
push ecx
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_Process32First
test eax, eax
jne 0x4a9eb5
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_CloseHandle
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edi, dword [ebp - 0x20]
sub edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a9e66
cmp edi, 0x80
jbe 0x4a9e5c
push ebx
call fcn.00477a54
pop ecx
jmp 0x4a9e66
push edi
push ebx
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4a9ea0
cmp dword [ebp - 0x70], 0x80
jbe 0x4a9e94
push esi
call fcn.00477a54
pop ecx
jmp 0x4a9ea0
push dword [ebp - 0x70]
push esi
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
jmp 0x4aa00b
push dword [ebp - 0x198]
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4a9f5c
mov word [ebp - 0x44], 0xc8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x4a9eec
mov al, 0
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x17c]
push edx
call fcn.00479a2c
pop ecx
lea ecx, [ebp - 0x17c]
add eax, ecx
lea edx, [ebp - 0x6c]
push edx
push eax
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040f7c0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
call fcn.004a9acc
pop ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.004a3470
add esp, 8
test al, al
je 0x4a9f41
push 0
push dword [ebp - 0x5c]
call sub.KERNEL32.DLL_TerminateProcess
mov word [ebp - 0x44], 0x20
jmp 0x4a9f54
push dword [ebp - 0x5c]
call sub.KERNEL32.DLL_CloseHandle
lea eax, [ebp - 0x1a0]
push eax
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4a9eb5
push dword [ebp - 0x58]
call sub.KERNEL32.DLL_CloseHandle
dec dword [ebp - 0x38]
mov word [ebp - 0x44], 0x20
dec dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4a9faf
cmp esi, 0x80
jbe 0x4a9fa5
push ebx
call fcn.00477a54
pop ecx
jmp 0x4a9faf
push esi
push ebx
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4a9fe3
cmp esi, 0x80
jbe 0x4a9fd9
push ebx
call fcn.00477a54
pop ecx
jmp 0x4a9fe3
push esi
push ebx
call fcn.004b63b4
add esp, 8
dec dword [ebp - 0x38]
dec dword [ebp - 0x38]
mov word [ebp - 0x44], 8
mov word [ebp - 0x44], 0
jmp 0x4aa002
mov eax, dword [ebp - 0x54]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret