Function at 0x4961ed
Capabilities:
Read .ini file

Disassembly:
mov ecx, 0x58e778
jmp 0x4961e0
mov eax, 0x53a706
call fcn.0050ad90
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 8]
push eax
mov dword [ebp - 4], edi
call fcn.00499679
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.004996c9
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x90]
push eax
mov byte [ebp - 4], 6
call fcn.004996c9
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xb8]
push eax
mov byte [ebp - 4], 9
call fcn.004996c9
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xe4]
push eax
mov byte [ebp - 4], 0xc
call fcn.004996c9
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.00499719
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 0x11
call fcn.0049de29
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x12
call fcn.0049d85c
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x13
call fcn.0049d2da
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0x14
call fcn.0049cc34
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 0x15
call fcn.0049af32
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x368]
push eax
mov byte [ebp - 4], 0x17
call fcn.00499769
lea ebx, [esi + 0x44c]
mov dword [esi + 0x448], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [esi + 0x4b8]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [esi + 0x4c4]
mov byte [ebp - 4], 0x1b
call fcn.0049ca5f
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x4d4]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00499935
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x1f
mov dword [esi], 0x552500
call fcn.004e5205
call fcn.004a2811
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496b36
call fcn.004a1dbf
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496b36
call fcn.004a1da8
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496b36
call fcn.004a0aac
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496b36
call fcn.0049e3b5
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496b36
lea ecx, [esi + 0xe4]
call fcn.004e5205
lea ecx, [esi + 0x124]
call fcn.004e5205
lea ecx, [esi + 0x64]
call fcn.004e5205
lea ecx, [esi + 0x90]
call fcn.004e5205
push 1
mov dword [esi + 0xe0], edi
pop eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14c], eax
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x154], edi
or dword [esi + 0x214], 0xffffffff
mov dword [esi + 0x224], 0x64
push dword [0x581074]
mov ecx, esi
call fcn.00497f38
mov ecx, esi
call fcn.004980d5
mov ecx, esi
call fcn.00498cf9
push dword [ebx + 4]
mov ecx, ebx
push dword [ebx]
call fcn.004997b9
mov dword [esi + 0x418], edi
mov dword [esi + 0x41c], edi
mov dword [esi + 0x424], edi
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x42c], eax
push pe_nt_image_headers32
lea eax, [esi + 0x228]
push edi
mov dword [esi + 0x430], edi
push eax
mov dword [esi + 0x434], edi
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0x268]
push edi
push eax
call sub.MSVCRT.dll_memset
push edi
call dword [sym.imp.Role3D.dll_Game3DEffectCreate]
add esp, 0x1c
mov dword [esi + 0x448], eax
mov dword [esi + 0x4b0], edi
mov dword [esi + 0x4b4], 0x80
push str.ini_GameSetup.ini
push 0xffffffffffffffff
push str.ScreenModeRecord
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
jl 0x496505
cmp eax, 3
jg 0x496505
lea eax, [esi + 0x438]
push edi
push eax
push str.Exp_XPos
mov ebx, str.ini_Info.ini
mov ecx, 0x29c
push str.ExpShowPos
push ebx
mov dword [eax], 0x17c
mov dword [esi + 0x43c], ecx
mov dword [esi + 0x440], 0x12c
mov dword [esi + 0x444], ecx
call fcn.005075df
lea eax, [esi + 0x43c]
push edi
push eax
push str.Exp_YPos
push str.ExpShowPos
push ebx
call fcn.005075df
lea eax, [esi + 0x440]
push edi
push eax
push str.AddExp_XPos
push str.ExpShowPos
push ebx
call fcn.005075df
lea eax, [esi + 0x444]
push edi
push eax
push str.AddExp_YPos
jmp 0x496580
lea eax, [esi + 0x438]
push edi
push eax
push str.Exp_XPos_800X600
mov ebx, str.ini_Info.ini
mov ecx, 0x212
push str.ExpShowPos
push ebx
mov dword [eax], 0x118
mov dword [esi + 0x43c], ecx
mov dword [esi + 0x440], 0xc8
mov dword [esi + 0x444], ecx
call fcn.005075df
lea eax, [esi + 0x43c]
push edi
push eax
push str.Exp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.005075df
lea eax, [esi + 0x440]
push edi
push eax
push str.AddExp_XPos_800X600
push str.ExpShowPos
push ebx
call fcn.005075df
lea eax, [esi + 0x444]
push edi
push eax
push str.AddExp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.005075df
mov ecx, dword [ebp - 0xc]
add esp, 0x50
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret