Function at 0x488b20
Capabilities:
Get disk information
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x310], 0
push 0x4ef9e4
push 0x4fcad8
push 0x4ef9f0
lea eax, [ebp - 0x304]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x304]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push 0x5507c6
push str.CD_ROM_Name
push 0x4efa10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x488c41
lea eax, [ebp - 0x104]
push eax
call fcn.004b5f60
add esp, 4
cmp eax, 1
jne 0x488bd2
push 0x4efa38
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b5e70
add esp, 8
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x488c41
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x104]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov dword [ebp - 0x30c], 1
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x104]
push ecx
push str.CD_ROM_drive_is_called__s__forced_from__s_
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push 1
call fcn.00440830
add esp, 8
mov eax, dword [ebp - 0x30c]
jmp 0x488df5
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x308], 0
jmp 0x488c66
mov ecx, dword [ebp - 0x308]
add ecx, 1
mov dword [ebp - 0x308], ecx
cmp dword [ebp - 0x308], 0x1a
jge 0x488ccd
mov edx, dword [ebp - 0x308]
add edx, 0x41
push edx
push 0x4efa8c
lea eax, [ebp - 0x104]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x488ccb
lea edx, [ebp - 0x104]
push edx
push str.The__s_drive_is_a_networked_drive.
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
push 1
call fcn.00440830
add esp, 8
jmp 0x488c57
mov dword [ebp - 0x308], 0
jmp 0x488ce8
mov edx, dword [ebp - 0x308]
add edx, 1
mov dword [ebp - 0x308], edx
cmp dword [ebp - 0x308], 0x1a
jge 0x488def
mov eax, dword [ebp - 0x308]
add eax, 0x41
push eax
push 0x4efae8
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b6e08
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x488dea
cmp dword [ebp - 0x314], 1
jne 0x488d40
mov eax, dword [ebp - 0x308]
add eax, 0x41
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x30c], 1
mov edx, dword [ebp + 8]
push edx
push str.CD_ROM_drive_is_called__s:
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
push 1
call fcn.00440830
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea edx, [ebp - 0x104]
push edx
push str._sVERSION
lea eax, [ebp - 0x304]
push eax
call fcn.004b6e08
add esp, 0xc
push 0x4efb3c
lea ecx, [ebp - 0x304]
push ecx
call fcn.0041a470
add esp, 8
mov dword [ebp - 0x310], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x310], 0
je 0x488dea
mov edx, dword [ebp - 0x308]
add edx, 0x41
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x310]
push ecx
call fcn.00419ca0
add esp, 4
jmp 0x488def
jmp 0x488cd9
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret