Function at 0x140006478
Capabilities:
Get graphical window text

Disassembly:
test r8, r8
je 0x140006738
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rbp, r8
mov rdi, rdx
mov r14, rcx
mov rdx, r8
mov rcx, rdi
call sub.MFC42u.dll_CRichEditView::OnColorPick
test eax, eax
je 0x140006720
mov r9, rbp
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov r9, rbp
mov r15d, 1
mov r8d, r15d
mov edx, 0x1102
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x140006720
mov r9, rbp
lea r8d, [r15 + 3]
mov r13d, COleControl::OnBorderStyleChanged
jmp 0x140006707
mov rdx, rsi
mov rcx, rdi
call sub.MFC42u.dll_CWnd::GetMessageMap
test rax, rax
je 0x1400066f3
cmp dword [rax + 0x28], 0xc
jne 0x1400066f3
mov r9, qword [rax + 8]
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
test r9, r9
je 0x140006563
mov rax, qword [r9]
lea r8, [rsp + 0xa0]
lea rdx, [0x140034b28]
mov rcx, r9
mov rax, qword [rax]
call qword [0x140025b28]
mov rcx, qword [rsp + 0xa0]
and qword [rsp + 0xa8], 0
test rcx, rcx
je 0x1400066e0
mov rax, qword [rcx]
lea rdx, [rsp + 0xa8]
mov rax, qword [rax + 0x18]
call qword [0x140025b28]
test eax, eax
js 0x1400066d8
mov rax, qword [rsp + 0xa8]
cmp dword [rax + 0x2c], 4
jne 0x1400066b8
mov r9, rsi
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rsi
mov r8, r15
mov edx, 0x1102
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, rsi
mov r8d, 4
mov edx, r13d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov r9, rbp
mov r8d, 3
mov edx, r13d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
test rbx, rbx
je 0x1400066b2
mov r9, rax
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.14000740c
mov rbx, rax
mov r9, rbp
mov r8d, 1
mov edx, r13d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
mov r9, rbp
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
and qword [rsp + 0x40], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
mov eax, SafeArrayGetElement
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8d, [rax + 0xd]
mov rdx, rbx
mov rcx, rdi
call sub.MFC42u.dll_COleStreamFile::Write
mov r9, r15
mov edx, 0x1102
mov r8d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, r15
mov r15d, 1
mov r8d, r15d
mov edx, 0x1102
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400066b8
mov r15d, 1
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rax + 0x98]
call qword [0x140025b28]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400066f3
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140025b28]
nop
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.140006478
mov r9, rsi
mov r8, r15
mov edx, r13d
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
mov rsi, rax
jne 0x14000650c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret