Function at 0x1004207a
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x14
mov eax, 0x100d02db
call fcn.10071ffd
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1004193b
test eax, eax
jne 0x100420dc
push str.PushMessage_close_by_rand_
call fcn.100237d2
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.10071fee
add ebp, 0x228
leave
ret
cmp dword [esi + 0x10], 0
jne 0x100420e9
push str.PushMessage_close_by_cmd_
jmp 0x100420b1
mov ecx, esi
call fcn.100407d7
mov ebx, eax
push ebx
push str.nServerUinxTime:_d
call fcn.100239c1
test ebx, ebx
pop ecx
pop ecx
jle 0x100420b7
push ebx
call fcn.1001cf70
pop ecx
mov dword [ebp - 0x18], eax
call fcn.10004c83
mov ecx, eax
call fcn.1001a6c0
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.1007ad37
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 0x10042176
mov ecx, dword [ebp - 0x14]
call fcn.1003fe09
jmp 0x100420b7
xor esi, esi
push 0x206
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call fcn.10072750
push dword [ebp - 0x18]
lea eax, [ebp + 0x1c]
push 0x100d52e4
push eax
call fcn.100048d5
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.1007ad37
cmp eax, dword [ebp - 0x1c]
pop ecx
jl 0x10042169
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.1004057c
test eax, eax
je 0x100420b7
mov ecx, edi
call fcn.1004033f
test eax, eax
je 0x100420b7
add edi, 0x14
lea eax, [ebp]
push edi
push eax
call fcn.1001eb80
push 0x48
mov dword [ebp - 4], esi
call fcn.1004ed11
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov byte [ebp - 4], 1
je 0x10042213
mov ecx, eax
call fcn.1002b366
mov dword [ebp - 0x10], eax
jmp 0x10042216
mov dword [ebp - 0x10], esi
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0
jae 0x10042226
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.1002b48c
mov ecx, dword [ebp - 0x10]
call fcn.1002a9d9
mov edi, eax
mov eax, dword [edi + 0x10]
add edi, 0xc
cmp eax, esi
je 0x1004224a
mov ebx, dword [edi + 8]
sub ebx, eax
jne 0x1004224d
xor ebx, ebx
inc ebx
push ebx
call fcn.1004ed41
push ebx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.10072750
add esp, 0x10
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10042282
mov eax, dword [edi + 8]
sub eax, ecx
cmp ebx, eax
jae 0x10042282
push ebx
mov ecx, edi
call fcn.10024d8c
mov al, byte [eax]
mov byte [ebx + esi], al
inc ebx
jmp 0x10042262
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004228f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.1003e9d9
test eax, eax
jne 0x100422bc
test esi, esi
je 0x100422a7
push esi
call fcn.1004ed3c
pop ecx
xor esi, esi
push 0
push 1
lea ecx, [ebp]
call fcn.10001770
mov eax, esi
jmp 0x100420b9
test esi, esi
je 0x100422c7
push esi
call fcn.1004ed3c
pop ecx
xor esi, esi
inc esi
jmp 0x100422a9