Function at 0x490d40
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e8490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x30], ebp
cmp eax, esi
je 0x4911ee
push str.PreviousVisit.ini
lea eax, [esp + 0x14]
push 0x52702c
push eax
call fcn.004c5a1c
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], esi
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 0xbc]
push esi
push esi
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x24], ebx
jle 0x4911dd
mov eax, dword [str.LastVisit]
mov ecx, dword [0x51cbf8]
mov dword [esp + 0x5c], eax
mov dx, word [0x51cbfc]
xor eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x66], eax
mov ecx, dword [str.name]
mov dword [esp + 0x6a], eax
mov word [esp + 0x64], dx
mov dl, byte [0x51c88c]
mov word [esp + 0x6e], ax
mov eax, dword [0x51c884]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x38], eax
mov eax, dword [0x52251c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], ecx
mov byte [esp + 0x44], dl
mov dword [esp + 0x45], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
xor edi, edi
cmp ebx, esi
mov byte [esp + 0x78], 2
jle 0x490eda
add ebp, 0xa0
push 1
lea ecx, [esp + 0x2c]
push edi
push ecx
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 3
call fcn.004c58c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 2
call fcn.004c5787
lea edx, [esp + 0x2c]
push 2
push edx
lea ecx, [esp + 0x1c]
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51c574
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x490ea0
test cl, cl
je 0x490e9c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x490ea0
add eax, 2
add esi, 2
test cl, cl
jne 0x490e78
xor eax, eax
jmp 0x490ea5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x2c]
sete bl
call fcn.004c5787
test bl, bl
je 0x490ebb
inc dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x490e35
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49102f
mov ebx, dword [esp + 0x24]
xor esi, esi
lea eax, [esp + 0x65]
push 0xa
push eax
push esi
call fcn.004b0136
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x56]
mov ecx, dword [esp + 0x54]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x56]
push eax
mov eax, dword [esp + 0x56]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x2c]
push str._02d__02d__02d:_02d:_02d
push ecx
call fcn.004bdb29
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x1c
lea ecx, [esp + 0x5c]
push edx
push eax
push str.Time
push ecx
call edi
test ebx, ebx
jle 0x491014
mov edx, dword [esp + 0x30]
lea ebp, [edx + 0xa0]
push 0
lea eax, [esp + 0x34]
push esi
push eax
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 4
call fcn.004c58c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.004c5787
push 1
lea ecx, [esp + 0x30]
push esi
push ecx
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 5
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 2
call fcn.004c5787
lea edx, [esp + 0x44]
push 0xa
push edx
push esi
call fcn.004b0136
lea eax, [esp + 0x47]
push 0xa
push eax
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add esp, 0x18
lea eax, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
call edi
inc esi
cmp esi, ebx
jl 0x490f6a
mov eax, dword [esp + 0x10]
push eax
push 0x51d614
push str.Last
push str.Settings
call edi
jmp 0x4911c1
dec eax
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], eax
push 0
lea ecx, [esp + 0x34]
push edi
push ecx
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 6
call fcn.004c58c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.004c5787
push 1
lea edx, [esp + 0x30]
push edi
push edx
mov ecx, ebp
call fcn.004be87a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 7
call fcn.004c58c0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 2
call fcn.004c5787
lea eax, [esp + 0x28]
push 2
push eax
lea ecx, [esp + 0x1c]
call fcn.004bd709
mov eax, dword [eax]
mov esi, 0x51c574
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4910d1
test cl, cl
je 0x4910cd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4910d1
add eax, 2
add esi, 2
test cl, cl
jne 0x4910a9
xor eax, eax
jmp 0x4910d6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x28]
sete bl
call fcn.004c5787
test bl, bl
je 0x491125
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x65]
push 0xa
push eax
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x5c]
push ecx
push edx
push str.Time
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
dec esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
jmp 0x491183
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x491183
lea ecx, [esp + 0x44]
push 0xa
mov esi, eax
push ecx
push esi
call fcn.004b0136
lea edx, [esp + 0x47]
push 0xa
push edx
push esi
call fcn.004b0136
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x18
lea edx, [esp + 0x40]
push eax
push ecx
lea eax, [esp + 0x64]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call ebx
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x49103a
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x5c]
push edx
push 0x51d754
push eax
call fcn.004ae2d7
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x5c]
push ecx
push edx
push str.Last
push str.Settings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 1
call fcn.004c5787
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.004c5787
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret