Function at 0x4a1164
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.00493058
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.004074bc
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.004cebb8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a13fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a1414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
movsx eax, word [eax + 0xa0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov ecx, 0x4a1428
pop edx
call fcn.004de6b8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov edx, ebx
call fcn.004d8fc0
test al, al
je 0x4a13c8
mov eax, dword [ebp - 0xc]
call fcn.004284b8
call fcn.00423fec
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.00406b5c
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
mov dx, 0x22
xor eax, eax
call fcn.00407980
push eax
mov eax, dword [0x50c9cc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call fcn.00407774
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x94]
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.004e14c0
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x94]
imul esi, ebx, 0xd
lea eax, [eax + esi*4 + 0xc]
xor edx, edx
call fcn.004e110c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x94]
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
xor edx, edx
call fcn.0042a708
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x94]
lea eax, [eax + esi*4 + 0xc]
xor edx, edx
call fcn.004e10f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x94]
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
xor edx, edx
call fcn.0042a708
lea ecx, [ebp - 0xa0]
pop edx
call fcn.00406b78
lea edx, [ebp - 0xa0]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.004b7364
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004284b8
call fcn.00423fec
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 fcn.0040704c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1405
lea eax, [ebp - 0xc]
call fcn.0040e7e8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0040774c
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0040742c
ret