Function at 0x140001330
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CColorDialog::CColorDialog]
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCPrintPreviewToolBar::OnToolHitTest]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], 1
jle 0x1400015d0
mov edi, 3
lea r14d, [rdi + 0xd]
mov r15d, 0xfffd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rbx, qword [rax]
mov rbx, qword [r14 + rbx - 8]
xor esi, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea ecx, [rdi - 1]
xor r9d, r9d
cmp ecx, dword [rax]
sete r9b
movzx eax, word [rbx]
sub ax, 0x2d
test r15w, ax
jne 0x140001408
mov esi, 1
add rbx, 2
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov r8, rbx
lea rdx, [0x140004b60]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r8, rbx
lea rdx, [0x140004b60]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CHtmlView::LoadFromResource]
test esi, esi
je 0x1400015b9
xor r8d, r8d
lea rdx, [0x140004b68]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x1400014fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [r14 + rcx]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
xor r9d, r9d
cmp edi, dword [rax]
sete r9b
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov r8, rbx
lea rdx, [0x140004b60]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [0x140004aa4]
lea rdx, [0x140004b6c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x20]
lea r8, [0x140004b60]
mov edx, 0x104
lea rcx, [0x140008860]
call fcn.140001080
lea r9, [0x140008860]
lea r8, [0x140004b70]
jmp 0x1400015a1
xor r8d, r8d
lea rdx, [0x140004bb4]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x1400015b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [r14 + rcx]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
xor r9d, r9d
cmp edi, dword [rax]
sete r9b
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov r8, rbx
lea rdx, [0x140004b60]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [0x140004aa4]
lea rdx, [0x140004b6c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x20]
lea r8, [0x140004b60]
mov edx, 0x104
lea rcx, [0x140008a70]
call fcn.140001080
lea r9, [0x140008a70]
lea r8, str._AsGenIcon__Destination_icon_path____s__r_n
mov edx, 0x208
lea rcx, [rbp - 0x70]
call fcn.140001080
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
inc edi
add r14, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea ecx, [rdi - 2]
cmp ecx, dword [rax]
jl 0x1400013d0
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CAnimationVariable::CAnimationVariable]
mov eax, 1
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140002450
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret