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

Disassembly:
jmp 0x140038280
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x4a0], 0
jne 0x1400382f4
jmp 0x1400384ec
cmp qword [rbp + 0x498], 0
jne 0x14003830b
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x140038316
mov rax, qword [rbp + 0x498]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x4a8], 0
jne 0x14003832e
cmp dword [rbp + 0x490], 0
jne 0x14003832e
jmp 0x1400384ec
mov edx, 0x208
lea rcx, [rbp + 0xd0]
call fcn.1400157e4
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.140015686
lea r8, [rbp + 0xd0]
mov rdx, qword [rbp + 0x68]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegRenameKey]
test eax, eax
jne 0x1400384a9
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xd0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140038491
cmp dword [rbp + 0x490], 0
je 0x140038411
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400383fc
mov dword [rbp + 0x464], 1
jmp 0x140038406
mov dword [rbp + 0x464], 0
mov eax, dword [rbp + 0x464]
mov dword [rbp + 4], eax
jmp 0x140038475
mov rcx, qword [rbp + 0x4a8]
call fcn.14001528a
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 0x140038462
mov dword [rbp + 0x464], 1
jmp 0x14003846c
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 0x1400384e2
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 0x1400382e5
cmp qword [rbp + 0x28], 0
je 0x140038507
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, [0x14005cc00]
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret