Function at 0x4c2fa0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4c2fa9
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 0x4c328f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x4d8e14]
mov edx, dword [edx]
mov eax, 0x4c32a8
call fcn.00428108
test eax, eax
je 0x4c3028
mov edx, dword [0x4d8e14]
mov edx, dword [edx]
mov eax, 0x4c32a8
call fcn.00428108
mov ebx, eax
mov edx, dword [0x4d8e14]
mov edx, dword [edx]
mov eax, 0x4c32b4
call fcn.00428108
cmp ebx, eax
jle 0x4c303e
mov edx, dword [0x4d8e14]
mov edx, dword [edx]
mov eax, 0x4c32b4
call fcn.00428108
test eax, eax
jle 0x4c303e
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32b8
call fcn.004cce34
jmp 0x4c3052
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32bc
call fcn.004cce34
mov ebx, dword [0x4d8a88]
mov ebx, dword [ebx]
mov edx, 0x4c32c8
mov eax, ebx
call fcn.00427b7c
test al, al
je 0x4c30e2
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32b8
call fcn.004cce34
mov esi, dword [0x4d8a88]
mov esi, dword [esi]
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 [0x4d8a88]
mov dword [edx], eax
mov eax, dword [0x4d8c28]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00405d1c
jmp 0x4c3264
mov edx, 0x4c32e0
mov eax, ebx
call fcn.00427b7c
test al, al
je 0x4c3163
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32b8
call fcn.004cce34
mov esi, dword [0x4d8a88]
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 [0x4d8a88]
mov dword [edx], eax
mov eax, dword [0x4d8c28]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.00405d1c
jmp 0x4c3264
mov edx, 0x4c32f8
mov eax, ebx
call fcn.00427b7c
test al, al
je 0x4c3221
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32bc
call fcn.004cce34
mov edi, dword [0x4d8a88]
mov edi, dword [edi]
mov eax, dword [ebp + 8]
add eax, 0xfffffe58
xor ecx, ecx
mov edx, 0x4c32b8
call fcn.004cce34
mov esi, dword [0x4d8a88]
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.0040a99c
mov edx, dword [ebp - 0x8070]
mov eax, dword [0x4d8c28]
call fcn.00405b00
mov eax, dword [0x4d8c28]
mov edx, ebx
call fcn.004061f8
jmp 0x4c3264
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 [0x4d8c28]
mov edx, esi
call fcn.00405ca4
mov eax, dword [0x4d8c28]
mov edx, ebx
call fcn.004061f8
mov eax, esi
call fcn.00402d14
mov eax, dword [0x4d8ca0]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3296
lea eax, [ebp - 0x8070]
call fcn.00405aac
ret