Function at 0x1400bba50
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 [0x140129718]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov r15d, r8d
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400bba92
call qword [0x1400e7ca0]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400bbaa1
call qword [0x1400e7ca0]
xor r12d, r12d
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], r12d
call fcn.140094fa0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14008f260
nop
call fcn.140094fb0
mov rcx, rax
call fcn.1400903f0
test al, al
je 0x1400bbc2c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, rsi
lea rcx, [rsp + 0x50]
cmp eax, 0xffffffff
je 0x1400bbaf4
call fcn.14008f490
jmp 0x1400bbaf9
call fcn.14008f910
lea rcx, [rsp + 0x50]
call fcn.1400514e0
mov rcx, rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
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 0x1400bbb42
lea rdx, str.Error_opening_file
jmp 0x1400bbd22
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
test eax, eax
jne 0x1400bbb68
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.File_is_empty
jmp 0x1400bbd22
cmp ebp, 0x400000
jbe 0x1400bbb85
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.File_too_large
jmp 0x1400bbd22
xor dil, dil
mov dword [rsp + 0x40], r12d
mov rcx, rbp
lea rdx, [0x1401021c8]
call fcn.1400dd39c
mov r14, rax
mov rcx, rsi
test rax, rax
je 0x1400bbc21
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 0x1400bbc08
mov rcx, r14
call fcn.1400dc8cc
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400bbbe2
call qword [0x1400e7ca0]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400bbbf1
call qword [0x1400e7ca0]
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], r12d
lea rdx, str.Could_not_read_file
jmp 0x1400bbd22
mov r9d, r15d
mov r8d, ebp
mov rdx, r14
mov rcx, rbx
call fcn.1400bbdc0
mov rcx, r14
jmp 0x1400bbd76
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bbd7f
call fcn.140094fb0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14008f820
call fcn.140095470
test al, al
je 0x1400bbc4e
call fcn.140094fc0
jmp 0x1400bbc66
lea rcx, [rsp + 0x50]
call fcn.1400514e0
mov rcx, rax
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1400ccab0
mov rdi, rax
test rax, rax
jne 0x1400bbc7a
lea rdx, str.Error_opening_zip_file
jmp 0x1400bbd22
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.1400cc400
test eax, eax
je 0x1400bbcb8
call fcn.140095470
test al, al
jne 0x1400bbcaf
mov rcx, rdi
call fcn.1400cc1f0
lea rdx, str.Could_not_find_ziped_file
jmp 0x1400bbd22
mov esi, dword [rsp + 0x30c]
test esi, esi
je 0x1400bbb5c
cmp esi, 0x400000
ja 0x1400bbb79
mov ecx, esi
call fcn.1400dc8c4
mov rbp, rax
mov dword [rsp + 0x20], 3
mov r9d, esi
mov r8, rax
mov edx, dword [rsp + 0x40]
mov rcx, rdi
call fcn.1400cd1e0
test eax, eax
je 0x1400bbd51
cmp eax, 0x600
je 0x1400bbd51
mov rcx, rbp
call fcn.1400dc8cc
call fcn.140095470
test al, al
jne 0x1400bbd1b
mov rcx, rdi
call fcn.1400cc1f0
lea rdx, str.Could_not_unzip_file
mov r8d, 0x63
lea rcx, [rbx + 0x18]
call qword [0x1400e7e30]
lea rdx, [0x1400e8990]
mov r8d, 0x31
lea rcx, [rbx + 0xe0]
call qword [0x1400e7e30]
xor dil, dil
jmp 0x1400bbd7f
call fcn.140095470
test al, al
jne 0x1400bbd62
mov rcx, rdi
call fcn.1400cc1f0
mov r9d, r15d
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.1400bbdc0
mov rcx, rbp
movzx edi, al
call fcn.1400dc8cc
nop
lea rcx, [rsp + 0x50]
call fcn.140064db0
movzx eax, dil
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400dc960
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