Function at 0x4c0ee8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4c0ef0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c12ff
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov ebx, 1
lea eax, [ebp - 0x84]
lea edx, [ebx + 0x42]
call fcn.00403e74
lea eax, [ebp - 0x84]
mov edx, 0x4c1318
call fcn.00403f54
mov eax, dword [ebp - 0x84]
call fcn.00404110
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4c0f4e
inc esi
mov dword [ebp + esi*4 - 0x84], ebx
lea eax, [ebp - 0x88]
lea edx, [ebx + 0x42]
call fcn.00403e74
lea eax, [ebp - 0x88]
mov edx, 0x4c1318
call fcn.00403f54
mov eax, dword [ebp - 0x88]
call fcn.00404110
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
je 0x4c0f88
inc ebx
cmp ebx, 0x15
jne 0x4c0f12
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov edi, esi
test edi, edi
jle 0x4c0ff5
lea ebx, [ebp - 0x80]
lea eax, [ebp - 0x8c]
mov edx, dword [ebx]
add edx, 0x42
call fcn.00403e74
lea eax, [ebp - 0x8c]
mov edx, 0x4c1318
call fcn.00403f54
mov eax, dword [ebp - 0x8c]
call fcn.00404110
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x20]
call fcn.004bc7d4
fild qword [ebp - 0x20]
fdiv dword [0x4c131c]
call fcn.00402ac8
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
add ebx, 4
dec edi
jne 0x4c0f9f
fild qword [ebp - 0x30]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x10]
call fcn.0040a24c
lea eax, [ebp - 0x10]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404154
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x153fc]
mov ecx, 1
mov edx, 1
call fcn.00404154
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 8]
call fcn.0040909c
lea eax, [ebp - 0xc]
call fcn.00403ccc
cmp esi, 1
jne 0x4c106d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x15420]
lea eax, [ebp - 0xc]
mov edx, 0x4c1328
call fcn.00403f98
cmp esi, 2
jne 0x4c1116
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 0x7c]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0x98]
mov ecx, 5
mov eax, dword [ebp - 4]
call fcn.004c0988
mov eax, dword [ebp - 0x94]
push eax
push 0
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x80]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xa0]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004c0988
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
pop ecx
call fcn.00403f98
push 0x4c1328
push dword [ebp - 8]
lea edx, [ebp - 0xa4]
mov eax, esi
call fcn.00409428
push dword [ebp - 0xa4]
push 0x4c1334
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.0040400c
cmp esi, 3
jne 0x4c11f5
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x80]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xac]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0xa8]
push 0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x7c]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xb4]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0xb0]
push 0
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
mov edx, dword [ebp - 0x78]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xbc]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0xb8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040400c
push 0x4c1328
push dword [ebp - 8]
lea edx, [ebp - 0xc0]
mov eax, esi
call fcn.00409428
push dword [ebp - 0xc0]
push 0x4c1334
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.0040400c
cmp esi, 3
jle 0x4c12c4
push 0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 0x80]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xc8]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0xc4]
push 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xd0]
mov edx, dword [ebp - 0x7c]
add edx, 0x42
call fcn.00403e74
mov edx, dword [ebp - 0xd0]
mov ecx, 3
mov eax, dword [ebp - 4]
call fcn.004c0988
push dword [ebp - 0xcc]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040400c
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409428
cmp esi, 9
jle 0x4c1292
lea eax, [ebp - 0x14]
mov edx, 0x4b
sub edx, esi
call fcn.00403e74
cmp esi, 0x19
jle 0x4c12a4
lea eax, [ebp - 0x14]
mov edx, 0x4c1340
call fcn.00403d64
push 0x4c1328
push dword [ebp - 8]
push dword [ebp - 0x14]
push 0x4c1334
push dword [ebp - 0xc]
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.0040400c
mov eax, dword [ebp - 4]
add eax, 0x15414
mov edx, dword [ebp - 0xc]
call fcn.00403d20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1306
lea eax, [ebp - 0xd0]
mov edx, 0x14
call fcn.00403cf0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403cf0
ret