Function at 0x14000e170
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 [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
cmp qword [rcx + 0x10], r14
jne 0x14000e1b4
xor al, al
jmp 0x14000e479
call fcn.14000dcd0
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.14000dde0
nop
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x60], r14d
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova 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 0x14000e46b
cmp qword [rsp + 0x50], 0
je 0x14000e46b
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x14019b860]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r14w
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14001b670
lea rdx, str.long
lea rcx, str.string
call fcn.14012de50
test eax, eax
je 0x14000e3c2
lea rdx, [0x14019007c]
lea rcx, str.string
call fcn.14012de50
test eax, eax
je 0x14000e3c2
lea rdx, str.dword
lea rcx, str.string
call fcn.14012de50
test eax, eax
je 0x14000e3c2
lea rdx, str.long_long
lea rcx, str.string
call fcn.14012de50
test eax, eax
je 0x14000e34d
lea rdx, str.qword
lea rcx, str.string
call fcn.14012de50
test eax, eax
je 0x14000e34d
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x14019b860]
movdqu xmmword [rbp - 0x68], xmm1
mov word [rbp - 0x78], r14w
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.14001b670
mov eax, dword [rbp - 0x68]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rcx, qword [rbp - 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 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.140009810
jmp 0x14000e45a
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.140152f80
lea rcx, [rbp - 0x30]
call fcn.14000f850
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000e37b
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140015b50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000e3a4
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140011e90
nop
lea rcx, [rbp - 0x30]
call fcn.14000f150
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x58]
mov r9d, DosDateTimeToVariantTime
jmp 0x14000e435
mov dword [rsp + 0x58], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.140152f80
lea rcx, [rbp - 0x30]
call fcn.14000f850
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000e3f0
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140015b50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000e419
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400120c0
nop
lea rcx, [rbp - 0x30]
call fcn.14000f150
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov r9d, 4
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova 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.140009810
jmp 0x14000e46d
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.140009810
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1401219d0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret