Function at 0x4e8b73
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0051bd44
mov ecx, eax
call fcn.00527578
test eax, eax
je 0x4e8c17
cmp dword [0x691ccc], 0
je 0x4e8bac
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
mov ebp, eax
sub ebp, dword [esi + 0x2f0]
jmp 0x4e8bb2
mov ebp, dword [esi + 0x2f0]
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
mov ebx, eax
call edi
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0xff000000
push 0
push 0
push str.ini_info.Ini
push 0x12
push str.Size
push str.FontSize2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
mov eax, dword [ebx]
push 0xc350
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov eax, dword [edi]
push 0x28f3
mov ecx, edi
call dword [eax + 0x3c]
push eax
push 0xff01f546
push dword [esi + 0x2f4]
push ebp
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringCommon_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
jmp 0x4e8dc9
call fcn.0051bd44
mov ecx, dword [eax + 0x758]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x75c]
mov dword [esp + 0x1c], eax
call fcn.0051bd44
mov ecx, eax
call fcn.00519e0d
mov dword [esp + 0x10], eax
or eax, edx
mov dword [esp + 0x14], edx
je 0x4e8dcc
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
fild qword [esp + 0x18]
mov edx, dword [eax]
push ecx
push ecx
mov ecx, eax
fmul qword [0x621290]
fild qword [esp + 0x18]
fdivp st(1)
fstp qword [esp]
push 0x18727
call dword [edx + 0x3c]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ebp, dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringCommon_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
xor ebx, ebx
add esp, 0x10
cmp dword [esi + 0x2dc], ebx
je 0x4e8d06
cmp dword [0x691ccc], ebx
je 0x4e8caa
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
sub eax, dword [esi + 0x2f0]
jmp 0x4e8cb0
mov eax, dword [esi + 0x2f0]
mov dword [esp + 0x18], eax
call edi
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push 0xff000000
push 0
push 0
push str.ini_info.Ini
push 0x12
push str.Size
push str.FontSize2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
mov eax, dword [ebx]
push 0xc350
mov ecx, ebx
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x78]
push eax
push 0xff01f546
push dword [esi + 0x2f4]
push dword [esp + 0x3c]
call ebp
add esp, 0x28
xor ebx, ebx
cmp dword [esi + 0x2dc], ebx
je 0x4e8dcc
cmp dword [esi + 0x2ec], ebx
jl 0x4e8dcc
jg 0x4e8d2c
cmp dword [esi + 0x2e8], ebx
jbe 0x4e8dcc
call sub.WINMM.dll_timeGetTime
sub eax, dword [esi + 0x2e4]
cmp eax, 0x7d0
jae 0x4e8dcc
push dword [esi + 0x2ec]
lea eax, [esp + 0x24]
push dword [esi + 0x2e8]
push str._I64u
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
cmp dword [0x691ccc], ebx
je 0x4e8d79
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
mov ebx, eax
sub ebx, dword [esi + 0x2f8]
jmp 0x4e8d7f
mov ebx, dword [esi + 0x2f8]
call edi
mov edi, eax
lea eax, [esp + 0x10]
push eax
push 0xff000000
push 0
push 0
push str.ini_info.Ini
push 0x12
push str.Size
push str.FontSize2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
mov eax, dword [edi]
push 0xc350
mov ecx, edi
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
push 0xff01f546
push dword [esi + 0x2fc]
push ebx
call ebp
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret