Function at 0x140022e40
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rbp + reloc.mfc140u.dll_CHandleMap::CHandleMap], rax
mov r15, rdx
xor esi, esi
mov dword [rsp + 0x58], esi
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1a8], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b8], xmm0
mov dword [rbp + 0x1c8], esi
mov dword [rbp + 0x1b0], 0x1c
mov dword [rbp + 0x1b4], 0x17
lea r8, [rbp + 0x1b0]
lea edx, [rsi + 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
jne 0x140022f7c
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_6d59a92e139de7ea2a752b31014cd069___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______.0
mov qword [rbp + 0x1d0], rax
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x208], rax
lea rdx, str.3a87d601_eba4_45fc_9501_a2c0a64c152f
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
lea r8, [rbp + 0x1d0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlResources.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_Framework::Resources::GetStringWithVerification_Internal_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__class_std::function_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_______cdecl___void___const____ptr64_]
nop
mov rdx, qword [rax]
lea ecx, [rsi + 0x34]
call qword [sym.imp.CrlComponent.dll_int___cdecl_CrlComponent::MessageMgr::ShowConfirmation_unsigned_int__wchar_t_const____ptr64_]
mov edi, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, qword [rbp + 0x208]
test rcx, rcx
je 0x140022f65
mov r8, qword [rcx]
lea rax, [rbp + 0x1d0]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
cmp edi, 6
je 0x140022f9a
mov rdi, qword [rbp - 0x80]
mov r12, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x50]
jmp 0x1400231f8
mov ecx, dword [rbp + 0x1c0]
test ecx, ecx
je 0x140022f9a
add ecx, dword [rbp + 0x1c4]
cmp ecx, dword [rbp + 0x1bc]
mov r13d, 1
jl 0x140022f9d
mov r13d, esi
mov dword [rsp + 0x6c], r13d
mov r14d, dword [rbp + 0x1c4]
mov dword [rsp + 0x60], r14d
lea rdx, [rbp + 0x190]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetClientRect]
dec dword [rbp + 0x19c]
dec dword [rbp + 0x198]
movaps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp - 0x80], xmm0
lea r9, [rbp - 0x80]
mov r8, r15
lea rdx, [rbp - 0x68]
call fcn.140022d40
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x190], xmm0
mov eax, dword [rbp + 0x1c0]
mov dword [rsp + 0x68], eax
mov rcx, r15
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
test rax, rax
je 0x1400231d7
mov r8d, dword [rbp + 0x19c]
mov r9d, dword [rbp + 0x194]
movaps xmm0, xmmword [rbp + 0x190]
test r13d, r13d
je 0x140023082
movdqa xmmword [rbp + 0x1a0], xmm0
mov eax, dword [rbp + 0x1bc]
sub eax, r14d
cdq
mov r10d, dword [rsp + 0x68]
idiv r10d
mov r13d, eax
mov eax, r8d
sub eax, r9d
inc eax
mov ecx, r10d
sub ecx, edx
imul eax, ecx
cdq
idiv r10d
movq rcx, xmm0
shr rcx, 0x20
inc ecx
add eax, ecx
mov dword [rbp + 0x1a4], eax
mov rbx, qword [rbp + 0x1a8]
jmp 0x1400230a3
xor eax, eax
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x1c8], eax
lea r13d, [rax + 1]
mov ecx, r8d
sub ecx, r9d
inc ecx
mov eax, ecx
imul eax, r13d
shr rbx, 0x20
add eax, ebx
sub eax, dword [rbp + 0x1a4]
inc eax
cmp eax, 0x9c4
jge 0x1400230d2
mov r14d, dword [rbp + 0x1ac]
jmp 0x1400232de
mov eax, 0x9c4
cdq
idiv ecx
mov ebx, eax
mov eax, 0x9c4
mov dword [rsp + 0x70], eax
cmp dword [0x140067190], 0
je 0x1400232af
lea rdx, str.IDDH_SCROLLING_WARNING
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
xor r9d, r9d
lea r8, [rsp + 0x50]
lea edx, [r9 + 0xf]
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public:_void___cdecl_WCmnUI_Dialog::constructor_unsigned_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____ptr64__class_CWnd____ptr64____ptr64]
lea r14, vtable.CHelpDialog.1.0
mov qword [rbp - 0x50], r14
lea rax, vtable.CHelpDialog.0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x178], esi
mov qword [rbp + 0x170], rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, vtable.CScrollingWarning.0
mov qword [rbp - 0x50], rax
lea rax, vtable.CScrollingWarning.1.0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x180], 1
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public_virtual:_long_long___int64____cdecl_WCmnUI_Dialog::DoModal_void____ptr64]
mov edx, dword [0x140067190]
cmp dword [rbp + 0x180], 1
cmovne edx, dword [rbp + 0x180]
mov dword [0x140067190], edx
mov qword [rbp - 0x50], r14
mov rcx, qword [rbp + 0x170]
cmp rax, 1
lea rax, vtable.CHelpDialog.0
mov qword [rbp + 0xe0], rax
je 0x140023275
test rcx, rcx
je 0x1400231cd
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [rbp + 0x170], rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public_virtual:_void___cdecl_WCmnUI_Dialog::destructor_void____ptr64]
mov rbx, qword [rsp + 0x50]
cmp dword [rsp + 0x6c], 0
je 0x1400231f8
xor r9d, r9d
mov edx, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea r8d, [r9 + 8]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x14002321a
test rdi, rdi
je 0x14002321a
test rbx, rbx
je 0x140023228
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectPalette]
test rbx, rbx
je 0x140023228
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
test r12, r12
je 0x140023236
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, rsi
mov rcx, qword [rbp + reloc.mfc140u.dll_CHandleMap::CHandleMap]
xor rcx, rsp
call fcn.1400334c0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test rcx, rcx
je 0x14002328c
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [rbp + 0x170], rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public_virtual:_void___cdecl_WCmnUI_Dialog::destructor_void____ptr64]
mov r8d, dword [rbp + 0x19c]
mov r9d, dword [rbp + 0x194]
movaps xmm0, xmmword [rbp + 0x190]
mov eax, dword [rsp + 0x70]
cmp ebx, r13d
jge 0x1400232bc
movdqa xmmword [rbp + 0x1a0], xmm0
sub r8d, r9d
inc r8d
imul r8d, ebx
mov r14, qword [rbp + 0x1a0]
shr r14, 0x20
sub r14d, r8d
add r14d, 0x9c4
mov r13d, ebx
mov qword [rsp + 0x50], r14
mov edx, dword [rbp + 0x198]
sub edx, dword [rbp + 0x190]
inc edx
mov r8d, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rsi, rax
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400231d7
mov rdx, r15
call fcn.1400234b0
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140023341
mov r8d, 1
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectPalette]
mov qword [rbp - 0x80], rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x68], rax
test r13d, r13d
jle 0x14002343d
mov eax, dword [rsp + 0x60]
shl eax, 0x10
movsxd rbx, eax
mov eax, dword [rsp + 0x68]
inc eax
shl eax, 0x10
cdqe
mov esi, dword [rsp + 0x58]
mov r14, rax
nop word [rax + rax]
mov ecx, dword [rbp + 0x19c]
mov edx, dword [rbp + 0x194]
sub ecx, edx
inc ecx
mov r9d, dword [rbp + 0x198]
mov eax, dword [rbp + 0x190]
sub r9d, eax
inc r9d
mov r8d, ecx
imul r8d, esi
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
inc esi
add rbx, r14
mov r8, rbx
or r8, 4
xor r9d, r9d
mov edx, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_InvalidateRect]
xor r9d, r9d
mov r8, rdi
lea edx, [r9 + 0xf]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rbp + 0x1b0]
mov edx, 1
mov rcx, r15
call qword [sym.imp.USER32.dll_GetScrollInfo]
cmp esi, r13d
jl 0x140023380
mov dword [rsp + 0x58], esi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x70]
mov r14, qword [rsp + 0x50]
mov ecx, dword [rbp + 0x1a4]
sub r14d, ecx
lea edx, [r14 + 1]
test edx, edx
je 0x14002349c
mov r9d, dword [rbp + 0x1a8]
mov eax, dword [rbp + 0x1a0]
sub r9d, eax
inc r9d
mov r8d, dword [rbp + 0x19c]
sub r8d, dword [rbp + 0x194]
inc r8d
imul r8d, dword [rsp + 0x58]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edx
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rbp - 0x68]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1400231dc