Function at 0x4063e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b683d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x8a4
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 - 0x870], 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 - 0x83c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e20
mov dword [ebp - 0x874], eax
lea eax, [ebp - 0x840]
push eax
call fcn.0042ae30
add esp, 8
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x878]
mov dword [ebp - 0x87c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x87c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401ec0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x840]
call fcn.00408680
lea ecx, [ebp - 0x2c]
call fcn.004025b0
movzx eax, al
test eax, eax
jne 0x4064d6
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 1
push 0
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 0x600002
push 0
lea ecx, [ebp + 0xc]
call fcn.004077a0
push eax
lea ecx, [ebp - 0x24]
call fcn.00463dd2
mov dword [ebp - 0x880], eax
mov ecx, dword [ebp - 0x880]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x406751
lea edx, [ebp - 0x834]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.00462a8d
cmp dword [ebp - 0x834], 0x12d
je 0x40656a
cmp dword [ebp - 0x834], 0x12e
jne 0x40665f
push 0
lea eax, [ebp + 0xc]
push eax
push 0x21
mov ecx, dword [ebp - 0x28]
call fcn.0046383b
lea ecx, [ebp + 0xc]
call fcn.004025b0
movzx ecx, al
test ecx, ecx
jne 0x40665f
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + 0x4c]
call edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x848]
mov dword [ebp - 0x844], ecx
cmp dword [ebp - 0x844], 0
je 0x4065e1
push 1
mov edx, dword [ebp - 0x844]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x844]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x884], eax
mov eax, dword [ebp - 0x884]
mov dword [ebp - 0x888], eax
jmp 0x4065eb
mov dword [ebp - 0x888], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004637a5
push ecx
mov ecx, esp
mov dword [ebp - 0x84c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e20
mov dword [ebp - 0x88c], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004063e0
add esp, 8
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x870]
or ecx, 1
mov dword [ebp - 0x870], 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 0x40694a
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 - 0x894], eax
cmp dword [ebp - 0x894], 0
jbe 0x406689
jmp 0x40665f
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 - 0x854], ecx
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x850], edx
cmp dword [ebp - 0x850], 0
je 0x4066dd
push 1
mov eax, dword [ebp - 0x850]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x850]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x898], eax
mov ecx, dword [ebp - 0x898]
mov dword [ebp - 0x89c], ecx
jmp 0x4066e7
mov dword [ebp - 0x89c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24]
call fcn.004637a5
push ecx
mov ecx, esp
mov dword [ebp - 0x858], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401e20
mov dword [ebp - 0x8a0], eax
lea eax, [ebp - 0x85c]
push eax
call fcn.0042ae30
add esp, 8
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - 0x8a8], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x8a8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401ec0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x85c]
call fcn.00408680
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov dword [ebp - 0x8ac], eax
mov ecx, dword [ebp - 0x870]
or ecx, 1
mov dword [ebp - 0x870], 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 0x40694a
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