Function at 0x14006a6a0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rsi, rdx
mov qword [rsp + 0x40], rdx
lea rdx, [0x1400da100]
mov rcx, r9
mov rdi, r9
mov r14, r8
call fcn.140099630
test eax, eax
lea r15, [0x140000000]
movzx eax, byte [r14 + 8]
sete bl
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x14006a705
cdqe
mov ecx, dword [r15 + rax*4 + 0x6b020]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test byte [r14 + 9], 0x80
je 0x14006a724
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14006a730
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
cwde
mov rcx, rsi
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
call fcn.140001460
mov eax, 1
jmp 0x14006ad99
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov rdx, r14
call fcn.14006d740
jmp 0x14006a730
test bl, bl
jne 0x14006a73e
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14006a730
mov rcx, qword [r14]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14006a7ad
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140079c60
jmp 0x14006a7b4
lea rax, [0x1400bdf7c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
lea r9, [rsp + 0x58]
xor r8d, r8d
test al, 2
je 0x14006a83a
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140079c60
mov eax, 0x2d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x4e]
mov word [rbp - 0x50], ax
call fcn.140079c60
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x60]
mov rcx, rsi
lea r8d, [r9 + 0x11]
call fcn.14007d4e0
jmp 0x14006ad99
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x60]
call fcn.140079c60
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rdx, rax
mov rcx, rsi
lea r8d, [r9 + 8]
call fcn.14007d4e0
jmp 0x14006ad99
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.14006d500
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
lea rdx, [0x1400d7f30]
mov rcx, rdi
call fcn.140099630
or rdi, 0xffffffffffffffff
test eax, eax
je case.0x14006a8e4.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x15
ja case.0x14006a8e4.12
cdqe
mov ecx, dword [r15 + rax*4 + 0x6b038]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14006a952
sub rax, 1
je 0x14006a932
cmp rax, 1
je 0x14006a912
xor eax, eax
jmp 0x14006ad99
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400d2cdc]
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400d1680]
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [0x1400be064]
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
test byte [r14 + 9], 2
je case.0x14006a8e4.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14006a9b2
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
call fcn.14007d4e0
jmp 0x14006ad99
inc eax
jmp 0x14006a733
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006aa13
mov rcx, qword [r14]
lea rdx, [rbp - 0x60]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14006a8e4.12
mov rcx, qword [r14]
lea r9, [rbp - 0x60]
mov r8, rdi
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je case.0x14006a8e4.12
test byte [r14 + 9], 2
je 0x14006aa22
lea eax, [rbx + 1]
jmp 0x14006a730
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rbx
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14006aa56
mov r8, rdi
call fcn.14007d4e0
jmp 0x14006ad99
mov r8, rax
call fcn.14007d4e0
cmp eax, 1
jne 0x14006a90b
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call fcn.1400015b0
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14006aab2
xor edx, edx
call fcn.140014860
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14007d4e0
jmp 0x14006ad99
mov rdx, rax
call fcn.140014740
xor edx, edx
mov rcx, rsi
call fcn.140014860
jmp 0x14006ad99
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov qword [rsp + 0x8e8], r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test eax, 0x808
je 0x14006ad2c
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x14006adf6
lea rcx, [rax*4]
call fcn.1400997a8
mov qword [rbp + 0x7f0], rax
mov rdi, rax
test rax, rax
je 0x14006adf6
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
cmp rax, 1
jge 0x14006ab55
mov rcx, rdi
call fcn.14009d6d0
jmp 0x14006adf6
dec rax
xor r15d, r15d
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x48], rax
test byte [r14 + 9], 2
mov r13, rax
mov ebx, r15d
je 0x14006ac5d
test r12, r12
jle 0x14006abba
mov rsi, qword [rbp + 0x7f0]
mov ecx, dword [rsi + rbx*4]
lea rdx, [rbp - 0x60]
inc ecx
mov r8d, 0xa
call fcn.140099528
lea rcx, [rbp - 0x60]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14006aba0
add r13, rax
inc rbx
cmp rbx, r12
jl 0x14006ab81
mov rsi, qword [rsp + 0x40]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rsi
call fcn.14007d4e0
cmp eax, 1
jne 0x14006adb8
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call fcn.1400015b0
test byte [r14 + 9], 2
mov rbx, rax
je 0x14006acb3
test r12, r12
jle 0x14006ad09
mov rsi, qword [rbp + 0x7f0]
mov r14, qword [rbp + 0x7e0]
nop word [rax + rax]
test r15, r15
je 0x14006ac21
movzx ecx, word [r14 + 0x6e]
mov word [rbx], cx
add rbx, 2
mov ecx, dword [rsi + r15*4]
mov r8d, 0xa
inc ecx
mov rdx, rbx
call fcn.140099528
mov rax, rdi
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14006ac40
inc r15
lea rbx, [rbx + rax*2]
cmp r15, r12
jl 0x14006ac10
jmp 0x14006ad04
test r12, r12
jle 0x14006abba
nop word [rax + rax]
mov rax, qword [rbp + 0x7f0]
xor r9d, r9d
mov rcx, qword [r14]
mov edx, 0x18a
movsxd r8, dword [rax + rbx*4]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14006aca2
add r13, rax
inc rbx
cmp rbx, r12
jl 0x14006ac70
jmp 0x14006abba
mov rcx, qword [rbp + 0x7f0]
call fcn.14009d6d0
jmp 0x14006adf6
mov r13, qword [rsp + 0x48]
test r12, r12
jle 0x14006ad09
mov rsi, qword [rbp + 0x7f0]
test r15, r15
je 0x14006acdb
mov rax, qword [rbp + 0x7e0]
movzx eax, word [rax + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [rsi + r15*4]
mov r9, rbx
mov rcx, qword [r14]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x14006acfc
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, r12
jl 0x14006acc4
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rbp + 0x7f0]
call fcn.14009d6d0
mov rdx, r13
mov rcx, rsi
call fcn.140014740
xor edx, edx
mov rcx, rsi
call fcn.140014860
jmp 0x14006ad91
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006adf6
test byte [r14 + 9], 2
je 0x14006ad62
inc eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
movsxd rdx, eax
mov rcx, rsi
call fcn.140001460
mov eax, 1
jmp 0x14006ad91
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rax
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rsi
cmp rax, 0xffffffffffffffff
jne 0x14006adab
or r8, rax
call fcn.14007d4e0
mov r13, qword [rsp + 0x8e8]
add rsp, 0x8a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, rax
call fcn.14007d4e0
cmp eax, 1
je 0x14006adbc
xor eax, eax
jmp 0x14006ad91
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 1]
call fcn.1400015b0
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14006ad15
xor edx, edx
mov rcx, rsi
call fcn.140014860
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
mov rcx, rsi
xor edx, edx
jmp 0x14006ad8c
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14006ae40
or r8, rcx
mov byte [rsp + 0x20], 1
mov rcx, rsi
xor r9d, r9d
xor edx, edx
call fcn.14007d4e0
jmp 0x14006ad99
test byte [r14 + 9], 2
je 0x14006ae4f
lea eax, [rcx + 1]
jmp 0x14006a730
lea rax, [rbp - 0x60]
mov dword [rbp - 0x70], 0x3ff
mov r8, rcx
mov qword [rbp - 0x78], rax
mov rcx, qword [r14]
lea r9, [rsp + 0x78]
mov r12d, 1
mov edx, 0x133c
mov dword [rsp + 0x78], r12d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], r12b
or r8, 0xffffffffffffffff
mov rcx, rsi
test eax, eax
je 0x14006a9a6
mov rdx, qword [rbp - 0x78]
call fcn.14007d4e0
jmp 0x14006ad99
test bl, bl
jne 0x14006a73e
mov rcx, qword [r14]
call fcn.14005bf90
mov rcx, rsi
test rax, rax
je 0x14006a99a
mov rdx, rax
call fcn.14007d880
jmp 0x14006ad99
test bl, bl
jne 0x14006a73e
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
movsxd rbx, eax
xor edx, edx
mov r8, rbx
mov rcx, rsi
call fcn.14007d4e0
cmp eax, 1
jne 0x14006a90b
xor r8d, r8d
mov edx, eax
mov rcx, rsi
mov r12d, eax
call fcn.1400015b0
mov rcx, qword [r14]
lea r8d, [rbx + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rsi + 0x23], 0
movsxd r15, eax
jne 0x14006af2e
mov rbx, qword [rsi + 0x10]
jmp 0x14006af31
mov rbx, rsi
cmp byte [rbx + 0x23], r12b
jne 0x14006af4b
test byte [rbx + 0x21], 8
je 0x14006af45
mov rcx, rbx
call fcn.140001500
add rbx, 0x10
jmp 0x14006af52
lea rbx, [0x1400f7258]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x14006af72
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.1400015b0
mov word [rax], r15w
jmp 0x14006afe5
cmp byte [r14 + 8], 0xc
jne 0x14006afe5
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.1400015b0
xor r15d, r15d
lea r8, [0x1400d9744]
mov qword [rsp + 0x38], r15
lea rdx, [0x1400d8bc0]
mov qword [rsp + 0x30], r15
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, r12d
mov dword [rsp + 0x20], 0xffffffff
call fcn.14007a860
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.1400015b0
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x14006afd0
mov rdx, rdi
mov rcx, rsi
call fcn.140014740
cmp byte [rsi + 0x23], 0
jne 0x14006afef
mov rsi, qword [rsi + 0x10]
cmp byte [rsi + 0x23], 2
jne 0x14006b013
cmp qword [0x1400f6610], 0
je 0x14006b013
lea rcx, [0x1400f65f8]
call fcn.140004cf0
mov r12d, eax
jmp 0x14006ad99
and byte [rsi + 0x21], 0x86
mov eax, r12d
jmp 0x14006ad99