Function at 0x140026be8
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x8b8
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
xor eax, eax
mov rsi, r9
mov rbp, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [rcx]
mov r9, r8
mov qword [rsp + 0x38], rdx
lea r8d, [rax + 4]
mov edx, 0x110a
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x50], rax
xor eax, eax
cmp rbx, rax
je 0x140026e5e
mov rcx, qword [rbp]
mov word [rsp + 0xa0], ax
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x60], 0xd
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x80], 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x90]
movsxd rbp, dword [rsi]
xor r11d, r11d
mov qword [rsp + 0x40], rax
cmp rax, r11
je 0x140026cc8
mov rcx, qword [rax + 0x10]
lea rdx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor r11d, r11d
cmp eax, r11d
setne al
cmp al, r11b
je 0x140026d73
mov rax, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
neg rax
mov edx, r11d
sbb eax, eax
movzx r8d, r11w
movzx r9d, r11w
and eax, ebp
movsxd rcx, eax
lea rax, [r10 + rbp*2]
lea rcx, [rsp + rcx*2 + 0xa0]
mov qword [rsp + 0x58], rcx
movzx ecx, word [rcx]
mov qword [rsp + 0x40], rax
movzx eax, word [rax]
mov dword [rsp + 0x34], edx
mov word [rsp + 0x30], cx
mov word [rsp + 0x32], ax
cmp cx, r11w
jne 0x140026d2b
cmp ax, r11w
je 0x140026d6c
cmp r8w, 0x5c
jne 0x140026d25
cmp r9w, r8w
jmp 0x140026d29
cmp ax, 0x5c
je 0x140026d6c
movzx ecx, ax
call fcn.1400741c8
movzx ecx, word [rsp + 0x30]
mov ebx, eax
call fcn.1400741c8
cmp eax, ebx
jne 0x140026d6e
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x40]
mov r8w, word [rsp + 0x30]
mov r9w, word [rsp + 0x32]
inc edx
add rcx, 2
add rax, 2
xor r11d, r11d
jmp 0x140026cee
add ebp, edx
mov rbx, qword [rsp + 0x50]
cmp ebp, dword [rsi]
jle 0x140026e7d
mov dword [rsi], ebp
mov rdi, rbx
mov rbp, qword [rsp + 0x48]
mov rcx, qword [rbp]
mov r9, rbx
mov edx, 0x110a
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x50], rax
xor eax, eax
cmp rbx, rax
jne 0x140026c43
cmp rdi, rax
je 0x140026e5e
mov rcx, qword [rbp]
lea r8d, [rax + 2]
mov r9, rdi
mov edx, 0x1102
call qword [sym.imp.USER32.dll_SendMessageW]
mov bl, byte [rsp + 0x900]
mov rcx, qword [rbp]
mov al, bl
mov r9, rdi
mov edx, 0x110b
neg al
sbb r8, r8
and r8d, 4
add r8, 5
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp]
mov r9, rdi
xor r8d, r8d
mov edx, 0x1114
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r11, dword [rsi]
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax + r11*2]
call fcn.14005256c
test al, al
je 0x140026e40
mov rbx, qword [rsp + 0x38]
inc dword [rsi]
movsxd rax, dword [rsi]
movzx ecx, word [rbx + rax*2]
call fcn.14005256c
test al, al
jne 0x140026e27
mov bl, byte [rsp + 0x900]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov r8, rdi
mov rcx, rbp
mov byte [rsp + 0x20], bl
call fcn.140026be8
test rax, rax
cmovne rdi, rax
mov rax, rdi
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x8b8
pop rdi
pop rsi
pop rbp
pop rbx
ret
test byte [rsp + 0x70], 0x20
je 0x140026d80
mov rbp, qword [rsp + 0x48]
mov r9, rbx
mov edx, 0x1102
mov rcx, qword [rbp]
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140026d85