Function at 0x14005bb60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x14005bb82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14005bb91
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x14005bbe2
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x14005bc51
mov rcx, rbp
call fcn.14004f6a0
cmp rbx, 0xfff
jbe 0x14005bc31
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x14005bc6a
cmp rbx, rax
ja 0x14005bc00
test rdi, rdi
je 0x14005bc51
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x14005bc54
add al, byte [rax]
add byte [rax - 0x75], cl
lea ecx, [rax + 2]
add byte [rax], al
call 0x1401bb895
nop
mov rax, qword [rbp + 0x2b0]
mov rcx, qword [rbp + 0x2a0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov qword [rbp + 0x28], 7
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
add rax, 8
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x280]
call 0x1401bb836
mov rdx, rax
lea rcx, [rbp + 0xa4]
call 0x1401bad87
lea rax, [rbp + 0xa4]
mov qword [rbp + 0x88], rax
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xc8]
call 0x1401bb309
nop
mov rax, qword [rbp + 8]
or byte [r8 + 0x39], r9b
sub byte [r11 + 0x68], r14b
mov rcx, qword [rbp + 0x280]
call 0x1401bb1b0
mov r8, rax
mov edx, 7
mov rcx, qword [rbp + 8]
call 0x1401bb95d
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x280]
call 0x1401bb836
lea rdx, [rbp + 0x28]
mov rcx, rax
call 0x1401bb417
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xf8]
call 0x1401bbf20
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x48]
add rax, 8
lea rdx, [rbp + 0xf8]
mov rcx, rax
call 0x1401bb1f1
nop
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
mov qword [rax + 0x20], rcx
mov r8, qword [rbp + 0x2a0]
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x68]
call 0x1401bb052
nop
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x2a0]
lea rax, [rax + rcx*2]
mov r8, qword [rbp + 0x2b0]
mov rdx, qword [rbp + 0x2a8]
mov rcx, rax
call 0x1401bb052
nop
xor eax, eax
mov word [rbp + 0x234], ax
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
lea rax, [rax + rcx*2]
lea rdx, [rbp + 0x234]
mov rcx, rax
call 0x1401bb156
nop
lea rcx, [rbp + 0xc8]
call 0x1401bb543
nop
lea rcx, [rbp + 0xc8]
add al, ch
in eax, dx
sub al, 0xff
call qword [rax - 0x7f7a74b8]
add al, byte [rax]
add byte [rax - 0x75], cl
clc