Function at 0x171b4302c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x2d8]
sub rsp, 0x3d0
mov rax, qword [0x171b91788]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov edi, edx
mov dword [rbp - 0x20], 0x1f8
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x1c]
mov r8d, 0x1f4
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x3b8]
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3dc]
mov dword [rbp - 0x1c], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3c4]
mov dword [rbp + 0x1d4], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3c8]
mov dword [rbp - 0x10], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3cc]
mov dword [rbp - 0xc], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3d0]
mov dword [rbp + 0x54], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3d4]
mov dword [rbp + 0x58], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3d8]
mov dword [rbp + 0xb8], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3bc]
mov dword [rbp + 0xbc], eax
call fcn.171b4b5cc
mov ecx, dword [rbx + 0x3c0]
mov dword [rbp - 0x18], eax
call fcn.171b4b5cc
movups xmm0, xmmword [rbx]
mov dword [rbp - 0x14], eax
movups xmm1, xmmword [rbx + 0x10]
mov eax, dword [rbx + 0x58]
movups xmmword [rbp - 8], xmm0
mov dword [rbp + 0x50], eax
movups xmm0, xmmword [rbx + 0x20]
mov eax, dword [rbx + 0xb4]
movups xmmword [rbp + 8], xmm1
mov dword [rbp + 0xb4], eax
movups xmm1, xmmword [rbx + 0x30]
mov eax, dword [rbx + 0x110]
movups xmmword [rbp + 0x18], xmm0
mov dword [rbp + 0x118], eax
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rbp + 0x28], xmm1
movsd xmm1, qword [rbx + 0x50]
movups xmmword [rbp + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x5c]
movsd qword [rbp + 0x48], xmm1
movups xmm1, xmmword [rbx + 0x6c]
movups xmmword [rbp + 0x5c], xmm0
movups xmm0, xmmword [rbx + 0x7c]
movups xmmword [rbp + 0x6c], xmm1
movups xmm1, xmmword [rbx + 0x8c]
movups xmmword [rbp + 0x7c], xmm0
movups xmm0, xmmword [rbx + 0x9c]
movups xmmword [rbp + 0x8c], xmm1
movsd xmm1, qword [rbx + 0xac]
movups xmmword [rbp + 0x9c], xmm0
movups xmm0, xmmword [rbx + 0xb8]
movsd qword [rbp + 0xac], xmm1
movups xmm1, xmmword [rbx + 0xc8]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm0, xmmword [rbx + 0xd8]
movaps xmmword [rbp + 0xd0], xmm1
movups xmm1, xmmword [rbx + 0xe8]
movaps xmmword [rbp + 0xe0], xmm0
movups xmm0, xmmword [rbx + 0xf8]
movaps xmmword [rbp + 0xf0], xmm1
movsd xmm1, qword [rbx + 0x108]
movaps xmmword [rbp + 0x100], xmm0
movups xmm0, xmmword [rbx + 0x114]
movsd qword [rbp + 0x110], xmm1
movups xmmword [rbp + 0x11c], xmm0
movups xmm1, xmmword [rbx + 0x124]
mov eax, dword [rbx + 0x16c]
lea rcx, [rbp - 8]
movups xmm0, xmmword [rbx + 0x134]
mov dword [rbp + 0x174], eax
mov eax, dword [rbx + 0x1c8]
movups xmmword [rbp + 0x12c], xmm1
mov dword [rbp + 0x1d0], eax
movups xmm1, xmmword [rbx + 0x144]
movups xmmword [rbp + 0x13c], xmm0
movups xmm0, xmmword [rbx + 0x154]
movups xmmword [rbp + 0x14c], xmm1
movsd xmm1, qword [rbx + 0x164]
movups xmmword [rbp + 0x15c], xmm0
movups xmm0, xmmword [rbx + 0x170]
movsd qword [rbp + 0x16c], xmm1
movups xmm1, xmmword [rbx + 0x180]
movups xmmword [rbp + 0x178], xmm0
movups xmm0, xmmword [rbx + 0x190]
movups xmmword [rbp + 0x188], xmm1
movups xmm1, xmmword [rbx + 0x1a0]
movups xmmword [rbp + 0x198], xmm0
movups xmm0, xmmword [rbx + 0x1b0]
movups xmmword [rbp + 0x1a8], xmm1
movsd xmm1, qword [rbx + 0x1c0]
movsd qword [rbp + 0x1c8], xmm1
movups xmmword [rbp + 0x1b8], xmm0
call fcn.171b4b508
lea rcx, [rbp + 0x5c]
call fcn.171b4b508
lea rcx, [rbp + 0xc0]
call fcn.171b4b508
lea rcx, [rbp + 0x11c]
call fcn.171b4b508
lea rcx, [rbp + 0x178]
call fcn.171b4b508
xor r14d, r14d
lea rdx, [rsp + 0x60]
mov ecx, 0x20006
mov qword [rsp + 0x60], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenCurrentUser]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
lea rdx, str.Control_PanelDesktopWindowMetrics
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x58], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x171b433ba
lea r9d, [r14 + 3]
mov edx, 0x1f8
lea r8, [rbp - 0x20]
lea ecx, [rax + 0x2a]
call sym.UxTheme.dll_Ordinal_45
test eax, eax
je 0x171b433a9
call fcn.171b0ed58
mov rcx, qword [rsp + 0x58]
lea r9d, [r14 + 4]
mov dword [rsp + 0x50], eax
lea rdx, str.AppliedDPI
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
movups xmm0, xmmword [rbx + 0x1cc]
mov eax, dword [rbx + 0x224]
lea rcx, [rbp + 0x1e0]
movups xmm1, xmmword [rbx + 0x1dc]
mov dword [rbp + 0x238], eax
movaps xmmword [rbp + 0x1e0], xmm0
movups xmm0, xmmword [rbx + 0x1ec]
movaps xmmword [rbp + 0x1f0], xmm1
movups xmm1, xmmword [rbx + 0x1fc]
movaps xmmword [rbp + 0x200], xmm0
movups xmm0, xmmword [rbx + 0x20c]
movaps xmmword [rbp + 0x210], xmm1
movsd xmm1, qword [rbx + 0x21c]
movaps xmmword [rbp + 0x220], xmm0
movsd qword [rbp + 0x230], xmm1
call fcn.171b4b508
mov r9d, 3
lea r8, [rbp + 0x1e0]
lea edx, [r9 + 0x59]
lea ecx, [rdx - 0x3a]
call sym.UxTheme.dll_Ordinal_45
movsxd r8, dword [rbx + 0x3e0]
xor edx, edx
mov ecx, 0x1023
lea r9d, [rdx + 3]
call sym.UxTheme.dll_Ordinal_45
test dil, 0x40
je 0x171b43501
call fcn.171b098a0
test eax, eax
jne 0x171b43501
mov eax, r14d
lea rcx, [rbp + 0x240]
mov edi, 1
mov dword [rcx], eax
add eax, edi
lea rcx, [rcx + 4]
cmp eax, 0x1f
jl 0x171b4347e
lea r8, [rbx + 0x33c]
mov ecx, 0x1f
lea rdx, [rbp + 0x240]
call qword [sym.imp.USER32.dll_SetSysColors]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rbp - 0x60], r14
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov dword [rbp - 0x30], r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0x15
mov dword [rbp - 0x4c], edi
mov dword [rbp - 0x48], edi
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
call fcn.171b276d0
mov rcx, rbx
call fcn.171b42d4c
lea rcx, [rbp - 0x40]
call fcn.171b18220
lea rcx, [rsp + 0x60]
call fcn.171b08884
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.171b28ea0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret