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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0
push 0x56b074
push 0x5c5ed8
push 0x56b080
lea eax, [ebp - 0x210]
push eax
call fcn.00532706
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
push 0xff
lea edx, [ebp - 0x318]
push edx
push 0x5f9d0a
push str.CD_ROM_Name
push 0x56b094
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x486ba2
lea eax, [ebp - 0x318]
push eax
call fcn.00532e80
add esp, 4
cmp eax, 1
jne 0x486b3c
push 0x56b09c
lea ecx, [ebp - 0x318]
push ecx
call fcn.00532590
add esp, 8
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x486ba2
movsx eax, byte [ebp - 0x318]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x214], 1
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x318]
push eax
push str.CD_ROM_drive_is_called__s__forced_from__s_
lea ecx, [ebp - 0x110]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push 1
call fcn.00436500
add esp, 8
mov eax, dword [ebp - 0x214]
jmp 0x486d47
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x218], 0
jmp 0x486bc7
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x1a
jge 0x486c2e
mov ecx, dword [ebp - 0x218]
add ecx, 0x41
push ecx
push 0x56b0cc
lea edx, [ebp - 0x318]
push edx
call fcn.00532706
add esp, 0xc
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
jne 0x486c2c
lea ecx, [ebp - 0x318]
push ecx
push str.The__s_drive_is_a_networked_drive.
lea edx, [ebp - 0x110]
push edx
call fcn.00532706
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 1
call fcn.00436500
add esp, 8
jmp 0x486bb8
mov dword [ebp - 0x218], 0
jmp 0x486c49
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
cmp dword [ebp - 0x218], 0x1a
jge 0x486d41
mov edx, dword [ebp - 0x218]
add edx, 0x41
push edx
push 0x56b0f8
lea eax, [ebp - 0x318]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x486d3c
cmp dword [ebp - 4], 1
jne 0x486c9e
mov edx, dword [ebp - 0x218]
add edx, 0x41
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x214], 1
mov ecx, dword [ebp + 8]
push ecx
push str.CD_ROM_drive_is_called__s:
lea edx, [ebp - 0x110]
push edx
call fcn.00532706
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 1
call fcn.00436500
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea ecx, [ebp - 0x318]
push ecx
push 0x56b118
lea edx, [ebp - 0x210]
push edx
call fcn.00532706
add esp, 0xc
push 0x56b124
lea eax, [ebp - 0x210]
push eax
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 8], 0
je 0x486d3c
mov ecx, dword [ebp - 0x218]
add ecx, 0x41
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
push eax
call fcn.00431d50
add esp, 4
jmp 0x486d41
jmp 0x486c3a
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret