Function at 0x4b80e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65afc6
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x6f03ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4b811a
cmp dword [ebp + 0xc], 0
jne 0x4b8121
xor al, al
jmp 0x4b833a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b813d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b7230
add esp, 4
jmp 0x4b8147
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x6da974
lea eax, [ebp - 0x14]
push eax
call fcn.004b69e0
add esp, 8
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bfc10
push 0
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bfc30
push 3
push 1
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bf8d0
cmp dword [ebp + 0x1c], 0
je 0x4b81fd
lea ecx, [ebp - 0x1c]
call fcn.004b6ca0
mov byte [ebp - 4], 1
lea eax, [ebp + 0x1c]
push eax
push str.Referer
lea ecx, [ebp - 0x94]
push ecx
call fcn.004b6950
add esp, 0xc
push eax
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004b68d0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.004b6c60
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bfa50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004b6ea0
cmp dword [ebp + 0x10], 0
je 0x4b8216
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bf9f0
cmp dword [ebp + 0x14], 0
je 0x4b822f
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bfa20
push 0
push 0x3a8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.004030cf
lea ecx, [ebp - 0xbc]
push ecx
call fcn.004ab6b5
add esp, 0x20
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xe4]
push eax
push 0xfde9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov edx, dword [ebp + 8]
push edx
call fcn.004030cf
lea eax, [ebp - 0xd8]
push eax
call fcn.004ab6b5
add esp, 0x20
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xec]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x14]
call fcn.004b6fd0
mov ecx, eax
call fcn.004bfef0
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.0040563f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.0040563f
cmp dword [ebp - 0x4c], 0xc8
jne 0x4b8307
mov dword [ebp - 0xe0], 1
jmp 0x4b8311
mov dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xe0]
mov byte [ebp - 0xd9], al
lea ecx, [ebp - 0x4c]
call fcn.004b6f90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b6f30
mov al, byte [ebp - 0xd9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc75
mov esp, ebp
pop ebp
ret