Function at 0x1400175b0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
xor r14d, r14d
mov dword [rsp + 0x58], r14d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 0x1b0], xmm1
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, [rax + 1]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
jne 0x1400176ac
lea rdx, str.3a87d601_eba4_45fc_9501_a2c0a64c152f
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlResources.dll_public:_static_class_CrlPlatform::CrlStringT_wchar_t____cdecl_Framework::Resources::GetString_class_CrlPlatform::CrlStringT_wchar_t__const____ptr64_]
nop
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
lea ecx, [r14 + 0x34]
call qword [sym.imp.CrlComponent.dll_int___cdecl_CrlComponent::MessageMgr::ShowConfirmation_unsigned_int__wchar_t_const____ptr64_]
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
cmp ebx, 6
je 0x1400176ca
mov rdi, qword [rbp - 0x80]
mov r12, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x50]
jmp 0x14001791c
mov ecx, dword [rbp + 0x1c0]
test ecx, ecx
je 0x1400176ca
add ecx, dword [rbp + 0x1c4]
cmp ecx, dword [rbp + 0x1bc]
mov r13d, 1
jl 0x1400176cd
mov r13d, r14d
mov dword [rsp + 0x68], r13d
mov ebx, dword [rbp + 0x1c4]
mov dword [rsp + 0x78], ebx
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.1400174b0
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x190], xmm0
mov esi, dword [rbp + 0x1c0]
mov dword [rsp + 0x60], esi
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 0x1400178fb
mov r8d, dword [rbp + 0x19c]
mov r9d, dword [rbp + 0x194]
movaps xmm1, xmmword [rbp + 0x190]
test r13d, r13d
je 0x1400177a0
movdqa xmmword [rbp + 0x1a0], xmm1
mov eax, dword [rbp + 0x1bc]
sub eax, ebx
cdq
idiv esi
mov r13d, eax
mov eax, r8d
sub eax, r9d
inc eax
mov ecx, esi
sub ecx, edx
imul eax, ecx
cdq
idiv esi
movq rcx, xmm1
shr rcx, 0x20
inc ecx
add eax, ecx
mov dword [rbp + 0x1a4], eax
jmp 0x1400177bd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], rax
mov dword [rbp + 0x1c8], eax
lea r13d, [rax + 1]
mov r10d, r8d
sub r10d, r9d
inc r10d
mov ecx, r10d
imul ecx, r13d
mov rax, qword [rbp + 0x1a8]
shr rax, 0x20
add eax, ecx
sub eax, dword [rbp + 0x1a4]
inc eax
cmp eax, 0x9c4
jge 0x1400177f4
mov esi, dword [rbp + 0x1ac]
jmp 0x140017a01
mov eax, 0x9c4
cdq
idiv r10d
mov ebx, eax
mov eax, 0x9c4
mov dword [rsp + 0x70], eax
cmp dword [0x14005eea0], 0
je 0x1400179d3
lea rdx, str.IDDH_SCROLLING_WARNING
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
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_CrlPlatform::CrlStringT_wchar_t__const____ptr64__class_CWnd____ptr64____ptr64]
lea rsi, vtable.CHelpDialog.1.0
mov qword [rbp - 0x50], rsi
lea rax, vtable.CHelpDialog.0
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x178], r14d
mov qword [rbp + 0x170], r14
lea rcx, [rsp + 0x50]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
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 [0x14005eea0]
cmp dword [rbp + 0x180], 1
cmovne edx, dword [rbp + 0x180]
mov dword [0x14005eea0], edx
mov qword [rbp - 0x50], rsi
mov rcx, qword [rbp + 0x170]
cmp rax, 1
lea rax, vtable.CHelpDialog.0
mov qword [rbp + 0xe0], rax
je 0x140017999
test rcx, rcx
je 0x1400178f1
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 rbx, qword [rsp + 0x50]
cmp dword [rsp + 0x68], 0
je 0x14001791c
xor r9d, r9d
mov edx, 0x115
lea r8d, [r9 + 8]
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x14001793e
test rdi, rdi
je 0x14001793e
test rbx, rbx
je 0x14001794c
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectPalette]
test rbx, rbx
je 0x14001794c
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
test r12, r12
je 0x14001795a
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.140031b80
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
test rcx, rcx
je 0x1400179b0
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 xmm1, xmmword [rbp + 0x190]
mov eax, dword [rsp + 0x70]
cmp ebx, r13d
jge 0x1400179e0
movdqa xmmword [rbp + 0x1a0], xmm1
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 + 0x50], 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 - 0x70], rax
test rax, rax
je 0x1400178fb
mov rdx, r15
call fcn.140017bd0
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140017a64
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, r14
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x68], rax
test r13d, r13d
jle 0x140017b5f
mov eax, dword [rsp + 0x78]
shl eax, 0x10
movsxd rbx, eax
mov eax, dword [rsp + 0x60]
inc eax
shl eax, 0x10
cdqe
mov r14d, dword [rsp + 0x58]
mov rsi, 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, 0x115
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 0x140017aa0
mov dword [rsp + 0x58], r14d
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rbp - 0x70]
mov ecx, dword [rbp + 0x1a4]
sub esi, ecx
lea edx, [rsi + 1]
test edx, edx
je 0x140017bbc
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 0x140017900