Function at 0x14000a330
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x21], 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 + 0x37], rax
xor eax, eax
mov qword [rbp + 7], rax
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
lea r8, str.InitDSSRegistry
mov qword [rbp + 7], r8
lea rdi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationupdatediskhealthstatus.cpp
mov qword [rbp + 0xf], rdi
mov dword [rbp + 0x17], 0xdd
lea rsi, str.__InitDSSRegistry_
mov qword [rbp + 0x1f], rsi
lea r14, [0x1402a214c]
mov qword [rbp + 0x27], r14
mov dword [rbp + 0x2f], 3
lea rdx, str.ENTER__s
lea rcx, [rbp + 0xf]
call fcn.140008d50
nop
mov dword [rbp - 0x11], 0xffffffff
xor r15d, r15d
mov dword [rbp - 0xd], r15d
mov dword [rbp - 9], r15d
mov qword [rbp - 0x19], r15
mov dword [rbp + 3], r15d
mov dword [rbp - 1], 4
mov dword [rbp - 5], 4
lea rax, [rbp + 3]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREDynabookSystem_ModulesDSS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0xed
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
call fcn.140008d50
test ebx, ebx
je 0x14000a497
mov ebx, 0x80004005
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0xee
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], r15d
mov r8d, ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rbp - 0x49]
call fcn.140008d50
jmp 0x14000a77f
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.dwDiskInfo
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0xf2
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
call fcn.140008d50
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
lea rcx, [rbp - 0x49]
cmp ebx, 2
jne 0x14000a579
mov dword [rbp - 0x41], 0xf6
lea rdx, str.dwDiskInfo_is_not_exist_
call fcn.140008d50
mov dword [rbp - 0x11], 0xffffffff
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
xor r8d, r8d
lea rdx, str.dwDiskInfo
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0xfa
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
jmp 0x14000a58b
mov dword [rbp - 0x41], 0xfe
mov r8d, dword [rbp - 0x11]
lea rdx, str.dwDiskInf__0x_08x
call fcn.140008d50
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0xd]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.LastStatus
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0x103
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
call fcn.140008d50
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
lea rcx, [rbp - 0x49]
cmp ebx, 2
jne 0x14000a66f
mov dword [rbp - 0x41], 0x107
lea rdx, str.LastStatus_is_not_exist_
call fcn.140008d50
mov dword [rbp - 0xd], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0xd]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
xor r8d, r8d
lea rdx, str.LastStatus
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0x10b
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
jmp 0x14000a681
mov dword [rbp - 0x41], 0x10f
mov r8d, dword [rbp - 0xd]
lea rdx, str.dwLastStatus___d
call fcn.140008d50
lea rax, [rbp - 5]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0x114
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
call fcn.140008d50
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
lea rcx, [rbp - 0x49]
cmp ebx, 2
jne 0x14000a765
mov dword [rbp - 0x41], 0x118
lea rdx, str.Counter_is_not_exist_
call fcn.140008d50
mov dword [rbp - 9], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov qword [rbp - 0x49], rdi
mov dword [rbp - 0x41], 0x11c
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], r14
mov dword [rbp - 0x29], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rbp - 0x49]
jmp 0x14000a777
mov dword [rbp - 0x41], 0x120
mov r8d, dword [rbp - 9]
lea rdx, str.dwCounter___d
call fcn.140008d50
mov ebx, r15d
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14000a792
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x19], r15
mov r8, qword [rbp + 7]
lea rdx, str.LEAVE__s
lea rcx, [rbp + 0xf]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0xe0]
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