Function at 0x14001b6e0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rbp - 0x49], 1
lea rdx, [0x14009d9a8]
cmp qword [0x14009d9c0], 8
cmovae rdx, qword [0x14009d9a8]
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ba06
lea rax, [rbp - 0x41]
mov qword [rbp - 1], rax
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
xor r8d, r8d
lea rdx, [0x140077e2c]
lea rcx, [rbp - 0x41]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
lea r8d, [r12 + 4]
lea rdx, str.GUID
lea rcx, [rbp - 0x69]
call fcn.14000fab0
nop
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x69]
mov rdx, qword [rbp + 7]
lea rcx, [rbp + 0xf]
call fcn.14001b520
mov rdx, rax
mov rcx, rdi
call fcn.14000ebb0
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x14001b803
inc r8
mov rdx, qword [rbp + 0xf]
call fcn.1400107d0
cmp qword [rdi + 0x10], 0
jne 0x14001ba06
lea rcx, [rbp + 0xf]
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov qword [rbp - 1], r12
lea rdx, [rbp - 1]
lea rcx, [rbp + 0xf]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x14001b92f
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
mov rdx, qword [rbp - 1]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001b850
lea rcx, [rbp - 0x69]
call fcn.14000fab0
lea rax, [rbp - 0x69]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x69]
mov r8, qword [rbp - 0x69]
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
cmovae rbx, r8
lea rcx, [rbp - 0x69]
cmovae rcx, r8
mov rax, qword [rbp - 0x59]
lea rax, [rcx + rax*2]
lea r14, [rbp - 0x69]
cmovae r14, r8
mov rsi, r12
mov r15, rax
sub r15, r14
inc r15
shr r15, 1
cmp r14, rax
cmova r15, r12
test r15, r15
je 0x14001b8da
sub r14, rbx
nop word [rax + rax]
movzx ecx, word [r14 + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov word [rbx], ax
lea rbx, [rbx + 2]
inc rsi
cmp rsi, r15
jne 0x14001b8c0
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x31], xmm1
mov dword [rbp - 0x49], 3
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.14000ebb0
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x14001b925
inc r8
mov rdx, qword [rbp - 0x41]
call fcn.1400107d0
lea rcx, [rbp - 1]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x21], rax
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x41], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x41]
call fcn.140010290
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
mov r8d, 4
lea rdx, str.GUID
lea rcx, [rbp - 0x69]
call fcn.14000fab0
nop
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rdx, qword [rbp - 0x69]
mov eax, dword [rbp - 0x31]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r8, qword [rbp - 0x51]
cmp r8, 8
jb 0x14001b9de
inc r8
mov rdx, qword [rbp - 0x69]
call fcn.1400107d0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x59], xmm0
mov word [rbp - 0x69], r12w
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x14001ba06
inc r8
mov rdx, qword [rbp - 0x41]
call fcn.1400107d0
mov rax, rdi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140062800
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret