Function at 0x408270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b58b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x40f00c]
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 - 0x2c0], ebx
mov dword [ebp - 0x2b8], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 0
mov dword [ebp - 0x54], 0
push 0x40c398
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00408c40
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0
push 2
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x2b8], esi
test esi, esi
jne 0x408406
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 8], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 0x10
jb 0x4083e8
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408398
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408761
push edx
push ecx
call fcn.0040a1f6
mov ecx, dword [ebp - 0x1c]
add esp, 8
test ecx, ecx
je 0x4083e8
mov edx, dword [ebp - 0x18]
push ecx
call fcn.004096c0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xffffffe0
mov eax, edx
cmp ecx, 0x1000
jb 0x4083de
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408761
push ecx
push edx
call fcn.0040a1f6
add esp, 8
mov eax, ebx
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.00409d8d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4086bc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c4], eax
nop
xor eax, eax
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x70], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408454
sub ecx, edx
lea eax, [ebp - 0x290]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00408ae0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x34]
cmovae edx, dword [ebp - 0x70]
cmovae esi, dword [ebp - 0x70]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea ebx, [edx + eax*2]
mov dword [ebp - 0x20], 0xf
mov eax, ebx
mov byte [ebp - 0x34], 0
sub eax, esi
sar eax, 1
push eax
call fcn.00409ac0
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x408509
nop
mov dl, byte [esi]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0x58], dl
cmp ecx, edi
jae 0x4084e9
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x408502
push dword [ebp - 0x58]
mov byte [ebp - 0x2bc], 0
push dword [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004092c0
add esi, 2
cmp esi, ebx
jne 0x4084c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x20]
cmp edi, 0x10
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
cmovae ecx, esi
push 4
push str.main
push 0
mov edx, ebx
call fcn.00409130
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4085bf
push 3
cmp edi, 0x10
lea ecx, [ebp - 0x34]
push 0x40c644
cmovae ecx, esi
mov edx, ebx
push 0
call fcn.00409130
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4085bf
push 3
cmp edi, 0x10
lea ecx, [ebp - 0x34]
push 0x40c6f8
cmovae ecx, esi
mov edx, ebx
push 0
call fcn.00409130
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4085bf
push 9
cmp edi, 0x10
lea ecx, [ebp - 0x34]
push str.notepad
cmovae ecx, esi
mov edx, ebx
push 0
call fcn.00409130
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4085bf
push 6
cmp edi, 0x10
lea ecx, [ebp - 0x34]
push str.python
cmovae ecx, esi
mov edx, ebx
push 0
call fcn.00409130
add esp, 0xc
cmp eax, 0xffffffff
je 0x408618
cmp edi, 0x10
lea eax, [ebp - 0x34]
push ebx
cmovae eax, esi
lea ecx, [ebp - 0x54]
push eax
call fcn.00408c40
mov eax, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
cmp esi, dword [ebp - 0x14]
je 0x408609
mov ecx, esi
call fcn.00408a10
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1c], eax
add dword [ebp - 0x18], 0x20
jmp 0x408612
push esi
lea ecx, [ebp - 0x1c]
call fcn.00408f30
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edi, 0x10
jb 0x40864a
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x408640
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408761
push edi
push esi
call fcn.0040a1f6
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 8
jb 0x40869a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408690
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408761
push edx
push ecx
call fcn.0040a1f6
add esp, 8
mov esi, dword [ebp - 0x2b8]
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408430
mov ebx, dword [ebp - 0x2c0]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 8], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebx], eax
mov dword [ebx + 4], ecx
cmp edx, 0x10
jb 0x4083e8
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408713
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408761
push edx
push ecx
call fcn.0040a1f6
mov ecx, dword [ebp - 0x1c]
add esp, 8
test ecx, ecx
je 0x4083e8
mov edx, dword [ebp - 0x18]
push ecx
call fcn.004096c0
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xffffffe0
mov eax, edx
cmp ecx, 0x1000
jb 0x4083de
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4083de
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3