Function at 0x4cd674
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4cd67d
mov eax, dword [ebp - 4]
add esp, 0xffffff94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x8070], eax
xor eax, eax
push ebp
push 0x4cd97a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4cd990
call fcn.0042824c
test eax, eax
je 0x4cd6fc
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4cd990
call fcn.0042824c
mov ebx, eax
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4cd99c
call fcn.0042824c
cmp ebx, eax
jle 0x4cd712
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
mov eax, 0x4cd99c
call fcn.0042824c
test eax, eax
jle 0x4cd712
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a0
call fcn.004d778c
jmp 0x4cd726
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a4
call fcn.004d778c
mov ebx, dword [0x4e2ac0]
mov ebx, dword [ebx]
mov edx, 0x4cd9b0
mov eax, ebx
call fcn.00427cb4
test al, al
je 0x4cd7cd
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a0
call fcn.004d778c
mov esi, dword [0x4e2ac0]
mov esi, dword [esi]
test esi, esi
jle 0x4cd7be
mov dword [ebp - 0x806c], 1
lea eax, [ebp - 0x8000]
mov dword [ebp - 0x805c], eax
mov dword [ebp - 0x8058], 0x7fff
mov dword [ebp - 0x8068], esi
lea eax, [ebp - 0x806c]
push eax
push 0
push 0x110c
push ebx
call sub.user32.dll_SendMessageA
mov edx, dword [0x4e2ac0]
mov dword [edx], eax
mov eax, dword [0x4e2c6c]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00405d24
jmp 0x4cd94f
mov eax, dword [0x4e2c6c]
call fcn.00405ab4
jmp 0x4cd94f
mov edx, 0x4cd9c8
mov eax, ebx
call fcn.00427cb4
test al, al
je 0x4cd84e
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a0
call fcn.004d778c
mov esi, dword [0x4e2ac0]
mov esi, dword [esi]
mov dword [ebp - 0x8044], 1
lea eax, [ebp - 0x8000]
mov dword [ebp - 0x8038], eax
mov dword [ebp - 0x8034], 0x7fff
lea eax, [ebp - 0x8044]
push eax
push esi
push 0x1305
push ebx
call sub.user32.dll_SendMessageA
mov edx, dword [0x4e2ac0]
mov dword [edx], eax
mov eax, dword [0x4e2c6c]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00405d24
jmp 0x4cd94f
mov edx, 0x4cd9e0
mov eax, ebx
call fcn.00427cb4
test al, al
je 0x4cd90c
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a4
call fcn.004d778c
mov edi, dword [0x4e2ac0]
mov edi, dword [edi]
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4cd9a0
call fcn.004d778c
mov esi, dword [0x4e2ac0]
mov esi, dword [esi]
mov dword [ebp - 0x8028], 0xb
xor eax, eax
mov dword [ebp - 0x8024], eax
mov dword [ebp - 0x8020], esi
lea eax, [ebp - 0x8000]
mov dword [ebp - 0x8014], eax
mov dword [ebp - 0x8010], 0x7fff
lea eax, [ebp - 0x8028]
push eax
push edi
push 0x102d
push ebx
call sub.user32.dll_SendMessageA
mov ebx, eax
lea edx, [ebp - 0x8070]
lea eax, [ebp - 0x8000]
call fcn.0040a9ec
mov edx, dword [ebp - 0x8070]
mov eax, dword [0x4e2c6c]
call fcn.00405b08
mov eax, dword [0x4e2c6c]
mov edx, ebx
call fcn.00406200
jmp 0x4cd94f
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageA
mov edi, eax
inc edi
mov eax, edi
call fcn.00402cf8
mov esi, eax
push esi
push edi
push 0xd
push ebx
call sub.user32.dll_SendMessageA
mov ebx, eax
mov eax, dword [0x4e2c6c]
mov edx, esi
call fcn.00405cac
mov eax, dword [0x4e2c6c]
mov edx, ebx
call fcn.00406200
mov eax, esi
call fcn.00402d14
mov eax, dword [0x4e2ce4]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd981
lea eax, [ebp - 0x8070]
call fcn.00405ab4
ret