Function at 0x20005afd
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2009ad3f
call fcn.2007d394
sub esp, 0x518
mov eax, dword [0x200cc84c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4f8], esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4f0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4ec], eax
xor ebx, ebx
mov dword [ebp - 0x4e0], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x174], bl
push dword [ebp + 0xc]
push 0x200a4c68
lea eax, [ebp - 0x48]
push eax
call fcn.2007d900
add esp, 0xc
lea eax, [ebp - 0x508]
push eax
call fcn.20001792
lea ecx, [ebp - 0x4dc]
call fcn.200026bf
mov byte [ebp - 4], 1
push str._Y__m__d
lea eax, [ebp - 0x4fc]
push eax
lea ecx, [ebp - 0x508]
call fcn.20004f86
mov byte [ebp - 4], 2
push dword [eax]
push esi
push str._sToday__s.ini
lea eax, [ebp - 0x4dc]
push eax
call fcn.2000379b
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4fc]
call fcn.200026ee
push 0x64
push ebx
lea eax, [ebp - 0xac]
push eax
call fcn.2007e690
add esp, 0xc
push dword [ebp - 0x4dc]
push 0x64
lea eax, [ebp - 0xac]
push eax
mov edi, 0x200a4c6c
push edi
lea eax, [ebp - 0x48]
push eax
push str.TodayPlayCnt
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call esi
lea ecx, [ebp - 0x4d8]
call fcn.2000fa51
mov byte [ebp - 4], 3
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.2000fead
mov byte [ebp - 4], 4
cmp dword [ebp - 0x17c], ebx
je 0x20005c75
mov dword [ebp - 0x4e4], ebx
cmp dword [ebp - 0x178], 0x10
mov eax, dword [ebp - 0x18c]
jae 0x20005c40
lea eax, [ebp - 0x18c]
push eax
call fcn.2007db04
pop ecx
mov dword [ebp - 0x4e4], eax
movzx eax, word [ebp + 0x14]
mov ecx, eax
sub ecx, dword [ebp - 0x4e4]
mov edx, dword [ebp - 0x4f0]
mov dword [edx], ecx
cmp dword [ebp - 0x4e4], eax
jb 0x20005c81
mov dword [ebp - 0x4e0], 1
jmp 0x20005c81
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp - 0x4f0]
mov dword [ecx], eax
lea ecx, [ebp - 0x4e8]
call fcn.200026bf
mov byte [ebp - 4], 5
push dword [ebp - 0x4f8]
push str._sTotalPlanCnt.ini
lea eax, [ebp - 0x4e8]
push eax
call fcn.2000379b
push 0x64
push ebx
lea eax, [ebp - 0xac]
push eax
call fcn.2007e690
add esp, 0x18
push dword [ebp - 0x4e8]
push 0x64
lea eax, [ebp - 0xac]
push eax
push edi
lea eax, [ebp - 0x48]
push eax
push str.TotalPlayCnt
call esi
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x4d8]
call fcn.2000fead
mov dword [ebp - 0x500], eax
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x190]
call fcn.20002fc3
mov byte [ebp - 4], 5
push ebx
xor esi, esi
inc esi
push esi
lea ecx, [ebp - 0x524]
call fcn.2000275e
cmp dword [ebp - 0x17c], ebx
je 0x20005d64
mov dword [ebp - 0x4f4], ebx
cmp dword [ebp - 0x178], 0x10
mov eax, dword [ebp - 0x18c]
jae 0x20005d3d
lea eax, [ebp - 0x18c]
push eax
call fcn.2007db04
pop ecx
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov edx, dword [ebp - 0x4ec]
mov dword [edx], ecx
cmp eax, dword [ebp + 0x10]
jb 0x20005d6f
mov dword [ebp - 0x4e0], esi
jmp 0x20005d6f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4ec]
mov dword [ecx], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4e8]
call fcn.200026ee
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp - 0x190]
call fcn.2000275e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d8]
call fcn.2000fbba
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4dc]
call fcn.200026ee
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4e0]
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