Function at 0x5289b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0051b130
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.0053cb78
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x528c53
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x528c6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
movsx eax, word [eax + 0x98]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov ecx, 0x528c80
pop edx
call fcn.0054c404
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov edx, ebx
call fcn.00546460
test al, al
je 0x528c1d
mov eax, dword [ebp - 0xc]
call fcn.00434af4
call fcn.0042fee8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
xor edx, edx
xor eax, eax
call fcn.00407bd8
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
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 - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x53], 1
lea eax, [ebp - 0x74]
push eax
push 0x220000
mov eax, dword [0x639b58]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x8c]
imul edi, ebx, 0xd
lea eax, [eax + edi*4 + 0xc]
xor edx, edx
call fcn.00553734
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x8c]
imul edx, ebx, 0xd
movsx eax, word [eax + edx*4 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
pop edx
sub eax, edx
test eax, eax
jle 0x528b44
mov esi, eax
jmp 0x528b46
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x8c]
lea eax, [eax + edi*4 + 0xc]
xor edx, edx
call fcn.00553748
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x8c]
imul edx, ebx, 0xd
movsx eax, word [eax + edx*4 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
pop edx
sub eax, edx
test eax, eax
jle 0x528b96
mov edi, eax
jmp 0x528b98
xor edi, edi
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0053f688
mov eax, dword [eax + 0x8c]
imul edx, ebx, 0xd
lea eax, [eax + edx*4]
push eax
lea eax, [ebp - 0x98]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00553b14
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xa0]
mov edx, edi
mov eax, esi
call fcn.00407bf4
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0050edcc
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00434af4
call fcn.0042fee8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528c5a
lea eax, [ebp - 0xc]
call fcn.00410e78
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_EndPaint
ret