Function at 0x405cf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd84
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x454070
call fcn.0044938c
mov edx, dword [0x454004]
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [0x454008]
mov dword [ebp - 0x38], edx
lea edi, [ebp - 0x15c]
mov dx, word [0x45400c]
mov word [ebp - 0x34], dx
lea edx, [ebp - 0x148]
mov word [ebp - 0x20], 8
mov dword [ebp - 4], ecx
mov ecx, 4
inc dword [ebp - 0x14]
mov word [ebp - 0x20], 0x14
push esi
mov esi, str.a:MPEGAV.
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
lea edi, [ebp - 0x16c]
push esi
mov esi, str.a:.
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
lea ecx, [ebp - 0x48]
mov eax, esi
add al, 0x41
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x15c], al
push 0x80
push edx
push ecx
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0xc8]
push 0x80
push ecx
lea eax, [ebp - 0x3c]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0xc8]
lea eax, [ebp - 8]
call fcn.00424cc4
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00424f53
dec dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00424f24
mov word [ebp - 0x20], 0x2c
mov edx, str.Audio_CD
lea eax, [ebp - 0xc]
call fcn.00424cc4
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00425004
push eax
dec dword [ebp - 0x14]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00424f24
pop ecx
test cl, cl
je 0x405e5a
lea eax, [ebx + 0x108]
mov esi, 0x4542cd
mov edi, eax
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dl, byte [ebp - 0x3c]
mov esi, str.Track01.cda
mov byte [ebx + 0x108], dl
add ebx, 4
mov edi, ebx
mov edx, 2
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, 1
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x14]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x405f7b
mov ecx, esi
lea eax, [ebp - 0x27c]
add cl, 0x61
lea edx, [ebp - 0x15c]
mov byte [ebp - 0x15c], cl
push 0
push eax
push edx
call fcn.00449fc8
add esp, 0xc
test eax, eax
jne 0x405eeb
lea ecx, [ebx + 0x108]
mov esi, str.a:MPEGAV
mov edi, ecx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dl, byte [ebp - 0x3c]
xor eax, eax
mov byte [ebx + 0x108], dl
add ebx, 4
lea edi, [ebp - 0x26c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, ebx
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
mov eax, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x14]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x405f7b
mov cl, byte [ebp - 0x3c]
lea eax, [ebp - 0x27c]
mov byte [ebp - 0x16c], cl
push 0
push eax
lea edx, [ebp - 0x16c]
push edx
call fcn.00449fc8
add esp, 0xc
test eax, eax
jne 0x405f52
lea ecx, [ebx + 0x108]
mov esi, 0x4542e6
mov edi, ecx
mov eax, edi
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dl, byte [ebp - 0x3c]
mov eax, 3
mov byte [ebx + 0x108], dl
mov edx, 2
mov byte [ebx + 4], 0
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x14]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x405f7b
mov byte [ebx + 0x108], 0
mov byte [ebx + 4], 0
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x14]
call fcn.00424f24
pop eax
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret