Function at 0x52b1f4
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 0x52b5c7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x52b2d5
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x541]
mov eax, dword [ebp - 4]
call fcn.0052c6d8
mov byte [ebp - 0x536], 6
lea eax, [ebp - 0xbc8]
xor ecx, ecx
mov edx, 0x26b
call fcn.00403774
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.0050e6c4
mov eax, dword [ebp - 0xcd4]
lea edx, [ebp - 0xcd0]
call fcn.0040c9dc
mov eax, dword [ebp - 0xcd0]
lea edx, [ebp - 0xccc]
call fcn.0040b9c4
mov edx, dword [ebp - 0xccc]
lea eax, [ebp - 0xcc8]
mov ecx, 0xff
call fcn.00405114
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x9c4]
mov cl, 0x32
call fcn.00403664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52b318
xor edx, edx
push ebp
push 0x52b37c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0xfb
call fcn.004054c4
push 0xfa
mov eax, dword [ebp - 8]
call fcn.00405338
push eax
mov eax, dword [ebp - 0xbc8]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
call fcn.00405338
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405054
lea eax, [ebp - 0xbc4]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52b3bf
xor edx, edx
push ebp
push 0x52b433
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, 0x32
call fcn.004054c4
push 0x32
mov eax, dword [ebp - 8]
call fcn.00405338
push eax
mov eax, dword [ebp - 0xbc8]
push eax
call sub.user32.dll_GetClassNameA
mov eax, dword [ebp - 8]
call fcn.00405338
mov edx, eax
lea eax, [ebp - 8]
call fcn.00405054
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00405114
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x991]
mov cl, 0x32
call fcn.00403664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52b476
xor edx, edx
push ebp
push 0x52b4d6
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.00405114
lea edx, [ebp - 0x409]
lea eax, [ebp - 0x95d]
mov ecx, 0x401
call fcn.00402f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52b519
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x198]
mov ecx, 0xff
call fcn.00405114
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x5f2]
mov cl, 0x32
call fcn.00403664
lea eax, [ebp - 0xcc8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x19c]
mov ecx, 0xff
call fcn.00405114
lea edx, [ebp - 0xcc8]
lea eax, [ebp - 0x5bf]
mov cl, 0x32
call fcn.00403664
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x620]
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.0052aafc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b5ce
lea eax, [ebp - 0xcd4]
mov edx, 3
call fcn.00404e80
lea eax, [ebp - 8]
call fcn.00404e5c
ret