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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x50c], 0
push 0x4ee9ac
push 0x4fcad8
push 0x4ee9b8
lea eax, [ebp - 0x504]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x504]
push ecx
push 0xff
lea edx, [ebp - 0x104]
push edx
push 0x54fa68
push 0x4ee9c0
push 0x4ee9cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x510], eax
cmp dword [ebp - 0x510], 0
je 0x4835a1
lea eax, [ebp - 0x104]
push eax
call fcn.004b5f60
add esp, 4
cmp eax, 1
jne 0x48354b
push 0x4ee9d4
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 0x4835a1
lea eax, [ebp - 0x104]
push eax
push 0x4d5dd0
push str._sCD_ROM_drive__s_is_forced_from_records.ini
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e70
add esp, 8
push 0x4eea08
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e70
add esp, 8
mov dword [ebp - 0x508], 0
jmp 0x4835bc
mov edx, dword [ebp - 0x508]
add edx, 1
mov dword [ebp - 0x508], edx
cmp dword [ebp - 0x508], 0x1a
jge 0x483669
mov eax, dword [ebp - 0x508]
add eax, 0x41
push eax
push 0x4eea0c
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, 4
jne 0x483664
lea eax, [ebp - 0x104]
push eax
push 0x4d5dd0
push str._sThe__s_drive_is_a_networked_drive.
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.004b5f60
add esp, 4
mov esi, eax
lea eax, [ebp - 0x204]
push eax
call fcn.004b5f60
add esp, 4
add esi, eax
cmp esi, 0x3e8
jae 0x483664
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e70
add esp, 8
push 0x4eea38
mov eax, dword [ebp + 8]
push eax
call fcn.004b5e70
add esp, 8
jmp 0x4835ad
mov dword [ebp - 0x508], 0
jmp 0x483684
mov ecx, dword [ebp - 0x508]
add ecx, 1
mov dword [ebp - 0x508], ecx
cmp dword [ebp - 0x508], 0x1a
jge 0x483805
mov edx, dword [ebp - 0x508]
add edx, 0x41
push edx
push 0x4eea3c
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, 5
jne 0x483800
mov edx, dword [ebp - 0x508]
add edx, 0x41
push edx
push 0x4d5dd0
push str._sCD_ROM_drive_is_called__c:
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5f60
add esp, 4
mov esi, eax
lea edx, [ebp - 0x204]
push edx
call fcn.004b5f60
add esp, 4
add esi, eax
cmp esi, 0x3e8
jae 0x483722
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e70
add esp, 8
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea edx, [ebp - 0x104]
push edx
push 0x4eea60
lea eax, [ebp - 0x404]
push eax
call fcn.004b6e08
add esp, 0xc
push 0x4eea6c
lea ecx, [ebp - 0x404]
push ecx
call fcn.0041a470
add esp, 8
mov dword [ebp - 0x50c], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x50c], 0
je 0x4837de
mov edx, dword [ebp - 0x50c]
push edx
push 0xff
lea eax, [ebp - 0x304]
push eax
call fcn.004b6cc9
add esp, 0xc
push 0x4eea70
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6b14
add esp, 8
lea edx, [ebp - 0x304]
push edx
push str.___s_
lea eax, [ebp - 0x204]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e70
add esp, 8
mov eax, dword [ebp - 0x50c]
push eax
call fcn.00419ca0
add esp, 4
jmp 0x4837ef
push str.__No_DynEd_CD_or_DVD_
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e70
add esp, 8
push 0x4eea94
mov edx, dword [ebp + 8]
push edx
call fcn.004b5e70
add esp, 8
jmp 0x483675
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret