Function at 0x48fa2c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x48fa34
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x48fd63
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, 0x48fd70
call fcn.0048de84
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x48fd70
call sub.kernel32.dll_GetVolumeInformationA
mov esi, dword [ebp - 0x14]
add esi, 0x3039
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00408cd4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x23808]
call fcn.00403b44
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x48fd74
call sub.kernel32.dll_GetVolumeInformationA
mov esi, dword [ebp - 0x14]
sub esi, 0x3039
test esi, esi
jae 0x48fade
lea eax, [ebx + 0x2380c]
mov edx, dword [ebx + 0x23808]
call fcn.00403b44
jmp 0x48fafa
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00408cd4
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x2380c]
call fcn.00403b44
xor esi, esi
lea eax, [ebx + 0x23804]
mov edx, dword [ebx + 0x2380c]
call fcn.00403b44
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
test eax, eax
jle 0x48fb35
mov edx, 1
mov ecx, dword [ebx + 0x2380c]
movzx ecx, byte [ecx + edx - 1]
add esi, ecx
sub esi, 0x30
inc edx
dec eax
jne 0x48fb21
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
lea edx, [ebp - 0x20]
call fcn.00408ca4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403d70
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00403f78
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.00408cd4
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
mov edx, 0x48fd80
call fcn.00403dbc
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00403d70
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x2c]
call fcn.00403f78
lea eax, [ebp - 0x3c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x2380c]
call fcn.00403f78
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x2380c]
call fcn.00403f78
push dword [ebp - 0x40]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00403e30
fild qword [ebp - 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x44]
call fcn.004099b4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x2380c]
call fcn.00403b44
xor esi, esi
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
test eax, eax
jle 0x48fc3a
mov edx, 1
mov ecx, dword [ebx + 0x2380c]
movzx ecx, byte [ecx + edx - 1]
add esi, ecx
sub esi, 0x30
inc edx
dec eax
jne 0x48fc26
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
lea edx, [ebp - 0x20]
call fcn.00408ca4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403d70
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x20]
call fcn.00403f78
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.00408cd4
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
mov edx, 0x48fd80
call fcn.00403dbc
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00403d70
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x2c]
call fcn.00403f78
lea eax, [ebp - 0x4c]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebx + 0x2380c]
call fcn.00403f78
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x2380c]
call fcn.00403d70
mov edx, eax
mov ecx, 1
mov eax, dword [ebx + 0x2380c]
call fcn.00403f78
push dword [ebp - 0x50]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403e30
lea eax, [ebx + 0x2380c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00403dbc
lea eax, [ebx + 0x23808]
mov ecx, dword [ebx + 0x23808]
mov edx, 0x48fd8c
call fcn.00403dbc
lea eax, [ebx + 0x23804]
mov ecx, dword [ebx + 0x23804]
mov edx, 0x48fd8c
call fcn.00403dbc
lea eax, [ebx + 0x2380c]
mov ecx, dword [ebx + 0x2380c]
mov edx, 0x48fd98
call fcn.00403dbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd6a
lea eax, [ebp - 0x50]
mov edx, 0xd
call fcn.00403b14
ret