Function at 0x14000e730
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 + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x3f], rax
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::ClearCounter
mov qword [rbp + 0xf], r8
lea rsi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationhddinf.h
mov qword [rbp + 0x17], rsi
mov dword [rbp + 0x1f], 0x347
lea r15, str.__HDDInf::ClearCounter_
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
mov dword [rbp + 7], edi
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], 0x34f
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 0x14000e85c
mov dword [rbp - 0x21], 0x350
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 0x14000e8c8
mov dword [rsp + 0x28], 4
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov qword [rbp - 0x29], rsi
mov dword [rbp - 0x21], 0x353
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 0x14000e8c6
mov dword [rbp - 0x21], 0x354
jmp 0x14000e833
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 0x14000e932
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 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret