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

Disassembly:
push 0xffffffffffffffff
push 0x4c4dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
push 0x28
lea esi, [esp + 0x2c]
call fcn.00411460
add esp, 4
mov dword [esp + 0x3c], 0
call fcn.004990cf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403be7
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
lea ecx, [esp + 0x24]
push str.Home.vn.exe
push ecx
mov edi, 0x4ebd50
mov byte [esp + 0x44], 1
call fcn.00401bb0
mov byte [esp + 0x44], 2
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x24]
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 0x403c46
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
push 0x4cbe94
lea ecx, [esp + 0x18]
push str._s.url
push ecx
mov byte [esp + 0x48], 3
call fcn.0040e520
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push ebp
push edx
call fcn.00401bb0
mov eax, dword [eax]
add esp, 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
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 0x403cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x403cbd
push ebp
call esi
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4cbc0c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040aed0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x54], 4
call fcn.0040ae10
mov eax, dword [eax]
push 0
push eax
call fcn.004a7b24
add esp, 0x20
test eax, eax
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 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 0x403d48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x403d4f
push ebp
call esi
push 0x4cbe94
lea ecx, [esp + 0x24]
call fcn.0040f300
mov byte [esp + 0x3c], 5
mov eax, dword [0x4eb628]
lea ecx, [eax + eax*4]
mov eax, dword [ecx*8 + 0x4d2f2c]
push eax
lea ecx, [esp + 0x20]
call fcn.0040f300
mov bl, 6
mov byte [esp + 0x3c], bl
mov eax, dword [esp + 0x24]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.0040ec90
add eax, 0x10
mov dword [esi], eax
add edi, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push edi
mov byte [esp + 0x48], 7
call fcn.0040ec90
lea edx, [esp + 0x2c]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], bl
call fcn.004115e0
mov esi, eax
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403df6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 3
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 0x403e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e83
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403eab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret