Function at 0x1001ae10
Capabilities:
Enumerate gui resources
Enumerate processes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043d02
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x1005b034]
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
xor ebx, ebx
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
push ebx
mov dword [ebp - 4], ebx
push 2
mov dword [ebp - 0x670], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x670]
push eax
push esi
mov dword [ebp - 0x67c], esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1001b224
mov ecx, dword [ebp - 0x668]
push ecx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
push 0x101758f8
mov esi, eax
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea edx, [ebp - 0x674]
push edx
push 8
push esi
mov dword [ebp - 0x674], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edx, dword [ebp - 0x674]
lea eax, [ebp - 0x684]
push eax
push 4
lea ecx, [ebp - 0x678]
push ecx
push 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 0x678]
mov dword [0x1005e29c], eax
mov eax, dword [ebp - 0x674]
cmp eax, ebx
je 0x1001af08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x674], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x668]
cmp eax, ecx
je 0x1001b208
push ecx
push 0x1001ab00
mov dword [0x101766a0], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [0x101766a0]
push 0x50
lea ecx, [ebp - 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, dword [0x101766a0]
push 0x50
lea eax, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea esi, [ebp - 0x548]
call fcn.10008bc0
mov edx, esi
push edx
lea esi, [ebp - 0x680]
mov eax, 0x101758f8
call fcn.10008d00
mov eax, 0x101758f8
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001afa0
sub eax, esi
mov edi, eax
mov eax, 0x101758f8
lea esi, [ebp - 0xcc]
call fcn.10002d20
mov eax, dword [ebp - 0xcc]
mov edi, 0x10
cmp dword [ebp - 0xb8], edi
jae 0x1001afd0
mov eax, esi
lea ecx, [ebp - 0x144]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp - 0x124]
cmp dword [ebp - 0xb8], edi
jb 0x1001b003
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x680]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.1001ab40
push eax
mov eax, 0x1004f0dc
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10007b00
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb8], edi
jb 0x1001b04a
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x104]
push esi
push eax
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
call fcn.1001ac60
add esp, 8
push 9
mov eax, str._PROCESS
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.10008150
mov eax, 0x101758f8
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001b090
mov ecx, dword [ebp - 0x684]
sub eax, esi
push ecx
lea edx, [eax + 0x101758f8]
push edx
push 0x101758f8
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
call fcn.10026a30
push ebx
lea ecx, [ebp - 0xcc]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.100084a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0xb8], edi
jb 0x1001b104
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 3
mov eax, 0x1004e708
lea ecx, [ebp - 0xe8]
call fcn.10008150
lea eax, [ebp - 0xb0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001b120
sub eax, edx
push eax
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xe8]
call fcn.10008150
push 3
mov eax, 0x1004e708
lea ecx, [ebp - 0xe8]
call fcn.10008150
lea eax, [ebp - 0x60]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001b153
sub eax, esi
push eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xe8]
call fcn.10008150
push 3
mov eax, 0x1004e708
lea ecx, [ebp - 0xe8]
call fcn.10008150
push ebx
lea eax, [ebp - 0x120]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xe8]
call fcn.100084a0
push 3
mov eax, 0x1004e708
mov ecx, esi
call fcn.10008150
push ebx
lea ecx, [ebp - 0x104]
push ecx
or eax, 0xffffffff
call fcn.100084a0
push 1
mov eax, 0x1004d950
mov ecx, esi
call fcn.10008150
cmp dword [ebp - 0xf0], edi
jb 0x1001b1d7
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
cmp dword [ebp - 0x10c], edi
jb 0x1001b208
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x67c]
lea ecx, [ebp - 0x670]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1001ae8a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xd4], 0x10
mov eax, dword [ebp - 0xe8]
jae 0x1001b240
lea eax, [ebp - 0xe8]
mov ecx, eax
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
lea esi, [ecx + 1]
jmp 0x1001b260
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x1001b260
sub ecx, esi
mov edi, ecx
lea esi, [ebp - 0x104]
call fcn.10002d20
mov eax, esi
mov byte [ebp - 4], 6
call fcn.1001ad30
mov esi, 0x10
cmp dword [ebp - 0xf0], esi
jb 0x1001b29e
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xd4], esi
jb 0x1001b2b6
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
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.1003e6b0
mov esp, ebp
pop ebp
ret