Function at 0x1400039d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140050f70]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor ebp, ebp
mov word [rsp + 0x80], bp
xor edx, edx
mov r8d, 0x1fe
lea rcx, [r11 - 0x216]
call fcn.140023170
lea rdi, [rsp + 0x80]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
sub rdi, 2
lea rsi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDSP_
mov ecx, 0x39
rep movsw word [rdi], word [rsi]
lea rdi, [rsp + 0x80]
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x14003fef4]
mov dword [rdi - 2], eax
lea rdi, [rsp + 0x80]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, word [rbx + rdx]
mov word [rdi + rdx - 2], ax
add rdx, 2
test ax, ax
jne 0x140003a80
lea rdi, [rsp + 0x80]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x14003fef8]
mov dword [rdi - 2], eax
mov rdi, rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
mov qword [rsp + 0x50], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003b39
mov dword [rsp + 0x68], ebp
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebp
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.TIMELEFT
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x58]
jmp 0x140003b9e
mov qword [rsp + 0x70], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140003b94
mov dword [rsp + 0x68], ebp
mov rdi, qword [rsp + 0x70]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebp
mov edx, dword [0x1400577e4]
mov dword [rsp + 0x58], edx
test edx, edx
jne 0x140003bd7
test rdi, rdi
je 0x140003bb8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
test rdi, rdi
je 0x140003bcf
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
xor eax, eax
jmp 0x140003c42
dec edx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.TIMELEFT
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x140003c22
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
test rdi, rdi
je 0x140003c39
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebp
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14001fb20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret