Function at 0x14000d5a0
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 [0x14018a090]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0
jne 0x14000d5e2
xor al, al
jmp 0x14000d8a1
call fcn.14000d080
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.14000d190
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 0x14000d893
cmp qword [rsp + 0x50], r14
je 0x14000d893
mov qword [rsp + 0x68], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14001b490
lea rdx, str.long
lea rcx, str.string
call fcn.1401040e8
test eax, eax
je 0x14000d7ea
lea rdx, [0x14015c654]
lea rcx, str.string
call fcn.1401040e8
test eax, eax
je 0x14000d7ea
lea rdx, str.dword
lea rcx, str.string
call fcn.1401040e8
test eax, eax
je 0x14000d7ea
lea rdx, str.long_long
lea rcx, str.string
call fcn.1401040e8
test eax, eax
je 0x14000d775
lea rdx, str.qword
lea rcx, str.string
call fcn.1401040e8
test eax, eax
je 0x14000d775
mov qword [rbp - 0x78], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r14w
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.14001b490
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.140008e70
jmp 0x14000d882
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1400fc160
lea rcx, [rbp - 0x30]
call fcn.14000eda0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000d7a3
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400193f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d7cc
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140011540
nop
lea rcx, [rbp - 0x30]
call fcn.14000e680
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x58]
mov r9d, ntohl
jmp 0x14000d85d
mov dword [rsp + 0x58], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1400fc160
lea rcx, [rbp - 0x30]
call fcn.14000eda0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000d818
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400193f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14000d841
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400116e0
nop
lea rcx, [rbp - 0x30]
call fcn.14000e680
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.140008e70
jmp 0x14000d895
xor bl, bl
lea rcx, [rbp - 0x58]
call fcn.140008e70
movzx eax, bl
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret