Function at 0x519aac
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r12, rcx
mov rcx, qword [rcx + 0x2b0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 2
movsxd rdx, eax
mov eax, 2
mul rdx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.006a43c4
mov rbx, rax
mov qword [rsp + 0x2a8], rax
mov rcx, qword [r12 + 0x2b0]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
mov rdx, rbx
mov rcx, qword [r12 + 0x2b0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x2a0]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.004023b4
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0x140
mov rcx, qword [r12 + 0x2b0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
movzx r14d, ax
shr r13d, 0x10
mov r15d, 0x100
cmp r14d, r13d
jne 0x519be6
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.005680ac
nop
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x519b9f
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x20]
call fcn.00406d38
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x519dfb
test rcx, rcx
je 0x519dfb
mov rax, qword [rsp + 0x78]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519bdc
call fcn.006a4944
jmp 0x519dfb
call fcn.006a3610
jmp 0x519dfb
mov r8d, r13d
mov r9, rdi
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x20]
call fcn.00421328
mov rbp, rax
mov ecx, r13d
sub ecx, r14d
movsxd r9, ecx
mov r8, r14
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x20]
call fcn.00421328
nop
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.005680ac
mov rdi, rax
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x20]
call fcn.00421328
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.0040fc8c
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.0040fc8c
nop
lea rcx, [rsp + 0x20]
cmp rax, rcx
je 0x519c8e
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x20]
call fcn.00406d38
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
cmp rcx, rax
je 0x519cc6
test rcx, rcx
je 0x519cc6
mov rax, qword [rsp + 0x78]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519cc0
call fcn.006a4944
jmp 0x519cc6
call fcn.006a3610
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0x110]
cmp rcx, rax
je 0x519d04
test rcx, rcx
je 0x519d04
mov rax, qword [rsp + 0xc8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519cfe
call fcn.006a4944
jmp 0x519d04
call fcn.006a3610
nop
lea rax, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x200]
cmp rcx, rax
je 0x519d42
test rcx, rcx
je 0x519d42
mov rax, qword [rsp + 0x1b8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519d3c
call fcn.006a4944
jmp 0x519d42
call fcn.006a3610
nop
lea rax, [rsp + 0x118]
mov rcx, qword [rsp + 0x160]
cmp rcx, rax
je 0x519d80
test rcx, rcx
je 0x519d80
mov rax, qword [rsp + 0x118]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519d7a
call fcn.006a4944
jmp 0x519d80
call fcn.006a3610
nop
lea rax, [rsp + 0x168]
mov rcx, qword [rsp + 0x1b0]
cmp rcx, rax
je 0x519dbe
test rcx, rcx
je 0x519dbe
mov rax, qword [rsp + 0x168]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519db8
call fcn.006a4944
jmp 0x519dbe
call fcn.006a3610
nop
lea rax, [rsp + 0x208]
mov rcx, qword [rsp + 0x250]
cmp rcx, rax
je 0x519dfb
test rcx, rcx
je 0x519dfb
mov rax, qword [rsp + 0x208]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519df6
call fcn.006a4944
jmp 0x519dfb
call fcn.006a3610
mov rdx, qword [rsp + 0x68]
mov rcx, qword [r12 + 0x2b0]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov r11d, r13d
shl r11d, 0x10
or r11d, r14d
movsxd r9, r11d
xor r8d, r8d
mov edx, 0x142
mov rcx, qword [r12 + 0x2b0]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rax, [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
cmp rcx, rax
je 0x519e67
test rcx, rcx
je 0x519e67
mov rax, qword [rsp + 0x20]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r15
jbe 0x519e61
call fcn.006a4944
jmp 0x519e67
call fcn.006a3610
nop
mov rcx, rbx
call fcn.006a5088
xor eax, eax
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret