Function at 0x4653d1
Capabilities:
Read .ini file

Disassembly:
mov ecx, 0x509408
jmp 0x4653c4
mov eax, 0x4d3e96
call fcn.004ca3a0
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.004687ae
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.004687fe
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x90]
push eax
mov byte [ebp - 4], 6
call fcn.004687fe
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xb8]
push eax
mov byte [ebp - 4], 9
call fcn.004687fe
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0xe4]
push eax
mov byte [ebp - 4], 0xc
call fcn.004687fe
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x124]
push eax
mov byte [ebp - 4], 0xf
call fcn.0046884e
lea ecx, [esi + 0x158]
mov byte [ebp - 4], 0x11
call fcn.0046cb2a
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0x12
call fcn.0046c55d
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x13
call fcn.0046c0c4
lea ecx, [esi + 0x1a4]
mov byte [ebp - 4], 0x14
call fcn.0046ba1e
lea ecx, [esi + 0x1c4]
mov byte [ebp - 4], 0x15
call fcn.00469f05
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x35c]
push eax
mov byte [ebp - 4], 0x17
call fcn.0046889e
lea ebx, [esi + 0x444]
mov dword [esi + 0x440], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [esi + 0x4b0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [esi + 0x4bc]
mov byte [ebp - 4], 0x1b
call fcn.0046b849
lea eax, [ebp - 0xd]
push edi
lea ecx, [esi + 0x4cc]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00468996
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x1f
mov dword [esi], 0x4e7264
call fcn.0047fdf0
call fcn.00471449
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00465d0f
call fcn.004709f4
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00465d0f
call fcn.004709dd
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00465d0f
call fcn.0046f65c
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00465d0f
call fcn.0046ceee
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00465d0f
lea ecx, [esi + 0xe4]
call fcn.0047fdf0
lea ecx, [esi + 0x124]
call fcn.0047fdf0
lea ecx, [esi + 0x64]
call fcn.0047fdf0
lea ecx, [esi + 0x90]
call fcn.0047fdf0
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 + 0x1b4], edi
mov dword [esi + 0x1c0], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x154], edi
or dword [esi + 0x208], 0xffffffff
mov dword [esi + 0x218], 0x64
push dword [0x50491c]
mov ecx, esi
call fcn.00467111
mov ecx, esi
call fcn.004672ae
mov ecx, esi
call fcn.00467ec3
push dword [ebx + 4]
mov ecx, ebx
push dword [ebx]
call fcn.004c24c4
mov dword [esi + 0x40c], edi
mov dword [esi + 0x410], edi
mov dword [esi + 0x418], edi
call sub.WINMM.dll_timeGetTime
mov dword [esi + 0x420], eax
push 0x40
lea eax, [esi + 0x21c]
push edi
mov dword [esi + 0x428], edi
push eax
mov dword [esi + 0x42c], edi
call sub.MSVCRT.dll_memset
push 0x100
lea eax, [esi + 0x25c]
push edi
push eax
call sub.MSVCRT.dll_memset
push edi
call dword [sym.imp.Role3D.dll_Game3DEffectCreate]
add esp, 0x1c
mov dword [esi + 0x440], eax
mov dword [esi + 0x4a8], edi
mov dword [esi + 0x4ac], 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 0x4656e9
cmp eax, 3
jg 0x4656e9
lea eax, [esi + 0x430]
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 + 0x434], ecx
mov dword [esi + 0x438], 0x12c
mov dword [esi + 0x43c], ecx
call fcn.004c62bb
lea eax, [esi + 0x434]
push edi
push eax
push str.Exp_YPos
push str.ExpShowPos
push ebx
call fcn.004c62bb
lea eax, [esi + 0x438]
push edi
push eax
push str.AddExp_XPos
push str.ExpShowPos
push ebx
call fcn.004c62bb
lea eax, [esi + 0x43c]
push edi
push eax
push str.AddExp_YPos
jmp 0x465764
lea eax, [esi + 0x430]
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 + 0x434], ecx
mov dword [esi + 0x438], 0xc8
mov dword [esi + 0x43c], ecx
call fcn.004c62bb
lea eax, [esi + 0x434]
push edi
push eax
push str.Exp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.004c62bb
lea eax, [esi + 0x438]
push edi
push eax
push str.AddExp_XPos_800X600
push str.ExpShowPos
push ebx
call fcn.004c62bb
lea eax, [esi + 0x43c]
push edi
push eax
push str.AddExp_YPos_800X600
push str.ExpShowPos
push ebx
call fcn.004c62bb
mov ecx, dword [ebp - 0xc]
add esp, 0x50
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret