Function at 0x10100de0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c5730
mov eax, dword fs:[0]
push eax
mov eax, 0x1d54
call fcn.101beed0
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 3
push 0xffffffffffffffff
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetNextItem_int__int_const
mov ebx, eax
test ebx, ebx
js 0x1010114f
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10100e43
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
je 0x10100e43
mov eax, dword [ecx + 0x3c]
sub eax, dword [ecx + 0x38]
sar eax, 2
jmp 0x10100e45
xor eax, eax
cmp ebx, eax
jge 0x1010114f
lea eax, [ebp - 0x1d60]
mov dword [ebp - 0x1d60], 4
push eax
mov ecx, edi
mov dword [ebp - 0x1d5c], ebx
call sym.HncOfficeFramework.dll_public:_int___thiscall_CHDCListCtrl::GetItem_struct_tagLVITEMW__const
neg eax
push 0x208
sbb eax, eax
and eax, dword [ebp - 0x1d40]
mov dword [ebp - 0x1d24], eax
push 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1d1c], eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [edi + 0x4d8]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call esi
mov ecx, dword [ebp - 0x1d1c]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call esi
add esp, 0xc
call dword [sym.imp.HncFoundation.dll_HncGetWinVersion]
cmp eax, 0xa
jb 0x10100ffd
mov esi, dword [sym.imp.HncFoundation.dll__HncSHIsHomeGroupPath_4]
lea eax, [ebp - 0x420]
push eax
call esi
cmp eax, 1
jne 0x10100ffd
lea eax, [ebp - 0x218]
push eax
call esi
cmp eax, 1
je 0x1010114f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x1500]
call fcn.10001d90
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10100f42
sub esi, ecx
lea ecx, [ebp - 0x14fc]
sar esi, 1
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100f60
sub ecx, edx
lea edx, [ebp - 0x14f6]
lea eax, [edx + 2]
sar ecx, 1
mov dword [ebp - 0x1d20], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10100f80
sub edx, dword [ebp - 0x1d20]
sar edx, 1
lea eax, [edx + ecx]
lea ecx, [ebp - 0xef6]
lea ecx, [ecx + eax*2]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10100fa2
push 0x208
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push 0
push eax
sub esi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov dword [ebp - 0x1500], 0x101cfcac
push 0x206
lea eax, [ebp - 0x626]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x10101059
jbe 0x10101030
cmp eax, 5
jbe 0x1010114f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10101040
sub ecx, edx
sar ecx, 1
je 0x1010114f
xor esi, esi
jmp 0x1010105e
mov esi, 1
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
cmp esi, 1
jne 0x1010109e
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
jmp 0x101010bc
push ebx
mov ecx, edi
call sym.HncOfficeFramework.dll_public:_unsigned_short_int_const____thiscall_CHDCListCtrl::GetItemText_int__int_const
push eax
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x1d18]
call fcn.10001d90
mov ecx, dword [ebp - 0x1d1c]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [edi + 0x80]
neg eax
push dword [edi + 0x4d8]
sbb esi, esi
inc esi
call dword [sym.imp.HncVfs.dll_int___cdecl_HncVfsShell::ComparePidl_struct_IHncVfsShellPidl_const___struct_IHncVfsShellPidl_const__]
add esp, 8
lea ecx, [ebp - 0xce8]
neg eax
sbb eax, eax
push 0
inc eax
push eax
push esi
lea eax, [ebp - 0x170e]
push eax
call sym.HncOfficeFramework.dll_public:_void___thiscall_CHncRenameDlg::constructor_unsigned_short_int_const___int__int__struct_HWND____
lea ecx, [ebp - 0xce8]
mov byte [ebp - 4], 1
call sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHDDialog::DoModal_void_
cmp eax, 2
je 0x10101144
push 0
lea eax, [ebp - 0xa44]
push eax
mov eax, dword [ebp - 0x1d24]
push dword [eax + 0x30]
call dword [sym.imp.HncVfs.dll_int___cdecl_HncVfsShell::Rename_struct_IHncVfsShellPidl_const___unsigned_short_int_const___struct_IHncVfsShellPidl___]
add esp, 0xc
lea ecx, [ebp - 0xce8]
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHncRenameDlg::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret