Function at 0x48e74f
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d08e4
call fcn.0045d02c
sub esp, 0x164
push ebx
push esi
lea eax, [ebp - 0x34]
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, esi
jne 0x48e796
mov dword [ebp - 0x18], 2
jmp 0x48e7cd
push esi
push esi
push 0xf2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
and eax, 8
cmp dword [ebx + 0x74], esi
mov dword [ebp - 0x24], eax
je 0x48e7ba
mov dword [ebp - 0x18], 1
jmp 0x48e7cd
push esi
push esi
mov ecx, ebx
call fcn.0049f9bb
neg eax
sbb eax, eax
and eax, 3
mov dword [ebp - 0x18], eax
mov eax, dword [0x50a49c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x170]
push 0xff
push eax
mov dword [ebp - 4], esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x170]
test eax, eax
je 0x48e804
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x170]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0047d390
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x34]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x60], eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0049ee65
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x48e87a
push esi
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0049fae7
jmp 0x48e885
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0049fb7f
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x19c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.0048d540
mov esi, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
xor esi, esi
cmp dword [ebp - 0x38], edi
jne 0x48e8d2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x78]
imul eax, eax, 0x174
lea esi, [eax + ecx + 0x210]
jmp 0x48e8eb
cmp dword [ebp - 0x38], 1
jne 0x48e8eb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x78]
imul eax, eax, 0x174
lea esi, [eax + ecx + 0x7e0]
mov eax, dword [esi + 0x110]
sub eax, dword [esi + 0x118]
sub eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
jns 0x48e90c
xor eax, eax
mov dword [ebp - 0x44], eax
mov ecx, dword [esi + 0x118]
sub ecx, dword [esi + 0x110]
add ecx, eax
test byte [ebp - 0x4c], 0x20
mov dword [ebp - 0x3c], ecx
je 0x48e942
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x10c]
sub eax, dword [esi + 0x114]
add eax, ecx
mov dword [ebp - 0x48], eax
add eax, 0xfffffffd
mov dword [ebp - 0x54], eax
jmp 0x48e95a
mov dword [ebp - 0x48], edi
mov eax, dword [esi + 0x114]
sub eax, dword [esi + 0x10c]
mov dword [ebp - 0x40], eax
add eax, 3
mov dword [ebp - 0x5c], eax
push 1
push 0xff00ff
lea eax, [ebp - 0x48]
push esi
push eax
push dword [ebp - 0x10]
call fcn.0048b577
mov eax, dword [ebp - 0x1c]
add esp, 0x14
cmp dword [eax - 8], edi
je 0x48e9a9
mov eax, dword [ebx + 0x78]
cmp dword [eax + 0xdb0], edi
je 0x48e9a9
push edi
add esi, 0x148
push edi
add eax, 0xdbc
push esi
push eax
lea eax, [ebp - 0x5c]
mov ecx, dword [0x510a54]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.00475c3f
cmp dword [ebp - 0x24], edi
je 0x48e9ce
mov ebx, dword [ebx + 0x78]
cmp dword [ebx + 0xdb8], edi
je 0x48e9ce
cmp dword [ebx + 0xdb0], edi
je 0x48e9ce
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0xffffffffffffffff
push 0xcc0020
push edi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
push edi
push dword [ebp + 8]
call fcn.0048a8b0
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
test eax, eax
je 0x48ea0b
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x48ea22
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x48ea22
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x20], edi
je 0x48ea2c
push dword [ebp - 0x20]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x48ea39
push eax
mov dword [ebp - 0x10], edi
call ebx
cmp dword [ebp - 0x14], edi
je 0x48ea43
push dword [ebp - 0x14]
call esi
lea ecx, [ebp - 0x1c]
call fcn.004717c9
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4