Function at 0x560d30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b04e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x19014
call fcn.0056c9b0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
call fcn.00560d20
mov ecx, esi
call fcn.00560aa0
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0xb8]
jge 0x56104d
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [esi + 0xb4]
lea edi, [eax*4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov eax, dword [edi + edx]
push eax
push str._s.z
push ecx
call fcn.0058148b
mov edx, dword [ebp - 0x14]
add esp, 0xc
push 0x65a898
push edx
call fcn.005565a0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x560e2a
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0056eea7
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.compress:__s_zopen_error__errno___ld_n
push eax
call fcn.0058148b
mov ecx, dword [0x663778]
add esp, 0x10
test ecx, ecx
je 0x560e06
mov edx, dword [ebp - 0x18]
push 1
push edx
call fcn.00478c60
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x560d76
mov eax, dword [esi + 0xb4]
push 0x63ea50
mov eax, dword [edi + eax]
push eax
call fcn.0056dabf
mov esi, eax
add esp, 8
test esi, esi
jne 0x560eb2
mov ecx, dword [0x65ec1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
add edi, dword [edx + 0xb4]
call fcn.0056eea7
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [ebp - 0x18]
push str.compress:_mf__s_fopen_error__errno___ld_n
push edx
call fcn.0058148b
mov ecx, dword [0x663778]
add esp, 0x10
test ecx, ecx
je 0x560e8e
mov eax, dword [ebp - 0x18]
push 1
push eax
call fcn.00478c60
push ebx
call fcn.00556eb0
mov ecx, dword [ebp - 0x14]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.005886c0
jmp 0x561032
test byte [esi + 0xc], 0x10
jne 0x56100d
push esi
push 0x19000
lea edx, [ebp - 0x19024]
push 1
push edx
call fcn.0056ec55
mov edi, eax
mov al, byte [esi + 0xc]
add esp, 0x10
test al, 0x20
je 0x560f50
mov eax, dword [0x65ec1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
mov edx, dword [ecx + 0xb4]
lea edi, [edx + eax*4]
call fcn.0056eea7
mov ecx, dword [eax]
mov edx, dword [edi]
push ecx
push edx
lea eax, [ebp - 0x18]
push str.compress:_mf__s_fread_error__errno___ld_n
push eax
call fcn.0058148b
mov ecx, dword [0x663778]
add esp, 0x10
test ecx, ecx
je 0x560f28
mov edx, dword [ebp - 0x18]
push 1
push edx
call fcn.00478c60
push ebx
call fcn.00556eb0
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0056d8d8
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
jmp 0x560fe6
test edi, edi
jle 0x560eb2
lea ecx, [ebp - 0x19024]
push edi
push ecx
push ebx
call fcn.00556ce0
add esp, 0xc
cmp eax, edi
je 0x560eb2
lea edx, [ebp - 0x24]
push edx
push ebx
call fcn.00556f30
mov edi, eax
mov eax, dword [0x65ec1c]
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
call fcn.0056eea7
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push edi
push eax
lea ecx, [ebp - 0x1c]
push str.uncompress:__s_zwrite_error__msg_s_n_zerr_ld__errno_ld_n
push ecx
call fcn.0058148b
mov ecx, dword [0x663778]
add esp, 0x18
test ecx, ecx
je 0x560fc3
mov edx, dword [ebp - 0x1c]
push 1
push edx
call fcn.00478c60
push ebx
call fcn.00556eb0
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0056d8d8
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.005886c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00556eb0
push esi
call fcn.0056d8d8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add esp, 8
mov edx, dword [ecx + 0xb4]
mov eax, dword [edx + eax*4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005886c0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x560d76
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret