Function at 0x4f8370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58042c
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x264], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test edi, edi
jne 0x4f83b7
xor al, al
jmp 0x4f85ee
lea eax, [ebp - 0x218]
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0x113e
push dword [ebx + 0xc]
mov dword [ebp - 0x278], 0x104
mov dword [ebp - 0x28c], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [ebp - 0x218], 0
jne 0x4f8402
xor ecx, ecx
jmp 0x4f841f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4f8410
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f8410
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00406c80
mov ecx, dword [ebp - 0x284]
mov eax, ecx
shr eax, 5
and al, 1
shr ecx, 1
mov byte [esi + 0x30], al
and cl, 1
mov eax, dword [ebp - 0x268]
mov byte [esi + 0x31], cl
test eax, eax
je 0x4f8461
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x4f8461
push 0xffffffffffffffff
push 0
push eax
call fcn.00406ac0
push edi
push 4
push 0x110a
push dword [ebx + 0xc]
mov dword [ebp - 0x260], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x4f85ec
mov dword [ebp - 0x25c], 0
xor edi, edi
push 0x40
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00544020
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
add esp, 0xc
mov dword [ebp - 0x244], 7
mov dword [ebp - 0x248], 0
mov word [ebp - 0x258], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], eax
mov word [ebp - 0x240], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x258]
mov eax, dword [esi + 0x38]
cmp ecx, eax
jae 0x4f8561
mov ecx, dword [esi + 0x34]
lea edx, [ebp - 0x258]
cmp ecx, edx
ja 0x4f8561
mov edi, edx
sub edi, ecx
cmp eax, dword [esi + 0x3c]
jne 0x4f8546
push 1
lea ecx, [esi + 0x34]
call fcn.004f7640
mov ecx, dword [esi + 0x38]
and edi, 0xffffffc0
add edi, dword [esi + 0x34]
test ecx, ecx
je 0x4f8559
push edi
call fcn.0044f000
mov edi, dword [ebp - 0x260]
jmp 0x4f8583
cmp eax, dword [esi + 0x3c]
jne 0x4f8570
push 1
lea ecx, [esi + 0x34]
call fcn.004f7640
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4f8583
lea eax, [ebp - 0x258]
push eax
call fcn.0044f000
add dword [esi + 0x38], 0x40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.0044fc60
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 6
cmp eax, edi
jbe 0x4f860c
mov eax, dword [ebp - 0x25c]
add eax, ecx
mov ecx, dword [ebp - 0x264]
push ebx
push eax
call fcn.004f8370
mov eax, dword [ebp - 0x264]
inc edi
add dword [ebp - 0x25c], 0x40
push ebx
push 1
push 0x110a
push dword [eax + 0xc]
mov dword [ebp - 0x260], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jne 0x4f8492
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 8
push str.invalid_vector_T__subscript
call fcn.00515a37
int3