Function at 0x140078000
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x320
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x310], rax
movzx edi, r9b
mov r15d, r8d
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140078045
call fcn.140255ce0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140078053
call fcn.140255ce0
xor r12d, r12d
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], r12d
lea rcx, [rsp + 0x50]
call fcn.14006b4c0
nop
test dil, dil
je 0x140078078
call fcn.140070910
jmp 0x14007807d
call fcn.1400708c0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14006b670
call fcn.1400708d0
mov rcx, rax
call fcn.14006c390
test al, al
je 0x1400781f2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, rsi
lea rcx, [rsp + 0x50]
cmp eax, 0xffffffff
je 0x1400780bc
call fcn.14006b690
jmp 0x1400780c1
call fcn.14006ba40
lea rcx, [rsp + 0x50]
call fcn.14006b7b0
mov rcx, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007810a
lea rdx, str.Error_opening_file
jmp 0x1400782e8
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
test eax, eax
jne 0x140078130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.File_is_empty
jmp 0x1400782e8
cmp ebp, 0x400000
jbe 0x14007814d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140290508]
jmp 0x1400782e8
xor dil, dil
mov dword [rsp + 0x40], r12d
mov rcx, rbp
lea rdx, [0x140327600]
call fcn.140243678
mov r14, rax
mov rcx, rsi
test rax, rax
je 0x1400781e7
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], ebp
je 0x1400781ce
mov rcx, r14
call fcn.1402434a4
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400781a9
call fcn.140255ce0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400781b7
call fcn.140255ce0
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], r12d
lea rdx, str.Could_not_read_file
jmp 0x1400782e8
mov r9d, r15d
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call fcn.140078380
mov rcx, r14
jmp 0x14007833a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140078343
call fcn.1400708d0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14006ba20
call fcn.140070d30
test al, al
je 0x140078214
call fcn.1400708e0
jmp 0x14007822c
lea rcx, [rsp + 0x50]
call fcn.14006b7b0
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 2]
call fcn.140091cf0
mov rdi, rax
test rax, rax
jne 0x140078240
lea rdx, str.Error_opening_zip_file
jmp 0x1400782e8
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.140091640
test eax, eax
je 0x14007827e
call fcn.140070d30
test al, al
jne 0x140078275
mov rcx, rdi
call fcn.140091430
lea rdx, str.Could_not_find_ziped_file
jmp 0x1400782e8
mov esi, dword [rsp + 0x30c]
test esi, esi
je 0x140078124
cmp esi, 0x400000
ja 0x140078141
mov ecx, esi
call fcn.140243670
mov rbp, rax
mov dword [rsp + 0x20], 3
mov r9d, esi
mov r8, rax
mov edx, dword [rsp + 0x40]
mov rcx, rdi
call fcn.140092420
test eax, eax
je 0x140078315
cmp eax, 0x600
je 0x140078315
mov rcx, rbp
call fcn.1402434a4
call fcn.140070d30
test al, al
jne 0x1400782e1
mov rcx, rdi
call fcn.140091430
lea rdx, str.Could_not_unzip_file
mov r8d, 0x63
lea rcx, [rbx + 0x18]
call fcn.14025be48
lea rcx, [rbx + 0xe0]
mov r8d, 0x31
lea rdx, [0x140284a60]
call fcn.14025be48
xor dil, dil
jmp 0x140078343
call fcn.140070d30
test al, al
jne 0x140078326
mov rcx, rdi
call fcn.140091430
mov r9d, r15d
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.140078380
mov rcx, rbp
movzx edi, al
call fcn.1402434a4
nop
lea rcx, [rsp + 0x50]
call fcn.140003ea0
movzx eax, dil
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret