Function at 0x1400c31c0
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 [0x1402bf5c8]
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 0x1400c32da
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 0x1400c326d
mov r9, qword [r9]
mov rcx, r11
cmp rdi, r11
cmovb rcx, rdi
test rcx, rcx
je 0x1400c3353
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400c32bb
sub r9, rax
cmp dx, r8w
ja 0x1400c3349
cmp rcx, 1
je 0x1400c3353
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400c3295
mov eax, esi
test eax, eax
js 0x1400c335c
mov rbx, r10
mov r10, qword [r10]
cmp byte [r10 + 0x19], 0
je 0x1400c3250
mov r15, qword [rbp - 0x50]
cmp byte [rbx + 0x19], 0
jne 0x1400c3372
lea rax, [rbx + 0x20]
mov r10, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400c32f6
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 0x1400c3567
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x1400c336a
sub r9, rax
cmp cx, dx
ja 0x1400c3365
cmp r8, 1
je 0x1400c3567
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400c3327
jmp 0x1400c336a
mov eax, 1
jmp 0x1400c32bd
cmp r11, rdi
jae 0x1400c32c5
mov r10, qword [r10 + 0x10]
jmp 0x1400c32cb
mov esi, 1
test esi, esi
jns 0x1400c3570
xor edi, edi
mov ebx, edi
cmp r12, 8
jb 0x1400c33b1
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400c33a9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3582
mov rcx, r14
call fcn.1401a9a50
test rbx, rbx
je 0x1400c3536
mov r13b, 1
mov rcx, r15
call fcn.1400c35a0
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, [0x1402301b0]
lea rcx, [rbp - 0x28]
call fcn.140018360
nop
test bl, bl
je 0x1400c3438
mov r8d, 4
lea rdx, [0x1402301a0]
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 0x1400c349f
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 0x1400c34ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c34e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c3588
call fcn.1401a9a50
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c3536
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c357c
call fcn.1401a9a50
movzx eax, r13b
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401a9a30
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 0x1400c3372
mov ebx, 1
xor edi, edi
jmp 0x1400c3376
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
int3