Function at 0x413f50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a301
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4611f4]
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 esi, dword [ebp + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
lea eax, [ebp - 0x23c]
push eax
push ebx
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4141d8
push esi
lea ecx, [ebp - 0x240]
call fcn.00402410
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.004017c0
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
or edi, 0xffffffff
test eax, eax
je 0x41417d
lea eax, [ebp - 0x218]
shr eax, 0x10
mov dword [ebp - 0x248], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x244], esi
cmp dword [ebp - 0x248], 0
mov byte [ebp - 4], 1
jne 0x414039
lea eax, [ebp - 0x218]
movzx edi, ax
mov ecx, edi
call fcn.00401ee0
test eax, eax
je 0x41406a
push edi
push eax
lea ecx, [ebp - 0x244]
call fcn.00402070
jmp 0x414064
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414042
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00402300
mov esi, dword [ebp - 0x244]
mov byte [ebp - 4], 2
mov edi, dword [esi - 0xc]
test edi, edi
js 0x4141f6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41409c
push edi
lea ecx, [ebp - 0x244]
call fcn.00402270
mov esi, dword [ebp - 0x244]
lea eax, [edi + 1]
push eax
push esi
call fcn.0043208d
add esp, 8
cmp edi, dword [esi - 8]
jg 0x4141f6
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x240]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x414200
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4140f8
test dx, dx
je 0x4140f4
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4140f8
add ecx, 4
add eax, 4
test dx, dx
jne 0x4140d2
xor eax, eax
jmp 0x4140fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x414122
push dword [ebp - 0x234]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi - 8]
push esi
call fcn.004336a3
add esp, 8
test eax, eax
js 0x4141f6
cmp eax, dword [esi - 8]
jg 0x4141f6
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
add esi, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], cl
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414167
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x413ff3
mov eax, dword [ebp - 0x240]
push dword [eax - 8]
push eax
call fcn.004336a3
mov edx, eax
add esp, 8
test edx, edx
js 0x4141f6
mov ecx, dword [ebp - 0x240]
cmp edx, dword [ecx - 8]
jg 0x4141f6
mov dword [ecx - 0xc], edx
mov eax, dword [ebp - 0x240]
xor ecx, ecx
mov word [eax + edx*2], cx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x240]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4141d3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
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.00431c68
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004022e0
push 0x80004005
call fcn.004022e0
int3