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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp + 0x17], rdx
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001199f
mov rcx, qword [r8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx eax, byte [0x1401b5780]
jne 0x1400119f4
cmp al, 5
ja 0x1400119d2
cmp qword [rbx + 0x18], 8
jb 0x1400119be
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 5
lea rcx, str.get_file_content__s:_file_does_not_exist
call fcn.140034cf0
mov dword [rbp + 0x27], 2
lea rax, [0x1401c10e8]
mov qword [rbp + 0x2f], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rdi], xmm0
jmp 0x140011bb3
cmp al, 6
ja 0x140011a16
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011a05
mov r8, qword [rbx]
mov edx, 6
lea rcx, str.get_file_content_:_file_exists_in__s
call fcn.140034cf0
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011a23
mov rcx, qword [rbx]
lea rdx, [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_FileEncryptionStatusW]
mov eax, 0x80
mov ecx, 0x4000
cmp dword [rbp + 0x37], 1
cmove eax, ecx
cmp qword [rbx + 0x18], 8
jb 0x140011a48
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x17], rax
test rax, rax
jne 0x140011a89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x27], eax
jmp 0x1400119d9
lea rcx, [rbp + 0x17]
mov qword [rbp + 7], rcx
mov byte [rbp + 0xf], 0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
test eax, eax
jne 0x140011ae4
movzx eax, byte [0x1401b5780]
cmp al, 5
ja 0x140011ac2
lea edx, [r14 + 5]
lea rcx, str.get_file_content_:_Empty_File
call fcn.140034cf0
mov dword [rbp + 0x27], 0x3ee
lea rax, [0x1401c10e8]
mov qword [rbp + 0x2f], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rdi], xmm0
jmp 0x140011ba9
inc eax
mov ebx, eax
mov ecx, eax
call fcn.1400fbe0c
mov rsi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.1400fe8d0
mov qword [rbp + 0x27], rsi
test rsi, rsi
jne 0x140011b41
movzx eax, byte [0x1401b5780]
cmp al, 5
ja 0x140011b22
lea edx, [rsi + 5]
lea rcx, str.get_file_content_:_buffer_allocation_failed
call fcn.140034cf0
mov dword [rbp - 9], 0x7a
lea rax, [0x1401c10e8]
mov qword [rbp - 1], rax
mov byte [rdi + 0x20], 0
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi], xmm0
jmp 0x140011ba0
mov dword [rbp + 0x1f], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1f]
mov r8d, r14d
mov rdx, rsi
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140011b90
movzx eax, byte [0x1401b5780]
cmp al, 5
ja 0x140011b85
mov edx, 5
lea rcx, str.get_file_content_:_Read_file_failed
call fcn.140034cf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 9], eax
jmp 0x140011b29
mov r8d, dword [rbp + 0x1f]
mov rdx, rsi
mov rcx, rdi
call fcn.140011760
nop
mov rcx, rsi
call fcn.140074f80
nop
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret