Function at 0x14000a7e0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov dword [rbp - 0x21], ecx
mov dword [rbp - 0x19], edx
mov dword [rbp - 0x11], r8d
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.SyncTSSRegistry
mov qword [rbp - 9], r8
lea rsi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationupdatediskhealthstatus.cpp
mov qword [rbp - 1], rsi
mov dword [rbp + 7], 0x12f
lea r14, str.__SyncTSSRegistry_
mov qword [rbp + 0xf], r14
lea r15, [0x1402a214c]
mov qword [rbp + 0x17], r15
mov dword [rbp + 0x1f], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 1]
call fcn.140008d50
nop
mov qword [rbp - 0x29], 0
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREDynabookSystem_ModulesTSS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], 0x135
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x59]
call fcn.140008d50
test ebx, ebx
je 0x14000a911
mov ebx, 0x80004005
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], 0x136
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], 0
mov r8d, ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x59]
call fcn.140008d50
jmp 0x14000aa1b
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.dwDiskInfo
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], 0x13a
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x59]
call fcn.140008d50
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.LastStatus
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], 0x13e
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x59]
call fcn.140008d50
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x59], rsi
mov dword [rbp - 0x51], 0x142
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x39], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x59]
call fcn.140008d50
xor ebx, ebx
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14000aa32
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x29], 0
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
add rsp, 0xc0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret