Function at 0x418d70
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x466498]
sub esp, 0x184
add eax, 0x77c
push ebx
push edi
mov edi, dword [esp + 0x190]
mov ebx, ecx
push edi
push eax
lea ecx, [esp + 0x10]
push str._sDataThemes_s.thm
push ecx
call fcn.004294a1
lea edx, [esp + 0x18]
push 0
push edx
call fcn.0042a956
add esp, 0x18
test eax, eax
je 0x418dbc
pop edi
xor eax, eax
pop ebx
add esp, 0x184
ret 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [ebx + 0x104]
push 0x100
push ecx
push str.sample
push str.Pieces
push str.THEME
call ebp
lea edx, [esp + 0x10]
lea eax, [ebx + 0x204]
push edx
push 0x100
push eax
push str.sample
push str.FloorPieces
push str.THEME
call ebp
lea ecx, [esp + 0x10]
lea edx, [ebx + 0x304]
push ecx
push 0x100
push edx
push str.abstrwav.jpg
push str.WallTexture
push str.THEME
call ebp
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x404]
push eax
push 0x100
push ecx
push str.wood_floor.jpg
push str.FloorTexture
push str.THEME
call ebp
lea edx, [esp + 0x10]
lea eax, [ebx + 0x504]
push edx
push 0x100
push eax
push str.wood_floor.jpg
push str.BoxTexture
push str.THEME
call ebp
lea ecx, [esp + 0x10]
lea eax, [ebx + 0x604]
push ecx
push 0x100
push eax
push str.Chrome_Ball
push str.Ball
push str.THEME
call ebp
lea edx, [esp + 0x10]
lea eax, [ebx + 0x708]
push edx
push 0x100
push eax
push 0x466490
push str.Background
push str.THEME
call ebp
lea ecx, [esp + 0x10]
lea edx, [ebx + 0x808]
push ecx
push 0x100
push edx
push str.path.tif
push str.PathTexture
push str.THEME
call ebp
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x90c]
push eax
push 0x100
push ecx
push 0x466490
push str.Song
push str.THEME
call ebp
lea edx, [esp + 0x10]
lea eax, [ebx + 0xa0c]
push edx
push 0x100
push eax
push str.Irismetal.jpg
push str.TrapTexture
push str.THEME
call ebp
lea ecx, [esp + 0x10]
lea edx, [ebx + 0xb0c]
push ecx
push 0x100
push edx
push str.BumpWood.wav
push str.BumpSound
push str.THEME
call ebp
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xc0c]
push eax
push 0x100
push ecx
push str.RollWood.wav
push str.RollSound
push str.THEME
call ebp
lea edx, [esp + 0x10]
lea eax, [ebx + 0xd0c]
push edx
push 0x100
push eax
push str.TrapWood.wav
push str.TrapSound
push str.THEME
call ebp
lea ecx, [esp + 0x10]
lea edx, [esp + 0x114]
push ecx
push 0x80
push edx
push 0x45a958
push str.PathScale
push str.THEME
call ebp
lea eax, [esp + 0x114]
push eax
call fcn.0042a279
fst dword [ebx + 0x908]
fcomp dword [0x453440]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x418fce
mov dword [ebx + 0x908], 0x3f800000
lea ecx, [esp + 0x10]
push ecx
push 0
push str.WideBox
push str.THEME
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0xe0c], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x466498]
add ecx, 0x77c
push ecx
push str._sData_balls.gam
push edx
call fcn.004294a1
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x114]
push eax
push 0x80
push ecx
push 0x466490
lea eax, [ebx + 0x604]
push str.Texture
push eax
call ebp
mov al, byte [esp + 0x114]
xor edx, edx
test al, al
setne dl
pop esi
pop ebp
mov dword [ebx + 0x704], edx
pop edi
mov eax, 1
pop ebx
add esp, 0x184
ret 4