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

Disassembly:
push 0xffffffffffffffff
push 0x44c75c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x47c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x494]
mov dword fs:[0], eax
mov esi, edx
push 0x4574e8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
call dword [0x451324]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, eax
push 0x104
lea eax, [esp + 0x28c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x4594cc
lea eax, [esp + 0x288]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428c56
test dx, dx
je 0x428c52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428c56
add eax, 4
add ecx, 4
test dx, dx
jne 0x428c30
xor eax, eax
jmp 0x428c5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x428c66
mov dword [esi], eax
jmp 0x428d95
test ebp, ebp
je 0x428d95
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
mov ebx, eax
xor eax, eax
cmp edi, eax
jle 0x428d95
cmp ebx, eax
jle 0x428d95
lea ecx, [esp + 0x14]
push ecx
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x428d95
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call esi
test eax, eax
je 0x428d95
lea ecx, [esp + 0x28]
push ecx
push ebp
call esi
test eax, eax
je 0x428d95
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
test eax, eax
jg 0x428d33
test ecx, ecx
jg 0x428d33
cmp edx, edi
jl 0x428d33
cmp esi, ebx
jl 0x428d33
mov eax, 1
jmp 0x428d35
xor eax, eax
mov edx, dword [esp + 0x3c]
mov dword [edx], eax
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [esp + 0x24], 0
je 0x428d95
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x428d95
lea ecx, [esp + 0x5c]
push ecx
push esi
mov dword [esp + 0x64], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x428d8e
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x64]
je 0x428dbd
lea eax, [esp + 0x5c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x428d75
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x494]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.00436772
add esp, 0x48c
ret
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.0043d44e
add esp, 8
mov dword [esp + 0x49c], 0
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x428dec
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.0043c531
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
mov dword [esp + 0x49c], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x428d95