Function at 0x55f1b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x19014
call fcn.0056ae30
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.0055f1a0
mov ecx, esi
call fcn.0055ef20
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0xb8]
jge 0x55f4cd
mov ecx, dword [0x65ca8c]
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.0057f8fb
mov edx, dword [ebp - 0x14]
add esp, 0xc
push 0x658708
push edx
call fcn.00554a20
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x55f2aa
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.0056d327
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.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f286
mov edx, dword [ebp - 0x18]
push 1
push edx
call fcn.00478010
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x55f1f6
mov eax, dword [esi + 0xb4]
push 0x63ca18
mov eax, dword [edi + eax]
push eax
call fcn.0056bf3f
mov esi, eax
add esp, 8
test esi, esi
jne 0x55f332
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
add edi, dword [edx + 0xb4]
call fcn.0056d327
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.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f30e
mov eax, dword [ebp - 0x18]
push 1
push eax
call fcn.00478010
push ebx
call fcn.00555330
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.00586b33
jmp 0x55f4b2
test byte [esi + 0xc], 0x10
jne 0x55f48d
push esi
push 0x19000
lea edx, [ebp - 0x19024]
push 1
push edx
call fcn.0056d0d5
mov edi, eax
mov al, byte [esi + 0xc]
add esp, 0x10
test al, 0x20
je 0x55f3d0
mov eax, dword [0x65ca8c]
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.0056d327
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.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f3a8
mov edx, dword [ebp - 0x18]
push 1
push edx
call fcn.00478010
push ebx
call fcn.00555330
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0056bd58
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
jmp 0x55f466
test edi, edi
jle 0x55f332
lea ecx, [ebp - 0x19024]
push edi
push ecx
push ebx
call fcn.00555160
add esp, 0xc
cmp eax, edi
je 0x55f332
lea edx, [ebp - 0x24]
push edx
push ebx
call fcn.005553b0
mov edi, eax
mov eax, dword [0x65ca8c]
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
call fcn.0056d327
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.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x18
test ecx, ecx
je 0x55f443
mov edx, dword [ebp - 0x1c]
push 1
push edx
call fcn.00478010
push ebx
call fcn.00555330
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.0056bd58
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
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.00555330
push esi
call fcn.0056bd58
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.00586b33
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x55f1f6
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