Function at 0x405270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1647
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x690], ecx
call fcn.00405590
mov ecx, eax
call fcn.00411830
push eax
lea ecx, [ebp - 0x454]
call fcn.00401600
mov dword [ebp - 4], 0
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x432]
push ecx
movzx edx, word [ebp - 0x436]
push edx
movzx eax, word [ebp - 0x438]
push eax
push str._04d__02d__02d
lea ecx, [ebp - 0x424]
push ecx
call fcn.00474c76
add esp, 0x14
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
push 0x104
lea edx, [ebp - 0x65c]
push edx
push 0x4c8a88
push 0x4c8a8c
push 0x4c8ab4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x424]
push ecx
call fcn.00474de0
add esp, 8
test eax, eax
je 0x405384
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
lea edx, [ebp - 0x424]
push edx
push str.CloudHelperOpenDay
push 0x4c8aec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
push 0x4c8afc
push 0x4c8b04
push 0x4c8b30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
push 0xffffffffffffffff
push 0x4c8b40
push 0x4c8b6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4053d8
mov dword [ebp - 0x680], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00401640
mov eax, dword [ebp - 0x680]
jmp 0x405577
cmp dword [ebp - 0x428], 0xffffffff
jne 0x405498
lea ecx, [ebp - 0x679]
call fcn.00420130
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x684], esp
push str.BrushVOpenTimes
call fcn.00401590
mov dword [ebp - 0x694], eax
mov eax, dword [ebp - 0x690]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x678]
push edx
lea ecx, [ebp - 0x679]
call fcn.00420150
mov dword [ebp - 0x698], eax
mov byte [ebp - 4], 2
push 0x4c8b90
lea eax, [ebp - 0x678]
push eax
call fcn.00405620
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x405460
push 0x4c8b94
lea ecx, [ebp - 0x678]
call fcn.00403660
lea ecx, [ebp - 0x678]
call fcn.00401800
push eax
call fcn.00474ddb
add esp, 4
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.00401640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x679]
call fcn.00420140
cmp dword [ebp - 0x428], 0
jne 0x4054e9
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
push 0x4c8b98
push 0x4c8b9c
push 0x4c8bc8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x688], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00401640
mov eax, dword [ebp - 0x688]
jmp 0x405577
mov edx, dword [ebp - 0x428]
sub edx, 1
mov dword [ebp - 0x428], edx
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00474d50
add esp, 0xc
mov ecx, dword [ebp - 0x428]
push ecx
push 0x4c8bd8
lea edx, [ebp - 0x21c]
push edx
call fcn.00474c76
add esp, 0xc
lea ecx, [ebp - 0x454]
call fcn.00401800
push eax
lea eax, [ebp - 0x21c]
push eax
push str.CloudHelperOpenTimes
push 0x4c8c0c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x68c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00401640
mov eax, dword [ebp - 0x68c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret