Function at 0x40b420
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d5f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x10fcb40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 0x270], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x270]
push eax
push esi
mov dword [ebp - 0x278], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40b7b2
lea eax, [ebp - 0x270]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40b7b2
nop word [eax + eax]
mov dword [ebp - 0x280], 0xff4e7f3b
xorps xmm0, xmm0
mov dword [ebp - 0x27c], 0xb0581b46
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x288], 0x77bfe593
mov dword [ebp - 0x284], 0x4891961
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x290], 0x4df78cdd
mov dword [ebp - 0x28c], 0x7707947c
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x298], 0x4e4b4832
mov dword [ebp - 0x294], 0x72a219af
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2a0], 0xff2f7f4f
mov dword [ebp - 0x29c], 0xb0331b28
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a8], 0x77dde5e0
mov dword [ebp - 0x2a4], 0x4e0190d
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2b0], 0x4d8d8ca9
mov dword [ebp - 0x2ac], 0x77629452
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b8], 0x4e2e484a
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x2b4], 0x72a219af
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2b4]
movaps xmm1, xmmword [ebp - 0x2e0]
xorps xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x2e0], xmm1
movaps xmm1, xmmword [ebp - 0x2d0]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x28], eax
lea edx, [ecx + 2]
xorps xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x2d0], xmm1
movups xmmword [ebp - 0x310], xmm0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b643
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x310]
call fcn.00401b70
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x2e8], 0
movups xmmword [ebp - 0x2f8], xmm0
mov dword [ebp - 0x2e4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b693
sub eax, edx
lea ecx, [ebp - 0x2f8]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00401b70
cmp dword [ebp - 0x2fc], 7
lea eax, [ebp - 0x310]
mov esi, dword [ebp - 0x310]
lea ecx, [ebp - 0x2f8]
mov edi, dword [ebp - 0x2f8]
cmova eax, esi
cmp dword [ebp - 0x2e4], 7
mov edx, dword [ebp - 0x2e8]
seta byte [ebp - 0x272]
cmova ecx, edi
cmp edx, dword [ebp - 0x300]
jne 0x40b70c
push edx
push eax
push ecx
call fcn.00406510
add esp, 0xc
mov byte [ebp - 0x271], 1
test eax, eax
je 0x40b713
mov byte [ebp - 0x271], 0
cmp byte [ebp - 0x272], 0
je 0x40b751
mov ecx, dword [ebp - 0x2e4]
mov eax, edi
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40b747
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b7ed
push ecx
push edi
call fcn.0040e950
add esp, 8
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 4], 0xffffffff
cmp eax, 7
jbe 0x40b78e
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x40b784
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b7ed
push ecx
push esi
call fcn.0040e950
add esp, 8
cmp byte [ebp - 0x271], 0
jne 0x40b7d9
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x270]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b4b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
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.0040e963
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x268]
jmp 0x40b7bb
call fcn.004133ff
int3