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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002eb48
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x1003ccc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100074a4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x1000749a
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 0x1000747b
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.1000c3fa
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.1001b720
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 0x10007517
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 0x100078a6
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.10005fe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.10001550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10001550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10001550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10004e00
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 6
ja case.0x10007595.1
mov ecx, dword [ebp - 0x78]
jmp dword [ecx*4 + 0x100078cc]
push str.DRIVE_FIXED
lea edx, [ebp - 0x54]
push edx
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.DRIVE_CDROM
lea eax, [ebp - 0x54]
push eax
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.DRIVE_REMOVABLE
lea ecx, [ebp - 0x54]
push ecx
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.DRIVE_REMOTE
lea edx, [ebp - 0x54]
push edx
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.DRIVE_RAMDISK
lea eax, [ebp - 0x54]
push eax
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.DRIVE_UNKNOWN
lea ecx, [ebp - 0x54]
push ecx
call fcn.100013e0
add esp, 8
jmp 0x1000761f
push str.UnKnow
lea edx, [ebp - 0x54]
push edx
call fcn.100013e0
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.10004e00
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10007718
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
and dword [ebp - 0x7c], 0x7fffffff
fild qword [ebp - 0x80]
and dword [ebp - 0x84], 0x80000000
mov dword [ebp - 0x88], 0
fild qword [ebp - 0x88]
fchs
faddp st(1)
fdiv qword [0x100364f0]
fdiv qword [0x100364f0]
sub esp, 8
fstp qword [esp]
push str.TotalBytes__f_MB
lea eax, [ebp - 0x48]
push eax
call fcn.100013e0
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
and dword [ebp - 0x8c], 0x7fffffff
fild qword [ebp - 0x90]
and dword [ebp - 0x94], 0x80000000
mov dword [ebp - 0x98], 0
fild qword [ebp - 0x98]
fchs
faddp st(1)
fdiv qword [0x100364f0]
fdiv qword [0x100364f0]
sub esp, 8
fstp qword [esp]
push str._FreeBytes__f_MB
lea ecx, [ebp - 0x50]
push ecx
call fcn.100013e0
add esp, 0x10
jmp 0x1000773a
push 0x10035134
lea edx, [ebp - 0x48]
push edx
call fcn.100013e0
add esp, 8
push 0x10035138
lea eax, [ebp - 0x50]
push eax
call fcn.100013e0
add esp, 8
push 0x10035144
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.10004c70
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.10008990
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 5
push 0x1003513c
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.10004c70
add esp, 0xc
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.10008990
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.10008990
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100096f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.10001410
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.10001410
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.10001410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.10001410
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.10001410
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.10001410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10001410
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.10001410
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10001410
jmp 0x1000750e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.1000c405
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8