Function at 0x140122560
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x290
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x20], r8
mov rbp, r8
mov qword [rsp + 0x28], rcx
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14012259c
xor al, al
jmp 0x1401227e6
mov rcx, qword [rcx + 0x18]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x2c8], rsi
mov edx, 0x113e
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x50], 0x104
mov dword [rsp + 0x30], InitCommonControls
call qword [sym.imp.USER32.dll_SendMessageW]
or r11, 0xffffffffffffffff
xor esi, esi
cmp word [rsp + 0x70], si
jne 0x1401225eb
mov ecx, esi
jmp 0x1401225fc
lea rax, [rsp + 0x70]
mov rcx, r11
inc rcx
cmp word [rax + rcx*2], si
jne 0x1401225f3
cmp qword [rbx + 0x18], 8
jb 0x140122608
mov rdx, qword [rbx]
jmp 0x14012260b
mov rdx, rbx
mov r10, qword [rbx + 0x10]
mov r9, rcx
cmp r10, rcx
cmovb r9, r10
test r9, r9
je 0x14012263a
lea r8, [rsp + 0x70]
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14012266b
add rdx, 2
add r8, 2
sub r9, 1
jne 0x140122623
mov r9d, esi
test r9d, r9d
jne 0x1401227dc
cmp r10, rcx
jb 0x1401227dc
ja 0x1401227dc
mov r9, qword [rsp + 0x60]
test r9, r9
je 0x1401226a7
cmp qword [r9 + 0x18], 8
jb 0x14012267e
mov r8, qword [r9]
jmp 0x140122681
movzx eax, word [r8]
mov r9d, 1
cmp word [rdx], ax
cmovb r9d, r11d
jmp 0x14012263d
mov r8, r9
cmp qword [rbx + 0x38], 8
jb 0x14012268e
mov rcx, qword [rbx + 0x20]
jmp 0x140122692
lea rcx, [rbx + 0x20]
mov r9, qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
call fcn.140006430
test eax, eax
jne 0x1401227dc
mov r9, rbp
mov rcx, qword [rdi + 0x18]
mov edx, 0x1102
mov r8d, 2
cmp byte [rbx + 0x40], sil
jne 0x1401226c5
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbx + 0x41], sil
je 0x1401226e9
mov rcx, qword [rdi + 0x18]
mov r9, rbp
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x20]
mov edx, 0x110a
mov rcx, qword [rdi + 0x18]
mov r8d, 4
mov bpl, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x1401227d6
mov r8, rsi
mov qword [rsp + 0x20], rsi
movabs r10, 0x2aaaaaaaaaaaaaab
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x50]
mov rax, r10
sub rcx, qword [rbx + 0x48]
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jae 0x1401227dc
mov r9, qword [rbx + 0x48]
mov rax, r10
mov rcx, qword [rbx + 0x50]
sub rcx, r9
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rsi
jbe 0x140122801
mov rcx, qword [rsp + 0x28]
lea rdx, [r8 + r9]
mov r8, rdi
call fcn.140122560
movzx ebp, al
test al, al
je 0x1401227d6
mov rax, qword [rsp + 0x28]
mov r9, rdi
add qword [rsp + 0x20], 0x60
mov edx, 0x110a
mov r8d, 1
inc rsi
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rsp + 0x20]
movabs r10, 0x2aaaaaaaaaaaaaab
mov rdi, rax
test rax, rax
jne 0x140122730
movzx eax, bpl
jmp 0x1401227de
xor al, al
mov rsi, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140168660
add rsp, 0x290
pop rdi
pop rbp
pop rbx
ret
lea rcx, str.invalid_vector_T__subscript
call fcn.14014587c
int3