Function at 0x1004a050
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x34
mov eax, 0x1017f96c
call fcn.1008546d
mov dword [ebp - 0x14], ecx
call fcn.1004ab5c
push eax
mov dword [ebp - 0x20], eax
call fcn.1001c52c
pop ecx
mov dword [ebp - 0x10], eax
call fcn.100052f9
mov ecx, eax
call fcn.10019985
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
push ebx
push 0
push str.InstallTime
mov edi, str.Setting
push edi
mov dword [ebp - 0x24], ebx
call esi
push ebx
push 0
push str.DelayDailyWordDate
push edi
mov dword [ebp - 0x1c], eax
call esi
imul eax, eax, 0x15180
push eax
call fcn.1008e487
pop ecx
push ebx
push 0
mov ebx, str.LastPopupDailyWordDate
push ebx
mov edi, str.PushDailyWord
push edi
mov dword [ebp - 0x18], eax
call esi
cmp dword [ebp - 0x10], eax
jne 0x1004a120
call fcn.100052f9
xor esi, esi
cmp dword [eax + 0x1b4], esi
jne 0x1004a122
mov ecx, dword [ebp - 0x14]
call fcn.10049a06
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x430
leave
ret
xor esi, esi
push 0x206
lea eax, [ebp + 0x226]
push esi
push eax
mov word [ebp + 0x224], si
call fcn.10085bc0
push dword [ebp - 0x10]
lea eax, [ebp + 0x224]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0x18
push dword [ebp - 0x24]
lea eax, [ebp + 0x224]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
push eax
call fcn.1008e487
cmp eax, dword [ebp - 0x18]
pop ecx
jge 0x1004a187
call fcn.100052f9
cmp dword [eax + 0x1b4], esi
je 0x1004a0f3
push str.PushDayWordsCfgAddress
call fcn.100052f9
mov ecx, eax
call fcn.1000cfe3
push 0x2710
push 1
mov edi, eax
call fcn.1001c3c2
push eax
push edi
lea eax, [ebp + 0x1c]
push str._s_rand_d
push eax
call fcn.10004df5
add esp, 0x18
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x40]
call fcn.100015f0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 4], esi
call fcn.1001e821
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100017c0
push 0x4c
call fcn.10062191
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, esi
mov byte [ebp - 4], 3
je 0x1004a205
mov ecx, eax
call fcn.100346e3
mov dword [ebp - 0x10], eax
jmp 0x1004a208
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 2
jae 0x1004a218
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.10034819
mov ecx, dword [ebp - 0x10]
call fcn.10033d1a
mov edi, eax
mov eax, dword [edi + 0x10]
add edi, 0xc
cmp eax, esi
je 0x1004a23c
mov ebx, dword [edi + 8]
sub ebx, eax
jne 0x1004a23f
xor ebx, ebx
inc ebx
push ebx
call fcn.100621c1
push ebx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.10085bc0
add esp, 0x10
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1004a274
mov eax, dword [edi + 8]
sub eax, ecx
cmp ebx, eax
jae 0x1004a274
push ebx
mov ecx, edi
call fcn.1002aaf7
mov al, byte [eax]
mov byte [ebx + esi], al
inc ebx
jmp 0x1004a254
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004a281
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1004ad84
test eax, eax
jne 0x1004a2ae
test esi, esi
je 0x1004a299
push esi
call fcn.100621bc
pop ecx
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.10001770
mov eax, esi
jmp 0x1004a0fd
test esi, esi
je 0x1004a2b9
push esi
call fcn.100621bc
pop ecx
xor esi, esi
inc esi
jmp 0x1004a29b