Function at 0x4285d0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9031
mov eax, dword fs:[0]
push eax
mov eax, 0xa234
call fcn.004e84e0
mov eax, dword [0x52ec00]
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
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0xa224], edi
cmp dword [edi + 0x208], ebx
jne 0x428891
lea eax, [edi + 0x218]
call fcn.0042929c
call fcn.00402345
push eax
mov esi, 0x104
push str._svisited.ini
mov ecx, esi
call fcn.0040299a
pop ecx
pop ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428887
lea eax, [ebp - 0xa21c]
push edi
push eax
mov dword [ebp - 0xa21c], ebx
call fcn.0046f05b
pop ecx
pop ecx
cmp dword [ebp - 0xa21c], ebx
je 0x428880
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0xa220], ebx
call fcn.004dbcc0
add esp, 0xc
mov ebx, 0xa000
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.004dbcc0
add esp, 0xc
push 0
push 0x515b08
mov ecx, esi
lea edi, [ebp - 0x218]
call fcn.0040299a
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0046f4c1
add esp, 0x10
test eax, eax
je 0x42886a
jmp 0x4286e2
mov esi, 0x104
lea edi, [ebp - 0xa240]
call fcn.004288ab
and dword [ebp - 4], 0
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa23c]
push eax
call fcn.00406723
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x515b2c
lea edi, [ebp - 0x218]
call fcn.0040299a
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0046f4c1
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa240]
push eax
call fcn.00406723
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x515b34
call fcn.0040299a
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0046f4c1
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa238]
push eax
call fcn.00406723
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, esi
push 0x515b3c
call fcn.0040299a
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0046f4c1
add esp, 0x10
lea eax, [ebp - 0xa218]
push eax
lea eax, [ebp - 0xa234]
push eax
call fcn.00406723
lea eax, [ebp - 0xa240]
push eax
mov eax, dword [ebp - 0xa224]
add eax, 0x218
call fcn.004291fb
inc dword [ebp - 0xa220]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xa240]
call fcn.004288de
push ebx
lea eax, [ebp - 0xa218]
push 0
push eax
call fcn.004dbcc0
add esp, 0xc
push dword [ebp - 0xa220]
mov ecx, 0x104
push 0x515b08
call fcn.0040299a
mov ecx, dword [ebp - 0xa21c]
lea eax, [ebp - 0xa218]
push eax
mov eax, edi
push eax
call fcn.0046f4c1
add esp, 0x10
test eax, eax
jne 0x4286dd
lea eax, [ebp - 0xa21c]
push 0
push eax
call fcn.0046f1ba
mov edi, dword [ebp - 0xa224]
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x208], 1
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.004d5a7d
leave
ret