Function at 0x140011a30
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 0x140011a52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140011a61
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 0x140011a84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140011a86
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140011ac2
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 0x140011b5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140011afd
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 0x140011b3e
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 0x140011b5e
cmp rbx, rax
ja 0x140011b10
test rbx, rbx
je 0x140011b5e
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
add byte [rax], al
or ch, byte [rdx]
adc esi, dword [rax]
add eax, dword [rax]
xchg edi, eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
add al, dl
and dword [rax], eax
add byte [rcx], al
sub byte [rsi], bl
add byte [rax], al
or dh, byte [rdx + 0xd]
add byte [rax], al
jo 0x14006eb52
xor al, byte [rax]
add byte [rdi + rbp*2], al
invalid
add byte [rax], al
or al, byte [rax + 0x4000007]
sub al, byte [rsi + 0x7e]
add eax, dword [rax]
add byte [rsp + rdx], al
outsd dx, dword [rsi]
and al, byte [rax]
add byte [rdx], cl
je 0x14006eb83
add byte [rax], al
add dword [rdx], ebp
jle 0x14006eb73
add byte [rax], al
add al, 0x14
add ch, byte [rdi + 0x21]
add byte [rax], al
or ch, byte [rdx]
jle 0x14006eb82
adc al, 2
outsd dx, dword [rsi]
and dword [rax], eax
add byte [rdx], cl
sub al, byte [rsi + 0x7e]
add al, 0
add byte [rsp + rdx], al
add byte [rax], al
add al, 0x14
outsd dx, dword [rsi]
and al, byte [rax]
add byte [rdx], cl
je 0x14006eba3
add byte [rax], al
add dword [rdx], ebp
jle 0x14006eb94
add byte [rax], al
add al, 0x14
add ch, byte [rdi + 0x21]
add byte [rax], al
or ch, byte [rdx]
jle 0x14006eba3
add byte [rax], al
add al, 0x14
outsd dx, dword [rsi]
and al, byte [rax]
add byte [rdx], cl
je 0x14006ebc4
add byte [rax], al
add dword [rdx], ebp
jle 0x14006ebb5
add byte [rax], al
add al, 0x14
add ch, byte [rdi + 0x21]
add byte [rax], al
or ch, byte [rdx]
jle 0x14006ebc4
outsd dx, dword [rsi]
and dword [rax], eax
add byte [rdx], cl
or ch, byte [rdx]
jle 0x14006ebc4
add byte [rax], al
add al, 0x14
outsd dx, dword [rsi]
and al, byte [rax]
add byte [rdx], cl
je 0x14006ebe5
add byte [rax], al
or dh, byte [rsp + rbx]
add byte [rcx], al
sub dh, byte [rsi]
jle 0x14006ebd6
add byte [rax], al
add dword [rdx], ebp
jle 0x14006ebd6
add byte [rax], al
add al, 0x14
add ch, byte [rdi + 0x21]
add byte [rax], al
or ch, byte [rdx]
jle 0x14006ebe5
and dword [rax], eax
add byte [rdx], cl
or ch, byte [rdx]
jle 0x14006ebe5
add byte [rax], al
add al, 0x14
outsd dx, dword [rsi]
and al, byte [rax]
add byte [rdx], cl
je 0x14006ec06
add byte [rax], al
add dword [rdx], ebp
sub dh, byte [rsi]
jle 0x14006ebf7
add byte [rax], al
add al, 0x14
add ch, byte [rdi + 0x21]
add byte [rax], al
or ch, byte [rdx]
add byte [rbx], dl
xor byte [rcx], al
add byte [rbx], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
jle 0x14006ec30
add byte [rax], al
add al, 0x7b
imul eax, dword [rax], 0x877b0400
add byte [rax], al
add al, 0x2c
adc byte [rsi + 0x26], bh
add byte [rax], al
add al, 0x7b
imul eax, dword [rax], 0x887b0400
add byte [rax], al
add al, 0x2a
sub byte [rbx], ah
add byte [rax], al
or ch, byte [rdi + 0x24]
add byte [rax], al
or bh, byte [rbx + 0x25]
add byte [rax], al
or ch, byte [rdi + 0x26]
add byte [rax], al
or ch, byte [0x140070e48]
add byte [rcx + 0x2a], al
and al, byte [rax]
add byte [rax + 0x31e2a3f], al
sub byte [rdi], ah
add byte [rax], al
or ch, byte [rdx]
xchg byte [rbx], al
sub eax, 0xf281407
add byte [rax], al
invalid