Function at 0x653b44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x79], 0
jne 0x653e77
test ebx, ebx
jl 0x653b76
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004d158c
cmp ebx, eax
jl 0x653b7f
mov byte [ebp - 5], 0
jmp 0x653e77
mov eax, dword [ebp - 4]
call fcn.004d13e4
mov esi, eax
test esi, esi
jl 0x653e77
cmp ebx, esi
jne 0x653b9e
mov byte [ebp - 5], 1
jmp 0x653e77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
cmp byte [eax + 0x2a4], 0
je 0x653d37
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [edx + 0x34]
mov edi, dword [eax + 8]
cmp ebx, edi
jge 0x653bc5
cmp edi, esi
jg 0x653bce
mov byte [ebp - 5], 0
jmp 0x653e77
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*4]
cmp eax, dword [ebp - 4]
jne 0x653be2
mov byte [ebp - 5], 0
jmp 0x653e77
mov eax, edx
mov edx, ebx
call fcn.00654dc8
mov edi, eax
mov edi, dword [edi + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x34]
mov ecx, ebx
mov edx, esi
call fcn.0048df60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
mov dword [eax + 0x50], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], ebx
mov dword [eax + 0x50], edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00654d5c
test al, al
jne 0x653cf7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x24]
call fcn.006550d8
test eax, eax
jne 0x653cf7
push 0xf
push esi
push 0x102c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24c]
push eax
call sub.user32.dll_SendMessageW
mov edi, eax
push 0xf
push ebx
push 0x102c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24c]
push eax
call sub.user32.dll_SendMessageW
push 0xf
mov ecx, eax
and ecx, 2
mov edx, eax
and edx, 1
or ecx, edx
mov edx, eax
and edx, 4
or ecx, edx
and eax, 8
or ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24c]
mov edx, esi
call fcn.00434e1c
push 0xf
mov ecx, edi
and ecx, 2
mov eax, edi
and eax, 1
or ecx, eax
mov eax, edi
and eax, 4
or ecx, eax
and edi, 8
or ecx, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24c]
mov edx, ebx
call fcn.00434e1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00655048
test eax, eax
jne 0x653d2e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
cmp dword [eax + 0x614], 0
jne 0x653d2e
test byte [eax + 0x1c], 1
jne 0x653d2e
cmp ebx, esi
jge 0x653d25
mov edi, esi
mov esi, ebx
mov ebx, edi
mov ecx, ebx
mov edx, esi
call fcn.006457cc
mov byte [ebp - 5], 1
jmp 0x653e77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, ebx
call fcn.00654dc8
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.006519c4
mov byte [ebp - 6], al
mov eax, edi
call fcn.006519c4
mov byte [ebp - 7], al
mov edx, esi
mov eax, edi
call fcn.00653980
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x74]
push esi
push edi
lea esi, [eax + 0x740]
lea edi, [edx + 0x774]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00653980
mov eax, dword [ebp - 4]
call fcn.004d0e34
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
add eax, 0x740
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x104c
push ebx
call sub.user32.dll_SendMessageW
test eax, eax
je 0x653e77
mov eax, dword [ebp - 4]
call fcn.004d0e34
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
add eax, 0x774
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x104c
push ebx
call sub.user32.dll_SendMessageW
test eax, eax
jne 0x653e1f
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00653980
mov eax, dword [ebp - 4]
call fcn.004d0e34
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
lea esi, [eax + 0x740]
mov eax, esi
push eax
push 0
push 0x104c
push ebx
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov byte [eax + 0x660], 1
xor eax, eax
push ebp
push 0x653e6c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx edx, byte [ebp - 6]
mov eax, dword [ebp - 4]
call fcn.00651c74
movzx edx, byte [ebp - 7]
mov eax, edi
call fcn.00651c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x653e73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov byte [eax + 0x660], 0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret