Function at 0x140035bd0
Capabilities:
Capture screenshot

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
xor ebx, ebx
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1a8], rbx
xor eax, eax
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x1c8], eax
mov dword [rbp + 0x1b0], 0x1c
mov dword [rbp + 0x1b4], 0x17
lea r8, [rbp + 0x1b0]
lea edx, [rbx + 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
jne 0x140035ca2
mov ecx, 0x7062
call qword [sym.imp.CrlUtl.dll_wchar_t____ptr64___cdecl_UTLLoadString_unsigned_int_]
mov rdx, rax
lea ecx, [rbx + 0x34]
call qword [sym.imp.CrlComponent.dll_int___cdecl_CrlComponent::MessageMgr::ShowConfirmation_unsigned_int__wchar_t_const____ptr64_]
cmp eax, 6
je 0x140035cc0
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
jmp 0x14003612b
mov ecx, dword [rbp + 0x1c0]
test ecx, ecx
je 0x140035cc0
add ecx, dword [rbp + 0x1c4]
cmp ecx, dword [rbp + 0x1bc]
mov r13d, 1
jl 0x140035cc3
mov r13d, r14d
mov dword [rsp + 0x64], r13d
mov esi, dword [rbp + 0x1c4]
mov dword [rsp + 0x58], esi
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 [rsp + 0x70], xmm0
lea r9, [rsp + 0x70]
mov r8, r15
lea rdx, [rbp - 0x70]
call fcn.140035ad0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x190], xmm0
mov eax, dword [rbp + 0x1c0]
mov dword [rsp + 0x60], 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 0x14003610a
mov r8d, dword [rbp + 0x19c]
mov r9d, dword [rbp + 0x194]
movaps xmm0, xmmword [rbp + 0x190]
test r13d, r13d
je 0x140035da7
movdqa xmmword [rbp + 0x1a0], xmm0
mov eax, dword [rbp + 0x1bc]
sub eax, esi
cdq
mov r10d, dword [rsp + 0x60]
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 0x140035dc8
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 0x140035df6
mov esi, dword [rbp + 0x1ac]
jmp 0x140035f3a
mov eax, 0x9c4
cdq
idiv ecx
mov ebx, eax
mov eax, 0x9c4
mov dword [rsp + 0x68], eax
cmp dword [0x14007eec0], r14d
je 0x140035f0c
xor r8d, r8d
lea edx, [r8 + 0xf]
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public:_void___cdecl_WCmnUI_Dialog::constructor_unsigned_int__class_CWnd____ptr64____ptr64]
mov dword [rbp + 0x178], r14d
mov dword [rbp + 0x168], 0xf
mov qword [rbp + 0x170], r14
lea rax, vtable.CScrollingWarning.1.0
mov qword [rbp - 0x50], rax
lea rax, vtable.CScrollingWarning.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 [0x14007eec0]
cmp dword [rbp + 0x180], 1
cmovne edx, dword [rbp + 0x180]
mov dword [0x14007eec0], edx
mov rcx, qword [rbp + 0x170]
cmp rax, 1
lea rax, vtable.CHelpDialog.1.0
mov qword [rbp - 0x50], rax
lea rax, vtable.CHelpDialog.0
mov qword [rbp + 0xe0], rax
je 0x140035ed2
test rcx, rcx
je 0x140035ec3
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [rbp + 0x170], r14
lea rcx, [rbp - 0x50]
call qword [sym.imp.CrlCtl.dll_public_virtual:_void___cdecl_WCmnUI_Dialog::destructor_void____ptr64]
jmp 0x14003610a
test rcx, rcx
je 0x140035ee9
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [rbp + 0x170], r14
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 + 0x68]
cmp ebx, r13d
jge 0x140035f19
movdqa xmmword [rbp + 0x1a0], xmm0
sub r8d, r9d
inc r8d
imul r8d, ebx
mov rsi, qword [rbp + 0x1a0]
shr rsi, 0x20
sub esi, r8d
add esi, 0x9c4
mov r13d, ebx
mov qword [rsp + 0x68], rsi
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 r14, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14003610a
mov rdx, r15
call fcn.1400361b0
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x140035f9d
mov r8d, 1
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectPalette]
mov qword [rsp + 0x70], rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x70], rax
test r13d, r13d
jle 0x14003609e
mov eax, dword [rsp + 0x58]
shl eax, 0x10
movsxd rbx, eax
mov eax, dword [rsp + 0x60]
inc eax
shl eax, 0x10
cdqe
mov r14d, dword [rsp + 0x50]
mov rsi, rax
nop dword [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, r14d
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 r14d
add rbx, rsi
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 r14d, r13d
jl 0x140035fe0
mov dword [rsp + 0x50], r14d
mov rbx, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x78]
mov ecx, dword [rbp + 0x1a4]
sub esi, ecx
lea edx, [rsi + 1]
test edx, edx
je 0x1400360fb
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 + 0x50]
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 - 0x70]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
jmp 0x14003610f
mov rbx, qword [rsp + 0x58]
cmp dword [rsp + 0x64], 0
je 0x14003612b
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 [rsp + 0x70]
test rdx, rdx
je 0x14003614e
test rdi, rdi
je 0x14003614e
test rbx, rbx
je 0x14003615c
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectPalette]
test rbx, rbx
je 0x14003615c
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
test r12, r12
je 0x14003616a
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, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140047b30
lea r11, [rsp + 0x2e0]
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