Function at 0x140006920
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4c0
mov rax, qword [0x140164008]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x14016fd30], eax
jle 0x1400069d5
lea rcx, [0x14016fd30]
call fcn.1400302c4
cmp dword [0x14016fd30], 0xffffffff
jne 0x1400069d5
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rcx, qword [rax + 8]
mov r8d, 5
lea rdx, [rsp + 0x38]
mov rcx, qword [rcx + 0x178]
call qword [sym.imp.BQRCommon.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CRbdLicense::GetFilePWD_long_int____ptr64]
nop
mov rdx, qword [rax]
lea rcx, [0x14016fd38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [0x14010b580]
call fcn.140030028
nop
lea rcx, [0x14016fd30]
call fcn.140030264
lea rsi, [rdi + 0x198]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
lea rdx, [0x140130d34]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
lea rdx, str.CarePtabs
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov rbx, rax
lea rdx, str.Setting
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
nop
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r9, rax
call fcn.1400067b0
mov rax, qword [rsp + 0x30]
mov edx, dword [rax - 0x10]
test edx, edx
je 0x140006a7a
dec edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x140006a7a
mov edx, VarDateFromDisp
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1665]
lea rdx, str.ConLibP.def
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rcx, [rdi + 0x1a8]
lea rdx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_6707]
test eax, eax
jne 0x140006b18
lea r8, str.ConLibP.def
lea rdx, str.Public_Connector_Type_Library_file___s__is_not_found
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.mfc140u.dll_AfxInitNetworkAddressControl]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x140006c38
lea rax, [rdi + 0x1c0]
mov qword [rsp + 0x48], rax
mov dword [rax], 0
lea rax, [rdi + 0x1c4]
mov qword [rsp + 0x68], rax
mov dword [rax], 0
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140006b69
mov rcx, rax
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_DatabaseWrapCOM::constructor_void____ptr64]
lea rax, vtable.DatabaseWrapCOM.0
mov qword [rbx], rax
jmp 0x140006b6b
xor ebx, ebx
lea rax, [rdi + 0x188]
mov qword [rsp + 0x38], rax
mov qword [rax], rbx
test rbx, rbx
jne 0x140006ba0
lea rdx, str.Failed_to_open_Connector_Type_Public_Database
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
xor r8d, r8d
lea edx, [rbx + 0x10]
jmp 0x140006aec
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
mov r10, qword [rcx]
mov rax, qword [0x14016fd38]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax]
mov rdx, qword [rsp + 0x30]
call qword [r10 + 0x18]
nop
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
cmp dword [rcx - 0x10], 0
je 0x140006c28
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006ae7
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test eax, eax
je 0x140006c03
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006c15
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], 0
jmp 0x140006ae7
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14002fdd0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret