Function at 0x41a640
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x45ac74
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4747c0]
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.004438f0
add esp, 0xc
call fcn.0042263d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41a6c3
push 0x80004005
call fcn.00401000
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.0040c3d0
lea ecx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00419600
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040c110
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 0x41a72f
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 0x41a74b
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.0042ff3e
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.0042f6c0
mov eax, dword [ebp + 0x810]
push 0
push 0
push 0x600002
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00430bcd
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x41a924
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.0042f76d
mov eax, dword [ebp - 0x28]
cmp eax, 0x12d
je 0x41a7c2
cmp eax, 0x12e
jne 0x41a890
push 0
lea edx, [ebp + 0x810]
push edx
push 0x21
mov ecx, esi
call fcn.00430650
mov eax, dword [ebp + 0x810]
cmp dword [eax - 0xc], 0
je 0x41a890
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.004305ba
mov eax, dword [ebp + 0x810]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x20]
add esp, 4
push esi
call fcn.0041a640
add esp, 8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 2
call fcn.00430730
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 0x41a863
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 0x41a889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41aa3e
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 0x41a890
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.004305ba
mov eax, dword [ebp + 0x810]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.0040c3d0
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x24]
add esp, 4
push eax
call fcn.00419600
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040c110
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 0x41a921
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.0040c3d0
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.00430730
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a965
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 0x41a98b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x41aa3e
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.00440c2a
add ebp, 0x804
mov esp, ebp
pop ebp
ret