Function at 0x4f30b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa94
push ebx
xor ebx, ebx
mov dword [ebp - 0x56c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405868
mov eax, dword [ebp - 8]
call fcn.00407198
lea eax, [ebp - 0x568]
mov edx, dword [0x40b6d8]
call fcn.00405e50
xor eax, eax
push ebp
push 0x4f32fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp dword [ebp - 4], 0
jne 0x4f31af
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea eax, [ebp - 0x410]
xor ecx, ecx
mov edx, 0x400
call fcn.00403ac0
lea eax, [ebp - 0x410]
push eax
push 0x400
call sub.kernel32.dll_GetLogicalDriveStringsA
lea eax, [ebp - 0x410]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405594
mov eax, dword [ebp - 0x10]
call fcn.00405678
add eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x4f32ba
mov eax, dword [ebp - 0x10]
call fcn.00405878
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4f3149
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x34]
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
jmp 0x4f3149
lea eax, [ebp - 0x56c]
mov ecx, 0x4f3310
mov edx, dword [ebp - 4]
call fcn.004056c4
mov eax, dword [ebp - 0x56c]
lea ecx, [ebp - 0x568]
mov edx, 0x3f
call fcn.0040d04c
test eax, eax
je 0x4f31eb
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
jmp 0x4f32ba
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x55c]
mov edx, 0x4f331c
call fcn.004057c4
je 0x4f329c
mov eax, dword [ebp - 0x55c]
mov edx, 0x4f3328
call fcn.004057c4
je 0x4f329c
mov edx, dword [ebp - 0x55c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x28]
test byte [ebp - 0x560], 0x10
je 0x4f325a
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x53c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
jmp 0x4f329c
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x53c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x534]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x530]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0x568]
call fcn.0040d09c
test eax, eax
je 0x4f31f5
lea eax, [ebp - 0x568]
call fcn.0040d0c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3303
lea eax, [ebp - 0x56c]
call fcn.0040539c
lea eax, [ebp - 0x568]
mov edx, dword [0x40b6d8]
call fcn.00405f20
lea eax, [ebp - 0x10]
call fcn.0040539c
lea eax, [ebp - 8]
call fcn.00407124
lea eax, [ebp - 4]
call fcn.0040539c
ret