Function at 0x14010f310
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, r9
mov rbp, r8
mov rbx, rcx
lea rcx, [rsp + 0x58]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14010f34d
mov rax, qword [rax]
xor r14d, r14d
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14010f3ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f3c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f3c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
test ebx, ebx
jne 0x14010f56c
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.140106110
nop
cmp qword [rax + 0x18], 8
jb 0x14010f3ed
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [rax*2 + 2]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140106110
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x14010f417
mov rbx, qword [rax]
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x14010f42e
mov rax, qword [rax]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x14010f49b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f496
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f496
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14010f4fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f4f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f4f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rsp + 0xb0]
cmp rdx, 8
jb 0x14010f559
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010f554
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010f554
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14010f56c
mov al, 1
jmp 0x14010f56e
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140115700
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret