Function at 0x402e20
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x449894
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x460590]
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 edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edi
push 0x7fe
lea edx, [ebp + 2]
xor ecx, ecx
push edi
mov dword [ebp - 4], 1
push edx
mov word [ebp], cx
call fcn.00434530
add esp, 0xc
call fcn.00413d88
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402ea3
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 - 0x20], esp
mov esi, esp
push eax
call fcn.00402190
lea ecx, [ebp - 0x18]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00411330
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401f40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f0f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], edi
je 0x402f2b
mov ecx, dword [ebp + 0x810]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push edi
push edi
push edi
push 1
push edi
lea ecx, [ebp - 0x38]
call fcn.0041cc4b
push edi
push 4
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 5
push 2
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], 0x7d0
call fcn.0041c3d3
mov eax, dword [ebp + 0x810]
push edi
push edi
push 0x400002
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041d882
mov esi, eax
mov dword [ebp - 0x18], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, esi
call edx
cmp eax, edi
ja 0x402f75
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 - 0x38]
mov dword [ebp - 0x18], edi
call fcn.0041d2c7
mov esi, dword [ebp + 0x810]
push ecx
mov dword [ebp - 0x20], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov ebx, esp
call edx
cmp dword [esi + 0xc], edi
lea ecx, [esi + 0xc]
jl 0x402fdc
cmp eax, dword [esi]
jne 0x402fdc
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x403018
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x402ff5
call fcn.00402200
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00432766
add esp, 0x10
lea ecx, [ebp - 0x20]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.00411330
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov esi, dword [ebp - 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x403081
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x403074
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x403074
push eax
call fcn.00402190
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40306c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x403081
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402090
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4030ce
cmp eax, dword [esi]
jne 0x4030ce
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40310a
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4030e7
call fcn.00402200
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00432766
add esp, 0x10
lea edx, [edi + 0x10]
mov edi, dword [ebp - 0x24]
mov dword [edi], edx
or dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.0041d3cb
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40313f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
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 0x403165
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x403218
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.004323db
add ebp, 0x804
mov esp, ebp
pop ebp
ret