Function at 0x4d6630
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57619d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5e8024]
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.0052f997
add esp, 8
test eax, eax
je 0x4d68a9
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x4d68a9
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040df00
mov dword [ebp - 4], 0
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4d68bf
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.00408de0
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x4d66d9
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
push ecx
lea eax, [ebp - 0x28]
push eax
push 0x8000008
push 1
push 0
lea ecx, [edi + 0xc]
lea edx, [ebp - 0x18]
call fcn.004c4770
add esp, 0x14
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x10]
call fcn.0049a440
or edi, 0xffffffff
test al, al
je 0x4d6715
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4d683a
call fcn.00409d30
test eax, eax
je 0x4d68bf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 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.004c5760
add esp, 4
call fcn.00409d30
test eax, eax
je 0x4d68bf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
mov edx, 0xca
lea ecx, [ebp - 0x20]
call fcn.004c2e00
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.0052f997
add esp, 8
test eax, eax
jne 0x4d678a
or eax, 0xffffffff
jmp 0x4d678f
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.0040dfc0
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.00408de0
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 0x4d67d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x14]
call fcn.004a4210
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 0x4d6801
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 0x4d681f
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 0x4d683a
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 0x4d6855
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 0x4d6873
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 0x4d6892
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.00409a00
int3