Function at 0x1401a69a0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1403f80a0]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor esi, esi
mov rbx, r9
and qword [rbp - 0x30], rsi
mov r12, r8
mov r15, rdx
mov r13, rcx
lea r14d, [rsi + 0x5a]
test rdx, rdx
jne 0x1401a69e4
xor eax, eax
jmp 0x1401a6c6f
test r12, r12
je 0x1401a6c6c
test rbx, rbx
je 0x1401a6c6c
mov r8d, 8
lea rdx, str.sha256__
mov rcx, r15
call fcn.140151ce0
test eax, eax
jne 0x1401a6b64
mov rax, qword [0x1403f8e80]
cmp qword [rax + 0xb8], rsi
je 0x1401a6c6c
mov esi, reloc.WLDAP32.dll_Ordinal_32
mov ecx, esi
call qword [fcn.14013ec80]
mov rdi, rax
test rax, rax
jne 0x1401a6a46
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401a6c6f
mov rax, qword [0x1403f8e80]
mov r9, rsi
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call qword [rax + 0xb8]
xor r12d, r12d
test eax, eax
jne 0x1401a6c6f
lea rax, [rbp - 0x28]
mov r8, rsi
lea r9, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, r13
call fcn.1401c1a70
mov rcx, rdi
mov ebx, eax
call qword [fcn.14013ec60]
test ebx, ebx
je 0x1401a6a9b
mov eax, ebx
jmp 0x1401a6c6f
or r13, 0xffffffffffffffff
mov rbx, r13
inc rbx
cmp byte [r15 + rbx], r12b
jne 0x1401a6aa2
lea rcx, [rbx + 1]
call qword [fcn.14013ec80]
mov rsi, rax
test rax, rax
jne 0x1401a6acc
mov rcx, qword [rbp - 0x38]
call qword [fcn.14013ec60]
jmp 0x1401a6a3c
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rsi
call fcn.1401329d0
mov rdi, rsi
lea rdx, str._sha256__
mov rcx, rdi
call fcn.1403030f0
mov rbx, rax
test rax, rax
je 0x1401a6af8
mov byte [rax], r12b
lea rdx, [rdi + 8]
mov rax, r13
inc rax
cmp byte [rdx + rax], r12b
jne 0x1401a6aff
mov r8, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x38]
cmp r8, rax
jne 0x1401a6b21
mov rcx, rdi
call fcn.140133220
test eax, eax
je 0x1401a6b5f
test rbx, rbx
je 0x1401a6b44
lea rdx, str.sha256__
mov byte [rbx], Ordinal_60
mov rcx, rbx
call fcn.1403030f0
mov rdi, rax
test rax, rax
jne 0x1401a6ade
mov rdi, qword [rbp - 0x38]
mov rcx, rdi
call qword [fcn.14013ec60]
mov rcx, rsi
mov qword [rbp - 0x38], r12
call qword [fcn.14013ec60]
jmp 0x1401a6c6c
mov r14d, r12d
jmp 0x1401a6b44
lea rdx, [0x14032433c]
mov rcx, r15
call fcn.1401493e0
mov r15, rax
test rax, rax
je 0x1401a6c6c
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.140146b80
test eax, eax
jne 0x1401a6c4c
mov rcx, r15
call fcn.140157ab0
xor r8d, r8d
movsxd rdi, eax
xor edx, edx
mov rcx, r15
call fcn.140146b80
test eax, eax
jne 0x1401a6c4c
cmp edi, 0x100000
ja 0x1401a6c4c
mov rcx, rdi
call fcn.1401af790
mov rdi, rax
cmp rbx, rax
ja 0x1401a6c4c
lea rcx, [rax + 1]
call qword [fcn.14013ec80]
mov rsi, rax
test rax, rax
je 0x1401a6c4c
mov r9, r15
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.140146df0
cmp eax, 1
jne 0x1401a6c4c
cmp rbx, rdi
jne 0x1401a6c18
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call fcn.140133220
test eax, eax
jne 0x1401a6c4c
xor r14d, r14d
jmp 0x1401a6c4c
lea r8, [rbp - 0x20]
mov byte [rdi + rsi], 0
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1401a7970
test eax, eax
jne 0x1401a6c4c
cmp rbx, qword [rbp - 0x20]
jne 0x1401a6c4c
mov rdx, qword [rbp - 0x30]
mov r8, rbx
mov rcx, r12
call fcn.140133220
neg eax
sbb ecx, ecx
and r14d, ecx
mov rcx, rsi
call qword [fcn.14013ec60]
mov rcx, qword [rbp - 0x30]
call qword [fcn.14013ec60]
and qword [rbp - 0x30], 0
mov rcx, r15
call fcn.140145f50
mov eax, r14d
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1401304f0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret