Function at 0x140001330
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140006010]
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
movzx eax, word [0x1400039e4]
mov word [rbp - 0x70], ax
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp - 0x6e]
call sub.VCRUNTIME140.dll_memset
mov edi, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], edi
jle 0x140001691
mov esi, edi
mov r12d, 0xfffd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rbx, qword [rax]
mov rbx, qword [rbx + rsi*8]
xor r14d, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea r15d, [rdi + 1]
xor r9d, r9d
cmp r15d, dword [rax]
sete r9b
movzx eax, word [rbx]
sub ax, 0x2d
test r12w, ax
jne 0x140001412
mov r14d, 1
add rbx, 2
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCImageEditorDialog::OnToolLine]
mov r8, rbx
lea rdx, [0x140003a90]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov r8, rbx
lea rdx, [0x140003a90]
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 r14d, r14d
je 0x14000167e
xor r8d, r8d
lea rdx, [0x140003a98]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x14000150d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [rcx + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea ecx, [rdi + 2]
xor r9d, r9d
cmp ecx, 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, [0x140003a90]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [0x1400039e4]
lea rdx, [0x140003a9c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x20]
lea r8, [0x140003a90]
mov edx, 0x104
lea rcx, [0x140006a40]
call fcn.140001080
lea r9, [0x140006a40]
lea r8, [0x140003aa0]
jmp 0x140001660
xor r8d, r8d
lea rdx, [0x140003af4]
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 [rcx + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea ecx, [rdi + 2]
xor r9d, r9d
cmp ecx, 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, [0x140003a90]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [0x1400039e4]
lea rdx, [0x140003a9c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x20]
lea r8, [0x140003a90]
mov edx, 0x104
lea rcx, [0x140006830]
call fcn.140001080
lea r9, [0x140006830]
lea r8, str._AsUserLaunch__WorkingDir____s__r_n
jmp 0x140001660
xor r8d, r8d
lea rdx, [0x140003b48]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x14000167e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov rcx, qword [rax]
mov rbx, qword [rcx + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
lea ecx, [rdi + 2]
xor r9d, r9d
cmp ecx, 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, [0x140003a90]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [0x1400039e4]
lea rdx, [0x140003a9c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
mov r9, qword [rsp + 0x20]
lea r8, [0x140003a90]
mov edx, 0x104
lea rcx, [0x140006c50]
call fcn.140001080
lea r9, [0x140006c50]
lea r8, str._AsUserLaunch__CommandLine____s__r_n
mov edx, 0x208
lea rcx, [rbp - 0x70]
call fcn.140001080
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, r15d
inc rsi
inc edi
inc rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp edi, dword [rax]
jl 0x1400013d7
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.140002060
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret