Function at 0x8aab60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x10]
mov ecx, esi
mov ebx, dword [eax + 0x18]
and ecx, 0x10
mov edi, dword [sym.imp.user32.dll_GetSysColor]
and esi, 6
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
je 0x8aab8c
push 0xe
jmp 0x8aab99
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x4c]
cmp eax, 0xffffffff
jne 0x8aab9b
push 0x12
call edi
push eax
push ebx
call dword [sym.imp.gdi32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, 0xffffffff
jne 0x8aabc2
push 0xf
call dword [sym.imp.user32.dll_GetSysColorBrush]
push 0xf
mov dword [ebp - 4], eax
call edi
jmp 0x8aabd2
push eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
test esi, esi
je 0x8aabdf
push 0x11
call edi
jmp 0x8aabe4
mov eax, 0x743c00
push eax
push 1
push 0
call dword [sym.imp.gdi32.dll_CreatePen]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push eax
push ebx
mov dword [ebp - 0x20], eax
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
push ebx
call dword [sym.imp.gdi32.dll_SetBkColor]
push dword [ebp - 4]
mov dword [ebp - 0x24], eax
push ebx
call esi
mov dword [ebp - 0x18], eax
lea edi, [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, 0x1c
mov esi, eax
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.user32.dll_InflateRect]
push 5
push 5
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.gdi32.dll_RoundRect]
mov eax, dword [ebp + 0xc]
mov esi, 0x104
push 0xfffffffffffffff0
mov dword [ebp + 8], esi
push dword [eax]
call dword [sym.imp.user32.dll_GetWindowLongW]
test eax, 0x2000
jne 0x8aac6e
add esi, 0x20
mov dword [ebp + 8], esi
mov edx, 0x300
mov ecx, eax
and ecx, edx
cmp ecx, edx
jne 0x8aac81
or esi, 1
mov dword [ebp + 8], esi
push 2
pop ecx
test eax, 0x200
je 0x8aac8f
or esi, ecx
jmp 0x8aac99
test eax, 0x100
jne 0x8aac9c
or esi, 1
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0xc]
push 0
push 0
push 0xe
push dword [esi]
call dword [sym.imp.user32.dll_SendMessageW]
xor ecx, ecx
push 2
pop edx
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00840ff6
pop ecx
push edi
push eax
push dword [esi]
mov dword [ebp + 0xc], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
cmp dword [ebp - 0x10], 0
je 0x8aacfd
mov esi, dword [ebp - 0xc]
lea edi, [ebp - 0x34]
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.user32.dll_InflateRect]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.user32.dll_DrawFocusRect]
cmp dword [ebp - 0x14], 0
je 0x8aad13
push 0x11
call dword [sym.imp.user32.dll_GetSysColor]
push eax
push ebx
call dword [sym.imp.gdi32.dll_SetTextColor]
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push esi
push ebx
call dword [sym.imp.user32.dll_DrawTextW]
push esi
call fcn.0084106c
mov edi, dword [sym.imp.gdi32.dll_SelectObject]
pop ecx
push dword [ebp - 0x18]
push ebx
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.gdi32.dll_DeleteObject]
call esi
push dword [ebp - 0x1c]
push ebx
call edi
push dword [ebp - 0x20]
call esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.gdi32.dll_SetTextColor]
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.gdi32.dll_SetBkColor]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 8