Function at 0x53a750
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f930d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x69001c]
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.00591bd6
add esp, 8
test eax, eax
je 0x53a9c9
sub eax, dword [ebx]
sar eax, 1
test eax, eax
jle 0x53a9c9
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040e7d0
mov dword [ebp - 4], 0
call fcn.00409c60
mov ecx, eax
test ecx, ecx
je 0x53a9df
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.00408c40
mov ecx, dword [edi + 0x10]
add esp, 0x14
test ecx, ecx
je 0x53a7f9
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.00528da0
add esp, 0x14
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x10]
call fcn.004ff9b0
or edi, 0xffffffff
test al, al
je 0x53a835
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x53a95a
call fcn.00409c60
test eax, eax
je 0x53a9df
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.00529d90
add esp, 4
call fcn.00409c60
test eax, eax
je 0x53a9df
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.005273f0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
push 0x5c
push eax
mov esi, dword [eax - 0xc]
call fcn.00591bd6
add esp, 8
test eax, eax
jne 0x53a8aa
or eax, 0xffffffff
jmp 0x53a8af
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.0040e890
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.00408c40
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 0x53a8f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x14]
call fcn.00509060
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 0x53a921
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 0x53a93f
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 0x53a95a
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 0x53a975
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 0x53a993
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 0x53a9b2
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.00409920
int3