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

Disassembly:
push 0xffffffffffffffff
push 0x4c4d60
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push str.Update_Favorite_IE
call fcn.00403b00
test eax, eax
je 0x4070eb
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push str.Update_Favorite_IE
call fcn.00403a90
push 0x28
lea esi, [esp + 0x38]
call fcn.00411460
add esp, 4
mov dword [esp + 0x48], 0
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407125
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x30]
push str.Home.vn.exe
push ecx
mov edi, 0x4ebd50
mov byte [esp + 0x50], 1
call fcn.00401bb0
mov byte [esp + 0x50], 2
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push str._sFavoritesLinks
push eax
call fcn.0040e520
add esp, 0x14
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407184
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x4cee70
lea ecx, [esp + 0x24]
push str._s.url
push ecx
mov byte [esp + 0x54], 3
call fcn.0040e520
add esp, 0xc
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4071ca
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x4cbe94
lea ecx, [esp + 0x20]
push str._s.url
push ecx
mov byte [esp + 0x54], 4
call fcn.0040e520
add esp, 0xc
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407210
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x48], 5
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40723f
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 6
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x1c]
push 0x4cbd34
push edx
call fcn.0040e520
mov eax, dword [esp + 0x2c]
push eax
push edi
lea ecx, [esp + 0x30]
push 0x4cbd34
push ecx
call fcn.0040e520
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x20
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x4072b0
mov eax, dword [esp + 0x14]
push eax
call ebx
push 0x7d0
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call esi
test eax, eax
je 0x4072c9
mov edx, dword [esp + 0x18]
push edx
call ebx
push 0x7d0
call ebp
mov eax, dword [esp + 0x18]
push 0
push eax
call fcn.004a7b24
mov ebp, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x4072e9
push ebp
call fcn.004a7bce
add esp, 4
push 0
push ebp
call fcn.004a7b24
add esp, 8
test eax, eax
jne 0x407301
push ebp
call fcn.004a7bce
add esp, 4
push 0x4cbe94
lea ecx, [esp + 0x30]
call fcn.0040f300
mov byte [esp + 0x48], 7
mov eax, dword [0x4eb628]
lea ecx, [eax + eax*4]
mov eax, dword [ecx*8 + 0x4d2f2c]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040f300
mov bl, 8
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.0040ec90
add eax, 0x10
mov dword [esi], eax
add edi, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push edi
mov byte [esp + 0x54], 9
call fcn.0040ec90
lea edx, [esp + 0x38]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], bl
call fcn.004115e0
mov esi, eax
mov byte [esp + 0x54], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407413
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40745d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074a0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret