Function at 0x405360
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586c97
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x5f44b0]
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.00405680
mov ecx, eax
call fcn.00416b30
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.0049e5b6
add esp, 0x14
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
push 0x104
lea edx, [ebp - 0x65c]
push edx
push 0x591b0c
push 0x591b10
push 0x591b38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x424]
push ecx
call fcn.0049e720
add esp, 8
test eax, eax
je 0x405474
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
lea edx, [ebp - 0x424]
push edx
push str.CloudHelperOpenDay
push 0x591b70
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
push 0x591b80
push 0x591b88
push 0x591bb4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
push 0xffffffffffffffff
push 0x591bc4
push 0x591bf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4054c8
mov dword [ebp - 0x680], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.00401640
mov eax, dword [ebp - 0x680]
jmp 0x405667
cmp dword [ebp - 0x428], 0xffffffff
jne 0x405588
lea ecx, [ebp - 0x679]
call fcn.00433d30
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.00433d50
mov dword [ebp - 0x698], eax
mov byte [ebp - 4], 2
push 0x591c14
lea eax, [ebp - 0x678]
push eax
call fcn.00405710
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x405550
push 0x591c18
lea ecx, [ebp - 0x678]
call fcn.004036d0
lea ecx, [ebp - 0x678]
call fcn.00401670
push eax
call fcn.0049e71b
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.00433d40
cmp dword [ebp - 0x428], 0
jne 0x4055d9
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
push 0x591c1c
push 0x591c20
push 0x591c4c
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 0x405667
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.0049e690
add esp, 0xc
mov ecx, dword [ebp - 0x428]
push ecx
push 0x591c5c
lea edx, [ebp - 0x21c]
push edx
call fcn.0049e5b6
add esp, 0xc
lea ecx, [ebp - 0x454]
call fcn.00401670
push eax
lea eax, [ebp - 0x21c]
push eax
push str.CloudHelperOpenTimes
push 0x591c90
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.0049e381
mov esp, ebp
pop ebp
ret