Function at 0x10010db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10102e24
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x21c], 0
push dword [ebx]
push 1
push str.today_valid
push str.switch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x10011141
push eax
call fcn.100de1a7
push 0x208
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100d6e30
add esp, 0x10
lea eax, [ebp - 0x218]
push dword [ebx]
push 0x104
push eax
push dword [0x1014a02c]
push 0x1010e2bc
push str.switch
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.100df54f
push edx
push eax
push esi
push edi
call fcn.100de0db
fstp qword [ebp - 0x228]
movsd xmm0, qword [ebp - 0x228]
add esp, 0x14
subsd xmm0, qword [0x1010e1e0]
comisd xmm0, xmmword [0x1010e1d8]
jbe 0x10011145
call fcn.1003fde0
test eax, eax
je 0x100110a3
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100110a3
call fcn.1003fde0
mov edi, eax
mov dword [ebp - 0xa8], 0x1010dc14
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x220], eax
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x58], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x5c], 0x48
call fcn.1000fd80
mov eax, dword [ebp - 0xa8]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
mov dword [ebp - 0xa4], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100bb0a7
mov esi, eax
add esp, 4
test esi, esi
je 0x10010f58
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.10033685
add esp, 4
mov dword [esi + 4], eax
jmp 0x10010f5a
xor esi, esi
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xa4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 4
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 4
push str.Its_been_24_hours
push eax
call fcn.10010690
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 5
jb 0x10011011
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10003730
mov edx, dword [ebp - 0x22c]
add esp, 0xc
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x10011066
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001105c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011163
push edx
push ecx
call fcn.100bacf4
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
lea ecx, [ebp - 0xa8]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [ebp - 0x22c], 7
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.100083c0
push dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x1010dea4
push str.today_valid
push str.switch
call edi
push 0
call fcn.100de1a7
add esp, 4
mov dword [ebp - 0x220], edx
mov esi, eax
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x10011168
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 6
push esi
push str._I64d
push eax
call fcn.10001aa0
mov esi, dword [ebp - 0x21c]
add esp, 0x10
push dword [ebx]
push esi
push 0x1010e2bc
push str.switch
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10011141
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x10011147
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret
call fcn.100da4dc
push 0x80004005
call fcn.10001900
int3