Function at 0x408d60
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4675b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x49f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], edx
mov edi, ecx
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], edi
push 0
mov dword [ebp - 0x2a4], edi
push 2
mov dword [ebp - 0x250], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x254], esi
cmp esi, 0xffffffff
jne 0x408e12
movq qword [edi], xmm0
xor eax, eax
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
jmp 0x4090bc
movlpd qword [ebp - 0x1c], xmm0
push 0x4c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.004435f5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x408f65
nop dword [eax]
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x2a0], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x238]
xorps xmm0, xmm0
mov dword [ebp - 0x29c], eax
movups xmmword [ebp - 0x298], xmm0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ea0
sub ecx, edx
lea eax, [ebp - 0x22c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x298]
call fcn.0040b7e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
push 0x491264
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x26c], 0
call fcn.0040b7e0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.004123b0
mov ecx, dword [ebp - 0x2a0]
mov esi, eax
lea eax, [ebp - 0x298]
push eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x29c]
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
call fcn.00413180
lea eax, [ebp - 0x280]
push eax
lea ecx, [esi + 0x20]
call fcn.00413180
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0
call fcn.004090f0
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x408e60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x409022
nop dword [eax + eax]
cmp dword [esi + 0x18], 0
lea edi, [esi + 0x18]
je 0x408fd6
push edi
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ee50
mov eax, dword [ebp - 0x260]
cmp byte [eax + 0xd], 0
jne 0x408fd6
mov ecx, dword [edi]
cmp ecx, dword [eax + 0x10]
jb 0x408fd6
cmp eax, dword [ebp - 0x1c]
je 0x408fd6
push edi
lea ecx, [ebp - 0x1c]
call fcn.004123b0
add eax, 8
lea ecx, [esi + 0x34]
cmp ecx, eax
je 0x408fd6
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x408fcf
mov eax, dword [eax]
push edx
push eax
call fcn.00413070
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x408ffc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x408ff8
cmp esi, dword [eax + 8]
jne 0x408ff8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x408fe8
mov esi, eax
jmp 0x409012
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x409012
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x409006
cmp byte [esi + 0xd], 0
je 0x408f80
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
lea eax, [ebp - 0x268]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ee50
mov ecx, dword [ebp - 0x260]
cmp byte [ecx + 0xd], 0
jne 0x409083
mov eax, dword [esi]
cmp eax, dword [ecx + 0x10]
jb 0x409083
cmp ecx, dword [ebp - 0x1c]
je 0x409083
push esi
lea ecx, [ebp - 0x1c]
call fcn.004123b0
mov esi, eax
mov ecx, dword [esi]
lea edx, [esi + 8]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
lea ecx, [edi + 8]
push edx
call fcn.0040ba80
lea eax, [esi + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x20]
call fcn.0040ba80
jmp 0x4090b4
xorps xmm0, xmm0
xor eax, eax
movq qword [edi], xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 7
mov word [edi + 8], ax
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
lea ecx, [ebp - 0x1c]
call fcn.004124e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004435e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret