Function at 0x14004bfa0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov rbx, qword [0x1401386c0]
mov qword [rsp + 0x20], rax
call fcn.140059da0
mov rbp, rax
mov r15d, 1
test rax, rax
je 0x14004bfdf
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [rax + 1]
jmp 0x14004bfe2
mov esi, r15d
lea eax, [rsi - 1]
mov byte [rsp + 0x20], r15b
movsxd r8, eax
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call fcn.1400ab090
cmp eax, r15d
je 0x14004c00f
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rsi
pop rbp
ret
mov qword [rsp + 0x50], rdi
test rbp, rbp
je 0x14004c15b
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x58], r14
jne 0x14004c02e
mov rdi, qword [rbx + 0x10]
jmp 0x14004c031
mov rdi, rbx
test byte [rdi + 0x21], 8
je 0x14004c03f
mov rcx, rdi
call fcn.140001420
movzx eax, byte [rdi + 0x23]
cmp al, r15b
jne 0x14004c05c
test byte [rdi + 0x21], 4
je 0x14004c056
mov rdx, rdi
call fcn.140041b00
mov rcx, qword [rdi + 8]
jmp 0x14004c0c1
cmp al, 2
jne 0x14004c0ba
mov rcx, qword [0x14013a238]
test rcx, rcx
jne 0x14004c0c1
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14004c09a
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rdx, [0x1400ee140]
lea rcx, [0x140117ad8]
cmovne rcx, rdx
jmp 0x14004c0c1
xor edx, edx
call fcn.140004f70
mov edx, 0xffffffff
lea rcx, [0x140117ad8]
cmp rax, rdx
cmovne rcx, qword [0x14013a230]
jmp 0x14004c0c1
lea rcx, [0x140139518]
mov rdx, rcx
mov r8d, esi
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rbx + 0x23], 0
movsxd r14, eax
jne 0x14004c0df
mov rsi, qword [rbx + 0x10]
jmp 0x14004c0e2
mov rsi, rbx
lea rdi, [0x14013aea8]
cmp byte [rsi + 0x23], r15b
jne 0x14004c103
test byte [rsi + 0x21], 8
je 0x14004c0fd
mov rcx, rsi
call fcn.140001420
add rsi, 0x10
jmp 0x14004c106
mov rsi, rdi
lea rax, [r14 + r14]
mov r14, qword [rsp + 0x58]
mov qword [rsi], rax
cmp byte [rbx + 0x23], 0
jne 0x14004c11e
mov rsi, qword [rbx + 0x10]
jmp 0x14004c121
mov rsi, rbx
cmp byte [rsi + 0x23], r15b
jne 0x14004c139
test byte [rsi + 0x21], 8
je 0x14004c135
mov rcx, rsi
call fcn.140001420
lea rdi, [rsi + 0x10]
cmp qword [rdi], 2
jae 0x14004c232
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.140001550
xor esi, esi
mov word [rax], si
jmp 0x14004c232
cmp byte [rbx + 0x23], 0
jne 0x14004c167
mov rdi, qword [rbx + 0x10]
jmp 0x14004c16a
mov rdi, rbx
test byte [rdi + 0x21], 8
je 0x14004c178
mov rcx, rdi
call fcn.140001420
movzx eax, byte [rdi + 0x23]
cmp al, r15b
jne 0x14004c195
test byte [rdi + 0x21], 4
je 0x14004c18f
mov rdx, rdi
call fcn.140041b00
mov rcx, qword [rdi + 8]
jmp 0x14004c1fa
cmp al, 2
jne 0x14004c1f3
mov rcx, qword [0x14013a238]
test rcx, rcx
jne 0x14004c1fa
mov ecx, SafeArrayDestroy
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14004c1d3
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rdx, [0x1400ee140]
lea rcx, [0x140117ad8]
cmovne rcx, rdx
jmp 0x14004c1fa
xor edx, edx
call fcn.140004f70
mov edx, 0xffffffff
lea rcx, [0x140117ad8]
cmp rax, rdx
cmovne rcx, qword [0x14013a230]
jmp 0x14004c1fa
lea rcx, [0x140139518]
xor esi, esi
mov word [rcx], si
cmp byte [rbx + 0x23], sil
jne 0x14004c20b
mov rdi, qword [rbx + 0x10]
jmp 0x14004c20e
mov rdi, rbx
cmp byte [rdi + 0x23], r15b
jne 0x14004c228
test byte [rdi + 0x21], 8
je 0x14004c222
mov rcx, rdi
call fcn.140001420
add rdi, 0x10
jmp 0x14004c22f
lea rdi, [0x14013aea8]
mov qword [rdi], rsi
cmp byte [rbx + 0x23], 0
mov rdi, qword [rsp + 0x50]
jne 0x14004c241
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x23], 2
jne 0x14004c26e
cmp qword [0x14013a238], 0
je 0x14004c26e
lea rcx, [0x14013a220]
call fcn.140005340
mov r15d, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rsi
pop rbp
ret
and byte [rbx + 0x21], 0x86
mov eax, r15d
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop rsi
pop rbp
ret