Function at 0x49ec1d
Capabilities:
Read .ini file

Disassembly:
mov ecx, 0x5d91d0
jmp 0x49ec10
mov eax, 0x56f3c2
call fcn.0051f140
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.004a2188
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.004a21d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x90]
push eax
mov byte [ebp - 4], 6
call fcn.004a21d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xb8]
push eax
mov byte [ebp - 4], 9
call fcn.004a21d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xe4]
push eax
mov byte [ebp - 4], 0xc
call fcn.004a21d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.004a2228
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 0x11
call fcn.004a6941
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x12
call fcn.004a6380
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x13
call fcn.004a5dff
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0x14
call fcn.004a56dc
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 0x15
call fcn.004a39c2
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x370]
push eax
mov byte [ebp - 4], 0x17
call fcn.004a2278
lea ebx, [esi + 0x454]
mov dword [esi + 0x450], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [esi + 0x4c0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [esi + 0x4cc]
mov byte [ebp - 4], 0x1b
call fcn.004a5507
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x4dc]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004a2396
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x1f
mov dword [esi], 0x589050
call fcn.004bdcc1
call fcn.004ab41f
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0049f5a4
call fcn.004aa9e0
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0049f5a4
call fcn.004aa9c9
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0049f5a4
call fcn.004a9659
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0049f5a4
call fcn.004a6ef0
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.0049f5a4
lea ecx, [esi + 0xe4]
call fcn.004bdcc1
lea ecx, [esi + 0x124]
call fcn.004bdcc1
lea ecx, [esi + 0x64]
call fcn.004bdcc1
lea ecx, [esi + 0x90]
call fcn.004bdcc1
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 + 0x21c], edi
mov dword [esi + 0x220], edi
mov dword [esi + 0x22c], 0x64
push dword [0x5c971c]
mov ecx, esi
call fcn.004a09a6
mov ecx, esi
call fcn.004a0c15
mov ecx, esi
call fcn.004a1839
push dword [ebx + 4]
mov ecx, ebx
push dword [ebx]
call fcn.004a22c8
mov dword [esi + 0x420], edi
mov dword [esi + 0x424], edi
mov dword [esi + 0x42c], edi
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x434], eax
push 0x40
lea eax, [esi + 0x230]
push edi
mov dword [esi + 0x438], edi
push eax
mov dword [esi + 0x43c], edi
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0x270]
push edi
push eax
call sub.MSVCRT.dll_memset
push edi
call dword [sym.imp.Role3D.dll_Game3DEffectCreate]
add esp, 0x1c
mov dword [esi + 0x450], eax
mov dword [esi + 0x4b8], edi
mov dword [esi + 0x4bc], 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 0x49ef41
cmp eax, 3
jg 0x49ef41
lea eax, [esi + 0x440]
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 + 0x444], ecx
mov dword [esi + 0x448], 0x12c
mov dword [esi + 0x44c], ecx
call fcn.00518321
lea eax, [esi + 0x444]
push edi
push eax
push str.Exp_YPos
push str.ExpShowPos
push ebx
call fcn.00518321
lea eax, [esi + 0x448]
push edi
push eax
push str.AddExp_XPos
push str.ExpShowPos
push ebx
call fcn.00518321
lea eax, [esi + 0x44c]
push edi
push eax
push str.AddExp_YPos
jmp 0x49efbc
lea eax, [esi + 0x440]
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 + 0x444], ecx
mov dword [esi + 0x448], 0xc8
mov dword [esi + 0x44c], ecx
call fcn.00518321
lea eax, [esi + 0x444]
push edi
push eax
push str.Exp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.00518321
lea eax, [esi + 0x448]
push edi
push eax
push str.AddExp_XPos_800X600
push str.ExpShowPos
push ebx
call fcn.00518321
lea eax, [esi + 0x44c]
push edi
push eax
push str.AddExp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.00518321
mov ecx, dword [ebp - 0xc]
add esp, 0x50
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret