Function at 0x410260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b672d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x86c
mov eax, dword [0x4e7950]
xor eax, ebp
mov dword [ebp - 0x30], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x850], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x830], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x82e]
push ecx
call fcn.004865d0
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00401e00
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x838], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e20
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x83c]
push eax
call fcn.0042ae30
add esp, 8
mov dword [ebp - 0x858], eax
mov ecx, dword [ebp - 0x858]
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x85c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x83c]
call fcn.00408680
lea ecx, [ebp - 0x2c]
call fcn.004025b0
movzx eax, al
test eax, eax
jne 0x410356
lea ecx, [ebp + 0xc]
call fcn.004077a0
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea ecx, [ebp - 0x2c]
call fcn.004077a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0
push 0
push 0
push 0x4cb658
lea ecx, [ebp - 0x24]
call fcn.0046310c
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 5
push 0
push 0x7d0
push 2
lea ecx, [ebp - 0x24]
call fcn.004063b0
push 0
push 0
push 0x400002
push 0
lea ecx, [ebp + 0xc]
call fcn.004077a0
push eax
lea ecx, [ebp - 0x24]
call fcn.00463dd2
mov dword [ebp - 0x860], eax
mov ecx, dword [ebp - 0x860]
mov dword [ebp - 0x28], ecx
push 0x400
lea edx, [ebp - 0x830]
push edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x864], eax
cmp dword [ebp - 0x864], 0
jbe 0x4103e2
jmp 0x4103b8
cmp dword [ebp - 0x28], 0
je 0x41044d
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x844], ecx
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x840], edx
cmp dword [ebp - 0x840], 0
je 0x41043c
push 1
mov eax, dword [ebp - 0x840]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x840]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x868]
mov dword [ebp - 0x86c], ecx
jmp 0x410446
mov dword [ebp - 0x86c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004637a5
push ecx
mov ecx, esp
mov dword [ebp - 0x848], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e20
mov dword [ebp - 0x870], eax
lea eax, [ebp - 0x84c]
push eax
call fcn.0042ae30
add esp, 8
mov dword [ebp - 0x874], eax
mov ecx, dword [ebp - 0x874]
mov dword [ebp - 0x878], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x878]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401ec0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84c]
call fcn.00408680
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov dword [ebp - 0x87c], eax
mov ecx, dword [ebp - 0x850]
or ecx, 1
mov dword [ebp - 0x850], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0046391b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00408680
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x4105f9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00480723
mov esp, ebp
pop ebp
ret