Function at 0x140150aa0
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 [0x14029e8b8]
xor rax, rbp
mov qword [rbp + 0x48], rax
mov rdi, rcx
cmp byte [rcx + 0x38], 0
je 0x140150d3e
cmp qword [rcx + 0x28], 0
je 0x140150d3e
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 0x140150b11
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140160af0
sub rsp, rcx
lea rbx, [rsp + 0x30]
test rbx, rbx
je 0x140150d3e
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 [0x1401f5800]
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 0x140150b62
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.14000d810
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 0x140150bb4
mov rcx, r9
mov rax, rdx
nop dword [rax]
cmp word [rax], 0xa
je 0x140150d60
add rax, 2
sub rcx, 1
jne 0x140150ba0
mov rax, 0xffffffffffffffff
mov ebx, eax
movdqa xmm0, xmmword [0x1401f5800]
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.14000d810
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 0x140150c4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140150c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140150d7a
call fcn.1401606e8
movdqa xmm0, xmmword [0x1401f5800]
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.14000d810
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 0x140150cd8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140150cd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140150d80
call fcn.1401606e8
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.1400e7380
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x140150d3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140150d39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140150d74
call fcn.1401606e8
xor eax, eax
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
call fcn.140160a40
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 0x140150bb4
sub rax, rdx
sar rax, 1
jmp 0x140150bbb
call fcn.1401b3260
nop
call fcn.1401b3260
int3
call fcn.1401b3260
int3