Function at 0x140022280
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [r11 - 0x90], 0xfffffffffffffffe
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, r9
mov r13d, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rcx
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov r12d, r14d
mov qword [rsp + 0x70], r14
xor eax, eax
mov qword [r11 - 0x88], rax
mov qword [r11 - 0x80], rax
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
lea rcx, [r11 - 0xb8]
call qword [sym.imp.mfc140u.dll_CPropertyPage::CPropertyPage]
nop
test r13b, 1
je 0x140022352
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
dec dword [rsp + 0xdc]
jmp 0x140022472
test r13b, 2
je 0x1400223b2
mov rax, qword [rsi]
movups xmm0, xmmword [rax + 0x270]
movq rdx, xmm0
mov rax, rdx
shr rax, 0x20
psrldq xmm0, 8
movq r8, xmm0
mov rcx, r8
shr rcx, 0x20
cmp eax, ecx
je 0x140022479
cmp edx, r8d
je 0x140022479
mov dword [rsp + 0xdc], ecx
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0xd0], edx
mov dword [rsp + 0xd8], r8d
jmp 0x140022479
cmp dword [0x140065f1c], 7
jne 0x1400223f0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x170]
mov rdx, rbx
mov rcx, rsi
call fcn.1400228e0
mov r13d, dword [rsp + 0x170]
jmp 0x140022479
test rbx, rbx
je 0x140022407
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.140024d30
jmp 0x14002245d
mov eax, dword [rsp + 0x180]
test eax, eax
je 0x140022444
mov dword [rsp + 0xf0], eax
mov dword [rsp + 0xf4], r14d
lea r9, [rsp + 0xe0]
lea r8, [0x140022150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
movups xmm0, xmmword [rsp + 0xe0]
jmp 0x140022455
lea rcx, [rsp + 0x100]
call qword [sym.imp.WindowPainter.dll_class_CRect___cdecl_GetVirtualScreenRect_void_]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0xd8]
shr rax, 0x20
dec eax
mov dword [rsp + 0xdc], eax
dec dword [rsp + 0xd8]
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0xe0]
call qword [sym.imp.WindowPainter.dll_class_CRect___cdecl_GetVirtualScreenRect_void_]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x100], xmm0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x6c], eax
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x54], eax
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x6c], eax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xd0], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1400225a8
jmp 0x14002287e
test rdi, rdi
je 0x1400225b2
mov r12, rdi
jmp 0x1400225e1
mov r8d, dword [rsp + 0xdc]
sub r8d, dword [rsp + 0xd4]
inc r8d
mov edx, dword [rsp + 0xd8]
sub edx, dword [rsp + 0xd0]
inc edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov qword [rsp + 0x70], r12
test r12, r12
jne 0x1400225f0
jmp 0x140022870
mov rdx, rbx
call fcn.1400234b0
mov r15, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14002262b
mov r8d, 1
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectPalette]
mov qword [rsp + 0x90], rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x68], rdi
lea rax, vtable.CBrush.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x100], rdi
mov ecx, dword [rsp + 0xdc]
sub ecx, dword [rsp + 0xd4]
inc ecx
mov dword [rsp + reloc.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::CSimpleStringT_wchar_t_1_], ecx
mov ecx, dword [rsp + 0xd8]
sub ecx, dword [rsp + 0xd0]
inc ecx
mov dword [rsp + 0x108], ecx
mov ecx, dword [0x1400673cc]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CRecordset::AppendFilterAndSortSQL]
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x100]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
nop
lea rax, vtable.CBrush.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.14000c880
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140022773
mov qword [rsp + 0xe0], rsi
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0xe8], xmm0
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0xfc], edi
lea r9, [rsp + 0xe0]
lea r8, [0x1400221c0]
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13b, 4
je 0x140022761
mov eax, r13d
and eax, 2
and r13d, 1
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9d, r13d
mov r8, rsi
mov rcx, qword [rsp + 0x98]
call fcn.140021ca0
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
nop
jmp 0x14002283c
lea rdi, [rax - 1]
test rdi, rdi
js 0x14002272d
nop dword [rax]
test rdi, rdi
js 0x14002281b
cmp rdi, rax
jge 0x14002281b
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rax + rdi*8]
mov eax, dword [rbx + 4]
mov r10d, dword [rbx]
mov r11d, dword [rbx + 0xc]
sub r11d, eax
inc r11d
mov r9d, dword [rbx + 8]
sub r9d, r10d
inc r9d
mov r8d, eax
sub r8d, dword [rsp + 0xd4]
mov edx, r10d
sub edx, dword [rsp + 0xd0]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, 0x10
mov rcx, rbx
call fcn.1400334e4
sub rdi, 1
js 0x140022811
mov rax, qword [rsp + 0xb0]
jmp 0x140022780
mov rbx, qword [rsp + 0x50]
jmp 0x14002272d
call qword [sym.imp.mfc140u.dll_AfxRegDeleteKey]
nop
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x140022862
test r14, r14
je 0x140022862
test r15, r15
je 0x140022870
mov r8d, 1
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectPalette]
test r15, r15
je 0x140022870
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
test rsi, rsi
je 0x14002287e
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor edx, edx
lea r8, [rdx - 1]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonConstructor::SetIcon]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_COleUpdateDialog::COleUpdateDialog]
mov rax, r12
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400334c0
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret