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

Disassembly:
jmp 0x14003af10
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 [0x140073348]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x4a0], 0
jne 0x14003af84
jmp 0x14003b17c
cmp qword [rbp + 0x498], 0
jne 0x14003af9b
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x14003afa6
mov rax, qword [rbp + 0x498]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x4a8], 0
jne 0x14003afbe
cmp dword [rbp + 0x490], 0
jne 0x14003afbe
jmp 0x14003b17c
mov edx, 0x208
lea rcx, [rbp + 0xd0]
call fcn.140016825
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
lea r8, [rbp + 0xd0]
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
test eax, eax
jne 0x14003b139
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14003b121
cmp dword [rbp + 0x490], 0
je 0x14003b0a1
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14003b08c
mov dword [rbp + 0x464], 1
jmp 0x14003b096
mov dword [rbp + 0x464], 0
mov eax, dword [rbp + 0x464]
mov dword [rbp + 4], eax
jmp 0x14003b105
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 0x14003b0f2
mov dword [rbp + 0x464], 1
jmp 0x14003b0fc
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]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x28], 0
mov r8, qword [rbp + 0x68]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
cmp dword [rbp + 4], 0
je 0x14003b172
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]
xor eax, eax
test eax, eax
jne 0x14003af75
cmp qword [rbp + 0x28], 0
je 0x14003b197
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005f3d0]
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