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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
mov qword [rsp + 0x78], 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], rax
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea r8, str.SetDiskInfo
mov qword [rbp - 0x30], r8
lea r12, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationupdatediskhealthstatus.cpp
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], 9
lea r13, str.__SetDiskInfo_
mov qword [rbp - 0x18], r13
lea r15, [0x1402a214c]
mov qword [rbp - 0x10], r15
mov dword [rbp - 8], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x28]
call fcn.140008d50
nop
xor r14d, r14d
mov dword [rbp - 0x74], r14d
mov dword [rbp - 0x78], r14d
mov dword [rbp - 0x6c], 4
mov dword [rbp - 0x70], 4
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea r8, str.CDiskInfo::GetDiskTypeStatus
mov qword [rbp - 0x60], r8
lea rsi, str.d:_svndss_v7_trunk_tosservicestation_tosservicestationdiskinfo.cpp
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], 0x1c
lea rdi, str.__CDiskInfo::GetDiskTypeStatus_
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x38], 3
lea rdx, str.ENTER__s
lea rcx, [rbp - 0x58]
call fcn.140008d50
nop
call fcn.14000fd80
mov ebx, eax
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r8d, eax
lea rdx, str.dwDiskData__0x_08x
lea rcx, [rsp + 0x50]
call fcn.140008d50
nop
mov r8, qword [rbp - 0x60]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x58]
call fcn.140008d50
mov dword [rbp - 0x68], ebx
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], SafeArrayUnaccessData
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r8d, ebx
lea rdx, str.dwDiskInf__0x_08x
lea rcx, [rsp + 0x50]
call fcn.140008d50
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x64], r14d
lea rax, [rbp - 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
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 [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x1c
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rsp + 0x50]
call fcn.140008d50
test ebx, ebx
je 0x140009ba4
mov dword [rsp + 0x58], 0x1d
mov qword [rsp + 0x50], r12
mov ebx, 0x80004005
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], r14d
mov r8d, ebx
lea rdx, str.Error_Code:_0x_x
lea rcx, [rsp + 0x50]
call fcn.140008d50
jmp 0x140009ce9
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.dwDiskInfo
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x20
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r8d, eax
lea rdx, str.lRet__0x_08x
lea rcx, [rsp + 0x50]
call fcn.140008d50
test ebx, ebx
je 0x140009c15
mov dword [rsp + 0x58], 0x21
jmp 0x140009b72
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.LastStatus
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2f
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r9d, dword [rbp - 0x74]
mov r8d, eax
lea rdx, str.lRet__0x_08x__dwLastStatus___d
lea rcx, [rsp + 0x50]
call fcn.140008d50
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6c]
xor r8d, r8d
lea rdx, str.Counter
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x32
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 3
mov r9d, dword [rbp - 0x78]
mov r8d, eax
lea rdx, str.lRet__0x_08x__dwCounter___d
lea rcx, [rsp + 0x50]
call fcn.140008d50
mov r8d, dword [rbp - 0x78]
mov edx, dword [rbp - 0x74]
mov ecx, dword [rbp - 0x68]
call fcn.14000a7e0
mov ebx, r14d
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140009cfc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r14
mov r8, qword [rbp - 0x30]
lea rdx, str.LEAVE__s
lea rcx, [rbp - 0x28]
call fcn.140008d50
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140072680
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret