Function at 0x14000dc20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x130], rax
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 6]
lea rcx, [rbp + 0xc0]
call fcn.14001efd0
mov rcx, rax
call fcn.14001bc40
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140006030
nop
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rbp + 0x110]
call fcn.14001d5a0
lea rcx, [rbp + 0x110]
call fcn.140005f40
lea r8, [rbp + 0x100]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14000dd08
mov byte [rbp + 7], 0
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 7]
jmp 0x14000e024
mov byte [rbp + 0x108], 1
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 8]
movzx r8d, byte [rbp + 9]
movzx edx, byte [rbp + 0xa]
lea rcx, [rbp + 0x70]
call fcn.14001f080
mov rcx, rax
call fcn.14001b8a0
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14000ddba
mov byte [rbp + 0xc], 0
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 0xc]
jmp 0x14000e024
mov byte [rbp + 0x109], 3
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xd]
movzx r8d, byte [rbp + 0xe]
movzx edx, byte [rbp + 0xf]
lea rcx, [rbp + 0x80]
call fcn.14001f0d0
mov rcx, rax
call fcn.14001b8a0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x40], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x109]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14000de6f
mov byte [rbp + 0x11], 0
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 0x11]
jmp 0x14000e024
mov byte [rbp + 0x10a], 3
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x12]
movzx r8d, byte [rbp + 0x13]
movzx edx, byte [rbp + 0x14]
lea rcx, [rbp + 0x90]
call fcn.14001f120
mov rcx, rax
call fcn.14001b8a0
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x50], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x10a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14000df24
mov byte [rbp + 0x15], 0
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 0x15]
jmp 0x14000e024
mov rcx, qword [rsp + 0x1b0]
call fcn.14001d210
mov dword [rbp + 0x20], eax
mov rcx, qword [rsp + 0x1b0]
call fcn.140005f40
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x16]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x17]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x16]
movzx r8d, byte [rbp + 0x17]
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0xa0]
call fcn.14001f170
mov rcx, rax
call fcn.14001b8a0
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x14000dfec
mov byte [rbp + 0xb], 0
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 0xb]
jmp 0x14000e024
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000e006
mov dword [rbp + 0x1c], 1
jmp 0x14000e00d
mov dword [rbp + 0x1c], 0
movzx eax, byte [rbp + 0x1c]
mov byte [rbp + 0x10], al
lea rcx, [rbp + 0x110]
call fcn.140006000
movzx eax, byte [rbp + 0x10]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400220c0
add rsp, 0x198
pop rdi
pop rbp
ret