Function at 0x1400aa1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400ae5d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov r15, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
call fcn.1400abb30
mov eax, dword [rbx + 0x1f0]
mov dword [r15 + 0x1f0], eax
mov eax, dword [rbx + 0x68]
mov dword [r15 + 0x68], eax
mov rax, qword [rbx + 0x178]
mov qword [r15 + 0x178], rax
mov eax, dword [rbx + 0x60]
mov dword [r15 + 0x60], eax
lea r13, [r15 + 0x1d0]
mov rcx, r13
call fcn.14000b8c0
mov ecx, dword [rbx + 0x1d8]
mov dword [r13 + 8], ecx
mov eax, dword [rbx + 0x1e4]
mov dword [r13 + 0x14], eax
mov eax, dword [rbx + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
mov edx, dword [r13 + 0x10]
cmp eax, edx
jbe 0x1400ae677
sub eax, edx
xor edx, edx
div ecx
lea edx, [rax + 1]
mov rcx, r13
call fcn.1400aa3c0
test eax, eax
jne 0x1400ae677
mov dword [r13 + 0x10], r14d
jmp 0x1400ae730
xor r12d, r12d
mov eax, dword [rbx + 0x1dc]
test eax, eax
je 0x1400ae730
nop dword [rax + rax]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov rbp, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400ae6e0
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [case.0x14009db83.3]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [case.0x14009db83.3]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
jmp 0x1400ae6e2
xor ebp, ebp
mov ecx, r12d
add rcx, rcx
mov rax, qword [rbx + 0x1d0]
mov esi, dword [rax + rcx*8]
mov rdi, qword [rax + rcx*8 + 8]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rdi + 8]
lea rcx, [rbp + 8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov r8, rbp
mov edx, esi
mov rcx, r13
call fcn.1400aa2c0
inc r12d
mov eax, dword [rbx + 0x1dc]
cmp r12d, eax
jb 0x1400ae690
mov dword [r13 + 0xc], eax
mov eax, dword [rbx + 0x64]
mov dword [r15 + 0x64], eax
mov eax, dword [rbx + 0x70]
mov dword [r15 + 0x70], eax
movzx eax, word [rbx + 0x9c]
mov word [r15 + 0x9c], ax
mov eax, dword [rbx + 0xdc]
mov dword [r15 + 0xdc], eax
mov eax, dword [rbx + 0x6c]
mov dword [r15 + 0x6c], eax
lea rdx, [rbx + 0x80]
lea rcx, [r15 + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x78]
lea rcx, [r15 + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x88]
lea rcx, [r15 + 0x88]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0xa0]
lea rcx, [r15 + 0xa0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0xc0]
lea rcx, [r15 + 0xc0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [rbx + 0xf8]
mov qword [r15 + 0xf8], rax
lea rdx, [rbx + 0xb0]
lea rcx, [r15 + 0xb0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x90]
lea rcx, [r15 + 0x90]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
movzx eax, word [rbx + 0x9a]
mov word [r15 + 0x9a], ax
movzx eax, word [rbx + 0x98]
mov word [r15 + 0x98], ax
lea rdx, [rbx + 0xb8]
lea rcx, [r15 + 0xb8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
movzx eax, word [rbx + 0xda]
mov word [r15 + 0xda], ax
mov eax, dword [rbx + 0xe0]
mov dword [r15 + 0xe0], eax
mov rax, qword [rbx + 0xe8]
mov qword [r15 + 0xe8], rax
mov eax, dword [rbx + 0xf0]
mov dword [r15 + 0xf0], eax
mov eax, dword [rbx + 0x6c]
mov dword [r15 + 0x6c], eax
mov rax, qword [rbx + 0xa8]
mov qword [r15 + 0xa8], rax
lea rdx, [rbx + 0xd0]
lea rcx, [r15 + 0xd0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
movzx eax, word [rbx + 0xd8]
mov word [r15 + 0xd8], ax
lea rdx, [rbx + 0x18]
lea rcx, [r15 + 0x18]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x20]
lea rcx, [r15 + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov eax, dword [rbx + 0x54]
mov dword [r15 + 0x54], eax
mov rax, qword [rbx + 0x58]
mov qword [r15 + 0x58], rax
lea rdx, [rbx + 0x28]
lea rcx, [r15 + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x30]
lea rcx, [r15 + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [rbx + 0x118]
mov qword [r15 + 0x118], rax
mov rax, qword [rbx + 0x108]
mov qword [r15 + 0x108], rax
mov rax, qword [rbx + 0x110]
mov qword [r15 + 0x110], rax
movzx eax, word [rbx + 0x10]
mov word [r15 + 0x10], ax
movzx eax, word [rbx + 0x3c]
mov word [r15 + 0x3c], ax
mov eax, dword [rbx + 0x38]
mov dword [r15 + 0x38], eax
movzx eax, byte [rbx + 0x3e]
mov byte [r15 + 0x3e], al
movzx eax, byte [rbx + 0x3f]
mov byte [r15 + 0x3f], al
mov eax, dword [rbx + 0x40]
mov dword [r15 + 0x40], eax
mov eax, dword [rbx + 0x44]
mov dword [r15 + 0x44], eax
mov eax, dword [rbx + 0x128]
mov dword [r15 + 0x128], eax
mov eax, dword [rbx + 0x12c]
mov dword [r15 + 0x12c], eax
mov eax, dword [rbx + 0x130]
mov dword [r15 + 0x130], eax
mov eax, dword [rbx + 0x134]
mov dword [r15 + 0x134], eax
mov eax, dword [rbx + 0x138]
mov dword [r15 + 0x138], eax
mov eax, dword [rbx + 0x13c]
mov dword [r15 + 0x13c], eax
mov eax, dword [rbx + 0x140]
mov dword [r15 + 0x140], eax
mov eax, dword [rbx + 0x4c]
mov dword [r15 + 0x4c], eax
mov eax, dword [rbx + 0x50]
mov dword [r15 + 0x50], eax
movzx eax, word [rbx + 0x48]
mov word [r15 + 0x48], ax
mov eax, dword [rbx + 0x144]
mov dword [r15 + 0x144], eax
mov eax, dword [rbx + 0x148]
mov dword [r15 + 0x148], eax
lea rdx, [rbx + 0x150]
lea rcx, [r15 + 0x150]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov eax, dword [rbx + 0x158]
mov dword [r15 + 0x158], eax
lea rdx, [rbx + 0x160]
lea rcx, [r15 + 0x160]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x168]
lea rcx, [r15 + 0x168]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x170]
lea rcx, [r15 + 0x170]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x180]
lea rcx, [r15 + 0x180]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
cmp dword [rbx + 0x1dc], 0
jbe 0x1400aeabf
mov rax, qword [rbx + 0x1d0]
mov rdi, qword [rax + 8]
xor esi, esi
test rdi, rdi
setne sil
test rdi, rdi
je 0x1400aeabf
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
or r14d, 1
mov dword [rsp + 0x20], r14d
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400af7d0
and r14d, 0xfffffffe
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp esi, dword [rbx + 0x1dc]
jae 0x1400aeabf
mov ecx, esi
add rcx, rcx
mov rax, qword [rbx + 0x1d0]
mov rdi, qword [rax + rcx*8 + 8]
test rdi, rdi
je 0x1400aeabf
inc esi
jmp 0x1400aea61
lea rdx, [rbx + 0x188]
lea rcx, [r15 + 0x188]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x190]
lea rcx, [r15 + 0x190]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1a0]
lea rcx, [r15 + 0x1a0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov eax, dword [rbx + 0xc8]
mov dword [r15 + 0xc8], eax
lea rdx, [rbx + 0x198]
lea rcx, [r15 + 0x198]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1a8]
lea rcx, [r15 + 0x1a8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1b0]
lea rcx, [r15 + 0x1b0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1c8]
lea rcx, [r15 + 0x1c8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1b8]
lea rcx, [r15 + 0x1b8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rdx, [rbx + 0x1c0]
lea rcx, [r15 + 0x1c0]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp qword [sym.imp.mfc140u.dll_Ordinal_1501]
add byte [rax], al
add byte [rsi], ch
not byte [rsi]
add byte [rax], al
add byte [rax], al
add byte [rsi], dl
invalid
not byte [rsi]
add byte [rax], al
add byte [rax], al
add byte [rax], cl
or dh, dh
invalid
add byte [rax], al
add byte [rax], al
add dl, bh
cli
cmc
invalid