Function at 0x1400162e0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r15, rdx
lea r9, str.SELECT__FROM__Resources_Library__WHERE__CategoryID__0_AND_ResourceID__0_
mov r8d, 4
lea rdx, str.Resources_Library
lea rcx, [0x14019d0a0]
call fcn.1400174e0
mov r14, rax
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x50]
test eax, eax
je 0x140016578
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x58]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x78]
test eax, eax
jne 0x140016563
xor r12d, r12d
movabs r13, 0x3ffffffffffffff
nop word [rax + rax]
mov rax, qword [r14]
lea r8, str.CategoryID
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rbp - 0x20], ecx
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [r14]
lea r8, str.ResourceID
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 8]
mov dword [rbp - 0x1c], ecx
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [r14]
lea r8, str.ResourceType
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
nop
mov rdx, qword [rax + 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [r14]
lea r8, str.YearlyTime
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
movsd xmm0, qword [rax + 8]
movsd qword [rbp - 0x18], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rdx, str._s__ld__ld
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov rdi, qword [r15]
mov rbx, qword [rdi + 8]
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], r12d
cmp byte [rbx + 0x19], 0
jne 0x140016493
nop
mov qword [rbp - 0x40], rbx
lea rcx, [rbx + 0x20]
mov rdx, qword [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jns 0x140016480
mov dword [rbp - 0x38], r12d
mov rbx, qword [rbx + 0x10]
jmp 0x14001648d
mov dword [rbp - 0x38], 1
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140016460
cmp byte [rdi + 0x19], 0
jne 0x1400164ab
mov rdx, qword [rdi + 0x20]
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
jns 0x140016525
cmp qword [r15 + 8], r13
je 0x1400165bc
mov rdi, qword [r15]
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r12
mov ecx, 0x40
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rsi, rax
mov qword [rbp - 0x48], rax
lea rdx, [rbp + 0x40]
lea rcx, [rax + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], rax
lea rcx, [rsi + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 0
mov qword [rbp - 0x48], r12
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x40], xmm0
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.14001a450
mov rdi, rax
mov ecx, dword [rbp - 0x20]
mov dword [rdi + 0x28], ecx
mov ecx, dword [rbp - 0x1c]
mov dword [rdi + 0x2c], ecx
movsd xmm0, qword [rbp - 0x18]
movsd qword [rdi + 0x30], xmm0
lea rcx, [rdi + 0x38]
lea rdx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x78]
test eax, eax
je 0x140016380
lea rcx, [rbp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x40]
test eax, eax
je 0x14001658e
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x48]
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp qword [rax]
call fcn.140009750
nop
int3