Function at 0x14000ebf0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
lea r8, str.HDDInf::GetValidStatusInPreviousData
mov qword [rbp - 9], r8
lea rsi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationhddinf.h
mov qword [rbp - 1], rsi
mov dword [rbp + 7], 0x374
lea r12, str.__HDDInf::GetValidStatusInPreviousData_
mov qword [rbp + 0xf], r12
lea r14, [0x1402a214c]
mov qword [rbp + 0x17], r14
mov dword [rbp + 0x1f], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 1]
call fcn.140008d50
nop
xor r15d, r15d
mov qword [rbp - 0x51], r15
mov dword [rbp - 0x49], r15d
mov dword [rbp - 0x11], 4
lea rax, [rbp - 0x51]
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 - 0x41], rsi
mov dword [rbp - 0x39], 0x37e
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], 3
mov r8d, eax
lea rdx, str.lReturn__0x_08x
lea rcx, [rbp - 0x41]
call fcn.140008d50
test ebx, ebx
je 0x14000ed2b
mov dword [rbp - 0x39], 0x37f
mov ebx, 0x80004005
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], r15d
mov r8d, ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x41]
call fcn.140008d50
jmp 0x14000ee63
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x49]
lea r8, str.Counter
mov rdx, qword [rbp - 0x51]
call fcn.14000ef20
mov ebx, eax
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x39], 0x382
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], 3
mov r9d, dword [rbp - 0x49]
mov r8d, eax
lea rdx, str.hr__0x_08x__dwCounterVal___d
lea rcx, [rbp - 0x41]
call fcn.140008d50
test ebx, ebx
jns 0x14000ed8b
mov dword [rbp - 0x39], 0x383
jmp 0x14000ed03
mov eax, dword [rbp - 0x49]
cmp eax, 9
jne 0x14000ed9f
mov dword [rbp - 0x49], r15d
mov dword [rdi], 0xffffffff
jmp 0x14000edf2
jae 0x14000edf2
inc eax
mov dword [rbp - 0x49], eax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str.LastStatus
mov rdx, qword [rbp - 0x51]
call fcn.14000ef20
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x39], 0x38f
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], 3
mov r9d, dword [rdi]
mov r8d, eax
lea rdx, str.hr__0x_08x__dwValidPreviousStatus___d
lea rcx, [rbp - 0x41]
call fcn.140008d50
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov qword [rbp - 0x41], rsi
mov dword [rbp - 0x39], 0x393
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], r14
mov dword [rbp - 0x21], 3
mov r9d, dword [rbp - 0x49]
mov r8d, eax
lea rdx, str.lReturn__0x_08x__dwCounterVal___d
lea rcx, [rbp - 0x41]
call fcn.140008d50
test ebx, ebx
je 0x14000ee60
mov dword [rbp - 0x39], 0x394
jmp 0x14000ecfe
mov ebx, r15d
mov rdi, qword [rbp - 0x51]
xor eax, eax
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea r8, str.HDDInf::SafeCloseRegKey
mov qword [rbp - 0x41], r8
mov qword [rbp - 0x39], rsi
mov dword [rbp - 0x31], 0x3b3
lea rax, str.__HDDInf::SafeCloseRegKey_
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], r14
mov dword [rbp - 0x19], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x39]
call fcn.140008d50
nop
test rdi, rdi
je 0x14000eecd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rbp - 0x41]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x39]
call fcn.140008d50
nop
mov r8, qword [rbp - 9]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 1]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret