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

Disassembly:
push 0x224
mov eax, 0x4affa6
call fcn.00487ec7
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x680c], ebx
je 0x417b1a
cmp dword [edi + 0x240], ebx
je 0x417b1a
lea ecx, [ebp - 0x224]
call fcn.0040364a
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x220]
call fcn.0040364a
mov byte [ebp - 4], 1
mov ebx, str.softwareCrystal_Dew_WorldCrystalDiskInfo
push ebx
mov esi, SysReAllocStringLen
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
push 0x4c9ff4
push ecx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417af6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x214]
push 4
push eax
push 4
xor esi, esi
mov dword [ebp - 0x214], 1
push esi
push str.Version
push dword [ebp - 0x21c]
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push esi
push str.LastUpdate
push dword [ebp - 0x21c]
call ebx
mov eax, dword [edi + 0x240]
push 4
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push esi
push str.DiskCount
push dword [ebp - 0x21c]
call ebx
xor ecx, ecx
cmp dword [edi + 0x240], ecx
jle 0x417aea
lea ebx, [edi + 0x238]
jmp 0x417729
xor ecx, ecx
push ecx
lea eax, [ebp - 0x218]
push eax
push ecx
push 0xf003f
push 1
push ecx
push ecx
push esi
mov ecx, ebx
call fcn.0040ab14
push dword [eax + 0x1894]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x417add
push esi
lea eax, [ebp - 0x224]
push str.Disk_d
push eax
call fcn.00403636
add esp, 0xc
mov ecx, ebx
push esi
call fcn.0040ab14
push dword [eax + 0x1894]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call fcn.0048cb73
add esp, 0xc
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push dword [ebp - 0x224]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov ecx, ebx
call fcn.0040ab14
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.0048cb73
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 dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov ecx, ebx
call fcn.0040ab14
push dword [eax + 0x1888]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push eax
call fcn.0048cb73
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 dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov ecx, ebx
call fcn.0040ab14
push esi
mov ecx, ebx
cmp dword [eax + 0x174c], 0x3e8
jb 0x4178c7
call fcn.0040ab14
mov eax, dword [eax + 0x174c]
mov dword [ebp - 0x22c], eax
fild dword [ebp - 0x22c]
test eax, eax
jns 0x417895
fadd qword [0x4dfe68]
fstp qword [ebp - 0x230]
fld qword [ebp - 0x230]
lea eax, [ebp - 0x210]
fdiv qword [0x4dfe50]
push ecx
push ecx
fstp qword [esp]
push str._.1f_GB
push 0x100
push eax
call fcn.00422654
add esp, 0x14
jmp 0x4178eb
call fcn.0040ab14
push dword [eax + 0x174c]
lea eax, [ebp - 0x210]
push str._d_MB
push 0x100
push eax
call fcn.00422654
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call fcn.0048cb73
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 dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [edi + 0x67ec], 0
mov ecx, ebx
push esi
je 0x41796b
call fcn.0040ab14
cmp dword [eax + 0x17bc], 0xfffffed4
jle 0x417964
push esi
mov ecx, ebx
call fcn.0040ab14
push 5
pop ecx
imul eax, dword [eax + 0x17bc], 9
cdq
idiv ecx
lea ecx, [eax + 0x20]
mov eax, 0x4d033c
cmp ecx, 0x64
ja 0x417960
mov eax, 0x4d0348
push ecx
push eax
jmp 0x41798f
push 0x4d0358
jmp 0x4179aa
call fcn.0040ab14
cmp dword [eax + 0x17bc], 0xfffffed4
jle 0x4179a5
push esi
mov ecx, ebx
call fcn.0040ab14
push dword [eax + 0x17bc]
push 0x4d0364
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.00422654
add esp, 0x10
jmp 0x4179be
push 0x4d0370
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.00422654
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.0048cb73
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push 0x4cf048
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov ecx, ebx
call fcn.0040ab14
mov ecx, ebx
push dword [eax + 0x180c]
push esi
call fcn.0040ab14
mov ecx, edi
push dword [eax + 0x17bc]
lea eax, [ebp - 0x228]
push eax
call fcn.0040f9df
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x220]
push eax
call fcn.00401ffd
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.0040259b
push 0x4c9ff4
push 0x4d037c
lea ecx, [ebp - 0x220]
call fcn.0040a844
push dword [ebp - 0x220]
lea eax, [ebp - 0x210]
push 0x4ca26c
push 0x100
push eax
call fcn.00422654
lea eax, [ebp - 0x210]
push eax
call fcn.0048cb73
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 dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov ecx, ebx
call fcn.0040ab14
push 4
mov eax, dword [eax + 0x1804]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push eax
push 4
push 0
push str.DiskStatus
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, dword [edi + 0x240]
jl 0x417727
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.0040259b
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.0040259b
call fcn.00487e76
ret