Function at 0x402ac0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fcf7
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x42b74c]
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 edi, edx
mov dword [ebp - 0x2e8], ecx
test edi, edi
je 0x402ebe
mov edx, ecx
lea ecx, [ebp - 0x8c]
call fcn.00403810
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x2d8], 0x22c
push 0x228
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x2e0], ebx
push 0
push eax
call fcn.0040bbd0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402ea3
lea ebx, [ebx]
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
cmp word [ebp - 0x2b4], ax
je 0x402b95
lea eax, [ebp - 0x2b4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402b86
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea edx, [ebp - 0x5c]
mov ebx, dword [ebp - 0x7c]
mov esi, ebx
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x48], 8
cmovae edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x4c], ebx
cmovb esi, dword [ebp - 0x4c]
test esi, esi
jne 0x402be7
xor eax, eax
test eax, eax
jne 0x402c0f
mov ecx, dword [ebp - 0x4c]
cmp ecx, ebx
jae 0x402c06
or eax, 0xffffffff
jmp 0x402c0d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x402bf8
add edx, 2
add ecx, 2
dec esi
jmp 0x402bd3
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x402bd7
xor eax, eax
cmp ecx, ebx
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x402c24
mov byte [ebp - 4], 0
jmp 0x402e76
mov edx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402f30
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2e8]
cmp ecx, eax
je 0x402c81
push 0xffffffffffffffff
push 0
push eax
call fcn.00401d70
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xa4]
call fcn.00403750
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x402cff
cmp dword [ebp - 0x14], 0x10
jb 0x402ca9
push dword [ebp - 0x28]
call fcn.00409936
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [esi + 0x14], 0x10
jae 0x402cd7
mov eax, dword [esi + 0x10]
inc eax
je 0x402ce2
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00409950
add esp, 0xc
jmp 0x402ce2
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x90], 0x10
jb 0x402d16
push dword [ebp - 0xa4]
call fcn.00409936
add esp, 4
mov esi, dword [edi + 4]
lea eax, [ebp - 0x44]
cmp eax, esi
jae 0x402d95
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
cmp eax, ecx
ja 0x402d95
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp esi, dword [edi + 8]
jne 0x402d49
push ecx
mov ecx, edi
call fcn.004031f0
mov esi, dword [edi + 4]
imul ebx, ebx, 0x34
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2dc], esi
add ebx, dword [edi]
mov byte [ebp - 4], 4
test esi, esi
je 0x402e04
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.00401d70
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x18], eax
lea eax, [ebx + 0x1c]
jmp 0x402de6
cmp esi, dword [edi + 8]
jne 0x402da2
push ecx
mov ecx, edi
call fcn.004031f0
mov esi, dword [edi + 4]
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 0x2e4], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x402e04
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00401d70
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00401d70
add dword [edi + 4], 0x34
cmp dword [ebp - 0x14], 0x10
jb 0x402e19
push dword [ebp - 0x28]
call fcn.00409936
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x402e3c
push dword [ebp - 0x44]
call fcn.00409936
add esp, 4
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x402e5f
push dword [ebp - 0x74]
call fcn.00409936
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x48], 8
jb 0x402e87
push dword [ebp - 0x5c]
call fcn.00409936
add esp, 4
mov ebx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x402b60
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x78], 8
jb 0x402ebe
push dword [ebp - 0x8c]
call fcn.00409936
add esp, 4
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.0040993b
mov esp, ebp
pop ebp
ret