Function at 0x14000e990
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp + 7], edx
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rax
lea r8, str.HDDInf::SaveCurrentStatus
mov qword [rbp + 0xf], r8
lea rsi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationhddinf.h
mov qword [rbp + 0x17], rsi
mov dword [rbp + 0x1f], 0x35e
lea r15, str.__HDDInf::SaveCurrentStatus_
mov qword [rbp + 0x27], r15
lea r14, [0x1402a214c]
mov qword [rbp + 0x2f], r14
mov dword [rbp + 0x37], 3
lea rdx, str.ENTER__s
lea rcx, [rbp + 0x17]
call fcn.140008d50
nop
xor edi, edi
mov qword [rbp - 0x31], rdi
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREDynabookSystem_ModulesDSS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x21], 0x365
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r14
mov dword [rbp - 9], 3
mov r8d, eax
lea rdx, str.lReturn__0x_08x
lea rcx, [rbp - 0x29]
call fcn.140008d50
test ebx, ebx
je 0x14000eabc
mov dword [rbp - 0x21], 0x366
mov qword [rbp - 0x29], rsi
mov ebx, 0x80004005
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r14
mov dword [rbp - 9], edi
mov r8d, ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x29]
call fcn.140008d50
jmp 0x14000eb28
mov dword [rsp + 0x28], 4
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LastStatus
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x21], 0x369
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r14
mov dword [rbp - 9], 3
mov r8d, eax
lea rdx, str.lReturn__0x_08x
lea rcx, [rbp - 0x29]
call fcn.140008d50
test ebx, ebx
je 0x14000eb26
mov dword [rbp - 0x21], 0x36a
jmp 0x14000ea93
mov ebx, edi
mov rdi, qword [rbp - 0x31]
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
lea r8, str.HDDInf::SafeCloseRegKey
mov qword [rbp - 0x29], r8
mov qword [rbp - 0x21], rsi
mov dword [rbp - 0x19], 0x3b3
lea rax, str.__HDDInf::SafeCloseRegKey_
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], r14
mov dword [rbp - 1], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x21]
call fcn.140008d50
nop
test rdi, rdi
je 0x14000eb92
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rbp - 0x29]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x21]
call fcn.140008d50
nop
mov r8, qword [rbp + 0xf]
lea rdx, str.LEAVE__s
lea rcx, [rbp + 0x17]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret