Function at 0x10005d90
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002c1b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x20a
mov dword [ebp - 0x23c], edi
call fcn.10011c87
push 0x20a
mov esi, eax
push 0
push esi
call fcn.100134f0
add esp, 0x10
lea eax, [ebp - 0x244]
mov byte [esi], 0
push eax
mov dword [ebp - 0x244], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x240]
cmp eax, 0x2bf20
jbe 0x10005e04
push 0x1002787c
push 0xa
lea ecx, [esi + 2]
push ecx
jmp 0x10005e0f
push 0x10027878
push 0xa
lea edx, [esi + 2]
push edx
call fcn.10011f43
mov ebx, dword [sym.imp.USER32.dll_GetForegroundWindow]
add esp, 0xc
lea eax, [esi + 0x16]
push eax
push 0x1f4
push 0xd
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x20a
push esi
call eax
push esi
call fcn.1001182d
push 0x7532
call fcn.10011c87
push 0x7532
mov edi, eax
push 0
push edi
call fcn.100134f0
add esp, 0x14
push 0
push 2
mov byte [edi], 2
mov dword [ebp - 0x238], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp eax, 0xffffffff
jne 0x10005ea0
push str._vz
lea esi, [edi + 2]
push 0x3a98
push esi
call fcn.10011d07
add esp, 0xc
jmp 0x10005fc9
call ebx
test eax, eax
je 0x10005eb6
push 0x104
lea ecx, [edi + 2]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea esi, [edi + 2]
mov ecx, 0x10027c10
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10005ee6
test dx, dx
je 0x10005ee2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10005ee6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10005ec0
xor eax, eax
jmp 0x10005eeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10005f02
push 0x10027968
push 0x3a98
push esi
call fcn.10011d07
add esp, 0xc
push esi
push 0x100281ec
push 0x3a98
push esi
call fcn.10011d07
push 0x228
lea edx, [ebp - 0x22c]
push 0
push edx
call fcn.100134f0
mov ecx, dword [ebp - 0x234]
add esp, 0x1c
lea eax, [ebp - 0x230]
push eax
push ecx
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10005fc9
nop
mov ebx, dword [ebp - 0x238]
inc ebx
push esi
mov dword [ebp - 0x238], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x10005fc9
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
sub ebx, edx
jne 0x10005f96
push esi
push 0x100281fc
push 0x3a98
push esi
call fcn.10011d07
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push esi
push str._s___s
push 0x3a98
push esi
call fcn.10011d07
mov edx, dword [ebp - 0x234]
add esp, 0x14
lea ecx, [ebp - 0x230]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10005f50
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x23c]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x7532
push edi
call eax
push edi
call fcn.1001182d
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100116ff
mov esp, ebp
pop ebp
ret