Function at 0x5295c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff300
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xcf0], ecx
mov dword [ebp - 0xcec], ecx
mov dword [ebp - 0xce8], ecx
mov dword [ebp - 0xce4], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x52993e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x51d16c]
call fcn.0051d5d4
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x41c644]
call fcn.00403e90
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x529919
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0051da60
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5298c3
lea eax, [ebp - 0xc5e]
xor ecx, ecx
mov edx, 0xc3a
call fcn.0040374c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
mov dword [ebp - 0xc5e], ebx
lea ecx, [ebp - 0xce4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0xce4]
lea eax, [ebp - 0xc5a]
mov ecx, 0xff
call fcn.004050c8
lea eax, [ebp - 0xcde]
xor ecx, ecx
mov edx, 0x80
call fcn.0040374c
push 0x80
lea eax, [ebp - 0xcde]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0xce8]
lea edx, [ebp - 0xcde]
mov ecx, 0x80
call fcn.00405080
mov eax, dword [ebp - 0xce8]
mov edx, 0x529958
call fcn.00405238
je 0x5298c0
lea eax, [ebp - 0xcec]
lea edx, [ebp - 0xcde]
mov ecx, 0x80
call fcn.00405080
mov eax, dword [ebp - 0xcec]
mov edx, 0x529968
call fcn.00405238
je 0x5298c0
lea eax, [ebp - 0xb5a]
lea edx, [ebp - 0xcde]
mov ecx, 0x80
call fcn.004039d0
lea eax, [ebp - 0xcde]
xor ecx, ecx
mov edx, 0x80
call fcn.0040374c
push 0x80
lea eax, [ebp - 0xcde]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0xa5a]
lea edx, [ebp - 0xcde]
mov ecx, 0x80
call fcn.004039d0
mov dl, 1
mov eax, dword [0x41c958]
call fcn.00403e90
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x4845a8]
call fcn.0048af28
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x4845a8]
call fcn.0048af28
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x4846ec]
call fcn.0048cb14
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5298a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xcf0]
lea edx, [ebp - 0xc5a]
call fcn.00405074
mov edx, dword [ebp - 0xcf0]
mov eax, dword [ebp - 0x24]
call fcn.0051dd74
mov edx, eax
mov eax, dword [ebp - 0x18]
call fcn.0048cee4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0048b4f0
xor ecx, ecx
xor edx, edx
call fcn.0048603c
push 0x18
lea eax, [ebp - 0xd00]
push eax
mov ecx, 0x18
xor edx, edx
xor eax, eax
call fcn.0041d27c
lea eax, [ebp - 0xd00]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0048b4f0
mov ecx, dword [ebp - 0x20]
pop edx
call fcn.0048626c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00421704
lea edx, [ebp - 0x95a]
mov ecx, 0x936
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5298ad
mov eax, dword [ebp - 0x18]
call fcn.00403ec0
mov eax, dword [ebp - 0x20]
call fcn.00403ec0
mov eax, dword [ebp - 0x1c]
call fcn.00403ec0
mov eax, dword [ebp - 0x14]
call fcn.00403ec0
ret
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x10]
jge 0x529641
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00421704
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5298f5
cmp eax, 0
seta al
jmp 0x5298f8
setg al
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529920
mov eax, dword [ebp - 0x24]
call fcn.00403ec0
mov eax, dword [ebp - 0xc]
call fcn.00403ec0
ret