Function at 0x4028e0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4418a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x455010]
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
push 0
push 2
mov dword [ebp - 0x26c], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x402980
lea eax, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x402980
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
call edi
cmp dword [ebp - 0x258], eax
je 0x40296b
lea eax, [ebp - 0x260]
push eax
push esi
call ebx
test eax, eax
jne 0x402951
jmp 0x402980
mov ecx, 0x41
lea esi, [ebp - 0x23c]
mov edi, 0x457728
rep movsd dword es:[edi], dword [esi]
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00402570
mov dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x402bdc
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x402bb5
lea ecx, [ebp - 0x2c0]
call fcn.00402fc0
mov esi, eax
lea edx, [edi + 4]
mov byte [ebp - 4], 1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x270], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4029e0
sub ecx, dword [ebp - 0x270]
lea eax, [ecx + edx]
mov ecx, esi
push eax
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.00404570
or dword [ebp - 0x26c], 1
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 3
call fcn.00402f00
cmp dword [ebp - 0x20], 8
lea esi, [ebp - 0x34]
cmovae esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x402a92
push 0x450194
push esi
call fcn.0042312c
add esp, 8
test eax, eax
je 0x402a92
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x402a79
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c31
push ecx
push edx
call fcn.0041e7f6
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x402bc8
mov eax, dword [edi]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x268]
push eax
push 0x4027a0
mov dword [ebp - 0x264], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x264], 0
je 0x402b5d
push 0x457728
push esi
call fcn.0042312c
add esp, 8
test eax, eax
je 0x402b5d
push 0x450194
push esi
call fcn.0042312c
add esp, 8
test eax, eax
je 0x402b5d
mov edx, 0x4501bc
call fcn.00405e90
push eax
call fcn.00406170
mov ecx, dword [edi]
add esp, 4
call fcn.00402810
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x402a79
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402b3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c31
push ecx
push edx
call fcn.0041e7f6
add esp, 8
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x402bc8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x402a79
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402b95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c31
push ecx
push edx
call fcn.0041e7f6
add esp, 8
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
jmp 0x402bc8
mov edx, str.Out_of_range_encountered.
call fcn.00405e90
push eax
call fcn.00406170
add esp, 4
mov eax, dword [ebp - 0x18]
inc ebx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x4029b3
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x402980
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x402c0d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402c31
push edx
push ecx
call fcn.0041e7f6
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x402980
call fcn.004253d3
int3