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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e8]
sub rsp, 0x6e8
mov rax, qword [0x1800d61f8]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov r15, qword [rbp + 0x660]
mov esi, r9d
mov rbx, qword [rbp + 0x658]
mov r14, rcx
mov rdi, qword [rbp + 0x668]
mov r13, qword [rbp + 0x670]
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x70], rdx
call fcn.180005ccc
movsd xmm0, qword [rbp + 0x650]
lea rcx, [rsp + 0x68]
test rdi, rdi
movsd qword [rbp + 0x98], xmm0
mov dword [rbp + 0x1a0], esi
mov r12, rax
cmovne rcx, rdi
mov qword [rbp + 0xb0], rbx
mov qword [rbp - 0x78], rcx
and dword [rcx], 0
test r13, r13
je 0x18000dd46
cmp qword [r13], 0
je 0x18000dd46
mov qword [rbp + 0x1c0], r13
jmp 0x18000dd54
lea rax, [0x1800d6020]
mov qword [rbp + 0x1c0], rax
xor r13d, r13d
mov edx, r13d
mov qword [rbp + 0xc0], rdx
lea esi, [r13 + 1]
mov dword [rbp + 0xb8], esi
test r15, r15
je 0x18000ddd2
mov rcx, qword [r15]
test rcx, rcx
je 0x18000ddd2
mov edi, r13d
mov rbx, r15
lea rdx, str.DisableDefaults
call fcn.180053bdc
mov rdx, qword [rbp + 0xc0]
test eax, eax
jne 0x18000dda0
mov eax, r13d
mov dword [rbp + 0xb8], eax
jmp 0x18000ddbb
mov r8, qword [rbx]
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
mov rdx, rax
mov qword [rbp + 0xc0], rax
mov eax, dword [rbp + 0xb8]
add rdi, rsi
lea rbx, [r15 + rdi*8]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x18000dd7e
cmp eax, esi
jne 0x18000e2e9
lea r8, str._:_RECYCLE.BIN
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:RECYCLED
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:RECYCLER
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWS_
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSDownloaded_Installations
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSEhome
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSFonts
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSHelp
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSI386
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSIME
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSInstaller
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSServicePackFiles
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSSoftwareDistribution
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSSpeech
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSSymbols
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINDOWSie7updates
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
mov qword [rbp + 0xc0], rax
lea r8, str._:WINDOWS_system32dllcache
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNT_
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTDownloaded_Installations
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTI386
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTInstaller
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTServicePackFiles
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTSoftwareDistribution
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:WINNTie7updates
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:Installshield_Installation_Information
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:I386
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:System_Volume_Information
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str._:windows.old
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..7z
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..arj
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..avi
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..bak
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
mov qword [rbp + 0xc0], rax
lea r8, str..bup
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..bz2
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..cab
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..chm
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..dvr_ms
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..gz
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..ifo
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, [0x1800bdbb8]
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..lzh
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..mp3
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..msi
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..old
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..pdf
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..rar
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..rpm
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..tar
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..wmv
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..vob
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, [0x1800bdc68]
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
lea r8, str..zip
mov qword [rbp + 0xc0], rax
mov rdx, rax
mov rcx, r14
call sym.JkDefrag.dll_public:_wchar_t____ptr64____ptr64___cdecl_JKDefragLib::AddArrayString_wchar_t____ptr64____ptr64__wchar_t____ptr64____ptr64
mov qword [rbp + 0xc0], rax
mov eax, dword [rbp + 0xb8]
mov dword [rbp - 0x70], esi
cmp eax, esi
jne 0x18000e3a9
lea rax, [rsp + 0x6c]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.SYSTEMCurrentControlSetControlFileSystem
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000e389
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rdx, str.NtfsDisableLastAccessUpdate
lea rax, [rsp + 0x58]
mov dword [rsp + 0x54], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18000e37e
mov eax, dword [rbp - 0x70]
cmp dword [rsp + 0x58], esi
cmove eax, r13d
mov dword [rbp - 0x70], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
lea r9, str.NtfsDisableLastAccessUpdate_is_inactive__using_LastAccessTime_for_SpaceHogs.
mov edx, esi
mov rcx, r12
cmp dword [rbp - 0x70], esi
je 0x18000e3a4
lea r9, str.NtfsDisableLastAccessUpdate_is_active__ignoring_LastAccessTime_for_SpaceHogs.
call fcn.180004968
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18000e3d2
cmp word [rax], r13w
je 0x18000e3d2
mov r9d, dword [rsp + 0x50]
lea rdx, [rbp - 0x80]
mov r8, rax
mov rcx, r14
call fcn.180007abc
jmp 0x18000e49d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
lea ecx, [rax + 1]
add rcx, rcx
call fcn.180026bf8
mov rdi, rax
test rax, rax
je 0x18000e487
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x18000e44a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x200
lea r8, [rbp + 0x1d0]
mov edx, eax
mov rcx, r14
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SystemErrorStr_unsigned_long_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64
mov r9, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1d0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, esi
mov rcx, r12
mov r9, qword [r9 + 0x138]
call fcn.180004968
jmp 0x18000e47f
mov rbx, rdi
cmp word [rdi], r13w
je 0x18000e47f
mov esi, dword [rsp + 0x50]
mov r9d, esi
lea rdx, [rbp - 0x80]
mov r8, rbx
mov rcx, r14
call fcn.1800076a8
jmp 0x18000e46f
add rbx, 2
cmp word [rbx], r13w
jne 0x18000e46b
add rbx, 2
cmp word [rbx], r13w
jne 0x18000e457
mov rcx, rdi
call fcn.180053d58
mov rdx, qword [rbp + 0x1c0]
mov rcx, r12
mov rdx, qword [rdx + 0x130]
call fcn.1800035a0
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x18000e4d4
cmp qword [rcx], r13
je 0x18000e4cf
mov rax, qword [rcx]
mov rbx, r13
mov rcx, rax
call fcn.180053d58
mov rcx, qword [rbp + 0xc0]
inc rbx
mov rax, qword [rcx + rbx*8]
test rax, rax
jne 0x18000e4b4
call fcn.180053d58
mov rax, qword [rbp - 0x78]
mov dword [rax], 2
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1800149a0
add rsp, 0x6e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret