Function at 0x402800
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b6fa
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x55c168]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x144], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x138]
push eax
push ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_Process32First
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x140]
push 0x518d74
push edx
mov esi, eax
call fcn.00402560
push 0x518d74
push eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 1
call fcn.00402480
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00402020
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 8]
call fcn.00401bc0
cmp esi, edi
je 0x402b3e
call fcn.004060f4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x402b8d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x13c], esi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x40294f
mov edx, ecx
movzx edi, dx
push edi
call fcn.00405fb4
test eax, eax
je 0x40297a
push edi
push eax
lea ecx, [ebp - 0x13c]
call fcn.004019e0
jmp 0x402974
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402958
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00401aa0
mov esi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x148]
push 0x518d74
push edx
mov byte [ebp - 4], 4
call fcn.00402560
push 0x518d74
push eax
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 4], 5
call fcn.00402480
add esp, 0x18
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 6
cmp eax, edi
je 0x402a16
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x402a00
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x402a00
push eax
call fcn.00401790
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4029ef
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], esi
jmp 0x402a16
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00401aa0
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi - 0xc]
test edi, edi
js 0x402b97
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x402a90
push edi
lea ecx, [ebp - 0x13c]
call fcn.00401730
mov esi, dword [ebp - 0x13c]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.004f36c3
add esp, 8
cmp eax, 0x50
ja case.0x402aad.1
movzx edx, byte [eax + 0x402bbc]
jmp dword [edx*4 + 0x402bac]
cmp edi, dword [esi - 8]
jg 0x402b97
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x402b07
push esi
push eax
call fcn.004f343d
add esp, 8
test eax, eax
je 0x402b07
sub eax, dword [ebp + 8]
js 0x402b07
mov eax, dword [ebp - 0x130]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x144], 1
lea ecx, [ebp - 0x138]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
mov edi, eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x4028f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f30e9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004012e0
push 0x80070057
call fcn.004012e0
call fcn.00404fee
call fcn.00405026
nop
mov ah, 0x2a
inc eax
add byte [ecx - 0x59ffbfd5], ah
sub eax, dword [eax]
cmpsb byte [esi], byte es:[edi]
sub eax, dword [eax]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3