Function at 0x4cfcb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561978
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5d0074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [ebp + 8]
push 0x2e
push dword [ebx]
call fcn.0052266c
add esp, 8
test eax, eax
je 0x4cff26
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x4cff26
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040ba30
mov dword [ebp - 4], 0
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4cff3c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
push dword [ebx]
push dword [esi]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.00419120
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x4cfd59
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push 0
lea eax, [ebp - 0x28]
push 0x8000008
push eax
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x18]
call fcn.004bf510
add esp, 0xc
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x10]
call fcn.00494660
or edi, 0xffffffff
test al, al
je 0x4cfd92
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4cfeb7
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4cff46
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.004c03b0
add esp, 4
call fcn.00413cd0
mov ecx, eax
test ecx, ecx
je 0x4cff50
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov edx, 0xca
lea ecx, [ebp - 0x20]
call fcn.004bd9e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.0052266c
add esp, 8
test eax, eax
jne 0x4cfe07
or eax, 0xffffffff
jmp 0x4cfe0c
sub eax, dword [ebp - 0x10]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp + 8]
push eax
call fcn.0040baf0
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x1c]
push esi
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x20]
push eax
call fcn.00419120
add esp, 0x10
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cfe52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x14]
call fcn.0049dc80
mov byte [ebp + 0xb], 0
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cfe7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cfe9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cfeb7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4cfed2
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cfef0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4cff0f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
push 0x80004005
call fcn.004143a0
int3