Function at 0x53bca0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53bf0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x65
call fcn.004027fc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x53bee4
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x418ba8]
call fcn.00403ecc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x53bd48
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x53bd44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
jbe 0x53bd3d
push eax
call sub.user32.dll_DestroyIcon
mov eax, edi
call fcn.0040281c
inc esi
dec ebx
jne 0x53bd0a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xd8]
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
xor esi, esi
jmp 0x53bea2
cmp byte [ebp - 5], 0
jne 0x53bd7d
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x53be91
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
push 0x64
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x64], 0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00405008
mov eax, dword [ebp - 0x14]
call fcn.004050d0
test eax, eax
jle 0x53be91
mov eax, 8
call fcn.004027fc
mov edi, eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
mov eax, dword [0x55dcf0]
mov eax, dword [eax]
mov eax, dword [eax + 0x468]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x53be58
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0x64
push 2
push 0
push 0
push 0x7f
push ebx
call sub.user32.dll_SendMessageTimeoutA
test eax, eax
je 0x53be55
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
test eax, eax
jne 0x53be58
lea eax, [ebp - 0x1c]
push eax
push 0x64
push 2
push 0
push 2
push 0x7f
push ebx
call sub.user32.dll_SendMessageTimeoutA
test eax, eax
je 0x53be2f
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x53be58
lea eax, [ebp - 0x1c]
push eax
push 0x64
push 2
push 0
push 1
push 0x7f
push ebx
call sub.user32.dll_SendMessageTimeoutA
test eax, eax
je 0x53be58
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
jmp 0x53be58
add esi, 0x64
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.00409a94
push dword [ebp - 0x24]
push 0x53bf24
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405190
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0x3c]
mov edi, ebx
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
cmp edi, ebx
je 0x53beb2
inc esi
test ebx, ebx
je 0x53beb2
cmp esi, 0x2710
jl 0x53bd69
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53beeb
mov eax, dword [ebp - 0x10]
call fcn.0040281c
ret