Function at 0x14001600f
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x14003b8f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x4d8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x4a0], 0
jne 0x14003b965
jmp 0x14003bb63
cmp qword [rbp + 0x498], 0
jne 0x14003b97c
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x14003b987
mov rax, qword [rbp + 0x498]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x4a8], 0
jne 0x14003b99f
cmp dword [rbp + 0x490], 0
jne 0x14003b99f
jmp 0x14003bb63
mov edx, 0x208
lea rcx, [rbp + 0xd0]
call fcn.140016825
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0xa4], eax
lea rcx, [rbp + 0xa4]
call qword [sym.imp.ntdll.dll_RtlRandomEx]
mov dword [rbp + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
not eax
mov dword [rbp + 0xa4], eax
lea rcx, [rbp + 0xa4]
call qword [sym.imp.ntdll.dll_RtlRandomEx]
mov dword [rbp + 0x8c], eax
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0x88]
call fcn.1400166c2
nop
lea r8, [rbp + 0xd0]
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
test eax, eax
jne 0x14003bb1f
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14003bb06
cmp dword [rbp + 0x490], 0
je 0x14003ba84
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14003ba6f
mov dword [rbp + 0x464], 1
jmp 0x14003ba79
mov dword [rbp + 0x464], 0
mov eax, dword [rbp + 0x464]
mov dword [rbp + 4], eax
jmp 0x14003bae8
mov rcx, qword [rbp + 0x4a8]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x4a8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003bad5
mov dword [rbp + 0x464], 1
jmp 0x14003badf
mov dword [rbp + 0x464], 0
mov eax, dword [rbp + 0x464]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rbp + 0x28], 0
mov r8, qword [rbp + 0x68]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
nop
cmp dword [rbp + 4], 0
je 0x14003bb59
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x3e8
mov dword [rsp + 0x20], 1
mov r9, qword [rbp + 0x4a0]
xor r8d, r8d
mov edx, 0x1a
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
nop
xor eax, eax
test eax, eax
jne 0x14003b956
cmp qword [rbp + 0x28], 0
je 0x14003bb80
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140060570]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret