Function at 0x140003120
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
jle 0x14000315d
mov r14, r8
mov rbx, rdx
mov r15, rcx
cmp qword [rcx + 0x68], 0
je 0x140003174
mov rcx, r15
mov rdx, rbx
mov r8, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_64
call fcn.1400090c0
cdqe
lea rcx, [0x140083240]
mov rsi, qword [rcx + rax*8]
jmp 0x14000336c
mov rax, qword [r15 + 0x38]
mov rdi, qword [rax]
test rdi, rdi
je 0x14000321b
mov rax, qword [r15 + 0x50]
movsxd rsi, dword [rax]
test rsi, rsi
je 0x14000321b
cmp rsi, r14
cmovae rsi, r14
call fcn.140008c60
cdqe
lea rcx, [0x140083280]
mov r8, qword [rcx + rax*8]
imul r8, rsi
mov rcx, rbx
mov rdx, rdi
call fcn.14004edb0
add rbx, rsi
mov rax, rsi
not rax
and rax, r14
mov rcx, rsi
xor rcx, r14
mov rdx, rsi
or rdx, r14
lea rdi, [rcx + r14*2]
add rdx, rsi
sub rdi, rdx
sub rdi, rax
mov r8, qword [r15 + 0x50]
mov ecx, dword [r8]
mov edx, ecx
xor edx, esi
mov r9d, ecx
or r9d, esi
mov eax, ecx
and eax, esi
sub ecx, esi
add ecx, eax
add ecx, edx
sub ecx, r9d
mov dword [r8], ecx
mov rax, qword [r15 + 0x38]
movsxd rcx, esi
add qword [rax], rcx
cmp qword [r15 + 0x80], 0
jne 0x14000322c
jmp 0x140003352
mov rdi, r14
cmp qword [r15 + 0x80], 0
je 0x140003352
mov rax, qword [r15 + 0x18]
lea rcx, [r15 + 0x70]
cmp qword [rax], rcx
jne 0x140003263
mov ecx, dword [r15 + 0x90]
mov rdx, qword [r15 + 0x88]
mov qword [rax], rdx
mov rax, qword [r15 + 0x38]
mov qword [rax], rdx
mov eax, ecx
not eax
and eax, edx
or ecx, edx
add eax, edx
sub ecx, eax
mov rax, qword [r15 + 0x50]
mov dword [rax], ecx
lea r12, [0x140083080]
nop word [rax + rax]
cmp rdi, 0x1000
jb 0x1400032ff
mov r9, qword [r15 + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rbx
call fcn.140058e9c
mov rsi, rax
add rbx, rax
or rax, rdi
mov rcx, rsi
xor rcx, rdi
mov rdx, rsi
and rdx, rdi
sub rdi, rsi
add rdi, rdx
add rdi, rcx
add rdi, rax
not rax
lea rdi, [rdi + rax*2]
add rdi, 2
call fcn.140008c60
cdqe
cmp rsi, qword [r12 + rax*8]
je 0x140003270
mov rax, rdi
not rax
and rax, r14
mov rcx, r14
not rcx
and rcx, rdi
mov rdx, rdi
xor rdx, r14
mov rsi, r14
sub rsi, rdi
add rsi, rax
add rsi, rcx
sub rsi, rdx
mov r12d, 1
jmp 0x14000333e
xor r12d, r12d
test rdi, rdi
je 0x14000333c
mov r9, qword [r15 + 0x80]
mov edx, 1
mov rcx, rbx
mov r8, rdi
call fcn.140058e9c
mov rcx, rax
and rcx, rdi
or rdi, rax
mov rdx, rax
not rdx
sub rdx, rax
add rdx, rcx
add rdi, rdx
add rdi, 1
jmp 0x14000333e
xor edi, edi
call fcn.1400090f0
cdqe
lea rcx, [0x140083218]
cmp r12d, dword [rcx + rax*4]
jne 0x14000336c
mov rax, rdi
not rax
mov rcx, rdi
or rcx, r14
or rax, r14
sub rcx, rdi
lea rsi, [rcx + rax]
add rsi, 1
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, rdx
mov rbx, rcx
lea r12, [0x140083218]
lea r14, [0x140083098]
mov qword [rsp + 0x20], r8
mov rdi, r8
jmp 0x140003d42
cmp rdi, r13
cmovl r13, rdi
call fcn.140008c60
cdqe
lea rcx, [0x140083280]
mov r8, qword [rcx + rax*8]
imul r8, r13
mov rcx, r15
mov rdx, rsi
call fcn.14004edb0
add r15, r13
mov rax, r13
not rax
and rax, rdi
mov rcx, rdi
not rcx
and rcx, r13
mov rdx, r13
or rdx, rdi
mov rsi, r13
and rsi, rdi
sub rdi, r13
add rdi, rsi
add rdi, rax
add rdi, rcx
sub rdi, rdx
mov rax, qword [rbx + 0x50]
mov ecx, dword [rax]
mov edx, ecx
xor edx, r13d
mov esi, ecx
or esi, r13d
mov ebp, ecx
and ebp, r13d
sub ecx, r13d
add ecx, ebp
add ecx, edx
sub ecx, esi
mov dword [rax], ecx
mov rax, qword [rbx + 0x38]
add qword [rax], r13
xor esi, esi
call fcn.140009380
cdqe
cmp esi, dword [r14 + rax*4]
je 0x140003ddb
test rdi, rdi
jle 0x140003ddb
mov rax, qword [rbx + 0x38]
mov rsi, qword [rax]
test rsi, rsi
je 0x140003d67
mov rax, qword [rbx + 0x50]
movsxd r13, dword [rax]
test r13, r13
jg 0x140003cb0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003dc0
mov byte [r15], al
add r15, 1
call fcn.1400094e0
cdqe
lea rcx, [0x140083260]
mov rax, qword [rcx + rax*8]
mov rcx, rdi
not rcx
and rcx, rax
mov rdx, rax
and rdx, rdi
not rdx
sub rdi, rcx
add rdi, rdx
lea rdi, [rdi + rax*2]
add rdi, 1
xor esi, esi
jmp 0x140003dc5
mov esi, 3
call fcn.140008c60
cdqe
cmp esi, dword [r12 + rax*4]
je 0x140003d2f
jmp 0x140003d31
mov rax, qword [rsp + 0x20]
sub rax, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret