Function at 0x527bac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff328
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xccc], edx
mov dword [ebp - 0xcd0], edx
mov dword [ebp - 0xcd4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x527f7f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x527c8d
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x541]
mov eax, dword [ebp - 4]
call fcn.00529014
mov byte [ebp - 0x536], 6
lea eax, [ebp - 0xbc8]
xor ecx, ecx
mov edx, 0x26b
call fcn.0040374c
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
mov dword [ebp - 0xbc8], ebx
lea ecx, [ebp - 0xcd4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov edx, ebx
call fcn.0051db60
mov eax, dword [ebp - 0xcd4]
lea edx, [ebp - 0xcd0]
call fcn.0040a780
mov eax, dword [ebp - 0xcd0]
lea edx, [ebp - 0xccc]
call fcn.00409768
mov edx, dword [ebp - 0xccc]
lea eax, [ebp - 0xcc8]
mov ecx, 0xff
call fcn.004050c8
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x9c4]
mov cl, 0x32
call fcn.0040363c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527cd0
xor edx, edx
push ebp
push 0x527d34
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0xfb
call fcn.00405478
push 0xfa
mov eax, dword [ebp - 8]
call fcn.004052ec
push eax
mov eax, dword [ebp - 0xbc8]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
call fcn.004052ec
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405008
lea eax, [ebp - 0xbc4]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.004050c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527d77
xor edx, edx
push ebp
push 0x527deb
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x32
call fcn.00405478
push 0x32
mov eax, dword [ebp - 8]
call fcn.004052ec
push eax
mov eax, dword [ebp - 0xbc8]
push eax
call sub.user32.dll_GetClassNameA
mov eax, dword [ebp - 8]
call fcn.004052ec
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405008
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.004050c8
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x991]
mov cl, 0x32
call fcn.0040363c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527e2e
xor edx, edx
push ebp
push 0x527e8e
push dword fs:[edx]
mov dword fs:[edx], esp
lea esi, [ebp - 0xbc8]
lea edi, [ebp - 0x95d]
mov ecx, 0x9a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x6f2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x15c]
mov edx, dword [edx + 0x70]
mov ecx, 0xff
call fcn.004050c8
lea edx, [ebp - 0x409]
lea eax, [ebp - 0x95d]
mov ecx, 0x401
call fcn.00402f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527ed1
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x188]
mov ecx, 0xff
call fcn.004050c8
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x5f2]
mov cl, 0x32
call fcn.0040363c
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18c]
mov ecx, 0xff
call fcn.004050c8
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x5bf]
mov cl, 0x32
call fcn.0040363c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x610]
mov dword [ebp - 0xcd8], eax
fild dword [ebp - 0xcd8]
fstp qword [ebp - 0x559]
wait
lea edx, [ebp - 0x541]
mov ecx, 0x539
mov eax, dword [ebp - 4]
call fcn.005274b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527f86
lea eax, [ebp - 0xcd4]
mov edx, 3
call fcn.00404e34
lea eax, [ebp - 8]
call fcn.00404e10
ret