Function at 0x41a670
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445a45
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x459020]
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, ecx
push 0
mov bl, 1
mov dword [ebp - 0x270], 0x22c
push 2
mov byte [ebp - 0x271], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x280], edi
cmp edi, 0xffffffff
je 0x41a8d0
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x41a8c9
lea eax, [esi + 0xc]
mov dword [ebp - 0x27c], eax
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x40], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a714
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00417b70
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00419a10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, edx
cmovae ebx, edx
add eax, ecx
cmp dword [ebp - 0x14], 0x10
mov edi, eax
cmovae esi, edx
cmp esi, edi
je 0x41a787
sub ebx, esi
movsx eax, byte [esi]
push eax
call fcn.0042e62a
mov byte [ebx + esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x41a773
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x298]
call fcn.00401430
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b80
mov edx, dword [ebp - 0x284]
mov esi, eax
cmp edx, 0x10
jb 0x41a7e3
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a7d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8ee
push edx
push ecx
call fcn.00423b44
add esp, 8
test esi, esi
jne 0x41a81f
push dword [ebp - 0x268]
push esi
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
neg eax
push esi
sbb al, al
and al, byte [ebp - 0x271]
mov bl, al
mov byte [ebp - 0x271], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a825
mov bl, byte [ebp - 0x271]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41a85d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a853
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8ee
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 8
jb 0x41a8ac
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a8a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a8ee
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edi, dword [ebp - 0x280]
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x41a6f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
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.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
int3