Function at 0x40ba80
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
sub esp, 0x674
mov eax, dword [0x42d0f0]
xor eax, esp
mov dword [esp + 0x670], eax
mov eax, dword [esp + 0x678]
fld qword [esp + 0x684]
mov edx, dword [esp + 0x690]
fstp qword [esp + 0x138]
mov ecx, dword [esp + 0x68c]
push ebx
mov ebx, dword [esp + 0x6a8]
push ebp
mov ebp, dword [esp + 0x6b0]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x6b4]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x6b8]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x6bc]
push esi
mov esi, dword [esp + 0x6a8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6a0]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x68c]
push edi
mov edi, dword [esp + 0x6b0]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6a8]
mov dword [esp + 0x240], ebp
mov dword [esp + 0x158], ecx
test eax, eax
jne 0x40bb2f
lea eax, [esp + 0x34]
mov dword [esp + 0x48], eax
mov dword [eax], 0
test edx, edx
jne 0x40bb41
lea edx, [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov dword [edx], 0
mov dword [esp + 0x260], 0x40ba70
test esi, esi
je 0x40bb61
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], 0x40ba70
test edi, edi
je 0x40bb77
mov dword [esp + 0x264], edi
mov dword [esp + 0x268], 0x40ba70
test ebx, ebx
je 0x40bb8d
mov dword [esp + 0x268], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x26c], 0x40ba70
test eax, eax
je 0x40bba7
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x270], 0x40ba70
test eax, eax
je 0x40bbc1
mov dword [esp + 0x270], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x274], 0x40ba70
test eax, eax
je 0x40bbdb
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40bbef
cmp dword [eax], 0
mov dword [esp + 0x278], eax
jne 0x40bbfa
mov dword [esp + 0x278], section..data
mov ebx, dword [esp + 0x2c]
mov ebp, 1
mov dword [esp + 0x160], 0
mov dword [esp + 0x15c], ebp
test ebx, ebx
je 0x40bc70
xor edi, edi
cmp dword [ebx], edi
je 0x40bc70
mov esi, ebx
mov eax, dword [esi]
push str.DisableDefaults
push eax
call fcn.00411440
add esp, 8
test eax, eax
jne 0x40bc3e
mov dword [esp + 0x15c], eax
jmp 0x40bc58
mov ecx, dword [esi]
mov edx, dword [esp + 0x160]
push ecx
push edx
call sym.JkDefrag.exe_AddArrayString
add esp, 8
mov dword [esp + 0x160], eax
add edi, ebp
cmp dword [ebx + edi*4], 0
lea esi, [ebx + edi*4]
jne 0x40bc21
cmp dword [esp + 0x15c], ebp
jne 0x40c034
mov eax, dword [esp + 0x160]
push str._:_RECYCLE.BIN
push eax
call sym.JkDefrag.exe_AddArrayString
push str._:RECYCLED
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str._:RECYCLER
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWS_
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSDownloaded_Installations
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSEhome
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSFonts
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSHelp
push eax
mov dword [esp + 0x1a0], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str._:WINDOWSI386
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSIME
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSInstaller
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSServicePackFiles
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSSoftwareDistribution
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSSpeech
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSSymbols
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINDOWSie7updates
push eax
mov dword [esp + 0x1a0], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str._:WINDOWS_system32dllcache
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNT_
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTDownloaded_Installations
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTI386
mov dword [esp + 0x17c], eax
push eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTInstaller
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTServicePackFiles
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTSoftwareDistribution
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
push str._:WINNTie7updates
push eax
mov dword [esp + 0x1a0], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str._:Installshield_Installation_Information
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str._:I386
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str._:System_Volume_Information
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str._:windows.old
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
push str..7z
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str..arj
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str..avi
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
push str..bak
push eax
mov dword [esp + 0x1a0], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str..bup
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str..bz2
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str..cab
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str..chm
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
push str..dvr_ms
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str..gz
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str..ifo
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
mov dword [esp + 0x198], eax
push 0x42516c
push eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str..lzh
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str..mp3
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push str..msi
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str..old
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
push str..pdf
push eax
mov dword [esp + 0x188], eax
call sym.JkDefrag.exe_AddArrayString
push str..rar
push eax
mov dword [esp + 0x190], eax
call sym.JkDefrag.exe_AddArrayString
push str..rpm
push eax
mov dword [esp + 0x198], eax
call sym.JkDefrag.exe_AddArrayString
push str..tar
push eax
mov dword [esp + 0x1a0], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x40
push str..wmv
push eax
mov dword [esp + 0x168], eax
call sym.JkDefrag.exe_AddArrayString
push str..vob
push eax
mov dword [esp + 0x170], eax
call sym.JkDefrag.exe_AddArrayString
push 0x4250ec
push eax
mov dword [esp + 0x178], eax
call sym.JkDefrag.exe_AddArrayString
push str..zip
push eax
mov dword [esp + 0x180], eax
call sym.JkDefrag.exe_AddArrayString
add esp, 0x20
mov dword [esp + 0x160], eax
mov dword [esp + 0x50], ebp
cmp dword [esp + 0x15c], ebp
jne 0x40c0ce
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x20019
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlFileSystem
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40c0af
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.NtfsDisableLastAccessUpdate
push edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c0a4
cmp dword [esp + 0x18], ebp
jne 0x40c0a4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x50], ebp
jne 0x40c0bc
push str.NtfsDisableLastAccessUpdate_is_inactive__using_LastAccessTime_for_SpaceHogs.
jmp 0x40c0c1
push str.NtfsDisableLastAccessUpdate_is_active__ignoring_LastAccessTime_for_SpaceHogs.
push 0
push ebp
call dword [esp + 0x278]
add esp, 0xc
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c0f7
cmp word [eax], 0
je 0x40c0f7
mov ecx, dword [esp + 0x68c]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.0040aa20
add esp, 0xc
jmp 0x40c1b9
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.00412a5f
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40c1a1
push ebx
push esi
call edi
test eax, eax
jne 0x40c162
push 0x200
lea ecx, [esp + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.JkDefrag.exe_SystemErrorStr
mov eax, dword [esp + 0x284]
mov ecx, dword [eax + 0x9c]
lea edx, [esp + 0x28c]
push edx
push ecx
push 0
push ebp
call dword [esp + 0x288]
add esp, 0x1c
jmp 0x40c198
cmp word [ebx], 0
mov esi, ebx
je 0x40c198
mov edi, dword [esp + 0x68c]
push edi
lea edx, [esp + 0x44]
push esi
push edx
call fcn.0040b5b0
add esp, 0xc
cmp word [esi], 0
je 0x40c18f
add esi, 2
cmp word [esi], 0
jne 0x40c186
add esi, 2
cmp word [esi], 0
jne 0x40c171
push ebx
call fcn.00412c14
add esp, 4
mov eax, dword [esp + 0x278]
mov ecx, dword [eax + 0x98]
push ecx
call dword [esp + 0x278]
add esp, 4
mov ecx, dword [esp + 0x160]
test ecx, ecx
je 0x40c201
xor esi, esi
cmp dword [ecx], esi
je 0x40c1ec
mov eax, ecx
lea esp, [esp]
mov edx, dword [eax]
push edx
call fcn.00412c14
mov ecx, dword [esp + 0x164]
add esi, ebp
lea eax, [ecx + esi*4]
add esp, 4
cmp dword [eax], 0
jne 0x40c1d0
push ecx
call fcn.00412c14
mov eax, dword [esp + 0x4c]
add esp, 4
mov dword [eax], 2
jmp 0x40c20b
mov ecx, dword [esp + 0x48]
mov dword [ecx], 2
mov ecx, dword [esp + 0x680]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411002
add esp, 0x674
ret