Function at 0x4f1490
Capabilities:
Get graphical window text

Disassembly:
push 0x21c
mov eax, 0x57ed00
call fcn.0054d567
mov edi, ecx
mov eax, dword [edi + 0x150]
xor ebx, ebx
test eax, eax
jle 0x4f14f1
mov esi, ebx
lea ebx, [edi + 0x1b0]
mov eax, dword [edi + 0x1b8]
mov ecx, ebx
dec eax
push eax
mov dword [ebp - 0x21c], eax
call fcn.004c8b2d
mov ecx, dword [eax]
test ecx, ecx
je 0x4f14d7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 1
push dword [ebp - 0x21c]
mov ecx, ebx
call fcn.00487d44
inc esi
cmp esi, dword [edi + 0x150]
jl 0x4f14b5
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0x150], ebx
call fcn.004bbf18
test eax, eax
je 0x4f174f
mov ecx, eax
call fcn.00429199
push eax
push 0x5a2fb0
call fcn.004381fe
mov dword [ebp - 0x220], eax
pop ecx
pop ecx
test eax, eax
je 0x4f174f
push 5
push dword [eax + 0x120]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], esi
mov eax, ebx
jmp 0x4f16cc
cmp eax, 9
jge 0x4f16d4
push esi
call fcn.00428d95
push eax
push 0x5a3744
call fcn.004381fe
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4f1583
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
mov dword [ebp - 0x214], esi
jmp 0x4f16bf
mov eax, dword [ecx]
call dword [eax + 0x1e8]
test eax, eax
je 0x4f156d
cmp dword [ebp - 0x218], 0
jne 0x4f15df
push 0x110
call fcn.00421a79
pop ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x4f15bb
push 1
mov ecx, eax
call fcn.004bb366
jmp 0x4f15bd
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push 0xffffffffffffffff
push eax
mov dword [eax + 0xec], 1
call fcn.004f06c5
mov dword [edi + 0x150], 1
push 0x100
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.00422a3c
push eax
lea ecx, [ebp - 0x21c]
call fcn.00421cd9
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x218]
inc eax
push eax
lea eax, [ebp - 0x21c]
push str._d__Ts
push eax
call fcn.00402630
push 0x1c4
call fcn.00421a79
add esp, 0x14
mov dword [ebp - 0x224], eax
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
test eax, eax
je 0x4f1661
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0xff00
mov ecx, eax
call fcn.004f04bd
mov ecx, eax
jmp 0x4f1663
mov ecx, ebx
mov eax, dword [ebp - 0x214]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xec], 1
mov eax, dword [edi + 0x84]
push 0xffffffffffffffff
mov dword [ecx + 0x84], eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004f06c5
push 2
push dword [ebp - 0x214]
call dword [sym.imp.USER32.dll_GetWindow]
inc dword [edi + 0x150]
lea ecx, [esi - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x214], eax
call fcn.004222c8
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x218], eax
test esi, esi
jne 0x4f154b
mov esi, dword [ebp - 0x220]
cmp dword [esi + 0x130], ebx
je 0x4f174f
cmp eax, 9
je 0x4f16ef
cmp dword [esi + 0x140], ebx
je 0x4f174f
push 0x1c4
call fcn.00421a79
pop ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4f1725
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x128]
mov ecx, eax
push dword [esi + 0x130]
call fcn.004f04bd
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push 0xffffffffffffffff
mov dword [ebx + 0xec], 1
mov eax, dword [edi + 0x84]
push ebx
mov dword [ebx + 0x84], eax
call fcn.004f06c5
inc dword [edi + 0x150]
call fcn.0054d511
ret