Function at 0x1400c2af0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
mov qword [rbp - 0x50], rcx
xor r13b, r13b
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 7
lea r8d, [rax + 0xd]
lea rdx, str.PCICC_010802
lea rcx, [rbp - 0x48]
call fcn.140018360
mov rbx, qword [r15 + 0x308]
mov r10, qword [rbx + 8]
mov esi, 0xffffffff
mov r12, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
mov r14, qword [rbp - 0x48]
cmp byte [r10 + 0x19], r13b
jne 0x1400c2c0a
cmp r12, 8
setae r15b
nop
lea r9, [r10 + 0x20]
lea rax, [rbp - 0x48]
test r15b, r15b
cmovne rax, r14
mov r11, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x1400c2b9d
mov r9, qword [r9]
mov rcx, r11
cmp rdi, r11
cmovb rcx, rdi
test rcx, rcx
je 0x1400c2c83
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400c2beb
sub r9, rax
cmp dx, r8w
ja 0x1400c2c79
cmp rcx, 1
je 0x1400c2c83
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400c2bc5
mov eax, esi
test eax, eax
js 0x1400c2c8c
mov rbx, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x1400c2b80
mov r15, qword [rbp - 0x50]
cmp byte [rbx + 0x19], 0
jne 0x1400c2ca2
lea rax, [rbx + 0x20]
mov r10, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400c2c26
mov rax, qword [rax]
lea r9, [rbp - 0x48]
cmp r12, 8
cmovae r9, r14
mov r8, rdi
cmp r10, rdi
cmovb r8, r10
test r8, r8
je 0x1400c2e97
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400c2c9a
sub r9, rax
cmp cx, dx
ja 0x1400c2c95
cmp r8, 1
je 0x1400c2e97
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400c2c57
jmp 0x1400c2c9a
mov eax, 1
jmp 0x1400c2bed
cmp r11, rdi
jae 0x1400c2bf5
mov r10, qword [r10 + 0x10]
jmp 0x1400c2bfb
mov esi, 1
test esi, esi
jns 0x1400c2ea0
xor edi, edi
mov ebx, edi
cmp r12, 8
jb 0x1400c2ce1
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400c2cd9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2eb2
mov rcx, r14
call fcn.1401a9460
test rbx, rbx
je 0x1400c2e66
mov r13b, 1
mov rcx, r15
call fcn.1400c2ed0
movzx ebx, al
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
mov r8d, 0x21
lea rdx, str.SOFTWAREATI_TechnologiesInstall
lea rcx, [rbp - 0x48]
call fcn.140018360
nop
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
mov r8d, 5
lea rdx, [0x14022f1b0]
lea rcx, [rbp - 0x28]
call fcn.140018360
nop
test bl, bl
je 0x1400c2d68
mov r8d, 4
lea rdx, [0x14022f1a0]
lea rcx, [rbp - 0x28]
call fcn.140018360
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c2dcf
mov eax, dword [rbp - 0x18]
add eax, eax
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.BootOnNVMe
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400c2e1a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2eb8
call fcn.1401a9460
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c2e66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2e61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c2eac
call fcn.1401a9460
movzx eax, r13b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp rdi, r10
jb 0x1400c2ca2
mov ebx, 1
xor edi, edi
jmp 0x1400c2ca6
call fcn.1401e37cc
int3
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
int3