Function at 0x140004590
Capabilities:
Reference sql statements

Disassembly:
test rdx, rdx
je 0x1400050d3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp + 0x38], r15d
mov rax, qword [rdx]
lea r8, str.Block_Data.BlockID
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov eax, dword [rax + 8]
mov dword [rdi + 8], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.ParentID
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0xc], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Block_Data.PartNumID
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov eax, dword [rax + 8]
mov dword [rdi + 0x10], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Level
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rsi + 0xb0], ecx
mov dword [rdi + 0x14], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.RefDes
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
nop
lea rcx, [rdi + 0x18]
mov rdx, qword [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Model
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov eax, dword [rax + 8]
mov dword [rdi + 0x20], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.PartNum
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
nop
lea rcx, [rdi + 0x28]
mov rdx, qword [rax + 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.BlockType
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x38], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Areq
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rax, qword [rax + 8]
mov qword [rdi + 0x40], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rdi + 0x40]
mov qword [rdi + 0xb8], rax
mov rax, qword [rsi]
lea r8, str.Rreq
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rax, qword [rax + 8]
mov qword [rdi + 0x48], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Preq
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rax, qword [rax + 8]
mov qword [rdi + 0x58], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.MTBFreq
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
nop
xorps xmm0, xmm0
comisd xmm0, xmmword [rax + 8]
jbe 0x1400047e1
movsd qword [rdi + 0x50], xmm0
jmp 0x14000480f
mov rax, qword [rsi]
lea r8, str.MTBFreq
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rdi + 0x50], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.MTBF
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x60], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Distribution
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov eax, dword [rax + 8]
mov dword [rdi + 0x68], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, [0x140134878]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x6c], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Basic
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x70], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Damage
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x78], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.EffectProb
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x80], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.EffectCost
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x88], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Param1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x90], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Param2
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x98], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.FailuresStart
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0xb0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.CalcArray
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov eax, dword [rax + 8]
mov dword [rdi + 0xd8], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.RepCondemn
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1b0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Weight
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1b8], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.Packaging
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1c0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.AddDiscard
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1c8], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, [0x140134980]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0xa8], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, [0x140134984]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1d0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.RCMMTBF
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0xa0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.UseTaskTime
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x1f8], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.MinInitSpares
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + reloc.mfc140u.dll_CDockContext::CDockContext], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.MinInitSparesF
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x1dc], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.IsFixInitSpares
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, r15d
cmp dword [rax + 8], r15d
setne cl
mov dword [rdi + 0x20c], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.BlockFailFactor
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x240], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.MTBFcalc
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x290], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.NoPMspares
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rdi + 0x17c], ecx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsi]
lea r8, str.TimeUnitID
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ebx, dword [rax + 8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, ebx
lea rcx, [0x14019d0a0]
call fcn.140013430
movsd qword [rdi + 0x210], xmm0
mov rax, qword [rdi + 0x40]
mov qword [rdi + 0x248], rax
mov rax, qword [rdi + 0x48]
mov qword [rdi + 0x250], rax
mov rax, qword [rdi + 0x58]
mov qword [rdi + 0x258], rax
mov rax, qword [rdi + 0x50]
mov qword [rdi + 0x260], rax
mov rax, qword [rsi]
lea r8, [rdi + 0xc0]
lea rdx, str.RDTreq
mov rcx, rsi
call qword [rax + 0xa8]
mov rdx, r14
mov rcx, rdi
call fcn.140005540
mov eax, dword [rdi + 0x100]
dec eax
test eax, 0xfffffffd
jne 0x140004eba
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9d, dword [rdi + 0x128]
mov r8d, dword [rdi + 0x10]
lea rdx, str.SELECT__FROM__Spare_Source_Data__WHERE__PartNumID_ld_AND_SelSiteID_ld_
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9d, 4
lea r8, [rbp + 0x38]
mov rdx, qword [0x14019d338]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__int____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x140004dc9
lea r8, str.SpareCost
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1a0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.SpareDelay
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x1a8], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9d, dword [rdi + 0x120]
mov r8d, dword [rdi + 0x10]
lea rdx, str.SELECT__FROM__Spare_Stock_Data__WHERE__PartNumID_ld_AND_SelSiteID_ld_AND_StockType0_
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9d, 4
lea r8, [rbp + 0x38]
mov rdx, qword [0x14019d338]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__int____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x140004e98
lea r8, str.SpareDelay
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x198], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.SpareHandlCost
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0x190], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp dword [rdi + 0x100], 3
je 0x140004f96
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r9d, dword [rdi + 0x11c]
mov r8d, dword [rdi + 0x10]
lea rdx, str.SELECT__FROM__Part_Level_Data__WHERE__PartNumID_ld_AND_RepLevelIdx_ld_
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r9d, 4
lea r8, [rbp + 0x38]
mov rdx, qword [0x14019d338]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public:_void___cdecl_RecordsetWrapCOM::constructor_class_DatabaseWrapCOM____ptr64__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__int____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_long_int___cdecl_RecordsetWrapCOM::GetRecordCount_void_const___ptr64]
test eax, eax
je 0x140004f74
lea r8, str.RepairDelay
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0xe0], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r8, str.TechData
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_class_COleVariant___cdecl_RecordsetWrapCOM::GetFieldValue_wchar_t_const____ptr64____ptr64]
mov rcx, qword [rax + 8]
mov qword [rdi + 0xe8], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::Close_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.DBInterface.dll_public_virtual:_void___cdecl_RecordsetWrapCOM::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rdi
call fcn.140003fd0
mov rcx, rdi
call fcn.140003d90
mov eax, dword [rdi + 0x100]
cmp eax, 3
jne 0x140004fbe
cmp dword [rdi + 0x20], 4
je 0x140004fbe
mov dword [rdi + 0x68], 0xffffffff
cmp dword [0x14019d2d0], 0
je 0x140004fd7
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x50], r15
mov qword [rdi + 0x48], r15
mov qword [rdi + 0x40], r15
cmp dword [rdi + 0x20], 4
je 0x140004fe6
cmp eax, 3
jne 0x1400050b7
mov rbx, qword [0x14019d4d0]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], r15d
mov rdx, rbx
cmp byte [rax + 0x19], 0
jne 0x140005039
mov ecx, dword [rdi + 8]
nop word [rax + rax]
mov qword [rsp + 0x20], rax
cmp dword [rax + 0x1c], ecx
jge 0x140005025
mov dword [rsp + 0x28], r15d
mov rax, qword [rax + 0x10]
jmp 0x140005033
mov dword [rsp + 0x28], 1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140005010
cmp byte [rdx + 0x19], 0
jne 0x140005047
mov eax, dword [rdx + 0x1c]
cmp dword [rdi + 8], eax
jge 0x1400050ae
movabs rax, 0x666666666666666
cmp qword [0x14019d4d8], rax
je 0x1400050d4
lea rsi, [0x14019d4d0]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r15
mov ecx, 0x28
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
nop
mov edx, dword [rdi + 8]
mov dword [rax + 0x1c], edx
mov dword [rax + 0x20], r15d
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400094d0
mov rdx, rax
mov ecx, dword [rdi + 0xd8]
mov dword [rdx + 0x20], ecx
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140009750
int3