Function at 0x1004c9a8
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x14
mov eax, 0x1017fe11
call fcn.1008546d
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1004c2a8
test eax, eax
jne 0x1004ca0a
push str.PushMessage_close_by_rand_
call fcn.100293b4
pop ecx
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 + 0x224]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x228
leave
ret
cmp dword [esi + 0x10], 0
jne 0x1004ca17
push str.PushMessage_close_by_cmd_
jmp 0x1004c9df
mov ecx, esi
call fcn.1004bb89
mov ebx, eax
push ebx
push str.nServerUinxTime:_d
call fcn.100295c9
test ebx, ebx
pop ecx
pop ecx
jle 0x1004c9e5
push ebx
call fcn.1001c52c
pop ecx
mov dword [ebp - 0x18], eax
call fcn.100052f9
mov ecx, eax
call fcn.10019985
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.InstallTime
mov edi, str.Setting
push edi
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
push 0
push str.DelayPushMessageDate
push edi
call esi
imul eax, eax, 0x15180
push eax
call fcn.1008e487
pop ecx
push dword [ebp - 0x10]
mov edi, str.PushMessage
push 0
push str.LastPopupPushMessageDate
push edi
mov dword [ebp - 0x1c], eax
call esi
cmp dword [ebp - 0x18], eax
jne 0x1004caa4
mov ecx, dword [ebp - 0x14]
call fcn.1004b302
jmp 0x1004c9e5
xor esi, esi
push 0x206
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.10085bc0
push dword [ebp - 0x18]
lea eax, [ebp + 0x1c]
push 0x10186370
push eax
call fcn.10004df5
add esp, 0x18
push dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push eax
push str.LastPopupPushMessageDate
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
sub ebx, dword [ebp - 0x20]
push ebx
call fcn.1008e487
cmp eax, dword [ebp - 0x1c]
pop ecx
jl 0x1004ca97
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.1004b9a1
test eax, eax
je 0x1004c9e5
mov ecx, edi
call fcn.1004b7ba
test eax, eax
je 0x1004c9e5
add edi, 0x14
lea eax, [ebp]
push edi
push eax
call fcn.1001e821
push 0x4c
mov dword [ebp - 4], esi
call fcn.10062191
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x1004cb41
mov ecx, eax
call fcn.100346e3
mov dword [ebp - 0x10], eax
jmp 0x1004cb44
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0
jae 0x1004cb54
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 0x1004cb78
mov ebx, dword [edi + 8]
sub ebx, eax
jne 0x1004cb7b
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 0x1004cbb0
mov eax, dword [edi + 8]
sub eax, ecx
cmp ebx, eax
jae 0x1004cbb0
push ebx
mov ecx, edi
call fcn.1002aaf7
mov al, byte [eax]
mov byte [ebx + esi], al
inc ebx
jmp 0x1004cb90
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004cbbd
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1004ad84
test eax, eax
jne 0x1004cbea
test esi, esi
je 0x1004cbd5
push esi
call fcn.100621bc
pop ecx
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.10001770
mov eax, esi
jmp 0x1004c9e7
test esi, esi
je 0x1004cbf5
push esi
call fcn.100621bc
pop ecx
xor esi, esi
inc esi
jmp 0x1004cbd7