Function at 0x441000
Capabilities:
Check if file exists
Delete file
Get file attributes
Read file on windows

Disassembly:
mov eax, 0x1524
call fcn.004c0220
mov eax, dword [0x50db60]
push ebp
push edi
push 0
push 0x80
push 3
push 0
push 1
lea ebp, [ecx + 0x24]
push 0x80000000
push ebp
mov dword [esp + 0x1544], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x441072
push 0x4dee48
push 0x79
push 0x4dedd8
push str.CLogSaveThread::Compress
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x18
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1520]
call fcn.004bff5b
add esp, 0x1524
ret
push ebx
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_GetLocalTime]
lea ecx, [esp + 0x430]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
xor esi, esi
call fcn.004c03ec
movzx edx, word [esp + 0x34]
movzx eax, word [esp + 0x32]
movzx ecx, word [esp + 0x30]
push esi
push edx
movzx edx, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x36]
push ecx
movzx ecx, word [esp + 0x38]
push edx
push eax
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x15c]
push eax
push str._s_s__04d_02d_02d__02d_02d_02d__04d.zip
lea ecx, [esp + 0x264]
push 0x208
push ecx
call fcn.004be7bb
mov ebx, dword [sym.imp.kernel32.dll_GetFileAttributesA]
add esp, 0x44
lea edx, [esp + 0x228]
push edx
call ebx
cmp eax, 0xffffffff
je 0x44116c
jmp 0x441110
movzx eax, word [esp + 0x20]
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1c]
inc esi
push esi
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x148]
push ecx
push str._s_s__04d_02d_02d__02d_02d_02d__04d.zip
lea edx, [esp + 0x250]
push 0x208
push edx
call fcn.004be7bb
add esp, 0x30
lea eax, [esp + 0x228]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x441110
lea ecx, [esp + 0x228]
push 0x4ded88
push ecx
call fcn.0049a000
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4411ca
push 0x4ded54
push 0x9b
push 0x4dedd8
push str.CLogSaveThread::Compress
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x18
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1520]
call fcn.004bff5b
add esp, 0x1524
ret
mov esi, dword [sym.imp.kernel32.dll_ReadFile]
push 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x53c]
push eax
push edi
mov dword [esp + 0x24], 0
call esi
test eax, eax
je 0x441251
mov eax, dword [esp + 0x10]
test eax, eax
je 0x441251
push eax
lea ecx, [esp + 0x534]
push ecx
push ebx
call fcn.00499bb0
add esp, 0xc
test eax, eax
je 0x44122e
push 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x53c]
push eax
push edi
call esi
test eax, eax
jne 0x4411f3
jmp 0x441251
push 0x4ded28
push 0xac
push 0x4dedd8
push str.CLogSaveThread::Compress
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x18
push ebx
call fcn.00499d40
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x44127f
cmp esi, 0x26
je 0x44127f
push esi
push 0x4decf8
push 0xb7
jmp 0x441295
push ebp
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x4412c7
push esi
push 0x4decc0
push 0xbd
push 0x4dedd8
push str.CLogSaveThread::Compress
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x1c
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1520]
call fcn.004bff5b
add esp, 0x1524
ret
mov ecx, dword [esp + 0x1530]
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
call fcn.004bff5b
add esp, 0x1524
ret