Function at 0x140018298
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x12b0
call fcn.1400ba8b0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x12a0], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov rdi, qword [rcx + 0x1450]
cmp byte [rdi + 0x3942], 0
je 0x14001869f
cmp byte [0x1400ec040], 0
je 0x14001869f
cmp byte [rcx + 0x8f28], 0
jne 0x14001869f
mov r8d, 0x200
lea rdx, [rsp + 0x6a0]
mov rcx, qword [0x1400fec08]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x349
call fcn.140061d2c
mov rcx, rax
call fcn.14008764c
call fcn.140087dc8
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbp
call fcn.140030768
cmp dword [rdi + 0x392c], 0
je 0x14001834f
or word [rbp + 0x6828], 0x40
mov rcx, rbp
call fcn.140030000
mov rcx, rax
sar rcx, 0x20
mov word [rbp + 0x682c], cx
mov dword [rbp + 0x6830], eax
mov rdx, qword [rbp + 0x8f38]
add rdx, 7
xor r8d, r8d
mov rcx, rbp
call fcn.140030768
xor r8d, r8d
lea edx, [r8 + 0x73]
mov rcx, rbp
call fcn.14000c0d0
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbp
call fcn.140030768
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140059090
nop
mov r9d, 0x400
lea r8, [rsp + 0xaa0]
mov rdx, rsi
mov rcx, rbx
call fcn.140052988
mov rcx, rbx
call fcn.140052a24
mov r12, rax
lea rcx, [rsp + 0xaa0]
call fcn.140052abc
mov rsi, rax
mov rcx, rax
call fcn.14006b514
test al, al
je 0x14001842d
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
movzx edx, cx
lea rcx, [rsp + 0x30]
call fcn.140058e58
mov r8, rdi
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140058f54
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140058e58
jmp 0x14001846e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140058e58
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
movzx edx, cx
lea rcx, [rsp + 0x30]
call fcn.140058e58
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140058fac
mov r9d, 0x100
lea r8, [rsp + 0x2a0]
xor edx, edx
lea r12, [0x1400ec050]
mov rcx, r12
call fcn.140017a20
mov sil, al
xor eax, eax
mov rcx, rbx
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
movzx edx, cx
lea rcx, [rsp + 0x30]
call fcn.140058e58
mov r8, rdi
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140058f54
lea rcx, [rsp + 0x2a0]
call fcn.14006b514
test al, al
jne 0x140018513
test sil, sil
jne 0x140018513
xor eax, eax
mov rcx, rbx
lea rdi, [rsp + 0x2a0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
movzx edx, cx
lea rcx, [rsp + 0x30]
call fcn.140058e58
mov r8, rdi
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x30]
call fcn.140058fac
jmp 0x14001851f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140058e58
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.140030768
lea r8, [rsp + 0x5a0]
lea rdx, [0x1400ec350]
mov rcx, rbp
call fcn.140025cdc
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbp
call fcn.140030768
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x5a0]
call fcn.14006b3f4
movsxd rdi, eax
lea rdx, [rsp + 0x4a0]
lea rcx, [0x1400ec250]
call fcn.14006b3f4
movsxd rbx, eax
lea rdx, [rsp + 0x1a0]
lea rcx, [0x1400ec450]
call fcn.14006b3f4
movsxd rsi, eax
mov dl, dil
lea rcx, [rsp + 0x30]
call fcn.140058e20
mov r8, rdi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.140058f54
mov dl, bl
lea rcx, [rsp + 0x30]
call fcn.140058e20
mov r8, rbx
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x30]
call fcn.140058f54
mov dl, sil
lea rcx, [rsp + 0x30]
call fcn.140058e20
mov r8, rsi
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.140058f54
lea rcx, [rsp + 0x70]
call fcn.14006e1b0
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.1400300b4
lea rcx, [rsp + 0x70]
call fcn.14006e028
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140058ea8
and qword [rbp + 0x8188], 0
mov eax, 0x8000
mov word [rbp + 0x7558], ax
and dword [rbp + 0x7574], 0
mov eax, 0x4000
or word [rbp + 0x7558], ax
lea rdx, [rbp + 0x8180]
lea rcx, [rsp + 0x30]
call fcn.1400591b0
mov byte [rsp + 0x28], 0
lea rax, [0x1400c34e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.14000c830
lea rcx, [rsp + 0x6a0]
call fcn.14008764c
call fcn.140087dc8
nop
lea rcx, [rsp + 0x30]
call fcn.1400590d8
mov rcx, qword [rsp + 0x12a0]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x12b0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret