Function at 0x1004d207
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10139d20]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
push edi
push str.DoCheckOpenMiNiNews_Start
mov esi, ecx
call fcn.1001c8cf
xor edi, edi
cmp dword [esi + 0x364], edi
pop ecx
jne 0x1004d240
push str.DoCheckOpenMiNiNews_m_bOpenMini_Is_False
call fcn.1001c8cf
pop ecx
xor eax, eax
jmp 0x1004d4fd
cmp dword [esi + 0x324], 2
jne 0x1004d25c
push str.DoCheckOpenMiNiNews_m_nRunMiNiNewsType__EMiNiTypeOfHand
call fcn.1001c8cf
xor eax, eax
pop ecx
inc eax
jmp 0x1004d4fd
cmp dword [esi + 0x3e4], 8
jb 0x1004d26d
mov eax, dword [esi + 0x3d0]
jmp 0x1004d273
lea eax, [esi + 0x3d0]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push edi
push str.InstallDate
mov ebx, str.Setting
push ebx
call ebp
cmp dword [esi + 0x3e4], 8
mov dword [esp + 0x20], eax
jb 0x1004d29f
mov eax, dword [esi + 0x3d0]
jmp 0x1004d2a5
lea eax, [esi + 0x3d0]
push eax
push edi
push str.MiNiFramePopServerDate
push ebx
call ebp
cmp dword [esi + 0x3e4], 8
mov dword [esp + 0x24], eax
jb 0x1004d2c4
mov eax, dword [esi + 0x3d0]
jmp 0x1004d2ca
lea eax, [esi + 0x3d0]
push eax
push edi
push str.MiNiFramePopServerTime
push ebx
call ebp
cmp dword [esi + 0x3e4], 8
mov dword [esp + 0x1c], eax
jb 0x1004d2e9
mov eax, dword [esi + 0x3d0]
jmp 0x1004d2ef
lea eax, [esi + 0x3d0]
push eax
push edi
mov edi, str.MiNiFrameNoCanPopTime
push edi
push ebx
call ebp
push dword [esi + 0x45c]
mov dword [esp + 0x1c], eax
call fcn.1001a83b
pop ecx
mov dword [esp + 0x14], eax
call fcn.1001968a
push 0
push str.jsws
lea ecx, [esi + 0x3e8]
mov dword [esp + 0x18], eax
call fcn.10004770
cmp eax, 0xffffffff
jle 0x1004d353
cmp dword [esp + 0x10], 0x640
jb 0x1004d342
cmp dword [esp + 0x10], 0x708
jbe 0x1004d353
push str.DoCheckOpenMiNiNews____uHourMin___1600__uHourMin___1800__
call fcn.1001c8cf
xor eax, eax
jmp 0x1004d4fa
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jne 0x1004d364
push str.DoCheckOpenMiNiNews_nInstallDate__nServerData
jmp 0x1004d347
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x1004d3b2
mov eax, dword [esi + 0x45c]
cmp eax, ecx
jl 0x1004d3b2
sub eax, ecx
push eax
call fcn.1007a68f
cmp eax, 0x93a80
pop ecx
jg 0x1004d38d
push str.DoCheckOpenMiNiNews_nNoCanPopIntervalTime___7__24__3600
jmp 0x1004d347
cmp dword [esi + 0x3e4], 8
jb 0x1004d39e
mov eax, dword [esi + 0x3d0]
jmp 0x1004d3a4
lea eax, [esi + 0x3d0]
push eax
push 0x100f22d8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x24], eax
jne 0x1004d3e4
cmp dword [esp + 0x10], 0x640
jb 0x1004d3d0
cmp dword [esp + 0x10], 0x708
jbe 0x1004d3e4
cmp dword [esi + 0x324], 1
jne 0x1004d3e4
push str.DoCheckOpenMiNiNews_m_nRunMiNiNewsType__EMiNiTypeOfServiceAuto
call fcn.1001c8cf
pop ecx
mov eax, dword [esi + 0x45c]
sub eax, dword [esp + 0x1c]
push eax
call fcn.1007a68f
cmp eax, 0x1c20
pop ecx
jg 0x1004d406
push str.DoCheckOpenMiNiNews_nIntervalPopServerTime___2__3600
jmp 0x1004d347
and word [esp + 0x28], 0
push 9
pop ecx
push dword [esp + 0x14]
xor eax, eax
lea edi, [esp + 0x2e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x100f2494
push eax
call fcn.100054f5
add esp, 0xc
cmp dword [esi + 0x3e4], 8
jb 0x1004d440
mov eax, dword [esi + 0x3d0]
jmp 0x1004d446
lea eax, [esi + 0x3d0]
push eax
lea eax, [esp + 0x2c]
push eax
push str.MiNiFramePopServerDate
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [esp + 0x50], 0
push 9
pop ecx
push dword [esi + 0x45c]
xor eax, eax
lea edi, [esp + 0x56]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x54]
push 0x100f2494
push eax
call fcn.100054f5
add esp, 0xc
cmp dword [esi + 0x3e4], 8
jb 0x1004d494
mov eax, dword [esi + 0x3d0]
jmp 0x1004d49a
lea eax, [esi + 0x3d0]
push eax
lea eax, [esp + 0x54]
push eax
push str.MiNiFramePopServerTime
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esi + 0x3e4], 8
jb 0x1004d4bd
mov eax, dword [esi + 0x3d0]
jmp 0x1004d4c3
lea eax, [esi + 0x3d0]
push eax
push 0
push str.FirstInstallTime
push ebx
call ebp
sub eax, dword [esi + 0x45c]
push eax
call fcn.1007a68f
cmp eax, dword [esi + 0x458]
pop ecx
jge 0x1004d4ed
push str.DoCheckOpenMiNiNews_nIntervalTime___m_nNoOpenTime
jmp 0x1004d347
push str.DoCheckOpenMiNiNews_End
call fcn.1001c8cf
xor eax, eax
inc eax
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.100773e8
add esp, 0x6c
ret