Function at 0x140082210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
xor r13d, r13d
mov rbx, r9
mov qword [rsp + 0x60], r13
mov r15, r8
mov rdi, rdx
mov esi, r13d
mov ebp, r13d
lea r12d, [r13 + 0x5a]
test rdx, rdx
jne 0x140082254
xor eax, eax
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x70], r14
test r15, r15
je 0x1400824e9
test rbx, rbx
je 0x1400824e9
mov r8d, 8
lea rdx, str.sha256__
mov rcx, rdi
call fcn.14005b5f0
test eax, eax
jne 0x1400823dd
mov rax, qword [0x1400f2d28]
cmp qword [rax + 0xb8], rsi
je 0x1400824e9
mov ecx, 0x20
call qword [fcn.1400595d8]
mov rsi, rax
test rax, rax
je 0x14008232d
mov r8, rax
mov r9d, 0x20
mov rax, qword [0x1400f2d28]
mov rdx, rbx
mov rcx, r15
call qword [rax + 0xb8]
test eax, eax
jne 0x1400824ec
lea r9, [rsp + 0x68]
mov rcx, rsi
lea r8, [rsp + 0x60]
lea edx, [rax + 0x20]
call fcn.14009c630
mov rcx, rsi
mov ebx, eax
call qword [fcn.140058718]
test ebx, ebx
je 0x1400822fe
mov eax, ebx
jmp 0x1400824ec
mov rbx, 0xffffffffffffffff
cmp byte [rdi + rbx + 1], bpl
lea rbx, [rbx + 1]
jne 0x140082305
lea rcx, [rbx + 1]
call qword [fcn.1400595d8]
mov r14, rax
test rax, rax
jne 0x140082337
mov rcx, qword [rsp + 0x60]
call qword [fcn.140058718]
mov eax, 0x1b
jmp 0x1400824ec
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, r14
call fcn.14004e830
mov rsi, qword [rsp + 0x68]
mov rdi, r14
mov rbp, qword [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
lea rdx, str._sha256__
mov rcx, rdi
call fcn.14005027c
mov rbx, rax
test rax, rax
je 0x14008237a
mov byte [rax], r13b
lea rdx, [rdi + 8]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r13b
jne 0x140082385
cmp rsi, rax
jne 0x1400823a2
mov r8, rsi
mov rcx, rbp
call fcn.14004f050
test eax, eax
je 0x1400823c3
test rbx, rbx
je 0x1400823c6
lea rdx, [0x1400f3618]
mov byte [rbx], 0x3b
mov rcx, rbx
call fcn.14005027c
mov rdi, rax
test rax, rax
jne 0x140082360
jmp 0x1400823c6
mov r12d, r13d
mov rcx, rbp
call qword [fcn.140058718]
mov rcx, r14
call qword [fcn.140058718]
jmp 0x1400824e9
lea rdx, [0x1400f34f4]
mov rcx, rdi
call fcn.140096290
mov r14, rax
test rax, rax
je 0x1400824e9
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.140054fa4
test eax, eax
jne 0x1400824cf
mov rcx, r14
call fcn.14005b450
xor r8d, r8d
movsxd rdi, eax
xor edx, edx
mov rcx, r14
call fcn.140054fa4
test eax, eax
jne 0x1400824cf
cmp edi, 0x100000
ja 0x1400824cf
mov rcx, rdi
call fcn.140087ef0
mov rdi, rax
cmp rbx, rax
ja 0x1400824cf
lea rcx, [rax + 1]
call qword [fcn.1400595d8]
mov rsi, rax
test rax, rax
je 0x1400824cf
mov r9, r14
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.140054c94
cmp eax, 1
jne 0x1400824cf
cmp rbx, rdi
jne 0x140082495
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call fcn.14004f050
test eax, eax
jne 0x1400824cf
mov r12d, r13d
jmp 0x1400824cf
lea r8, [rsp + 0x68]
mov byte [rdi + rsi], bpl
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140082510
mov rbp, qword [rsp + 0x60]
test eax, eax
jne 0x1400824cf
cmp rbx, qword [rsp + 0x68]
jne 0x1400824cf
mov r8, rbx
mov rdx, rbp
mov rcx, r15
call fcn.14004f050
test eax, eax
cmove r12d, r13d
mov rcx, rsi
call qword [fcn.140058718]
mov rcx, rbp
call qword [fcn.140058718]
mov rcx, r14
call fcn.140054388
mov eax, r12d
mov r14, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret