Function at 0x4825f0
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a093
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov byte [ebp - 0x40], 0
xor ecx, ecx
mov dword [ebp - 0x3f], ecx
mov dword [ebp - 0x3b], ecx
mov byte [ebp - 0x37], cl
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
je 0x4828a4
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp + 0xc]
jge 0x4828a4
mov eax, dword [ebp - 0x14]
and eax, 1
je 0x48288e
mov ecx, dword [ebp - 0x10]
add ecx, 0x41
push ecx
push 0x5e3038
lea edx, [ebp - 0x24]
push edx
call fcn.00485710
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push str.._s
lea ecx, [ebp - 0x40]
push ecx
call fcn.00485740
add esp, 0xc
call fcn.00402270
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
jne 0x4826c0
mov dword [ebp - 0xf0], 0
jmp 0x48271f
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3fffffff
jle 0x4826e5
mov dword [ebp - 0xf4], 0
jmp 0x482713
mov eax, dword [ebp - 0x44]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0xf8], esp
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.00402280
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00482510
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x48288e
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x54], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xc
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push 0x2d1080
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48287d
lea ecx, [ebp - 0xec]
call fcn.00481e20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0042eca0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x41
push eax
push 0x5e3044
lea ecx, [ebp - 0x58]
push ecx
call fcn.00407aa0
add esp, 0xc
push 0
lea ecx, [ebp - 0x58]
call fcn.00405fe0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4827ce
mov dword [ebp - 0xfc], 0
jmp 0x48282f
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x3fffffff
jle 0x4827f3
mov dword [ebp - 0x100], 0
jmp 0x482823
mov eax, dword [ebp - 0x44]
shl eax, 1
call fcn.00570840
mov dword [ebp - 0x104], esp
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x44]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x104]
push eax
call fcn.004022d0
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0xb4]
call fcn.00406110
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00484090
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0042ecc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.004691f0
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x14]
shr ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x482651
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret