Function at 0x140012318
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140035898]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov esi, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x30], ebx
test r14, r14
je 0x14001270c
mov edx, 0x3b7
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
lea r8, [0x140024bc4]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CComboBoxEx::DeleteItem]
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov edx, 0x153
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
mov rax, qword [0x14003a778]
cmp dword [rax - 8], ebx
jne 0x1400126cb
xor edx, edx
mov r8d, 0x800
lea rcx, str.fveapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x140012419
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1400126cb
lea rdx, str.FveQueryDeviceEncryptionSupport
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400126c2
mov qword [rsp + 0x74], rbx
mov dword [rsp + 0x68], reloc.OLEAUT32.dll_SafeArrayLock
mov dword [rsp + 0x6c], 1
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x68]
call qword [0x140022398]
mov esi, eax
test eax, eax
js 0x14001254f
cmp dword [rsp + 0x74], ebx
jne 0x14001247f
mov edx, 0x3b8
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
jmp 0x1400125c9
mov eax, dword [rsp + 0x78]
test al, 1
jne 0x1400124a4
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3c1
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov eax, dword [rsp + 0x78]
test al, 0x10
jne 0x1400124c5
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3be
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov eax, dword [rsp + 0x78]
test al, 4
jne 0x1400124e6
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3ba
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov eax, dword [rsp + 0x78]
test al, 8
jne 0x140012507
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3bb
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov eax, dword [rsp + 0x78]
test al, 2
jne 0x14001252c
test al, 0x40
jne 0x14001252c
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3bf
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov eax, dword [rsp + 0x78]
test al, al
js 0x1400125c9
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3c0
lea rcx, [rsp + 0x40]
call fcn.140011c18
jmp 0x1400125c9
cmp eax, 0x80070522
jne 0x14001256b
mov edx, 0x2ff
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
jmp 0x1400126c2
mov dword [rsp + 0x58], ebx
lea rdx, str.NgscbIsHostOsOnRoamableDrive
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400125b2
lea rcx, [rsp + 0x58]
call qword [0x140022398]
test eax, eax
js 0x140012599
cmp dword [rsp + 0x58], ebx
je 0x1400125b2
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3be
lea rcx, [rsp + 0x40]
call fcn.140011c18
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140011cc8
lea rdx, str.NgscbCheckPreventDeviceEncryption
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400125fa
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140011ed8
mov byte [rsp + 0x38], bl
mov dword [rsp + 0x58], ebx
lea rdx, str.NgscbGetWinReConfiguration
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001266a
mov r8d, 0x104
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call qword [0x140022398]
test eax, eax
js 0x140012651
cmp byte [rsp + 0x38], bl
je 0x140012651
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140012248
test eax, eax
js 0x14001266a
cmp dword [rsp + 0x58], ebx
je 0x14001266a
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3bc
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x58], SafeArrayLock
mov dword [rsp + 0x5c], 1
lea rdx, str.FveCheckTpmCapability
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400126c2
lea rcx, [rsp + 0x58]
call qword [0x140022398]
test eax, eax
js 0x1400126a9
cmp dword [rsp + 0x60], ebx
je 0x1400126c2
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
mov edx, 0x3ba
lea rcx, [rsp + 0x40]
call fcn.140011c18
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [r14]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
mov rax, qword [rax + 0x60]
call qword [0x140022398]
mov rax, qword [r14]
lea rdx, [r15 + 0x38]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rcx, r14
mov rax, qword [rax + 0x60]
call qword [0x140022398]
mov ebx, esi
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14001d7f0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret