Function at 0x42aa77
Capabilities:
Get graphical window text

Disassembly:
push 0x25c
mov eax, 0x4962fa
call fcn.004626c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24c], eax
xor eax, eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x228], ebx
lea edi, [ebp - 0x224]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x238], ebx
lea edi, [ebp - 0x234]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x250], esi
call fcn.00461390
add esp, 0xc
call fcn.0042a6ef
cmp eax, ebx
je 0x42acba
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov ebx, eax
test ebx, ebx
je 0x42acba
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
mov dword [ebp - 0x254], esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x258], eax
mov eax, dword [ebx]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x228]
lea esi, [ebp - 0x228]
lea edi, [ebp - 0x268]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x3e8
mov dword [ebp - 0x260], eax
mov eax, dword [ebx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x268]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 8]
mov eax, dword [ebx]
push 0x65
push 0
push 2
push dword [ebp - 0x258]
lea ecx, [ebp - 0x248]
push ecx
mov ecx, ebx
call dword [eax + 0x24]
mov esi, eax
lea edi, [ebp - 0x268]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x260]
sub esi, dword [ebp - 0x268]
mov edi, dword [ebp - 0x220]
sub edi, dword [ebp - 0x228]
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x24c]
add esi, 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, edi
jle 0x42aca9
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x228]
sub ecx, dword [ebp - 0x220]
sub eax, dword [ebp - 0x238]
cmp eax, ecx
jge 0x42ac14
sub edi, esi
add dword [ebp - 0x228], edi
jmp 0x42ac35
jne 0x42ac2d
mov eax, esi
sub eax, edi
cdq
sub eax, edx
sar eax, 1
sub dword [ebp - 0x228], eax
add dword [ebp - 0x220], eax
jmp 0x42ac35
sub esi, edi
add dword [ebp - 0x220], esi
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x24c]
call esi
test eax, eax
je 0x42ac5d
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x24c]
call esi
mov eax, dword [ebp - 0x21c]
sub eax, dword [ebp - 0x224]
push 0x4000
push eax
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x228]
push 0
push dword [ebp - 0x250]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea ecx, [ebp - 0x258]
call fcn.0042a6ac
call fcn.0046274c
ret 8