Function at 0x478ea0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7b6b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x528c24]
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
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], vtable.DrvUpdateTipCfg.0
call fcn.00477cb0
mov edi, eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xec], edi
call fcn.00477cc0
mov ebx, eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe8], ebx
mov esi, edx
call fcn.00477cd0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
call fcn.00477ce0
mov dword [0x526898], eax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 0x52ac20
call fcn.0040fef0
push 0x11
push str.DrvUpdateTip.ini
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0
call fcn.00411460
test esi, esi
jl 0x47900c
jg 0x478f63
test ebx, ebx
jbe 0x47900c
xor ecx, ecx
push 0xc6
push ecx
lea edx, [ebp - 0xd6]
push edx
mov word [ebp - 0xd8], cx
call fcn.0048d9d0
mov eax, dword [ebp - 0xdc]
add esp, 0xc
push eax
push 0x64
lea ecx, [ebp - 0xd8]
push ecx
push 0x5068c4
push str.LastTipTime
push str.360DrvUpdateTip
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
lea edx, [ebp - 0xd8]
push 0
push edx
call fcn.0049484a
push 0
mov edi, eax
mov ebx, edx
call fcn.00490b7f
add esp, 0x10
sub eax, edi
sbb edx, ebx
cmp edx, esi
jg 0x479006
jl 0x478fd6
cmp eax, dword [ebp - 0xe8]
jae 0x479006
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478fff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4791c1
mov edi, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xdc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.ForeverNotTip
push str.360DrvUpdateTip
call ebx
or edi, eax
je 0x47904a
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x478ff3
mov ecx, dword [ebp - 0xdc]
push ecx
push 0
push str.RecentNotTip
push str.360DrvUpdateTip
call ebx
test eax, eax
je 0x47910c
test esi, esi
jl 0x47910c
jg 0x47907e
cmp dword [ebp - 0xe8], 0
jbe 0x47910c
xor edx, edx
push 0xc6
push edx
lea eax, [ebp - 0xd6]
push eax
mov word [ebp - 0xd8], dx
call fcn.0048d9d0
mov ecx, dword [ebp - 0xdc]
add esp, 0xc
push ecx
push 0x64
lea edx, [ebp - 0xd8]
push edx
push 0x5068c4
push str.LastTipTime
push str.360DrvUpdateTip
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0049484a
push 0
mov esi, eax
mov edi, edx
call fcn.00490b7f
add esp, 0x10
sub eax, esi
sbb edx, edi
cmp edx, dword [ebp - 0xf0]
jg 0x479107
jl 0x4790f5
cmp eax, dword [ebp - 0xf4]
jae 0x479107
lea ecx, [ebp - 0xdc]
call fcn.0040be30
xor eax, eax
jmp 0x4791c1
call fcn.00478800
mov ebx, 1
test byte [0x52ae40], bl
jne 0x479136
or dword [0x52ae40], ebx
push 0x4fbee0
mov dword [0x52ae3c], 0
call fcn.0048ef84
add esp, 4
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, 0x52ae3c
mov dword [ebp - 0xe8], 0x8033
mov dword [ebp - 0xe4], 0
call fcn.004784f0
test eax, eax
je 0x47902b
call fcn.0042d790
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x479181
mov ecx, esi
call fcn.00430660
mov eax, dword [esi]
test eax, eax
je 0x478fd6
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push eax
call edx
neg eax
sbb eax, eax
add eax, 1
jne 0x478fd6
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4791bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.0048d9be
mov esp, ebp
pop ebp
ret