Function at 0x1400168a0
Capabilities:
Capture screenshot

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x14005b010]
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
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], r14
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CPropertyPage::CPropertyPage]
nop
test r13b, 1
je 0x140016964
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 0x140016a84
test r13b, 2
je 0x1400169c4
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 0x140016a8b
cmp edx, r8d
je 0x140016a8b
mov dword [rsp + 0xdc], ecx
mov dword [rsp + 0xd4], eax
mov dword [rsp + 0xd0], edx
mov dword [rsp + 0xd8], r8d
jmp 0x140016a8b
cmp dword [0x14005dc2c], 7
jne 0x140016a02
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.140016ef0
mov r13d, dword [rsp + 0x170]
jmp 0x140016a8b
test rbx, rbx
je 0x140016a19
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.140019620
jmp 0x140016a6f
mov eax, dword [rsp + 0x180]
test eax, eax
je 0x140016a56
mov dword [rsp + 0xf0], eax
mov dword [rsp + 0xf4], r14d
lea r9, [rsp + 0xe0]
lea r8, [0x140016770]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
movups xmm0, xmmword [rsp + 0xe0]
jmp 0x140016a67
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 0x140016bba
jmp 0x140016e8e
test rdi, rdi
je 0x140016bc4
mov r12, rdi
jmp 0x140016bf3
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 0x140016c02
jmp 0x140016e80
mov rdx, rbx
call fcn.140017bd0
mov r15, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140016c3d
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 + 0x10c], ecx
mov ecx, dword [rsp + 0xd8]
sub ecx, dword [rsp + 0xd0]
inc ecx
mov dword [rsp + 0x108], ecx
mov ecx, dword [0x14005f0dc]
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.140001a70
mov rax, qword [rsp + 0xb0]
test rax, rax
jne 0x140016d85
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, [0x1400167e0]
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r13b, 4
je 0x140016d73
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.140016270
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
nop
jmp 0x140016e4c
lea rdi, [rax - 1]
test rdi, rdi
js 0x140016d3f
nop
test rdi, rdi
js 0x140016e2b
cmp rdi, rax
jge 0x140016e2b
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.140031bdc
sub rdi, 1
js 0x140016e21
mov rax, qword [rsp + 0xb0]
jmp 0x140016d90
mov rbx, qword [rsp + 0x50]
jmp 0x140016d3f
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 0x140016e72
test r14, r14
je 0x140016e72
test r15, r15
je 0x140016e80
mov r8d, 1
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectPalette]
test r15, r15
je 0x140016e80
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
test rsi, rsi
je 0x140016e8e
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.140031b80
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret