Function at 0x1401518f0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x80
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rsi
mov rax, qword [0x1403b8c08]
xor rax, rbp
mov qword [rbp + 0x48], rax
mov rdi, rcx
cmp byte [rcx + 0x38], 0
je 0x140151b8e
cmp qword [rcx + 0x28], 0
je 0x140151b8e
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140151961
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401722d0
sub rsp, rcx
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x140151b8e
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rdi + 0x28]
mov rsi, qword [rax + 0x848]
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 0x38], xmm0
xor r14d, r14d
mov word [rbp + 0x28], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r14w
jne 0x1401519b2
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.1400810d0
nop
lea rdx, [rbp + 0x28]
mov r10, qword [rbp + 0x28]
mov r11, qword [rbp + 0x40]
cmp r11, 8
cmovae rdx, r10
mov r9, qword [rbp + 0x38]
test r9, r9
je 0x140151a04
mov rcx, r9
mov rax, rdx
nop dword [rax]
cmp word [rax], 0xa
je 0x140151bb0
add rax, 2
sub rcx, 1
jne 0x1401519f0
mov rax, 0xffffffffffffffff
mov ebx, eax
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r14w
mov r8d, eax
cmp r9, rbx
cmovb r8, r9
lea rdx, [rbp + 0x28]
cmp r11, 8
cmovae rdx, r10
lea rcx, [rbp + 8]
call fcn.1400810d0
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x338]
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140151a9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140151a96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140151bca
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r14w
cmp qword [rbp + 0x38], rbx
cmovb rbx, qword [rbp + 0x38]
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, rbx
lea rcx, [rbp + 8]
call fcn.1400810d0
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140151b28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140151b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140151bd0
call fcn.140171af0
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str.textchanged
mov rdx, rsi
call fcn.1400f3f60
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140151b8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140151b89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140151bc4
call fcn.140171af0
xor eax, eax
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
call fcn.140172190
mov rbx, qword [rbp + 0x78]
mov rsi, qword [rbp + 0x80]
lea rsp, [rbp + 0x50]
pop r14
pop rdi
pop rbp
ret
test rax, rax
je 0x140151a04
sub rax, rdx
sar rax, 1
jmp 0x140151a0b
call fcn.14028c66c
nop
call fcn.14028c66c
int3
call fcn.14028c66c
int3