Function at 0x49632d
Capabilities:
Read .ini file

Disassembly:
mov ecx, 0x58f638
jmp 0x496320
mov eax, 0x53b436
call fcn.0050bac0
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.00499788
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.004997d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x90]
push eax
mov byte [ebp - 4], 6
call fcn.004997d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xb8]
push eax
mov byte [ebp - 4], 9
call fcn.004997d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xe4]
push eax
mov byte [ebp - 4], 0xc
call fcn.004997d8
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.00499828
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 0x11
call fcn.0049deb6
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x12
call fcn.0049d8e9
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x13
call fcn.0049d494
lea ecx, [esi + 0x1b0]
mov byte [ebp - 4], 0x14
call fcn.0049cdee
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 0x15
call fcn.0049b034
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x368]
push eax
mov byte [ebp - 4], 0x17
call fcn.00499878
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.0049cb6b
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x4d4]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004999cb
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x1f
mov dword [esi], 0x553500
call fcn.004a32a8
call fcn.004a28e1
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496c76
call fcn.004a1ea6
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496c76
call fcn.004a1e8f
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496c76
call fcn.004a0b90
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496c76
call fcn.0049e442
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00496c76
lea ecx, [esi + 0xe4]
call fcn.004a32a8
lea ecx, [esi + 0x124]
call fcn.004a32a8
lea ecx, [esi + 0x64]
call fcn.004a32a8
lea ecx, [esi + 0x90]
call fcn.004a32a8
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 [0x58204c]
mov ecx, esi
call fcn.00498078
mov ecx, esi
call fcn.00498215
mov ecx, esi
call fcn.00498e39
push dword [ebx + 4]
mov ecx, ebx
push dword [ebx]
call fcn.004998c8
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 0x40
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 0x496645
cmp eax, 3
jg 0x496645
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.00507741
lea eax, [esi + 0x43c]
push edi
push eax
push str.Exp_YPos
push str.ExpShowPos
push ebx
call fcn.00507741
lea eax, [esi + 0x440]
push edi
push eax
push str.AddExp_XPos
push str.ExpShowPos
push ebx
call fcn.00507741
lea eax, [esi + 0x444]
push edi
push eax
push str.AddExp_YPos
jmp 0x4966c0
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.00507741
lea eax, [esi + 0x43c]
push edi
push eax
push str.Exp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.00507741
lea eax, [esi + 0x440]
push edi
push eax
push str.AddExp_XPos_800X600
push str.ExpShowPos
push ebx
call fcn.00507741
lea eax, [esi + 0x444]
push edi
push eax
push str.AddExp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.00507741
mov ecx, dword [ebp - 0xc]
add esp, 0x50
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret