Function at 0x4ed7d4
Capabilities:
Get graphical window text

Disassembly:
push 0x220
mov eax, 0x5a2bc6
call fcn.0056aa42
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x150], edi
jle 0x4ed85b
mov esi, edi
lea edi, [ebx + 0x1b0]
mov dword [ebp - 0x218], esi
mov eax, dword [ebx + 0x1b8]
mov ecx, edi
dec eax
push eax
mov dword [ebp - 0x214], eax
call fcn.0043a390
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x4ed83b
mov eax, dword [eax]
push 1
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5a9a3c]
mov ecx, dword [ebp - 0x21c]
call esi
mov esi, dword [ebp - 0x218]
push 1
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0043ed7b
inc esi
mov dword [ebp - 0x218], esi
cmp esi, dword [ebx + 0x150]
jl 0x4ed7fd
xor edi, edi
mov ecx, ebx
mov dword [ebx + 0x150], edi
call fcn.004ea659
test eax, eax
je 0x4edad2
mov ecx, eax
call fcn.004448be
push eax
push 0x5c3c18
call fcn.00437f8c
mov dword [ebp - 0x224], eax
pop ecx
pop ecx
test eax, eax
je 0x4edad2
push 5
push dword [eax + 0x120]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], esi
mov eax, edi
jmp 0x4eda50
cmp eax, 9
jge 0x4eda58
push esi
call fcn.0044446c
push eax
push 0x5c4b58
call fcn.00437f8c
mov dword [ebp - 0x220], eax
pop ecx
pop ecx
test eax, eax
jne 0x4ed8f1
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x214], esi
jmp 0x4eda43
mov eax, dword [eax]
mov esi, dword [eax + 0x1e8]
mov ecx, esi
call dword [0x5a9a3c]
mov ecx, dword [ebp - 0x220]
call esi
test eax, eax
jne 0x4ed917
push 2
push dword [ebp - 0x214]
jmp 0x4ed8de
mov esi, dword [ebp - 0x218]
test esi, esi
jne 0x4ed968
push 0x110
call fcn.0043a722
pop ecx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x4ed944
push 1
mov ecx, eax
call fcn.004e99cd
jmp 0x4ed946
mov eax, edi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push 0xffffffffffffffff
push eax
mov dword [eax + 0xec], 1
call fcn.004ec8f1
mov dword [ebx + 0x150], 1
push 0x100
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x21c]
call fcn.00402220
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 1
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x21c]
push str._d__Ts
push eax
call fcn.004056d0
push 0x1c4
call fcn.0043a722
add esp, 0x14
mov dword [ebp - 0x228], eax
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
test eax, eax
je 0x4ed9e5
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0xff00
mov ecx, eax
call fcn.004ec66f
mov ecx, eax
jmp 0x4ed9e7
mov ecx, edi
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xec], 1
mov eax, dword [ebx + 0x84]
push 0xffffffffffffffff
mov dword [ecx + 0x84], eax
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004ec8f1
push 2
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_GetWindow]
inc dword [ebx + 0x150]
lea ecx, [esi - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x214], eax
call fcn.004094a0
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
test esi, esi
jne 0x4ed8b5
mov esi, dword [ebp - 0x224]
cmp dword [esi + 0x130], edi
je 0x4edad2
cmp eax, 9
je 0x4eda73
cmp dword [esi + 0x140], edi
je 0x4edad2
push 0x1c4
call fcn.0043a722
pop ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4edaa9
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x128]
mov ecx, eax
push dword [esi + 0x130]
call fcn.004ec66f
mov edi, eax
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
mov ecx, ebx
push 0xffffffffffffffff
mov dword [edi + 0xec], esi
mov eax, dword [ebx + 0x84]
push edi
mov dword [edi + 0x84], eax
call fcn.004ec8f1
add dword [ebx + 0x150], esi
call fcn.0056a9f1
ret