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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
and dword [ebp - 4], 0
or dword [ebp - 8], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp + 8], edi
jne 0x10008c81
mov esi, 0x1001000b
push 0x34
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
push 0x28
lea eax, [ebp - 0x64]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [edi + 0x114]
mov edi, dword [sym.imp.USER32.DLL_SendMessageA]
add esp, 0x18
test eax, eax
je 0x10008cb7
push 0
push 0
push 0x10
push eax
call edi
test esi, esi
je 0x10008ddc
cmp byte [esi], 0
je 0x10008ddc
push 0x10010040
push esi
call sub.MSVCRT.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x10008ddc
push 0x5c
push esi
call sub.MSVCRT.dll_strchr
test eax, eax
pop ecx
pop ecx
push esi
jne 0x10008d27
mov esi, dword [ebp + 8]
lea eax, [esi + 0xc]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0
push 9
push 0x110a
push dword [ebx]
mov byte [ebp - 0x168], 0
call edi
test eax, eax
je 0x10008de3
lea ecx, [ebp - 0x168]
push ecx
call fcn.10007d4f
jmp 0x10008de3
call sub.MSVCRT.dll_strlen
cmp byte [eax + esi - 1], 0x5c
pop ecx
lea eax, [ebp - 0x168]
jne 0x10008d69
push esi
push eax
call sub.MSVCRT.dll_strcpy
cmp byte [ebp - 0x168], 0x61
pop ecx
pop ecx
jl 0x10008d58
add byte [ebp - 0x168], 0xe0
jmp 0x10008dea
mov al, byte [ebp - 0x168]
mov byte [ebp - 0x168], al
jmp 0x10008dea
push 0x104
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
call sub.MSVCRT.dll_strlen
add esp, 0x10
test eax, eax
mov dword [ebp + 0xc], eax
jl 0x10008de3
cmp byte [eax + esi], 0x5c
je 0x10008d94
dec eax
mov dword [ebp + 0xc], eax
jns 0x10008d86
jmp 0x10008de3
inc eax
push eax
lea eax, [ebp - 0x168]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [ebp - 0x168], 0x61
jl 0x10008db8
add byte [ebp - 0x168], 0xe0
jmp 0x10008dc4
mov al, byte [ebp - 0x168]
mov byte [ebp - 0x168], al
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi + 1]
push eax
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x10008de3
mov byte [ebp - 0x168], 0
mov dword [ebp - 4], 1
cmp byte [ebp - 0x168], 0
je 0x10008e5a
movsx eax, byte [ebp - 0x168]
sub eax, 0x41
mov dword [ebp - 8], eax
lea eax, [ebp - 0x165]
push eax
call sub.MSVCRT.dll_strlen
inc eax
push eax
lea eax, [ebp - 0x165]
push eax
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_memmove
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_strlen
mov byte [ebp + eax - 0x167], 0
lea eax, [ebp - 0x168]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x18
test eax, eax
jl 0x10008e5a
lea ecx, [ebp + eax - 0x168]
cmp byte [ecx], 0x5c
jne 0x10008e57
mov byte [ecx], 0
dec eax
jns 0x10008e48
cmp dword [ebp - 4], 0
je 0x10008ff2
mov esi, 0xffff0000
push esi
push 0
push 0x1101
push dword [ebx]
call edi
mov eax, dword [0x10015fe4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
push 0
mov esi, 0x1100
push esi
push dword [ebx]
mov dword [ebp - 0x34], 0x67
mov dword [ebp - 0x24], 0x100161f8
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0xfffb
call edi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x110], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x26c]
push 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0xffff0002
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x370]
push 0x10010044
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x10008f8e
mov al, cl
add al, 0x41
push 0x4001
mov byte [ebp - 0x370], al
push 0x160
lea eax, [ebp - 0x4d0]
push eax
push 0
lea eax, [ebp - 0x370]
push eax
mov byte [ebp - 0x26c], 0
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x3c0], 0
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [ebp - 0x4cc]
push 0x200
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 0x160
lea eax, [ebp - 0x4d0]
push eax
push 0
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
lea eax, [ebp - 0x4c4]
push eax
lea eax, [ebp - 0x26c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x3c]
push eax
push 0
push esi
push dword [ebx]
call edi
mov ecx, dword [ebp + 0xc]
inc ecx
cmp ecx, 0x1f
mov dword [ebp + 0xc], ecx
jle 0x10008ef7
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [0x10014a10], 0
je 0x10008fde
mov eax, dword [ebp + 8]
test word [eax + 8], 0x200
jne 0x10008fde
mov eax, dword [0x10015fe0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push esi
push dword [ebx]
mov dword [ebp - 0x24], 0x10015ff0
mov dword [ebp - 0x10], 0xfd
call edi
mov eax, dword [ebp + 8]
push dword [eax + 0x110]
mov eax, 0x1102
push eax
push eax
push dword [ebx]
call edi
cmp dword [ebp - 8], 0xffffffff
je 0x1000913d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], 0x14
push dword [eax + 0x110]
push 4
push 0x110a
push dword [ebx]
call edi
mov esi, eax
test esi, esi
je 0x1000913d
lea eax, [ebp - 0x64]
push eax
push 0
push 0x110c
push dword [ebx]
mov dword [ebp - 0x60], esi
call edi
mov eax, dword [ebp - 0x40]
and eax, 0xff
cmp eax, dword [ebp - 8]
je 0x10009052
push esi
push 1
push 0x110a
push dword [ebx]
call edi
mov esi, eax
test esi, esi
jne 0x10009021
test esi, esi
je 0x1000913d
push esi
mov eax, 0x1102
push eax
push eax
push dword [ebx]
call edi
cmp byte [ebp - 0x168], 0
mov dword [ebp - 0x64], 0x15
mov dword [ebp - 0x50], 0x104
lea eax, [ebp - 0x168]
jmp 0x1000911c
push 4
push 0x110a
push dword [ebx]
call edi
mov esi, eax
test esi, esi
je 0x1000913d
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x110c
push dword [ebx]
mov dword [ebp - 0x60], esi
call edi
cmp byte [ebp - 0x40], 0xfc
jne 0x100090e7
lea eax, [ebp - 0x26c]
cmp dword [ebp - 0x54], eax
je 0x100090d2
push dword [ebp - 0x54]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x26c]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll__stricmp
test eax, eax
pop ecx
pop ecx
je 0x100090f9
push esi
push 1
push 0x110a
push dword [ebx]
call edi
mov esi, eax
test esi, esi
jne 0x1000909b
test esi, esi
je 0x1000913d
push esi
mov eax, 0x1102
push eax
push eax
push dword [ebx]
call edi
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
cmp byte [eax], 0
mov dword [ebp + 8], eax
push esi
jne 0x10009086
push 0
push 0x1114
push dword [ebx]
call edi
push esi
push 9
push 0x110b
push dword [ebx]
call edi
push 0
mov esi, ebx
call fcn.10007e53
pop edi
pop esi
pop ebx
leave
ret 8