Function at 0x1006b710
Capabilities:
Get common file path
Get disk information
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1009bbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x830]
mov dword fs:[0], eax
mov eax, dword [esp + 0x844]
mov ebp, dword [esp + 0x840]
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 0x2b0
lea eax, [esp + 0x78]
push ebx
push eax
mov dword [esp + 0x7c], ebx
call sub.MSVCR80.dll_memset
push 0x104
lea ecx, [esp + 0x335]
push ebx
push ecx
mov byte [esp + 0x33c], bl
call sub.MSVCR80.dll_memset
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x104
lea edx, [esp + 0x624]
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor esi, esi
mov dword [esp + 0x14], esi
push 0x20a
lea eax, [esp + 0x418]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x2b4
lea ecx, [esp + 0x68]
push ebx
push ecx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x34]
mov edx, 1
mov ecx, esi
shl edx, cl
add esp, 0x18
test eax, edx
je 0x1006b9f9
movzx ecx, word [esp + 0x620]
lea eax, [esi + 0x41]
cmp ecx, eax
je 0x1006b9f9
push eax
lea edx, [esp + 0x418]
push str._c:_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x1006b874
cmp eax, 2
je 0x1006b874
cmp eax, 4
je 0x1006b874
cmp eax, 5
jne 0x1006b9f9
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x430]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1006b9f9
push 0x105
lea edx, [esp + 0x310]
push ebx
push edx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x420]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1006b8b1
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x418]
push eax
lea ecx, [esp + 0x314]
push ecx
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea edx, [esp + 0x30c]
push edx
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 ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
mov ecx, ebp
mov dword [esp + 0x844], ebx
call fcn.10004160
push 1
mov ecx, ebp
mov edi, eax
call fcn.10004200
push 0x200
push 0x2b4
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
lea edx, [esp + 0x60]
push edx
mov dword [eax], edi
push ebx
lea eax, [esp + 0x424]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x105
lea ecx, [esp + 0x310]
push ebx
push ecx
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x70]
add esp, 0xc
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x1006b960
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x314]
push eax
push 0xfde9
call fcn.1007db60
add esp, 0x10
lea ecx, [esp + 0x30c]
push ecx
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 + 0x844], 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 + 0x838], 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 + 0x838], 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 esi, dword [esp + 0x14]
add esi, 1
cmp esi, 0x20
mov dword [esp + 0x14], esi
jb 0x1006b7e9
xor eax, eax
mov ecx, dword [esp + 0x830]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.10090524
add esp, 0x828
ret