Function at 0x407a70
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x514c24
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x549950]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x80c]
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
push 0x7fe
lea edx, [ebp + 2]
xor ecx, ecx
push ebx
mov dword [ebp - 4], 1
push edx
mov word [ebp], cx
call fcn.004e57c0
add esp, 0xc
call fcn.004c01dc
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407af3
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x810]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00403680
lea ecx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00496600
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00403060
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], ebx
je 0x407b7b
mov ecx, dword [ebp + 0x810]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x3c]
call fcn.004c1d4a
push 0
push 4
lea edx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
push edx
mov bl, 5
mov byte [ebp - 4], bl
push 2
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 0x7d0
call fcn.004c14d7
mov eax, dword [ebp + 0x810]
push 0
push 0
push 0x600002
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c29db
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x407d54
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.004c1579
mov eax, dword [ebp - 0x28]
cmp eax, 0x12d
je 0x407bf2
cmp eax, 0x12e
jne 0x407cc0
push 0
lea edx, [ebp + 0x810]
push edx
push 0x21
mov ecx, esi
call fcn.004c245e
mov eax, dword [ebp + 0x810]
cmp dword [eax - 0xc], 0
je 0x407cc0
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
call fcn.004c23c8
mov eax, dword [ebp + 0x810]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x20]
add esp, 4
push esi
call fcn.00407a70
add esp, 8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 2
call fcn.004c253e
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x810]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407cb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x407e6e
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, esi
call edx
test eax, eax
ja 0x407cc0
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
call fcn.004c23c8
mov eax, dword [ebp + 0x810]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x24]
add esp, 4
push eax
call fcn.00496600
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00403060
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x14]
lea esi, [edi - 0x10]
push esi
call fcn.00403680
mov edi, dword [ebp - 0x20]
or dword [ebp - 0x18], 1
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x3c]
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.004c253e
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d95
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x810]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x407e6e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004df2ac
add ebp, 0x804
mov esp, ebp
pop ebp
ret