Function at 0x14000d6d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14000d712
xor al, al
jmp 0x14000d9d1
call fcn.14000d1b0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.14000d2c0
nop
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x60], r14d
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d9c3
cmp qword [rsp + 0x50], r14
je 0x14000d9c3
mov qword [rsp + 0x68], r14
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14001b5c0
lea rdx, str.long
lea rcx, str.string
call fcn.140103538
test eax, eax
je 0x14000d91a
lea rdx, [0x14015b61c]
lea rcx, str.string
call fcn.140103538
test eax, eax
je 0x14000d91a
lea rdx, str.dword
lea rcx, str.string
call fcn.140103538
test eax, eax
je 0x14000d91a
lea rdx, str.long_long
lea rcx, str.string
call fcn.140103538
test eax, eax
je 0x14000d8a5
lea rdx, str.qword
lea rcx, str.string
call fcn.140103538
test eax, eax
je 0x14000d8a5
mov qword [rbp - 0x78], r14
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r14w
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.14001b5c0
mov eax, dword [rbp - 0x68]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [r14 + 1]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.140008fe0
jmp 0x14000d9b2
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1400fb5b0
lea rcx, [rbp - 0x30]
call fcn.14000eed0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000d8d3
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140019520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d8fc
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140011670
nop
lea rcx, [rbp - 0x30]
call fcn.14000e7b0
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x58]
mov r9d, DosDateTimeToVariantTime
jmp 0x14000d98d
mov dword [rsp + 0x58], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1400fb5b0
lea rcx, [rbp - 0x30]
call fcn.14000eed0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000d948
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140019520
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d971
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140011810
nop
lea rcx, [rbp - 0x30]
call fcn.14000e7b0
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov r9d, 4
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test ebx, ebx
sete bl
lea rcx, [rsp + 0x68]
call fcn.140008fe0
jmp 0x14000d9c5
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.140008fe0
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400f89b0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret