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

Disassembly:
jmp 0x14003b0f0
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14007fb67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x4a0], 0
jne 0x14003b164
jmp 0x14003b35c
cmp qword [rbp + 0x498], 0
jne 0x14003b17b
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x14003b186
mov rax, qword [rbp + 0x498]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x4a8], 0
jne 0x14003b19e
cmp dword [rbp + 0x490], 0
jne 0x14003b19e
jmp 0x14003b35c
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 0x14003b319
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14003b301
cmp dword [rbp + 0x490], 0
je 0x14003b281
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14003b26c
mov dword [rbp + 0x464], 1
jmp 0x14003b276
mov dword [rbp + 0x464], 0
mov eax, dword [rbp + 0x464]
mov dword [rbp + 4], eax
jmp 0x14003b2e5
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 0x14003b2d2
mov dword [rbp + 0x464], 1
jmp 0x14003b2dc
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 0x14003b352
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 0x14003b155
cmp qword [rbp + 0x28], 0
je 0x14003b377
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, [0x140060b20]
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