Function at 0x100067c0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e118
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x1003bcc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10006827
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1000681d
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
shr edx, 1
mov dword [ebp - 0x14], edx
jmp 0x100067fe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000b975
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x40]
push edx
call fcn.1001abd0
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 0
jmp 0x1000689a
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp dword [ebp - 0x44], eax
jge 0x10006c7c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x44]
shl eax, 2
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + eax*2]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10005020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.10001520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10001520
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10001520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10004e40
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 6
ja case.0x10006921.1
mov ecx, dword [ebp - 0x88]
jmp dword [ecx*4 + 0x10006ca0]
push str.DRIVE_FIXED
lea edx, [ebp - 0x54]
push edx
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.DRIVE_CDROM
lea eax, [ebp - 0x54]
push eax
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.DRIVE_REMOVABLE
lea ecx, [ebp - 0x54]
push ecx
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.DRIVE_REMOTE
lea edx, [ebp - 0x54]
push edx
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.DRIVE_RAMDISK
lea eax, [ebp - 0x54]
push eax
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.DRIVE_UNKNOWN
lea ecx, [ebp - 0x54]
push ecx
call fcn.100013b0
add esp, 8
jmp 0x100069ab
push str.UnKnow
lea edx, [ebp - 0x54]
push edx
call fcn.100013b0
add esp, 8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10004e40
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10006a7b
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.10006600
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx]
push edx
push str.TotalBytes__s
lea eax, [ebp - 0x48]
push eax
call fcn.100013b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.100013e0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.10006600
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
push eax
push str._FreeBytes__s
lea ecx, [ebp - 0x50]
push ecx
call fcn.100013b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.100013e0
jmp 0x10006a9d
push 0x100341c0
lea edx, [ebp - 0x48]
push edx
call fcn.100013b0
add esp, 8
push 0x100341c4
lea eax, [ebp - 0x50]
push eax
call fcn.100013b0
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.10004e40
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.100064c0
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 6
push 0x100341d0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.10003ed0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.10007f00
add esp, 0xc
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 8
push 0x100341c8
mov ecx, dword [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10003ed0
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xb8]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.10007f00
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.10007f00
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.10007f00
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10008c60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
call fcn.100013e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x78]
call fcn.100013e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.100013e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
call fcn.100013e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.100013e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.100013e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.100013e0
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.100013e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.100013e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100013e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.100013e0
jmp 0x10006891
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1000b96a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8