Function at 0x46d800
Capabilities:
Get disk information
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe5c4
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x550070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x438], ecx
mov dword [ebp - 0x40c], 0
push 0x2b0
push 0
lea eax, [ebp - 0x408]
push eax
call fcn.004d43c0
add esp, 0xc
lea ecx, [ebp - 0x158]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::constructor_void_]
mov dword [ebp - 4], 0
mov dword [ebp - 0x47c], 0
cmp dword [ebp + 0xc], 0
jne 0x46d89c
mov dword [ebp - 0x44c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov eax, dword [ebp - 0x44c]
jmp 0x46dd1b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
add edx, 2
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x41c]
mov cx, word [eax]
mov word [ebp - 0x41e], cx
add dword [ebp - 0x41c], 2
cmp word [ebp - 0x41e], 0
jne 0x46d8b4
mov edx, dword [ebp - 0x41c]
sub edx, dword [ebp - 0x450]
sar edx, 1
mov dword [ebp - 0x454], edx
jne 0x46d913
mov dword [ebp - 0x458], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov eax, dword [ebp - 0x458]
jmp 0x46dd1b
push 0xc
call fcn.004d1f00
add esp, 4
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x45c]
call fcn.004699d0
mov dword [ebp - 0x428], eax
jmp 0x46d944
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.00406270
push str..
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.00451080
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x424], edx
lea ecx, [ebp - 0x418]
call fcn.00403790
mov byte [ebp - 4], 2
mov byte [ebp - 0x40d], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x46da12
push 0x5c
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.004038a0
push eax
call fcn.004d3e3c
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x46d9f8
mov ecx, dword [ebp - 0x414]
add ecx, 8
push ecx
lea ecx, [ebp - 0x418]
call fcn.00410ec0
jmp 0x46da0d
mov edx, dword [ebp - 0x42c]
add edx, 2
push edx
lea ecx, [ebp - 0x418]
call fcn.00406270
jmp 0x46dab8
push 0x4200
push 0x2b4
lea eax, [ebp - 0x40c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp + 0xc]
push edx
call fcn.00469760
add esp, 4
movzx eax, al
test eax, eax
jne 0x46da54
lea ecx, [ebp - 0x400]
push ecx
lea ecx, [ebp - 0x418]
call fcn.00406270
cmp dword [ebp - 0x408], 0
jle 0x46da69
mov edx, dword [ebp - 0x408]
mov dword [ebp - 0x424], edx
lea ecx, [ebp - 0x418]
call fcn.004037d0
movzx eax, al
test eax, eax
je 0x46dab8
push 0x5c
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.004038a0
push eax
call fcn.004d3e3c
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x46dab8
mov ecx, dword [ebp - 0x430]
add ecx, 2
push ecx
lea ecx, [ebp - 0x418]
call fcn.00406270
push 0x5c
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.0040e020
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
je 0x46db16
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.004038a0
push eax
mov ecx, dword [ebp - 0x438]
call fcn.0046e860
test eax, eax
je 0x46dafb
mov dword [ebp - 0x434], 1
jmp 0x46db05
mov dword [ebp - 0x434], 0
mov al, byte [ebp - 0x434]
mov byte [ebp - 0x40d], al
jmp 0x46dc0b
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.00403ae0
cmp eax, 3
jl 0x46dc0b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x20], 0
jne 0x46dc0b
mov dword [ebp - 0x464], 0
push 3
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0x414]
add ecx, 8
call fcn.00427c80
mov byte [ebp - 4], 3
push 0
push 0
lea eax, [ebp - 0x464]
push eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x444]
call fcn.004038a0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x46dbfc
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x468]
push ecx
call fcn.0040b320
add esp, 4
test eax, eax
je 0x46dbaf
mov dword [ebp - 0x440], 1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x438]
call fcn.0046dd40
test eax, eax
je 0x46dbce
mov dword [ebp - 0x43c], 1
jmp 0x46dbd8
mov dword [ebp - 0x43c], 0
mov al, byte [ebp - 0x43c]
mov byte [ebp - 0x40d], al
cmp dword [ebp - 0x440], 0
je 0x46dbfc
mov ecx, dword [ebp - 0x468]
push ecx
call fcn.0040b380
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x444]
call fcn.004036f0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
or eax, 0x67
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x424]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x424]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x414]
mov dword [eax + 0x24], ecx
lea ecx, [ebp - 0x418]
call fcn.004038a0
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
movzx eax, byte [ebp - 0x40d]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_DuiLib::DTV_ITEM_INFO____thiscall_DuiLib::CTreeViewExUI::InsertItem_struct_DuiLib::DTV_ITEM___struct_DuiLib::DTV_ITEM_INFO___struct_DuiLib::DTV_ITEM_INFO__]
mov dword [ebp - 0x46c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x418]
call fcn.004036f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
mov eax, dword [ebp - 0x46c]
jmp 0x46dd1b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d181f
mov esp, ebp
pop ebp
ret 0x14