Function at 0x20005759
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2009acf3
call fcn.2007d394
sub esp, 0x614
mov eax, dword [0x200cc84c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x5b4], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x23c], bl
push dword [ebp + 0xc]
mov esi, 0x200a4c68
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.2007d900
add esp, 0xc
lea eax, [ebp - 0x5c0]
push eax
call fcn.20001792
lea ecx, [ebp - 0x5a8]
call fcn.200026bf
mov byte [ebp - 4], 1
push str._Y__m__d
lea eax, [ebp - 0x5b8]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.20004f86
mov byte [ebp - 4], 2
push dword [eax]
push edi
push str._sToday__s.ini
lea eax, [ebp - 0x5a8]
push eax
call fcn.2000379b
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5b8]
call fcn.200026ee
push 0x64
push ebx
lea eax, [ebp - 0xac]
push eax
call fcn.2007e690
add esp, 0xc
push dword [ebp - 0x5a8]
push 0x64
lea eax, [ebp - 0xac]
push eax
push 0x200a4a9c
lea eax, [ebp - 0x48]
push eax
push str.TodayPlayCnt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x5a0]
call fcn.2000fa51
mov byte [ebp - 4], 3
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.2000fead
mov byte [ebp - 4], 4
cmp dword [ebp - 0x244], ebx
jne 0x2000587c
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x2000592e
mov dword [ebp - 0x5a4], ebx
cmp dword [ebp - 0x240], 0x10
mov eax, dword [ebp - 0x254]
jae 0x20005897
lea eax, [ebp - 0x254]
push eax
call fcn.2007db04
mov dword [ebp - 0x5a4], eax
inc dword [ebp - 0x5a4]
mov byte [ebp - 0x174], bl
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push dword [ebp - 0x5a4]
push esi
lea eax, [ebp - 0x174]
push eax
call fcn.2007d900
add esp, 0x10
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x5e8]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.2000fde6
mov dword [ebp - 0x5c8], eax
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 0x10
jb 0x20005903
mov eax, dword [eax + 4]
jmp 0x20005906
add eax, 4
push dword [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x48]
push eax
push str.TodayPlayCnt
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x5e8]
call fcn.2000275e
lea ecx, [ebp - 0x5ac]
call fcn.200026bf
mov byte [ebp - 4], 6
push dword [ebp - 0x5b4]
push str._sTotalPlanCnt.ini
lea eax, [ebp - 0x5ac]
push eax
call fcn.2000379b
push 0x64
push ebx
lea eax, [ebp - 0xac]
push eax
call fcn.2007e690
add esp, 0x18
push dword [ebp - 0x5ac]
push 0x64
lea eax, [ebp - 0xac]
push eax
push 0x200a4a9c
lea eax, [ebp - 0x48]
push eax
push str.TotalPlayCnt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x604]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.2000fead
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x258]
call fcn.20002fc3
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x604]
call fcn.2000275e
cmp dword [ebp - 0x244], ebx
jne 0x200059ea
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x20005a9c
mov dword [ebp - 0x5b0], ebx
cmp dword [ebp - 0x240], 0x10
mov eax, dword [ebp - 0x254]
jae 0x20005a05
lea eax, [ebp - 0x254]
push eax
call fcn.2007db04
mov dword [ebp - 0x5b0], eax
inc dword [ebp - 0x5b0]
mov byte [ebp - 0x110], bl
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push dword [ebp - 0x5b0]
push esi
lea eax, [ebp - 0x110]
push eax
call fcn.2007d900
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x5a0]
call fcn.2000fde6
mov dword [ebp - 0x5cc], eax
mov byte [ebp - 4], 8
cmp dword [eax + 0x18], 0x10
jb 0x20005a71
mov eax, dword [eax + 4]
jmp 0x20005a74
add eax, 4
push dword [ebp - 0x5ac]
push eax
lea eax, [ebp - 0x48]
push eax
push str.TotalPlayCnt
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x620]
call fcn.2000275e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5ac]
call fcn.200026ee
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x258]
call fcn.2000275e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5a0]
call fcn.2000fbba
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5a8]
call fcn.200026ee
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.2007c9ae
leave
ret