Function at 0x48fc57
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ee39e
call fcn.004ebd20
sub esp, 0x8d4
mov eax, dword [0x517ad4]
xor eax, ebp
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
push edi
mov dword [ebp - 0x888], esi
mov dword [ebp - 0x884], eax
and dword [ebp - 4], 0
xor ecx, ecx
lea ebx, [ebp - 0x8bc]
call fcn.00407997
push 0
mov byte [ebp - 4], 1
push dword [ebp - 0x8bc]
lea edi, [esi + 4]
push dword [ebp + 8]
mov dword [ebp - 0x870], edi
push dword [edi]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
lea eax, [ebp - 0x8d0]
push eax
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x8d0]
call fcn.0040778e
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 4
push 4
lea eax, [ebp - 0x8d0]
push eax
call ebx
lea eax, [ebp - 0x89c]
push eax
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x89c]
call fcn.0040778e
lea eax, [ebp - 0x89c]
push eax
push 0
push 0x1328
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 4
lea eax, [ebp - 0x89c]
push eax
call ebx
mov eax, dword [ebp - 0x898]
lea esi, [ebp - 0x89c]
lea edi, [ebp - 0x880]
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 dword [ebp - 0x874], eax
mov eax, dword [ebp - 0x8cc]
push 0xfffffffffffffffc
mov dword [ebp - 0x898], eax
mov dword [ebp - 0x87c], eax
push 0xfffffffffffffffc
lea eax, [ebp - 0x880]
push eax
call ebx
mov eax, dword [0x5225cc]
xor edi, edi
cmp eax, edi
je 0x48fdca
mov ecx, dword [ebp - 0x870]
push 0x4ff4b0
push dword [ecx]
call eax
mov esi, eax
cmp esi, edi
je 0x48fdca
mov eax, dword [0x522578]
cmp eax, edi
je 0x48fdbc
push edi
lea ecx, [ebp - 0x8d0]
push ecx
push edi
push 9
push dword [ebp - 0x8bc]
push esi
call eax
push edi
lea eax, [ebp - 0x89c]
push eax
push edi
push 9
push dword [ebp - 0x8bc]
push esi
call dword [0x522578]
mov eax, dword [0x522584]
cmp eax, edi
je 0x48fdf6
push esi
call eax
jmp 0x48fdf6
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
push 0xf
push 6
lea eax, [ebp - 0x8d0]
push eax
push dword [ebp - 0x8bc]
call esi
push 0xf
push 6
lea eax, [ebp - 0x89c]
push eax
push dword [ebp - 0x8bc]
call esi
push dword [ebp - 0x884]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x878]
sub edx, dword [ebp - 0x880]
mov ebx, dword [ebp - 0x874]
sub ebx, dword [ebp - 0x87c]
mov esi, eax
mov eax, dword [ebp - 0x888]
mov ecx, dword [eax + 0x90]
mov eax, dword [eax + 0x98]
push edi
push edx
push ecx
push eax
mov dword [ebp - 0x884], esi
call fcn.004660ac
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x10
push eax
push esi
mov dword [ebp - 0x88c], eax
call ebx
push 0xcc0020
push edi
mov dword [ebp - 0x8c0], eax
mov eax, dword [ebp - 0x874]
sub eax, dword [ebp - 0x87c]
push edi
push esi
push eax
mov eax, dword [ebp - 0x878]
sub eax, dword [ebp - 0x880]
push eax
push dword [ebp - 0x87c]
push dword [ebp - 0x880]
push dword [ebp - 0x8bc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x8c0]
push esi
call ebx
lea esi, [ebp - 0x880]
lea edi, [ebp - 0x8e0]
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 eax, dword [ebp - 0x8d4]
add eax, 4
mov dword [ebp - 0x8dc], eax
add eax, 2
push 0xf
mov dword [ebp - 0x8d4], eax
push 2
lea eax, [ebp - 0x8e0]
push eax
push dword [ebp - 0x8bc]
call dword [sym.imp.USER32.dll_DrawEdge]
lea ecx, [ebp - 0x88c]
call fcn.004059f0
xor esi, esi
cmp dword [ebp - 0x884], esi
je 0x48fef9
push dword [ebp - 0x884]
call dword [sym.imp.GDI32.dll_DeleteDC]
add dword [ebp - 0x880], 4
xor eax, eax
mov word [ebp - 0x810], si
mov ecx, 0x1ff
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
push esi
push esi
stosw word es:[edi], ax
mov eax, dword [ebp - 0x870]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x476
push dword [eax]
call edi
cmp eax, esi
je 0x48ff72
mov esi, 0x400
push esi
lea ecx, [ebp - 0x810]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x48ff72
push esi
mov esi, dword [ebp - 0x888]
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x188
push dword [esi + 0x68]
call edi
push eax
lea eax, [esi + 0x64]
call fcn.0047b6db
jmp 0x48ff78
mov esi, dword [ebp - 0x888]
push 0
push 0
push 0x31
push dword [esi + 0x68]
call edi
lea ecx, [ebp - 0x86c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x86c]
push eax
mov dword [ebp - 0x86c], 0xe
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebp - 0x8bc]
mov dword [ebp - 0x870], eax
call ebx
push 1
push dword [ebp - 0x8bc]
mov dword [ebp - 0x88c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 1
push 1
lea eax, [ebp - 0x880]
push eax
call edi
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0x202020
push dword [ebp - 0x8bc]
call esi
push 0x824
lea eax, [ebp - 0x880]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x8bc]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x880]
push eax
call edi
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x8bc]
call esi
push 0x824
lea eax, [ebp - 0x880]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x8bc]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x88c]
push dword [ebp - 0x8bc]
call ebx
cmp dword [ebp - 0x870], 0
je 0x490076
push dword [ebp - 0x870]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea esi, [ebp - 0x8bc]
call fcn.00407a18
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004ebd70
leave
ret 8