Function at 0x140019ea0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rdi, rcx
lea rdx, str.OnSelchangeListparamss
mov r13d, 4
mov ecx, r13d
call fcn.140020a74
movzx ecx, word [rdi + 0xc0]
movzx eax, cx
lea r12d, [r13 + 5]
sub ax, r12w
mov edx, 0xfffb
lea esi, [r13 + 4]
test dx, ax
je 0x14001a075
cmp cx, si
jne 0x14001a063
lea rcx, [rdi + 0xc8]
mov r14d, 0xfff
cmp word [rcx], r14w
jne 0x140019f15
mov word [rcx], si
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x50]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, qword [rdi + 0x3e0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
lea rcx, [rdi + 0x3a0]
lea r8, [rbp + 0x50]
call sub.MFC42u.dll_COleControlSite::InvokeHelper
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x48]
call sub.MFC42u.dll_CControlBar::CControlBar
nop
mov rax, qword [rbp + 0x48]
mov ebx, dword [rax - 8]
lea rdx, [0x1400289dc]
lea rcx, [rbp + 0x48]
call sub.MFC42u.dll_CRichEditView::FindTextW
sub ebx, eax
lea r8d, [rbx - 2]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x48]
call sub.MFC42u.dll_CFormView::SetOccDialogInfo
nop
mov r8, qword [rbp + 0x40]
lea rdx, [0x140028308]
mov ecx, r13d
call fcn.140020a74
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CMonthCalCtrl::GetMonthRange
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_COleDBRecordView::GetMessageMap
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_COleControl::AmbientUIDead
mov rbx, rax
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rbp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r9, rbx
mov r8, qword [rbp + 0x50]
lea rdx, str._s_value__s
mov ecx, r13d
call fcn.140020a74
lea rsi, [rdi + 0x320]
test rbx, rbx
je 0x14001a034
mov rdx, rbx
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rdx, [0x14002dad0]
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CHtmlView::GetMessageMap
lea rdx, [0x14002dad0]
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CMonikerFile::GetMoniker
mov rdx, qword [rbp + 0x40]
mov rcx, rsi
call sub.MFC42u.dll_COleControlSite::CreateControl
nop
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x14001a043
lea rdx, [0x1400263c0]
mov rcx, rsi
call sub.MFC42u.dll_COleControlSite::CreateControl
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, 1
mov rcx, rdi
call sub.MFC42u.dll_CHtmlView::GetType
nop
lea rcx, [rbp + 0x50]
jmp 0x14001a1ea
mov edx, 1
mov rcx, rdi
call sub.MFC42u.dll_CHtmlView::GetType
jmp 0x14001a1ef
lea rbx, [rdi + 0xc8]
mov r14d, 0xfff
cmp word [rbx], r14w
jne 0x14001a08b
mov word [rbx], si
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, qword [rdi + 0x3e0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
lea rcx, [rdi + 0x3a0]
lea r8, [rbp + 0x40]
call sub.MFC42u.dll_COleControlSite::InvokeHelper
lea rcx, [rdi + 0x320]
mov rdx, qword [rbp + 0x40]
call sub.MFC42u.dll_COleControlSite::CreateControl
mov r8, qword [rbp + 0x40]
lea rdx, [0x140028308]
mov ecx, r13d
call fcn.140020a74
lea rcx, [rdi + 0x180]
lea rdx, [rbp + 0x40]
call sub.MFC42u.dll_AfxDaoGetEngine
movzx eax, word [rdi + 0xc0]
mov r13d, SafeArrayGetDim
cmp ax, r13w
jne 0x14001a16d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, qword [rdi + 0x3e0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rdx, eax
lea rcx, [rdi + 0x128]
call sub.MFC42u.dll_CDumpContext::Flush
mov rdi, rax
lea edx, [r13 + 0xb]
lea r8d, [r13 - 0xc]
mov rcx, rax
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x14001a1fe
mov rdi, qword [rdi + 0x10]
cmp word [rbx], r14w
jne 0x14001a15e
mov word [rbx], si
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rbx], r13w
jmp 0x14001a1cc
cmp ax, r12w
jne 0x14001a1e6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, qword [rdi + 0x3e0]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rdx, eax
lea rcx, [rdi + 0x128]
call sub.MFC42u.dll_CDumpContext::Flush
mov rdi, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
lea r8d, [rdx - 0x17]
mov rcx, rax
call sub.MFC42u.dll_Ordinal_1483
test eax, eax
je 0x14001a1fe
mov rdi, qword [rdi + 0x10]
cmp word [rbx], r14w
jne 0x14001a1bf
mov word [rbx], si
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rbx], r12w
test rdi, rdi
mov qword [rbx + 8], rdi
je 0x14001a1e6
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [0x140025b28]
nop
lea rcx, [rbp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.MFC42u.dll_CTreeCtrl::SetCheck
nop
int3