Function at 0x1401093b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x140467300]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rdi, r9
mov rbp, r8
mov rbx, rcx
lea rcx, [rsp + 0x58]
call fcn.1400ff560
cmp qword [rax + 0x18], 8
jb 0x1401093ed
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 0x14010946a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109465
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109465
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e9f4
test ebx, ebx
jne 0x14010960c
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.1400ff560
nop
cmp qword [rax + 0x18], 8
jb 0x14010948d
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.1400ff560
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1401094b7
mov rbx, qword [rax]
mov rdx, rbp
lea rcx, [rsp + 0x78]
call fcn.1400ff560
cmp qword [rax + 0x18], 8
jb 0x1401094ce
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 0x14010953b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e9f4
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14010959a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140109595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140109595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e9f4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rsp + 0xb0]
cmp rdx, 8
jb 0x1401095f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401095f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401095f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e9f4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14010960c
mov al, 1
jmp 0x14010960e
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14010eb10
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret