Function at 0x4fb720
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fba55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00403b74
call fcn.004fb4cc
mov eax, dword [0x5134a4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jl 0x4fba24
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x600]
cmp byte [ebx + 0x47], 1
jne 0x4fb7c9
mov eax, ebx
call fcn.004edb94
cmp al, 1
jne 0x4fb7c9
cmp dword [0x50f728], 0
jne 0x4fb7c9
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
call fcn.00433df0
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0xc]
call fcn.00408f68
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
jmp 0x4fba24
mov eax, dword [0x5134a4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4fba24
inc ebx
xor esi, esi
lea ecx, [ebp - 0x120]
mov edx, esi
mov eax, dword [0x5134a4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x10]
call fcn.00408f68
mov eax, dword [ebp - 0x10]
mov edx, 0x4fba6c
call fcn.00403f00
je 0x4fba1c
mov eax, dword [ebp - 0x10]
mov edx, 0x4fba78
call fcn.00403f00
je 0x4fba1c
mov eax, dword [ebp - 0x10]
call fcn.00403fb4
mov edi, eax
push edi
call sub.kernel32.dll_GetDriveTypeA
mov edx, dword [0x50fac8]
mov edx, dword [edx]
mov edx, dword [edx + 0x2cc]
mov edx, dword [edx + 0x1f8]
cmp eax, dword [edx*4 + 0x50f884]
jne 0x4fba1c
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push pe_nt_image_headers32
lea eax, [ebp - 0x118]
push eax
push edi
call sub.kernel32.dll_GetVolumeInformationA
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408f68
mov eax, dword [ebp - 0x120]
mov edx, 0x4fba84
call fcn.00403f00
je 0x4fb925
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x118]
mov ecx, pe_nt_image_headers32
call fcn.00403da0
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408f68
mov eax, dword [ebp - 0x120]
mov edx, 0x4fba94
call fcn.00403f00
je 0x4fb925
mov eax, dword [0x50fac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2cc]
mov eax, dword [eax + 0x1f8]
mov ecx, dword [eax*4 + 0x50f8b4]
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0x10]
call fcn.00403e3c
mov eax, dword [ebp - 0x120]
call fcn.004f6128
test al, al
je 0x4fba1c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00403c0c
mov eax, dword [ebp - 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x600]
cmp byte [ebx + 0x47], 1
jne 0x4fba24
mov eax, ebx
call fcn.004edb94
test al, al
jne 0x4fba24
cmp dword [ebp - 0x10], 0
je 0x4fba24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
mov dl, 1
call fcn.004edb9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
call fcn.004ed8b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
mov eax, dword [eax + 0x1ec]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4fba0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
mov eax, dword [eax + 0x1ec]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4fba24
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
mov eax, dword [eax + 0x1ec]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408f68
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x10]
call fcn.00403f00
jne 0x4fba04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
mov edx, ebx
call fcn.0042bb3c
jmp 0x4fba24
inc ebx
dec esi
jne 0x4fb9b5
jmp 0x4fba24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x600]
xor edx, edx
call fcn.004edb9c
jmp 0x4fba24
inc esi
dec ebx
jne 0x4fb7e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fba5c
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.00403b98
lea eax, [ebp - 0x11c]
call fcn.00403b74
lea eax, [ebp - 0x10]
call fcn.00403b74
ret