Function at 0x140001dd0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001df2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001e01
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001e24
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001e26
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e62
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001efe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e9d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001ede
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001efe
cmp rbx, rax
ja 0x140001eb0
test rbx, rbx
je 0x140001efe
mov r9, qword [rsi + 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 rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
outsd dx, dword [rsi]
outsb dx, byte [rsi]
and byte [rsp + riz*2 + 0x72], cl
push rdx
imul esi, dword gs:[ebx + 0x74], 0x6c447265
insb byte [rdi], dx
outsd dx, dword [rsi]
je 0x14000f7b0
imul sp, word [rbx + 0x61], 0x6974
outsd dx, dword [rsi]
outsb dx, byte [rsi]
and byte [rsp + riz*2 + 0x72], cl
push rdx
insd dword [rdi], dx
outsd dx, dword [rsi]
jbe 0x14000f7be
insb byte [rdi], dx
insb byte [rdi], dx
imul r14d, dword [rdx + 0x65], 0x726f7463
jns 0x14000f786
jb 0x14000f7bc
insd dword [rdi], dx
outsd dx, dword [rsi]
jbe 0x14000f7d4
outsd dx, dword [rsi]
invalid
jb 0x14000f804
jae 0x14000f7fc
je 0x14000f80a
outsd dx, dword [rsi]
outsb dx, byte [rsi]
imul sp, word [rdi + 0x20], 0x644c
jb 0x14000f816
and byte [esp + 0x72], cl
push rdx
jae 0x14000f819
insb byte [rdi], dx
invalid
push rbx
jb 0x14000f852
jae 0x14000f872
jns 0x14000f858
outsd dx, dword [rsi]
invalid
insb byte [rdi], dx
and byte [rsp + riz*2 + 0x72], cl
push rdx
jb 0x14000f86e
jae 0x14000f881
jae 0x14000f875
jns 0x14000f893
js 0x14000f890
jae 0x14000f89d
and byte [rsp + riz*2 + 0x72], cl
push rbx
jb 0x14000f8a7
je 0x14000f89b
invalid
invalid
jb 0x14000f8c3
push rax
jb 0x14000f902
invalid
insd dword [rdi], dx
je 0x14000f911
jo 0x14000f920
imul ebp, dword [rdi + 0x6e], 0x644c2073
jb 0x14000f908
and byte [rsp + riz*2 + 0x72], cl
push rbx
push 0x6f647475
jb 0x14000f959
je 0x14000f955
insb byte [rdi], dx
outsd dx, dword [rsi]
invalid
insb byte [rdi], dx
je 0x14000f98a
jb 0x14000f995
invalid
js 0x14000f97c
insb byte [rdi], dx
je 0x14000fa00
jo 0x14000fa6b
outsb dx, byte [rsi]
push rbx
insb byte [rdi], dx
jae 0x14000fabc
invalid
invalid