Function at 0x411c70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5927fd
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5fcffc]
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 dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x411eca
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x411cd2
push esi
lea ecx, [ebp + 8]
call fcn.00403120
mov eax, dword [ebp + 8]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.0057834d
mov eax, dword [ebp + 8]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x411eca
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x411ec0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x5daa4c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00402a50
test al, al
jne 0x411d35
push 0
push 0x5daa4c
lea ecx, [ebp - 0x14]
call fcn.00403260
push 0x228
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.005711a0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x411e59
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411d90
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00403260
mov esi, dword [ebp - 0x14]
mov edi, dword [esi - 0xc]
test edi, edi
js 0x411eca
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x411dda
push edi
lea ecx, [ebp - 0x14]
call fcn.00403120
mov esi, dword [ebp - 0x14]
lea eax, [edi + 1]
push eax
push esi
call fcn.0057834d
add esp, 8
cmp edi, dword [esi - 8]
jg 0x411eca
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp + 8]
test eax, eax
je 0x411ec0
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x411e2c
test dx, dx
je 0x411e28
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x411e2c
add ecx, 4
add eax, 4
test dx, dx
jne 0x411e06
xor eax, eax
jmp 0x411e31
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x244]
test eax, eax
mov eax, 1
cmove ebx, eax
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411d81
jmp 0x411e5c
mov esi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411e81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x411ea0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.0056eb08
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004033d0
push 0x80070057
call fcn.004033d0
int3