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

Disassembly:
mov eax, 0x1524
call fcn.004eeec0
mov eax, dword [0x543fcc]
push ebp
push edi
push 0
push 0x80
push 3
push 0
push 1
lea ebp, [ecx + 0x24]
push closesocket
push ebp
mov dword [esp + 0x1544], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45dbc2
push 0x516f88
push 0x79
push str.D:ProjectBranch1700ServerRylServerProjectRylGameLibraryLogGameLog.cpp
push str.CLogSaveThread::Compress
push 5
push 0x5637d0
call fcn.0040e630
add esp, 0x18
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1520]
call fcn.004eee51
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.004ef647
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.004edc35
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x44
lea edx, [esp + 0x228]
push edx
call ebx
cmp eax, 0xffffffff
je 0x45dcbc
jmp 0x45dc60
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.004edc35
add esp, 0x30
lea eax, [esp + 0x228]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x45dc60
lea ecx, [esp + 0x228]
push 0x516ee8
push ecx
call fcn.004c5e50
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x45dd1a
push 0x516eb4
push 0x9b
push str.D:ProjectBranch1700ServerRylServerProjectRylGameLibraryLogGameLog.cpp
push str.CLogSaveThread::Compress
push 5
push 0x5637d0
call fcn.0040e630
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.004eee51
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 0x45dda1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45dda1
push eax
lea ecx, [esp + 0x534]
push ecx
push ebx
call fcn.004c5a00
add esp, 0xc
test eax, eax
je 0x45dd7e
push 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x53c]
push eax
push edi
call esi
test eax, eax
jne 0x45dd43
jmp 0x45dda1
push 0x516e88
push 0xac
push str.D:ProjectBranch1700ServerRylServerProjectRylGameLibraryLogGameLog.cpp
push str.CLogSaveThread::Compress
push 5
push 0x5637d0
call fcn.0040e630
add esp, 0x18
push ebx
call fcn.004c5b90
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 0x45ddcf
cmp esi, 0x26
je 0x45ddcf
push esi
push 0x516e58
push 0xb7
jmp 0x45dde5
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x45de17
push esi
push 0x516e20
push 0xbd
push str.D:ProjectBranch1700ServerRylServerProjectRylGameLibraryLogGameLog.cpp
push str.CLogSaveThread::Compress
push 5
push 0x5637d0
call fcn.0040e630
add esp, 0x1c
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1520]
call fcn.004eee51
add esp, 0x1524
ret
mov ecx, dword [esp + 0x1530]
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
call fcn.004eee51
add esp, 0x1524
ret