Function at 0x14000331c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x780]
sub rsp, 0x880
xor r14d, r14d
lea rax, [rbp + 0x7a0]
mov qword [rsp + 0x40], r14
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
mov qword [rsp + 0x38], rax
mov rdi, r8
mov qword [rsp + 0x30], r14
mov rsi, rcx
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
or rbx, 0xffffffffffffffff
test eax, eax
jne 0x140003413
mov r8d, 0x7ff
lea rdx, [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movzx eax, word [0x14002d860]
lea rcx, [rsp + 0x50]
movups xmm0, xmmword [str._GDIDPISCALING_DPIUNAWARE]
mov word [rsp + 0x68], ax
mov al, byte [0x14002d862]
movsd xmm1, qword [0x14002d858]
mov byte [rsp + 0x6a], al
mov rax, rbx
movups xmmword [rsp + 0x50], xmm0
movsd qword [rsp + 0x60], xmm1
inc rax
cmp byte [rcx + rax], r14b
jne 0x1400033d5
mov rcx, qword [rbp + 0x7a0]
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x28], eax
mov r9d, 1
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rbx
cmp word [rdi + rbx*2], r14w
jne 0x140003413
test rbx, rbx
je 0x140003436
mov rcx, rdi
call fcn.140011090
imul ecx, eax, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2e8
call fcn.14000bc68
mov rcx, rax
call fcn.140005838
mov ecx, 0x120
mov qword [0x140033e70], rax
call fcn.14000bc68
mov rcx, rax
call fcn.140006624
lea r9, [0x140004564]
mov qword [0x140033e60], rax
xor r8d, r8d
mov qword [0x140033e58], rsi
mov edx, 0x81
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamA]
test rax, rax
je 0x140003547
mov edi, 0x6b
mov rcx, rsi
mov edx, edi
call qword [sym.imp.USER32.dll_LoadIconA]
mov rcx, qword [0x140033e80]
lea ebx, [rdi + 0x15]
mov r9, rax
lea r8d, [rdi - 0x6a]
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea r9d, [rdi - 0x5b]
mov dword [rsp + 0x28], r14d
mov rcx, rax
mov dword [rsp + 0x20], r9d
lea r8d, [rdi - 0x6a]
mov edx, edi
call qword [sym.imp.USER32.dll_LoadImageA]
mov rcx, qword [0x140033e80]
xor r8d, r8d
mov r9, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [0x140033e70]
mov ecx, dword [rax + 0x14]
neg ecx
mov rcx, qword [0x140033e80]
sbb edx, edx
not edx
and edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140003530
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x14000351a
mov rbx, qword [0x140033e60]
test rbx, rbx
je 0x140003568
mov rcx, rbx
call fcn.140006754
mov edx, 0x120
mov rcx, rbx
call fcn.14000bc60
mov rbx, qword [0x140033e70]
test rbx, rbx
je 0x140003589
mov rcx, rbx
call fcn.140005b60
mov edx, 0x2e8
mov rcx, rbx
call fcn.14000bc60
lea r11, [rsp + 0x880]
xor eax, eax
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret