Function at 0x55f500
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae8c8
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 edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.0055ef20
xor eax, eax
mov dword [ebp - 0x18], eax
cmp eax, dword [edi + 0xb8]
jge 0x55f868
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [edi + 0xb4]
lea esi, [eax*4]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [esi + edx]
push eax
push str._s.z
push ecx
call fcn.0057f8fb
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push 0x63ca18
push edx
call fcn.00554a20
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x55f619
call fcn.0056d327
mov ebx, dword [eax]
mov eax, dword [edi + 0xb4]
mov esi, dword [esi + eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x55f850
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
push ebx
push edx
lea eax, [ebp - 0x14]
push str.uncompress:__s_zopen_err_and_mf_not_found__err___ld_n
push eax
mov byte [ebp - 4], 2
call fcn.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f5eb
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.00478010
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00586b33
lea ecx, [ebp - 0x1c]
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
mov eax, dword [edi + 0xb4]
push 0x638dc4
mov eax, dword [esi + eax]
push eax
call fcn.0056bf3f
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [ebp - 0x24], ebx
jne 0x55f697
mov ecx, dword [0x65ca8c]
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + 0xb4]
mov byte [ebp - 4], 3
add esi, eax
call fcn.0056d327
mov edx, dword [eax]
mov eax, dword [esi]
push edx
push eax
lea ecx, [ebp - 0x18]
push str.uncompress:_mf__s_fopen_error__errno___ld_n
push ecx
call fcn.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f67f
mov edx, dword [ebp - 0x18]
push 1
push edx
call fcn.00478010
mov eax, dword [ebp - 0x14]
push eax
call fcn.00555330
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
jmp 0x55f5f2
mov esi, dword [ebp - 0x14]
push esi
call fcn.005552c0
add esp, 4
test eax, eax
jne 0x55f837
lea ecx, [ebp - 0x19024]
push 0x19000
push ecx
push esi
call fcn.00554f30
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x55f75b
mov edi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push edi
call fcn.005553b0
mov esi, eax
mov eax, dword [0x65ca8c]
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
call fcn.0056d327
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push esi
push eax
lea ecx, [ebp - 0x14]
push str.uncompress:__s_zread_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 0x55f720
mov edx, dword [ebp - 0x14]
push 1
push edx
call fcn.00478010
push ebx
call fcn.0056bd58
push edi
call fcn.00555330
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00586b33
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x55f697
push ebx
push esi
lea eax, [ebp - 0x19024]
push 1
push eax
call fcn.0056bdd5
add esp, 0x10
cmp eax, esi
je 0x55f697
call fcn.0056d327
mov ecx, dword [edi + 0xb4]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
lea eax, [esi + 0x2800]
mov ecx, dword [ecx + edx*4]
cdq
push edx
push eax
push ecx
call fcn.0055f8a0
add esp, 0xc
test al, al
jne 0x55f7ae
mov ebx, 0x755f
jmp 0x55f7fa
mov eax, dword [0x65ca8c]
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0xb4]
mov edx, dword [ebp - 0x18]
push ebx
mov byte [ebp - 4], 5
mov eax, dword [ecx + edx*4]
lea ecx, [ebp - 0x20]
push eax
push str.uncompress:_mf__s_fwrite_error__errno___ld_n
push ecx
call fcn.0057f8fb
mov ecx, dword [0x6615e0]
add esp, 0x10
test ecx, ecx
je 0x55f7ee
mov edx, dword [ebp - 0x20]
push 1
push edx
call fcn.00478010
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00586b33
mov eax, dword [ebp - 0x14]
push eax
call fcn.00555330
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0056bd58
add esp, 8
test ebx, ebx
jne 0x55f818
mov ebx, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00555330
push ebx
call fcn.0056bd58
mov edx, dword [ebp - 0x1c]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00586b33
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
jmp 0x55f53c
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