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

Disassembly:
push 0x228
mov eax, 0x4b9d90
call fcn.0048f706
mov ebx, ecx
cmp dword [ebx + 0x7764], 0
je 0x424269
cmp dword [ebx + 0x240], 0
je 0x424269
lea ecx, [ebp - 0x228]
call fcn.004026b1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.004026b1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
call fcn.00490cd0
add esp, 0xc
mov edi, str.softwareCrystal_Dew_WorldCrystalDiskInfo
xor eax, eax
mov esi, SysReAllocStringLen
mov word [ebp - 0x224], ax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
lea eax, [ebp - 0x21c]
push ecx
push eax
push ecx
push 0xf003f
push 1
lea eax, [ebp - 0x224]
push eax
push ecx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424245
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x214]
push 4
push eax
push 4
xor edi, edi
mov dword [ebp - 0x214], 1
push edi
push str.Version
push dword [ebp - 0x21c]
call esi
call fcn.0043f18d
push 4
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push edi
push str.LastUpdate
push dword [ebp - 0x21c]
call esi
mov eax, dword [ebx + 0x240]
push 4
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push edi
push str.DiskCount
push dword [ebp - 0x21c]
call esi
cmp dword [ebx + 0x240], edi
jle 0x424239
lea eax, [ebx + 0x238]
push edi
mov ecx, eax
call fcn.00407390
xor edx, edx
lea ecx, [ebp - 0x218]
push edx
push ecx
push edx
push 0xf003f
push 1
push edx
push edx
push dword [eax + 0x18a4]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424226
push edi
lea eax, [ebp - 0x228]
push 0x4cc704
push eax
call fcn.00402a35
add esp, 0xc
lea ecx, [ebx + 0x238]
push edi
call fcn.00407390
push dword [eax + 0x18a4]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x21c]
call esi
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push dword [eax + 0x18a8]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.DriveLetter
push dword [ebp - 0x218]
call esi
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push dword [eax + 0x1898]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.Model
push dword [ebp - 0x218]
call esi
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
lea ecx, [ebx + 0x238]
push edi
cmp dword [eax + 0x1754], 0x3e8
jb 0x424000
call fcn.00407390
mov eax, dword [eax + 0x1754]
mov dword [ebp - 0x230], eax
fild dword [ebp - 0x230]
test eax, eax
jns 0x423fce
fadd qword [0x4cbc58]
fstp qword [ebp - 0x234]
fld qword [ebp - 0x234]
lea eax, [ebp - 0x210]
fdiv qword [0x4c96e8]
push ecx
push ecx
fstp qword [esp]
push str._.1f_GB
push 0x100
push eax
call fcn.0042429c
add esp, 0x14
jmp 0x424024
call fcn.00407390
push dword [eax + 0x1754]
lea eax, [ebp - 0x210]
push str._d_MB
push 0x100
push eax
call fcn.0042429c
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.DiskSize
push dword [ebp - 0x218]
call esi
cmp dword [ebx + 0x7744], 0
lea ecx, [ebx + 0x238]
push edi
je 0x4240a8
call fcn.00407390
cmp dword [eax + 0x17c4], 0xfffffed4
jle 0x4240a1
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push 5
pop ecx
imul eax, dword [eax + 0x17c4], 9
cdq
idiv ecx
lea ecx, [eax + 0x20]
mov eax, 0x4cd344
cmp ecx, 0x64
ja 0x42409d
mov eax, 0x4cd350
push ecx
push eax
jmp 0x4240d0
push 0x4cd360
jmp 0x4240eb
call fcn.00407390
cmp dword [eax + 0x17c4], 0xfffffed4
jle 0x4240e6
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push dword [eax + 0x17c4]
push 0x4cd36c
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0042429c
add esp, 0x10
jmp 0x4240ff
push 0x4cd378
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0042429c
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x4cbce4
push dword [ebp - 0x218]
call esi
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push edi
lea ecx, [ebx + 0x238]
mov esi, eax
call fcn.00407390
push dword [esi + 0x181c]
mov ecx, ebx
push dword [eax + 0x17c4]
lea eax, [ebp - 0x22c]
push eax
call fcn.00410979
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
push eax
call fcn.00401717
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
push 0x4c5940
push 0x4cd384
lea ecx, [ebp - 0x220]
call fcn.00408d85
push dword [ebp - 0x220]
lea eax, [ebp - 0x210]
push 0x4c6a74
push 0x100
push eax
call fcn.0042429c
lea eax, [ebp - 0x210]
push eax
call fcn.00494153
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x14
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.TemperatureClass
push dword [ebp - 0x218]
call esi
push edi
lea ecx, [ebx + 0x238]
call fcn.00407390
push 4
mov eax, dword [eax + 0x1814]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push 0
push str.DiskStatus
push dword [ebp - 0x218]
call esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
lea eax, [ebx + 0x238]
cmp edi, dword [ebx + 0x240]
jl 0x423e58
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
call fcn.0048f6b5
ret