Function at 0x57ffc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x64e0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x650a58]
xor ebx, ebx
push edi
mov edi, ecx
test esi, esi
je 0x5802c8
jmp 0x57fff0
push esi
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00408370
test eax, eax
je 0x58000b
mov dword [esi + 0x28], 0x7a69
inc ebx
mov esi, dword [esi + 0x80]
test esi, esi
jne 0x57fff0
mov dword [ebp - 0x808], ebx
test ebx, ebx
je 0x5802c8
mov ecx, edi
mov dword [edi + 0x1880], 1
call fcn.00580310
push 0x44
lea eax, [ebp - 0x84c]
push esi
push eax
call fcn.00546fa0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
cmp dword [edi + 0x12b8], esi
jne 0x5800f6
lea esi, [edi + 0x12bc]
mov dword [edi + 0x12b8], esi
mov eax, dword [0x650c80]
push 0x200
mov dword [eax + 0x20d4], esi
mov eax, dword [esi]
push eax
mov dword [ebp - 0x834], eax
call fcn.0054332a
add esp, 8
mov dword [ebp - 0x830], eax
lea eax, [ebp - 0x84c]
push eax
push 0
push 0x1132
push dword [edi + 0x20]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x844], 0xd
mov dword [ebp - 0x83c], 0x10
mov dword [ebp - 0x838], 0x10
mov dword [ebp - 0x820], esi
call ebx
push 0x44
mov dword [edi + 0x12ec], eax
lea eax, [ebp - 0x84c]
push 0
push eax
mov byte [edi + 0x134d], 0
call fcn.00546fa0
add esp, 0xc
mov esi, dword [0x650a58]
test esi, esi
je 0x58023b
cmp dword [esi + 0x28], 0
jne 0x580116
mov dword [esi + 0x34], 0
jmp 0x58022d
cmp dword [esi + 0x40], 0xffffffff
jne 0x58013c
movzx eax, byte [esi + 0x8c]
cmp eax, 0xffffffff
jne 0x58013c
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x5801ba
mov eax, dword [esi]
jmp 0x5801ba
lea edx, [edi + 0x274]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x580147
sub ecx, ebx
sar ecx, 1
lea eax, [ebp - 0x804]
cmp ecx, 0x400
jae 0x580175
push edx
push 0x400
push eax
call fcn.00543349
add esp, 0xc
jmp 0x58018f
push 0x3ff
push edx
push 0x400
push eax
call fcn.00543d6d
add esp, 0x10
xor eax, eax
mov word [ebp - 6], ax
mov eax, dword [esi + 4]
cmp word [eax], 0
jne 0x58019a
mov eax, dword [esi]
push eax
mov edx, 0x400
lea ecx, [ebp - 0x804]
call fcn.005c1c80
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
lea eax, [ebp - 0x804]
mov dword [ebp - 0x834], eax
push 0x200
push dword [esi + 4]
call fcn.0054332a
mov dword [ebp - 0x830], eax
mov eax, dword [edi + 0x12b8]
add esp, 8
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 5
mov dword [ebp - 0x820], esi
mov al, byte [esi + 0x8f]
cmp al, 0xff
je 0x580217
cmp al, byte [edi + 0x134d]
jbe 0x580217
mov byte [edi + 0x134d], al
lea eax, [ebp - 0x84c]
push eax
push 0
push 0x1132
push dword [edi + 0x20]
call ebx
mov dword [esi + 0x34], eax
mov esi, dword [esi + 0x80]
test esi, esi
jne 0x580104
lea edx, [edi + 0x74]
mov ecx, edx
lea esi, [edi + 0x174]
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x580250
sub ecx, ebx
sar ecx, 1
cmp ecx, 0x80
jae 0x580278
push edx
push 0x80
push esi
call fcn.00543349
add esp, 0xc
jmp 0x580292
push 0x7f
push edx
push 0x80
push esi
call fcn.00543d6d
add esp, 0x10
xor eax, eax
mov word [esi + 0xfe], ax
mov eax, dword [edi + 0x12b8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push dword [eax + 0x30]
push 9
push 0x110b
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0x12b8]
push dword [eax + 0x30]
push 0
push 0x1114
push dword [edi + 0x20]
call esi
mov ebx, dword [ebp - 0x808]
mov eax, dword [0x650a58]
test eax, eax
je 0x5802e2
mov dword [eax + 0x28], 0
mov eax, dword [eax + 0x80]
test eax, eax
jne 0x5802d1
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
mov dword [edi + 0x1880], 0
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.00541b41
mov esp, ebp
pop ebp
ret