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

Disassembly:
jmp 0x1400385f0
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, 0x2a8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2c8]
mov rax, qword [0x140070328]
xor rax, rbp
mov qword [rbp + 0x258], rax
lea rcx, [0x140079a23]
call fcn.140015b09
mov dword [rbp + 4], 0
mov dword [rbp + 0x44], 0xc0000001
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0x120], 0
cmp qword [rbp + 0x290], 0
jne 0x140038684
jmp 0x14003885e
cmp qword [rbp + 0x298], 0
jne 0x14003869c
cmp dword [rbp + 0x280], 0
jne 0x14003869c
jmp 0x14003885e
cmp qword [rbp + 0x288], 0
jne 0x1400386b3
lea rax, str.Environment
mov qword [rbp + 0x68], rax
jmp 0x1400386be
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x1400386d9
jmp 0x14003885e
mov dword [rbp + 4], 1
mov dword [rbp + 0xc8], 0x30
mov qword [rbp + 0xd0], 0
mov dword [rbp + 0xe0], 0x40
lea rax, [rbp + 0x118]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
lea r8, [rbp + 0xc8]
mov edx, 0x2000000
lea rcx, [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x14003874a
jmp 0x14003885e
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x148]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0x148]
mov qword [rbp + 0xd8], rax
lea r8, [rbp + 0xc8]
mov edx, 0x2000000
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x14003879e
jmp 0x14003885e
mov rdx, qword [rbp + 0x290]
lea rcx, [rbp + 0x178]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
cmp dword [rbp + 0x280], 0
je 0x1400387d4
lea rdx, [rbp + 0x178]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rbp + 0x44], eax
jmp 0x14003881b
mov rcx, qword [rbp + 0x298]
call fcn.14001528a
lea rax, [rax + rax + 2]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [rbp + 0x178]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtSetValueKey]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jl 0x140038854
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x3e8
mov dword [rsp + 0x20], 1
mov r9, qword [rbp + 0x290]
xor r8d, r8d
mov edx, 0x1a
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
xor eax, eax
test eax, eax
jne 0x140038675
cmp qword [rbp + 0xa8], 0
je 0x140038875
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rbp + 0x88], 0
je 0x14003888c
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp dword [rbp + 4], 0
je 0x14003889f
lea rcx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rbp + 0x44], 0
jl 0x1400388b1
mov dword [rbp + 0x254], 1
jmp 0x1400388bb
mov dword [rbp + 0x254], 0
mov eax, dword [rbp + 0x254]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.14001595b
mov eax, edi
mov rcx, qword [rbp + 0x258]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret