Function at 0x1400057c8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r9
mov qword [rax + 8], rbx
mov r12, r8
mov r14, rdx
mov esi, ebx
lea ebp, [rbx + 0x5a]
test rdx, rdx
jne 0x140005803
xor eax, eax
jmp 0x140005a83
test r12, r12
je 0x140005a81
test rdi, rdi
je 0x140005a81
mov r8d, 8
lea rdx, str.sha256__
mov rcx, r14
call fcn.1400f4810
test eax, eax
jne 0x140005975
mov rax, qword [case.0x14000c56c.3]
cmp qword [rax + 0xb8], rbx
je 0x140005a81
mov r15d, 0x20
mov ecx, r15d
call qword [fcn.1400dd99c]
mov rsi, rax
test rax, rax
jne 0x140005867
mov eax, 0x1b
jmp 0x140005a83
mov rax, qword [case.0x14000c56c.3]
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r12
call qword [rax + 0xb8]
test eax, eax
jne 0x140005a83
lea r9, [rsp + 0x58]
mov rdx, r15
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.140018b9c
mov rcx, rsi
mov edi, eax
call qword [fcn.1400dd988]
test edi, edi
je 0x1400058b3
mov eax, edi
jmp 0x140005a83
or r12, 0xffffffffffffffff
mov rdi, r12
inc rdi
cmp byte [r14 + rdi], bl
jne 0x1400058ba
lea rcx, [rdi + 1]
call qword [fcn.1400dd99c]
mov r15, rax
test rax, rax
jne 0x1400058e5
mov rcx, qword [rsp + 0x50]
call qword [fcn.1400dd988]
jmp 0x14000585d
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, r15
call fcn.1400cccc0
mov rsi, r15
lea rdx, str._sha256__
mov rcx, rsi
call fcn.1400ce790
mov rdi, rax
test rax, rax
je 0x140005910
mov byte [rax], bl
lea rdx, [rsi + 8]
mov rax, r12
inc rax
cmp byte [rdx + rax], bl
jne 0x140005917
cmp qword [rsp + 0x58], rax
jne 0x140005939
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1400ccbc0
test eax, eax
je 0x14000595a
test rdi, rdi
je 0x14000595c
lea rdx, str.sha256__
mov byte [rdi], 0x3b
mov rcx, rdi
call fcn.1400ce790
mov rsi, rax
test rax, rax
je 0x14000595c
jmp 0x1400058f7
mov ebp, ebx
mov rcx, qword [rsp + 0x50]
call qword [fcn.1400dd988]
mov rcx, r15
call qword [fcn.1400dd988]
jmp 0x140005a81
lea rdx, [0x14015795c]
mov rcx, r14
call fcn.1400195cc
mov r15, rax
test rax, rax
je 0x140005a81
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.1400f45dc
test eax, eax
jne 0x140005a67
mov rcx, r15
call fcn.1400f3e6c
xor r8d, r8d
movsxd r14, eax
xor edx, edx
mov rcx, r15
call fcn.1400f45dc
test eax, eax
jne 0x140005a67
cmp r14d, 0x100000
ja 0x140005a67
mov rcx, r14
call fcn.14000a93c
mov r14, rax
cmp rdi, rax
ja 0x140005a67
lea rcx, [rax + 1]
call qword [fcn.1400dd99c]
mov rsi, rax
test rax, rax
je 0x140005a67
mov r9, r15
mov r8d, 1
mov rdx, r14
mov rcx, rax
call fcn.1400f3108
cmp eax, 1
jne 0x140005a67
cmp rdi, r14
jne 0x140005a2d
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call fcn.1400ccbc0
test eax, eax
jne 0x140005a67
mov ebp, ebx
jmp 0x140005a67
lea r8, [rsp + 0x58]
mov byte [r14 + rsi], bl
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400056d8
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x140005a67
cmp rdi, qword [rsp + 0x58]
jne 0x140005a67
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call fcn.1400ccbc0
neg eax
sbb ecx, ecx
and ebp, ecx
mov rcx, rsi
call qword [fcn.1400dd988]
mov rcx, rbx
call qword [fcn.1400dd988]
mov rcx, r15
call fcn.1400f40c8
mov eax, ebp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret