Function at 0x140010b04
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140035898]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rdx
mov rdi, rcx
cmp dword [rcx], 0
je 0x140010b46
mov eax, dword [rcx + 0x40]
jmp 0x140010e7c
call fcn.140010a60
lea rdx, str.Win32_PnPAllocatedResource
lea rcx, [rbp + 0x17]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
lea rdx, str.Win32_CIMLogicalDeviceCIMDataFile
lea rcx, [rbp + 0x1f]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
lea rdx, [0x140022b98]
lea rcx, [rbp + 0x27]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov rax, qword [rbp + 0x17]
cmp dword [rax - 8], 0
je 0x140010e56
xor r14d, r14d
lea rbx, [rbp + 0x17]
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
and qword [rbp - 0x31], 0
mov rax, qword [r15]
xor r9d, r9d
lea r8, [rbp - 0x31]
mov rdx, qword [rbx]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [0x140022398]
test eax, eax
js 0x140010e33
and qword [rbp - 0x39], 0
jmp 0x140010da4
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CPropertySheet::EnableStackedTabs]
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CPropertySheet::EnableStackedTabs]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea r8, [rbp - 0x41]
lea rdx, str.Antecedent
mov rax, qword [rax + 0x10]
call qword [0x140022398]
test eax, eax
js 0x140010da4
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea r8, [rbp - 0x49]
lea rdx, str.Dependent
mov rax, qword [rax + 0x10]
call qword [0x140022398]
test eax, eax
js 0x140010da4
lea rdx, [0x1400239e0]
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextW]
cmp eax, 0xffffffff
je 0x140010c8f
mov rcx, qword [rbp - 0x41]
mov r8d, dword [rcx - 8]
sub r8d, eax
dec r8d
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, [0x1400239e0]
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CRichEditView::FindTextW]
cmp eax, 0xffffffff
je 0x140010cda
mov rcx, qword [rbp - 0x49]
mov r8d, dword [rcx - 8]
sub r8d, eax
dec r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rsi, [rdi + 8]
lea r8, [rbp - 0x11]
mov rdx, qword [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.MFC42u.dll_CView::OnDestroy]
neg eax
sbb rbx, rbx
and rbx, qword [rbp - 0x11]
jne 0x140010d34
lea ecx, [rbx + 0x38]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
mov qword [rbp + 7], rax
test rax, rax
je 0x140010d1d
lea edx, [rbx + 0xa]
mov rcx, rax
call qword [sym.imp.MFC42u.dll_CDaoQueryDef::CDaoQueryDef]
mov rbx, rax
jmp 0x140010d1f
xor ebx, ebx
test rbx, rbx
je 0x140010d41
mov rdx, qword [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.MFC42u.dll_AfxOleUnlockControl]
mov qword [rax], rbx
lea rdx, [rbp - 0x49]
mov rcx, rbx
call qword [sym.imp.MFC42u.dll_Ordinal_1383]
lea r8, [rbp - 9]
mov rdx, qword [rbp - 0x49]
mov rcx, rsi
call qword [sym.imp.MFC42u.dll_CView::OnDestroy]
neg eax
sbb rbx, rbx
and rbx, qword [rbp - 9]
jne 0x140010d97
lea ecx, [rbx + 0x38]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
mov qword [rbp + 0xf], rax
test rax, rax
je 0x140010d80
lea edx, [rbx + 0xa]
mov rcx, rax
call qword [sym.imp.MFC42u.dll_CDaoQueryDef::CDaoQueryDef]
mov rbx, rax
jmp 0x140010d82
xor ebx, ebx
test rbx, rbx
je 0x140010da4
mov rdx, qword [rbp - 0x49]
mov rcx, rsi
call qword [sym.imp.MFC42u.dll_AfxOleUnlockControl]
mov qword [rax], rbx
lea rdx, [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.MFC42u.dll_Ordinal_1383]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x39]
mov rax, qword [rax + 0x10]
call qword [0x140022398]
test eax, eax
je 0x140010be8
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140010dde
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x140022398]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140010df9
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x140022398]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
inc r14
lea rbx, [rbp + 0x17]
lea rbx, [rbx + r14*8]
mov rax, qword [rbx]
cmp dword [rax - 8], 0
jne 0x140010b96
jmp 0x140010e56
mov dword [rdi + 0x40], eax
lea rcx, [rbp - 0x29]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi], eax
mov ebx, dword [rdi + 0x40]
mov r9, qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov edx, 8
lea r8d, [rdx - 5]
lea rcx, [rbp + 0x17]
call fcn.14001d814
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14001d7f0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret