Function at 0x1006bf60
Capabilities:
Get common file path
Get disk information
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x1009c608
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x100cd8ec]
xor eax, esp
mov dword [esp + 0xa24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0xa3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa50]
mov ebp, dword [esp + 0xa4c]
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x41a]
push ebx
push ecx
mov dword [esp + 0x24], eax
mov word [esp + 0x420], bx
call sub.MSVCR80.dll_memset
push 0x208
lea edx, [esp + 0x632]
push ebx
push edx
mov word [esp + 0x638], bx
call sub.MSVCR80.dll_memset
push 0x208
lea eax, [esp + 0x84a]
push ebx
push eax
mov word [esp + 0x850], bx
call sub.MSVCR80.dll_memset
push 0x2b0
lea ecx, [esp + 0x84]
push ebx
push ecx
mov dword [esp + 0x88], ebx
call sub.MSVCR80.dll_memset
push 0x104
lea edx, [esp + 0x341]
push ebx
push edx
mov byte [esp + 0x348], bl
call sub.MSVCR80.dll_memset
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x1c], eax
push 0x104
lea eax, [esp + 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
mov dword [esp + 0x14], edi
push 0x20a
lea ecx, [esp + 0x418]
push ebx
push ecx
call sub.MSVCR80.dll_memset
push 0x2b4
lea edx, [esp + 0x68]
push ebx
push edx
call sub.MSVCR80.dll_memset
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x34]
add esp, 0x18
test ecx, eax
je 0x1006c289
movzx edx, word [esp + 0x620]
lea eax, [edi + 0x41]
cmp edx, eax
je 0x1006c289
push eax
lea eax, [esp + 0x418]
push str._c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
push esi
lea edx, [esp + 0x830]
push str.type_:__d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp esi, 3
je 0x1006c0fe
cmp esi, 2
je 0x1006c0fe
cmp esi, 4
je 0x1006c0fe
cmp esi, 5
jne 0x1006c289
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1006c289
push 0x105
lea ecx, [esp + 0x310]
push ebx
push ecx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x420]
add esp, 0xc
lea edx, [eax + 2]
jmp 0x1006c140
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006c140
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x418]
push edx
lea eax, [esp + 0x314]
push eax
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov esi, dword [ebp + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
push eax
push esi
mov ecx, ebp
mov dword [esp + 0xa50], ebx
call fcn.10004160
push 1
mov ecx, ebp
mov edi, eax
call fcn.10004200
push 0x200
push 0x2b4
lea ecx, [esp + 0x60]
push ecx
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
push ebx
lea edx, [esp + 0x424]
push edx
mov dword [eax], edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x105
lea eax, [esp + 0x310]
push ebx
push eax
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x70]
add esp, 0xc
lea ecx, [eax + 2]
jmp 0x1006c1f0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1006c1f0
sub eax, ecx
sar eax, 1
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x314]
push edx
push 0xfde9
call fcn.1007e4c0
add esp, 0x10
lea eax, [esp + 0x30c]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x3c]
push edx
push eax
push esi
mov byte [esp + 0xa50], 1
call fcn.10004160
mov ecx, dword [esp + 0x18]
push 1
mov edi, eax
call fcn.10004200
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea ecx, [esp + 0x3c]
mov dword [eax], edi
mov byte [esp + 0xa44], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0xa44], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [esp + 0x14]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x14], edi
jb 0x1006c05a
xor eax, eax
mov ecx, dword [esp + 0xa3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa24]
xor ecx, esp
call fcn.10090e24
add esp, 0xa34
ret