Function at 0x14003b3bc
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r14d, r14d
xor esi, esi
and dword [rbp - 0x10], r14d
mov r12, r9
and dword [rbp - 0xc], esi
mov r13, r8
xor ebx, ebx
mov r15, rcx
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
lea edi, [rsi + 4]
cmp rcx, rax
je 0x14003b42d
test byte [rcx + 0x1c], dil
je 0x14003b42d
cmp byte [rcx + 0x19], 5
jb 0x14003b42d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x139
call fcn.14000459c
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14003b48c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b759
test byte [rcx + 0x1c], dil
je 0x14003b759
cmp byte [rcx + 0x19], 2
jb 0x14003b759
mov edx, 0x13a
jmp 0x14003b746
and qword [rsp + 0x20], rbx
lea r9, [rbp - 0xc]
mov r8d, edi
lea rdx, [rbp - 0x10]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003b4f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b759
test byte [rcx + 0x1c], dil
je 0x14003b759
cmp byte [rcx + 0x19], 2
jb 0x14003b759
mov edx, 0x13b
jmp 0x14003b746
cmp dword [rbp - 0xc], edi
je 0x14003b545
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b7d5
test byte [rcx + 0x1c], dil
je 0x14003b7d5
cmp byte [rcx + 0x19], 2
jb 0x14003b7d5
mov edx, 0x13c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
call fcn.1400238ac
jmp 0x14003b7d5
mov ecx, dword [rbp - 0x10]
call fcn.14006a264
mov r14, rax
test rax, rax
jne 0x14003b58e
lea ebx, [rax + 8]
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b7d5
test byte [rcx + 0x1c], dil
je 0x14003b7d5
cmp byte [rcx + 0x19], 2
jb 0x14003b7d5
mov r9d, dword [rbp - 0x10]
mov edx, 0x13d
jmp 0x14003b530
mov r8d, dword [rbp - 0x10]
lea r9, [rbp - 0xc]
and qword [rsp + 0x20], rbx
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003b5f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b759
test byte [rcx + 0x1c], dil
je 0x14003b759
cmp byte [rcx + 0x19], 2
jb 0x14003b759
mov edx, 0x13e
jmp 0x14003b746
mov eax, dword [rbp - 0xc]
cmp dword [rbp - 0x10], eax
je 0x14003b63a
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b7a6
test byte [rcx + 0x1c], dil
je 0x14003b7a6
cmp byte [rcx + 0x19], 2
jb 0x14003b7a6
mov edx, 0x13f
jmp 0x14003b796
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14003b695
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b759
test byte [rcx + 0x1c], 4
je 0x14003b759
cmp byte [rcx + 0x19], 2
jb 0x14003b759
mov edx, 0x140
jmp 0x14003b746
sub edi, dword [rbp - 0x10]
sub edi, 8
mov ecx, edi
call fcn.14006a264
mov rsi, rax
test rax, rax
jne 0x14003b6f2
lea ebx, [rax + 8]
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b7a6
test byte [rcx + 0x1c], 4
je 0x14003b7a6
cmp byte [rcx + 0x19], 2
jb 0x14003b7a6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov edx, 0x141
call fcn.14000459c
jmp 0x14003b7a6
and qword [rsp + 0x20], rbx
lea r9, [rbp - 0xc]
mov r8d, edi
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003b764
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b759
test byte [rcx + 0x1c], 4
je 0x14003b759
cmp byte [rcx + 0x19], 2
jb 0x14003b759
mov edx, 0x142
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
mov r9d, ebx
call fcn.1400238ac
test ebx, ebx
je 0x14003b7d5
test r14, r14
je 0x14003b7ae
jmp 0x14003b7a6
cmp edi, dword [rbp - 0xc]
je 0x14003b7bd
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x14003b7a6
test byte [rcx + 0x1c], 4
je 0x14003b7a6
cmp byte [rcx + 0x19], 2
jb 0x14003b7a6
mov edx, 0x143
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093fa8]
call fcn.1400238ac
mov rcx, r14
call fcn.14006a328
test rsi, rsi
je 0x14003b7d5
mov rcx, rsi
call fcn.14006a328
jmp 0x14003b7d5
mov rax, qword [rbp + 0x38]
mov qword [r12], rsi
mov qword [rax], r14
mov eax, dword [rbp - 0x10]
mov dword [r13], eax
mov rax, qword [rbp + 0x50]
mov dword [rax], edi
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret