Function at 0x14001ef60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5b0
mov qword [rax - 0x498], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003e2f0]
xor rax, rsp
mov qword [rsp + Ordinal_1441], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0xc0], rcx
xor ebx, ebx
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov qword [rsp + 0x58], rbx
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x48], rbx
test rcx, rcx
je 0x14001efe4
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x140034b28]
mov rax, qword [rax]
call qword [0x140025b28]
nop
mov qword [rsp + 0x50], rbx
mov r15d, ebx
mov dword [rsp + 0x68], ebx
mov esi, ebx
mov qword [rsp + 0xe0], rdi
mov dword [rsp + 0xf0], VarBstrFromDate
mov dword [rsp + 0x11c], ebx
lea rcx, [rsp + 0x150]
call sub.MFC42u.dll_CButton::CButton
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov rax, qword [rax + 0x18]
call qword [0x140025b28]
test eax, eax
js 0x14001f7ed
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0x2c]
mov r12d, 1
cmp ecx, r12d
jbe 0x14001f0d0
cmp ecx, 7
je 0x14001f0cd
mov qword [rsp + 0xe8], 0xffffffffffff0002
mov qword [rsp + 0x168], rdi
mov dword [rsp + 0x160], r12d
mov dword [rsp + 0x180], 0x50
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x178], rax
mov rcx, qword [r14 + 0x10]
lea r9, [rsp + 0x160]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.Properties
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14001f10c
mov r15d, r12d
mov dword [rsp + 0x68], r12d
jmp 0x14001f10c
cmp ecx, r12d
jne 0x14001f100
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_Ordinal_323]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001f100
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140025b28]
nop
mov qword [rsp + 0xe8], 0xffffffffffff0002
mov r13d, ebx
mov edi, 8
mov rax, qword [rsp + 0x58]
movzx ecx, word [rax + 0x32]
cmp r13d, ecx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
jge 0x14001f757
lea r8, [rsp + 0x50]
mov edx, r13d
mov rax, qword [rax + 0x30]
call qword [0x140025b28]
test eax, eax
js 0x14001f806
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rdx
mov r9d, r12d
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x50]
mov edx, dword [rdx]
mov rax, qword [rax + 0x38]
call qword [0x140025b28]
test eax, eax
js 0x14001f81f
mov r8, qword [rsp + 0x50]
cmp dword [r8 + 0x3c], 2
jne 0x14001f4f8
test r15d, r15d
jne 0x14001f4f8
add r8, 0x18
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14001fe74
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov r9d, edi
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov edx, eax
test eax, eax
jns 0x14001f23a
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
cmp word [rcx], 0xa
je 0x14001f1fb
cmp word [rcx], 0x19
je 0x14001f1fb
mov ecx, edx
call sub.MFC42u.dll_AfxVerifyLicFile
jmp 0x14001f23a
mov word [rsp + 0xa0], di
mov rax, qword [rax + 0x10]
mov ecx, dword [rax + 8]
call fcn.140020a18
mov r8, rax
mov edx, 0x200
lea rcx, [rsp + 0x3a0]
call fcn.140009974
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
mov r14, qword [rsp + 0xa8]
lea r12d, [rsi + 1]
shl r12, 2
mov eax, 2
mul r12
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140022020
mov r15, rax
mov rdi, rax
mov qword [rsp + 0x98], r12
test esi, esi
je 0x14001f3a9
movzx ecx, word [r14]
call qword [sym.imp.msvcrt.dll_isprint]
mov edx, 0x22
test eax, eax
je 0x14001f2bb
movzx eax, word [r14]
cmp ax, dx
je 0x14001f2bb
lea ecx, [rdx + 0x3a]
cmp ax, cx
je 0x14001f2bb
mov word [rdi], ax
add rdi, 2
jmp 0x14001f39b
mov eax, VarDateFromDisp
mov word [rdi], ax
lea rcx, [rdi + 2]
mov qword [rsp + 0x90], rcx
movzx r9d, word [r14]
cmp r9d, 0xb
ja 0x14001f328
je 0x14001f321
mov edx, r9d
test r9d, r9d
je 0x14001f31a
sub edx, 7
je 0x14001f313
sub edx, 1
je 0x14001f309
sub edx, 1
je 0x14001f2ff
cmp edx, 1
jne 0x14001f343
lea eax, [rdx + 0x6d]
jmp 0x14001f394
mov eax, 0x74
jmp 0x14001f394
mov eax, 0x62
jmp 0x14001f394
mov eax, 0x61
jmp 0x14001f394
mov eax, 0x30
jmp 0x14001f394
mov eax, 0x76
jmp 0x14001f394
mov r8d, r9d
sub r8d, 0xc
je 0x14001f38f
sub r8d, 1
je 0x14001f388
sub r8d, 0x15
je 0x14001f383
cmp r8d, 0x3a
je 0x14001f394
mov dword [rsp + 0x30], r9d
lea rax, str.x_02X
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x90]
mov rdx, r12
call fcn.14001fc44
mov rdi, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
jmp 0x14001f39b
mov word [rcx], dx
jmp 0x14001f397
mov eax, reloc.OLEAUT32.dll_VarBstrFromDisp
jmp 0x14001f394
mov eax, 0x66
mov word [rcx], ax
lea rdi, [rcx + 2]
add r14, 2
sub rsi, 1
jne 0x14001f28b
mov word [rdi], bx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov eax, 8
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x1a0]
mov r8, qword [rsp + 0x70]
cmp word [rcx], ax
lea rcx, [rsp + 0x40]
jne 0x14001f3e4
lea rdx, str.const__s__s____s_
call sub.MFC42u.dll_CPtrList::FreeNode
jmp 0x14001f3f0
lea rdx, str.const__s__s___s
call sub.MFC42u.dll_CPtrList::FreeNode
mov rcx, r15
call fcn.140001420
lea rcx, [rsp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x114], esi
mov dword [rsp + 0x118], esi
lea ecx, [rsi + 0x20]
call fcn.14002202c
mov rdi, rax
test rax, rax
je 0x14001f441
lea rax, vtable.CTreeItem.0
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], rbx
jmp 0x14001f444
mov rdi, rbx
mov qword [rsp + 0x78], rdi
mov r14, qword [rsp + 0xc0]
mov rax, qword [r14 + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rsp + 0x80], rbx
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [0x140034b08]
mov rax, qword [rax]
call qword [0x140025b28]
mov rax, qword [rsp + 0x80]
mov qword [rdi + 8], rax
mov dword [rdi + 0x28], esi
mov dword [rdi + 0x2c], r13d
mov qword [rsp + 0x120], rdi
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDatabase::GetConnectInfo
mov qword [rsp + 0x108], rax
mov rcx, qword [r14 + 0x10]
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CCmdUI::SetCheck
mov r12d, 1
mov esi, r12d
lea rcx, [rsp + 0x70]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r15d, dword [rsp + 0x68]
jmp 0x14001f722
cmp r15d, r12d
je 0x14001f512
mov rax, qword [rsp + 0x58]
cmp dword [rax + 0x2c], r12d
je 0x14001f512
cmp dword [rax + 0x2c], 7
jne 0x14001f727
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov r8, qword [rsp + 0x50]
movzx eax, word [r8 + 0x20]
mov ecx, 0xfff
and ax, cx
mov rcx, r14
cmp ax, 0x1c
jne 0x14001f5d9
mov r8, qword [r8 + 0x18]
lea rdx, [rsp + 0xc8]
call fcn.14001fe74
nop
mov r8, qword [rax]
lea rdx, [0x14002e258]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPtrList::FreeNode
nop
lea rcx, [rsp + 0xc8]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x40]
test rdx, rdx
je 0x14001f589
call sub.MFC42u.dll_Ordinal_1287
jmp 0x14001f595
lea rdx, str._nameless_
call sub.MFC42u.dll_Ordinal_1287
movzx edi, bx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x18]
cmp di, word [rcx + 0x10]
jae 0x14001f63f
movzx eax, di
mov r8d, dword [rcx + rax*8 + 0x14]
lea rdx, str.__d_
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CPtrList::FreeNode
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1284
add di, r12w
jmp 0x14001f598
add r8, 0x18
lea rdx, [rsp + 0xd0]
call fcn.14001fe74
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_AfxDaoGetEngine
mov r8, qword [rax]
lea rdx, [0x14002e258]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPtrList::FreeNode
nop
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x40]
test rdx, rdx
je 0x14001f633
call sub.MFC42u.dll_Ordinal_1287
jmp 0x14001f63f
lea rdx, str._nameless_
call sub.MFC42u.dll_Ordinal_1287
mov dword [rsp + 0x114], reloc.OLEAUT32.dll_SafeArrayDestroy
mov dword [rsp + 0x118], reloc.OLEAUT32.dll_SafeArrayDestroy
mov ecx, 0x30
call fcn.14002202c
mov rdi, rax
test rax, rax
je 0x14001f67f
lea rax, vtable.CTreeItem.0
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x18], rbx
jmp 0x14001f682
mov rdi, rbx
mov qword [rsp + 0x78], rdi
mov rax, qword [r14 + 0x10]
mov qword [rdi + 0x10], rax
mov qword [rsp + 0x88], rbx
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
lea rdx, [0x140034b08]
mov rax, qword [rax]
call qword [0x140025b28]
mov rax, qword [rsp + 0x88]
mov qword [rdi + 8], rax
mov dword [rdi + 0x28], reloc.OLEAUT32.dll_SafeArrayDestroy
mov dword [rdi + 0x2c], r13d
mov qword [rsp + 0x120], rdi
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDatabase::GetConnectInfo
mov qword [rsp + 0x108], rax
mov rcx, qword [r14 + 0x10]
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
or rdx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CCmdUI::SetCheck
mov esi, r12d
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov edi, 8
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rax + 0xa8]
call qword [0x140025b28]
add r13d, r12d
jmp 0x14001f114
mov rdx, qword [rsp + 0x58]
mov rax, qword [rax + 0x98]
call qword [0x140025b28]
nop
call sub.MFC42u.dll_CMemFile::Alloc
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001f788
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x140025b28]
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, esi
jmp 0x14001f7c0
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.1400231c0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8d, eax
lea rdx, str.ITypeInfo::GetTypeAttr___failed
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPtrList::FreeNode
call sub.MFC42u.dll_AfxUnlockGlobals
mov r8d, r13d
lea rdx, str.GetVarDesc_failed_for_variable__u
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPtrList::FreeNode
call sub.MFC42u.dll_AfxUnlockGlobals
mov r8d, r13d
lea rdx, str.GetNames_failed_for_variable__u
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPtrList::FreeNode
call sub.MFC42u.dll_AfxUnlockGlobals
int3