Function at 0x14002abd8
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
xor r12d, r12d
cmp dword [rcx + 0xc4a4], r12d
je 0x14002b206
cmp qword [rcx + 0x388], r12
je 0x14002b206
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14002b242
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
call fcn.140077d4c
mov rcx, rax
test rax, rax
je 0x14002b24d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.1400b15e0
mov word [rsp + 0x54], r12w
lea rdx, str.softwareCrystal_Dew_WorldCrystalDiskInfo
mov rsi, 0xffffffff80000001
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
lea r13d, [r12 + 1]
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.softwareCrystal_Dew_WorldCrystalDiskInfo
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002b1cc
mov dword [rsp + 0x50], r13d
lea esi, [rax + 4]
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.14004bdc8
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.LastUpdate
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rdi + 0x388]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.DiskCount
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r15d, r12d
mov rcx, qword [rdi + 0x388]
test rcx, rcx
jle 0x14002b1c0
mov r14d, r12d
mov esi, r12d
test rsi, rsi
js 0x14002b23c
cmp r14, rcx
jge 0x14002b23c
mov rdx, qword [rdi + 0x380]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi + rdx + 0x18c0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002b1a0
mov r8d, r15d
lea rdx, str.Disk_d
lea rcx, [rsp + 0x70]
call fcn.140002f84
cmp r14, qword [rdi + 0x388]
jge 0x14002b23c
mov rdx, qword [rdi + 0x380]
mov rdx, qword [rsi + rdx + 0x18c0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r14, qword [rdi + 0x388]
jge 0x14002b23c
mov rdx, qword [rdi + 0x380]
mov rdx, qword [rsi + rdx + 0x18c8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.DriveLetter
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r14, qword [rdi + 0x388]
jge 0x14002b23c
mov rdx, qword [rdi + 0x380]
mov rdx, qword [rsi + rdx + 0x18a8]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.Model
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r14, qword [rdi + 0x388]
jge 0x14002b23c
mov rax, qword [rdi + 0x380]
mov r9d, dword [rsi + rax + 0x1754]
mov ebx, 0x100
lea rcx, [rbp - 0x80]
mov edx, ebx
cmp r9d, 0x3e8
jb 0x14002af5a
xorps xmm3, xmm3
cvtsi2sd xmm3, r9
divsd xmm3, qword [0x1400e4ed8]
movq r9, xmm3
lea r8, str._.1f_GB
call fcn.14002b258
jmp 0x14002af66
lea r8, str._d_MB
call fcn.14002b258
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.DiskSize
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, qword [rdi + 0x388]
cmp dword [rdi + 0xc484], r12d
je 0x14002b004
cmp r14, rax
jge 0x14002b23c
mov rax, qword [rdi + 0x380]
mov ecx, dword [rsi + rax + 0x17c4]
cmp ecx, 0xfffffed4
jle 0x14002affb
lea ecx, [rcx + rcx*8]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov r9d, edx
shr r9d, 0x1f
add edx, 0x20
add r9d, edx
lea rax, [0x1400e8d78]
lea r8, [0x1400e8d68]
cmp r9d, 0x64
cmovbe r8, rax
jmp 0x14002b02c
lea r8, [0x1400e8d88]
jmp 0x14002b041
cmp r14, rax
jge 0x14002b23c
mov rax, qword [rdi + 0x380]
mov r9d, dword [rsi + rax + 0x17c4]
cmp r9d, 0xfffffed4
jle 0x14002b03a
lea r8, [0x1400e8d98]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14002b258
jmp 0x14002b04d
lea r8, [0x1400e8da8]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14002b258
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, [0x1400e75c0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r14, qword [rdi + 0x388]
jge 0x14002b236
mov r8, qword [rdi + 0x380]
mov r9d, dword [rsi + r8 + 0x181c]
mov r8d, dword [rsi + r8 + 0x17c4]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140013aac
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000179c
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002b0e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x1400e02c0]
lea rdx, str.Green
lea rcx, [rsp + 0x68]
call fcn.14000acb0
mov rbx, qword [rsp + 0x68]
mov r9, rbx
lea r8, [0x1400e17e4]
mov edx, 0x100
lea rcx, [rbp - 0x80]
call fcn.14002b258
lea rcx, [rbp - 0x80]
call fcn.1400b6ca8
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, r13d
xor r8d, r8d
lea rdx, str.TemperatureClass
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp r14, qword [rdi + 0x388]
jge 0x14002b23c
mov rax, qword [rdi + 0x380]
mov eax, dword [rsi + rax + 0x1814]
mov dword [rsp + 0x50], eax
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, str.DiskStatus
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add r15d, r13d
add r14, r13
add rsi, 0x1928
mov rcx, qword [rdi + 0x388]
movsxd rax, r15d
cmp rax, rcx
jl 0x14002ad89
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002b1e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002b206
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400771b0
nop
call fcn.1400771b0
nop
mov ecx, 0x80004005
call fcn.140001860
nop
mov ecx, 0x80004005
call fcn.140001860
int3