Function at 0x409000
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cbd5
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x43a00c]
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
push 0x22c
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.004136c0
xor eax, eax
mov dword [ebp - 0x30], 0
add esp, 0xc
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0xb
push 0x435a08
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004030b0
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x4091d6
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4091ca
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ebx, [ebp - 0x28]
cmovae ecx, edx
cmovae edi, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
mov esi, eax
cmp edi, esi
je 0x409100
sub ebx, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.004198b5
mov word [edi + ebx], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x4090e0
nop word [eax + eax]
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409110
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004030b0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x40]
cmovae ecx, edx
cmovae esi, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
mov edi, eax
cmp esi, edi
je 0x40916d
sub ebx, esi
movzx eax, word [esi]
push eax
call fcn.004198b5
mov word [esi + ebx], ax
add esp, 4
add esi, 2
cmp esi, edi
jne 0x409156
push ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.004092e0
cmp eax, 0xffffffff
je 0x4091af
push dword [ebp - 0x268]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4091af
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4091a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x409100
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40920c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409202
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409272
push edx
push ecx
call fcn.0040f6ee
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x409256
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40924c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409272
push edx
push ecx
call fcn.0040f6ee
add esp, 8
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.0040f469
mov esp, ebp
pop ebp
ret
call fcn.00415003
int3