Function at 0x402b20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f084
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5c84bc]
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
mov ebx, ecx
mov dword [ebp - 0x274], ebx
mov edx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub edx, dword [ebx]
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402f95
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x402f95
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402f8e
nop dword [eax]
call fcn.00401f60
test eax, eax
je 0x402fb6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x402bf2
movzx eax, ax
lea ecx, [ebp - 0x25c]
push eax
call fcn.004032f0
jmp 0x402c22
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402c00
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.00403490
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x25c]
cmp dword [esi - 0xc], 0
jl 0x402ca3
push 0x5bbce8
push esi
call fcn.0053410e
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x402ca3
sub ecx, esi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x402ca3
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x25c]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00402fd0
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.00403100
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402c9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x25c]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x402fc0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x402cd1
push edi
lea ecx, [ebp - 0x25c]
call fcn.004035d0
mov esi, dword [ebp - 0x25c]
lea eax, [edi + 1]
push eax
push esi
call fcn.0053bad6
add esp, 8
cmp edi, dword [esi - 8]
jg 0x402fc0
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x25c]
push eax
mov ecx, eax
call fcn.00403100
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x25c]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x270], ecx
cmp eax, ecx
je 0x402f47
nop dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403210
mov byte [ebp - 4], 3
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
call fcn.00401f60
test eax, eax
je 0x402fb6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x402d91
test esi, 0xffff0000
jne 0x402d76
movzx eax, si
lea ecx, [ebp - 0x260]
push eax
call fcn.004032f0
jmp 0x402da0
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402d80
sub eax, edx
sar eax, 1
jmp 0x402d93
xor eax, eax
push eax
push esi
lea ecx, [ebp - 0x260]
call fcn.00403490
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x260]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x402fc0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x402dd8
push ebx
lea ecx, [ebp - 0x260]
call fcn.004035d0
mov esi, dword [ebp - 0x260]
lea eax, [ebx + 1]
push eax
push esi
call fcn.0053bad6
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x402fc0
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x260]
push eax
mov ecx, eax
call fcn.00403100
mov esi, dword [ebp - 0x260]
test esi, esi
je 0x402fb6
mov ecx, esi
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x402e3d
test dx, dx
je 0x402e39
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x402e3d
add eax, 4
add ecx, 4
test dx, dx
jne 0x402e17
xor eax, eax
jmp 0x402e42
sbb eax, eax
or eax, 1
test eax, eax
je 0x402ec0
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x402e62
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402ea0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.00532001
add esp, 8
mov eax, dword [ebp - 0x264]
add eax, 0x18
mov dword [ebp - 0x264], eax
cmp eax, dword [ebp - 0x270]
jne 0x402d20
jmp 0x402f47
push 0
push dword [ebp - 0x250]
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x402ef5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x402f33
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fb1
push edx
push ecx
call fcn.00532001
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
mov dword [ebp - 4], 0xffffffff
setne bl
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x402f7f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x402f8e
mov ebx, dword [ebp - 0x274]
jmp 0x402bb0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00531ff3
mov esp, ebp
pop ebp
ret
call fcn.005375cf
push 0x80004005
call fcn.00401dd0
push 0x80070057
call fcn.00401dd0
int3