Function at 0x100080d0
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x400
push 0
lea eax, [ebp - 0x504]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x60c], 0
mov byte [ebp - 0x504], 0x68
lea ecx, [ebp - 0x104]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x60c], edx
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x628], 1
jmp 0x10008189
mov eax, dword [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x60c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x60c], edx
mov eax, dword [ebp - 0x60c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x100083b7
push 0x104
push 0
lea edx, [ebp - 0x608]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x608]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x60c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
push 0x160
lea edx, [ebp - 0x788]
push edx
push 0x80
mov eax, dword [ebp - 0x60c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea ecx, [ebp - 0x678]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x78c], eax
lea edx, [ebp - 0x608]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x790], eax
mov eax, dword [ebp - 0x60c]
movsx ecx, byte [eax]
cmp ecx, 0x41
je 0x100082c1
mov edx, dword [ebp - 0x60c]
movsx eax, byte [edx]
cmp eax, 0x42
je 0x100082c1
push 0
lea ecx, [ebp - 0x614]
push ecx
lea edx, [ebp - 0x61c]
push edx
mov eax, dword [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x100082c1
push 0
push 0x400
mov ecx, dword [ebp - 0x610]
push ecx
mov edx, dword [ebp - 0x614]
push edx
call fcn.1001dd50
push 0
push 0x400
push edx
push eax
call fcn.1001dd50
mov dword [ebp - 0x620], eax
push 0
push 0x400
mov eax, dword [ebp - 0x618]
push eax
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.1001dd50
push 0
push 0x400
push edx
push eax
call fcn.1001dd50
mov dword [ebp - 0x624], eax
jmp 0x100082d5
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x624], 0
mov edx, dword [ebp - 0x628]
mov eax, dword [ebp - 0x60c]
mov cl, byte [eax]
mov byte [ebp + edx - 0x504], cl
mov edx, dword [ebp - 0x60c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, dword [ebp - 0x628]
mov byte [ebp + ecx - 0x503], al
push 4
lea edx, [ebp - 0x620]
push edx
mov eax, dword [ebp - 0x628]
lea ecx, [ebp + eax - 0x502]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
lea edx, [ebp - 0x624]
push edx
mov eax, dword [ebp - 0x628]
lea ecx, [ebp + eax - 0x4fe]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x78c]
push edx
lea eax, [ebp - 0x678]
push eax
mov ecx, dword [ebp - 0x628]
lea edx, [ebp + ecx - 0x4fa]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x790]
push eax
lea ecx, [ebp - 0x608]
push ecx
mov edx, dword [ebp - 0x628]
lea eax, [ebp + edx - 0x504]
mov ecx, dword [ebp - 0x78c]
lea edx, [eax + ecx + 0xa]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x790]
mov ecx, dword [ebp - 0x78c]
lea edx, [ecx + eax + 0xa]
mov eax, dword [ebp - 0x628]
add eax, edx
mov dword [ebp - 0x628], eax
jmp 0x1000816c
push 0x400
lea ecx, [ebp - 0x504]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4