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

Disassembly:
sub esp, 0x3d8
push ebx
push ebp
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebp, dword [esp + 0x3ec]
mov ebx, dword [sym.imp.USER32.DLL_SendMessageA]
push 0
push 0
mov esi, dword [ebp + 0x14]
push 0x406
push dword [ebp]
call ebx
mov ecx, dword [esp + 0x3f0]
mov edi, eax
test ecx, ecx
jne 0x4488e2
mov ecx, 0x489028
push ecx
push esi
call sub.MSVCRT.dll_strcpy
mov al, byte [esi]
pop ecx
cmp al, 0x61
movsx eax, al
pop ecx
jl 0x4488f7
sub eax, 0x20
mov byte [esi], al
test al, al
je 0x448928
push esi
call sub.MSVCRT.dll_strlen
pop ecx
cmp byte [eax + esi - 1], 0x5c
je 0x448928
push 0x489094
push esi
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
jmp 0x448928
push 0
push 0
push 0x144
push dword [ebp]
call ebx
push 0
push 0
push 0x146
push edi
call ebx
test eax, eax
jne 0x44891a
test byte [ebp + 0x10], 0x80
je 0x448a71
movsx ebx, byte [esi]
sub ebx, 0x41
cmp ebx, 0x19
ja 0x448961
push 0x48a380
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebx + 0x41]
pop ecx
mov byte [esi], al
jmp 0x448967
or ebx, 0xffffffff
mov byte [esi], 0
and dword [esp + 0x1c], 0
lea eax, [esp + 0x154]
and dword [esp + 0x34], 0
or edi, 0xffffffff
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push 0x48a380
push eax
call sub.MSVCRT.dll_strcpy
mov esi, dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x448a5e
lea eax, [ecx + 0x41]
mov byte [esp + 0x44], al
lea eax, [esp + 0x258]
push str.Drive
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x4001
push 0x160
lea eax, [esp + 0x150]
push eax
push 0
lea eax, [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x14c]
push 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14c]
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageA]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
cmp ecx, ebx
jne 0x448a55
mov edi, eax
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jle 0x4489b2
jmp 0x448ebe
and dword [esp + 0x14], 0
test dword [ebp + 0x10], 0x200
jne 0x448ad7
lea eax, [esp + 0x44]
push esi
push eax
call sub.MSVCRT.dll_strcpy
cmp byte [esp + 0x4c], 0
lea edi, [esp + 0x4c]
pop ecx
jmp 0x448aa5
movsx eax, byte [edi]
push eax
call sub.MSVCRT.dll_tolower
mov byte [edi], al
inc edi
cmp byte [edi], 0
pop ecx
jne 0x448a96
cmp dword [0x4a019c], 0
je 0x448ad7
mov edi, 0x4a0098
push edi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [esp + 0x4c]
push edi
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x448ad7
mov dword [esp + 0x14], 1
mov eax, dword [0x49ff8c]
and dword [esp + 0x1c], 0
and dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
mov dword [esp + 0x28], 0x37
mov dword [esp + 0x30], 0x4a01a0
mov dword [esp + 0x48], 0xff
call ebx
inc dword [esp + 0x1c]
lea eax, [esp + 0x154]
inc dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, eax
xor ecx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], ecx
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x448d35
lea eax, [esp + 0x44]
push 0x48a380
push eax
call sub.MSVCRT.dll_strcpy
mov al, byte [esp + 0x18]
add al, 0x41
mov byte [esp + 0x4c], al
lea eax, [esp + 0x260]
push str.Drive
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
lea eax, [esp + 0x148]
push 0x4001
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [esp + 0x14c]
push 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14c]
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
call ebx
push 3
lea eax, [esp + 0x48]
push esi
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x448d24
cmp dword [esp + 0x14], eax
jne 0x448d24
lea eax, [esi + 3]
cmp byte [eax], 0
push 3
pop edi
je 0x448d14
mov dword [esp + 0x3c], 0x100fd
mov al, byte [eax]
jmp 0x448c2f
test al, al
je 0x448c33
inc edi
mov al, byte [edi + esi]
cmp al, 0x5c
jne 0x448c27
cmp byte [edi + esi], 0
je 0x448d07
lea eax, [esp + 0x258]
push 0x48a520
push eax
call sub.MSVCRT.dll_strcpy
push edi
lea eax, [esp + 0x50]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x14
mov byte [esp + edi + 0x44], 0
lea eax, [esp + 0x2a8]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x448d07
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [esp + 0x1c]
lea eax, [esp + 0x148]
inc dword [esp + 0x34]
push 0x4001
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [esp + 0x14c]
push 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14c]
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
call ebx
add dword [esp + 0x3c], 0x10000
inc edi
lea eax, [edi + esi]
cmp byte [eax], 0
jne 0x448c23
mov eax, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x34], 1
jmp 0x448d28
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jle 0x448b3e
cmp dword [0x4a019c], 0
je 0x448d88
test dword [ebp + 0x10], 0x200
jne 0x448d88
mov eax, dword [0x49fe84]
and dword [esp + 0x34], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
mov dword [esp + 0x30], 0x49fe88
mov dword [esp + 0x48], 0xfe
call ebx
cmp dword [esp + 0x14], 0
je 0x448ec4
push 0x49ff90
xor ebx, ebx
xor edi, edi
call sub.MSVCRT.dll_strlen
pop ecx
cmp byte [edi + esi], 0x5c
jne 0x448da9
inc ebx
push 0x49ff90
inc edi
call sub.MSVCRT.dll_strlen
pop ecx
cmp edi, eax
jbe 0x448da2
inc edi
mov al, byte [edi + esi]
test al, al
je 0x448eba
shl ebx, 0x10
add ebx, 0xfd
jmp 0x448dd8
test al, al
je 0x448ddc
inc edi
mov al, byte [edi + esi]
cmp al, 0x5c
jne 0x448dd0
cmp byte [edi + esi], 0
je 0x448eae
lea eax, [esp + 0x258]
push 0x48a520
push eax
call sub.MSVCRT.dll_strcpy
push edi
lea eax, [esp + 0x50]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x14
mov byte [esp + edi + 0x44], 0
lea eax, [esp + 0x2a8]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x448eae
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
inc dword [esp + 0x1c]
lea eax, [esp + 0x148]
inc dword [esp + 0x34]
push 0x4001
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
mov eax, dword [esp + 0x14c]
push 0x200
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14c]
push 0x160
push eax
push 0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.SHELL32.DLL_SHGetFileInfoA]
lea eax, [esp + 0x154]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x401
push dword [ebp]
call dword [sym.imp.USER32.DLL_SendMessageA]
add ebx, 0x10000
inc edi
mov al, byte [edi + esi]
test al, al
jne 0x448dd8
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.DLL_SendMessageA]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
push edi
push 0x14e
push dword [ebp]
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3d8
ret 8