Function at 0x14001e244
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
mov rbx, r9
and qword [rbp - 0x10], rdi
mov r12, r8
mov rsi, rdx
lea r14d, [rdi + 0x5a]
test rdx, rdx
jne 0x14001e27c
xor eax, eax
jmp 0x14001e4ff
test r12, r12
je 0x14001e4fc
test rbx, rbx
je 0x14001e4fc
mov r8d, 8
lea rdx, str.sha256__
mov rcx, rsi
call fcn.140046310
test eax, eax
jne 0x14001e3f4
mov rax, qword [0x14009a048]
cmp qword [rax + 0xb8], rdi
je 0x14001e4fc
mov r15d, 0x20
mov ecx, r15d
call qword [fcn.14004491c]
mov rdi, rax
test rax, rax
jne 0x14001e2e0
mov eax, 0x1b
jmp 0x14001e4ff
mov rax, qword [0x14009a048]
mov r9, r15
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
test eax, eax
jne 0x14001e4ff
lea r9, [rbp - 8]
mov rdx, r15
lea r8, [rbp + 0x38]
mov rcx, rdi
call fcn.1400326d4
mov rcx, rdi
mov ebx, eax
call qword [fcn.140044914]
test ebx, ebx
je 0x14001e32a
mov eax, ebx
jmp 0x14001e4ff
or r12, 0xffffffffffffffff
mov rbx, r12
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14001e331
lea rcx, [rbx + 1]
call qword [fcn.14004491c]
mov r15, rax
test rax, rax
jne 0x14001e35b
mov rcx, qword [rbp + 0x38]
call qword [fcn.140044914]
jmp 0x14001e2d6
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, r15
call fcn.14003e630
mov rdi, r15
lea rdx, str._sha256__
mov rcx, rdi
call fcn.14003eedc
mov rbx, rax
test rax, rax
je 0x14001e387
mov byte [rax], 0
lea rdx, [rdi + 8]
mov rax, r12
inc rax
cmp byte [rdx + rax], 0
jne 0x14001e38e
mov r8, qword [rbp - 8]
mov rdi, qword [rbp + 0x38]
cmp r8, rax
jne 0x14001e3b0
mov rcx, rdi
call fcn.14003e530
test eax, eax
je 0x14001e3ef
test rbx, rbx
je 0x14001e3d3
lea rdx, str.sha256__
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.14003eedc
mov rdi, rax
test rax, rax
jne 0x14001e36d
mov rdi, qword [rbp + 0x38]
mov rcx, rdi
call qword [fcn.140044914]
and qword [rbp + 0x38], 0
mov rcx, r15
call qword [fcn.140044914]
jmp 0x14001e4fc
xor r14d, r14d
jmp 0x14001e3d3
lea rdx, [0x14007b8e4]
mov rcx, rsi
call fcn.140032438
mov r15, rax
test rax, rax
je 0x14001e4fc
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.140046868
test eax, eax
jne 0x14001e4dc
mov rcx, r15
call fcn.140046d4c
xor r8d, r8d
movsxd rsi, eax
xor edx, edx
mov rcx, r15
call fcn.140046868
test eax, eax
jne 0x14001e4dc
cmp esi, 0x100000
ja 0x14001e4dc
mov rcx, rsi
call fcn.14000eb8c
mov rsi, rax
cmp rbx, rax
ja 0x14001e4dc
lea rcx, [rax + 1]
call qword [fcn.14004491c]
mov rdi, rax
test rax, rax
je 0x14001e4dc
mov r9, r15
mov r8d, 1
mov rdx, rsi
mov rcx, rax
call fcn.140045f70
cmp eax, 1
jne 0x14001e4dc
cmp rbx, rsi
jne 0x14001e4a8
mov r8, rbx
mov rdx, rdi
mov rcx, r12
call fcn.14003e530
test eax, eax
jne 0x14001e4dc
xor r14d, r14d
jmp 0x14001e4dc
lea r8, [rbp + 0x38]
mov byte [rsi + rdi], 0
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.14001f2b0
test eax, eax
jne 0x14001e4dc
cmp rbx, qword [rbp + 0x38]
jne 0x14001e4dc
mov rdx, qword [rbp - 0x10]
mov r8, rbx
mov rcx, r12
call fcn.14003e530
neg eax
sbb ecx, ecx
and r14d, ecx
mov rcx, rdi
call qword [fcn.140044914]
mov rcx, qword [rbp - 0x10]
call qword [fcn.140044914]
and qword [rbp - 0x10], 0
mov rcx, r15
call fcn.140046588
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret