Function at 0x4ee4c0
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push 0x104
push 0xc30ca8
push 0xc30ca8
push str.Company
push str.General
call ebx
push esi
push 0x104
push 0xc31850
push 0xc31850
push str.Product
push str.General
call ebx
mov eax, dword [0xc3043c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push eax
push str.Inheritance
push str.General
call edi
mov ecx, dword [0xc30874]
push esi
push ecx
push str.DebugMode
push str.General
mov dword [0xc3043c], eax
call edi
mov edx, dword [0x58c650]
push esi
push edx
push str.Error
push str.General
mov dword [0xc30874], eax
call edi
push esi
mov dword [0x58c650], eax
mov eax, dword [0xc30544]
push eax
push str.MultiInstance
push str.General
call edi
push esi
push 0x100
push 0xc31958
push 0xc31958
push str.Title
push str.General
mov dword [0xc30544], eax
call ebx
mov ecx, dword [0x58c6ac]
push esi
push ecx
push str.FileSystem
push str.General
call edi
mov dword [0x58c6ac], eax
test al, 3
jne 0x4ee5b0
mov dword [0x58c6ac], 3
mov edx, dword [0xc31b7c]
push esi
push edx
push str.Resize
push str.Window
call edi
push esi
mov dword [0xc31b7c], eax
mov eax, dword [0x58c6a0]
push eax
push str.RestoreBounds
push str.Window
call edi
mov ecx, dword [0xc31b80]
push esi
push ecx
push str.WindowLeft
push str.Window
mov dword [0x58c6a0], eax
call edi
mov edx, dword [0xc31b84]
push esi
push edx
push str.WindowTop
push str.Window
mov dword [0xc31b80], eax
call edi
push esi
mov dword [0xc31b84], eax
mov eax, dword [0xc31b88]
push eax
push str.WindowWidth
push str.Window
call edi
mov ecx, dword [0xc31b8c]
push esi
push ecx
push str.WindowHeight
push str.Window
mov dword [0xc31b88], eax
call edi
mov edx, dword [0x58c694]
push esi
push edx
push str.Width
push str.Screen
mov dword [0xc31b8c], eax
call edi
push esi
mov dword [0x58c694], eax
mov eax, dword [0x58c698]
push eax
push str.Height
push str.Screen
call edi
mov ecx, dword [0x58c69c]
push esi
push ecx
push str.Depth
push str.Screen
mov dword [0x58c698], eax
call edi
mov edx, dword [0xc30438]
push esi
push edx
push str.FullScreen
push str.Screen
mov dword [0x58c69c], eax
call edi
push esi
mov dword [0xc30438], eax
mov eax, dword [0x58e798]
push eax
push str.FixedAspectRatio
push str.Screen
call edi
mov ecx, dword [0x58c690]
push esi
push ecx
mov dword [0x58e798], eax
push str.Smoothing
push str.Screen
call edi
mov edx, dword [0x58c6a4]
push esi
push edx
push 0x55fc54
push str.System
mov dword [0x58c690], eax
call edi
push esi
mov dword [0x58c6a4], eax
mov eax, dword [0x58c6a8]
push eax
push str.MultiThreading
push str.System
call edi
mov ecx, dword [0xc31ba8]
push esi
push ecx
push str.Direct3D
push str.System
mov dword [0x58c6a8], eax
call edi
mov edx, dword [0xc31bac]
push esi
push edx
push str.DirectSound
push str.System
mov dword [0xc31ba8], eax
call edi
push esi
mov dword [0xc31bac], eax
mov eax, dword [0xc31bb0]
push eax
push str.DirectMusic
push str.System
call edi
mov ecx, dword [0xc31bb4]
push esi
push ecx
push str.DirectInput
push str.System
mov dword [0xc31bb0], eax
call edi
mov edx, dword [0xc31bbc]
push esi
push edx
push 0x55fc08
push str.System
mov dword [0xc31bb4], eax
call edi
push esi
mov dword [0xc31bbc], eax
mov eax, dword [0xc31bb8]
push eax
push 0x55fc04
push str.Drive
call edi
push esi
push 0x100
push 0xc31350
push 0xc31350
push str.CD_ROM
push str.Drive
mov dword [0xc31bb8], eax
call ebx
push esi
push 0x100
push 0xc308a0
push 0xc308a0
push str.CD_DIR
push str.Drive
call ebx
push 0xc308a0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4ee802
mov al, byte [eax + 0xc3089f]
cmp al, 0x5c
je 0x4ee802
cmp al, 0x2f
je 0x4ee802
push 0x55fbe8
push 0xc308a0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x58c684]
push esi
push ecx
push str.GlobalFocus
push str.Option
call edi
mov edx, dword [0x58c688]
push esi
push edx
push str.GlobalSound
push str.Option
mov dword [0x58c684], eax
call edi
push esi
mov dword [0x58c688], eax
mov eax, dword [0x58c68c]
push eax
push str.Confirmation
push str.Option
call edi
push esi
push 0x104
push 0xc30548
push 0xc30548
push str.Load
push str.Script
mov dword [0x58c68c], eax
call ebx
mov ecx, dword [0xc30aa4]
push esi
push ecx
push str.ProgramSize
push str.Script
call edi
mov edx, dword [0xc30898]
push esi
push edx
push str.StackSize
push str.Script
mov dword [0xc30aa4], eax
call edi
push esi
mov dword [0xc30898], eax
mov eax, dword [0xc30eb4]
push eax
push 0x55fb84
push str.Script
call edi
pop edi
pop esi
mov dword [0xc30eb4], eax
mov eax, 1
pop ebx
ret