Function at 0x1400a5620
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x1401310c0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov edi, dword [rcx]
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x24], edi
cmp edi, 0xf4240
jne 0x1400a565c
mov eax, 2
jmp 0x1400a5c4c
mov qword [rsp + 0x178], rbp
mov qword [rsp + 0x140], rsi
lea rsi, [rcx + 8]
mov r9, rsi
mov byte [rsp + 0x20], 3
call fcn.1400a5410
xor ebp, ebp
test eax, eax
jne 0x1400a5c18
lea r8d, [rbp + 1]
mov qword [rsp + 0xe0], rbp
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x70], 0x6a09e667
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x74], 0xbb67ae85
mov dword [rsp + 0x78], 0x3c6ef372
mov dword [rsp + 0x7c], 0xa54ff53a
mov dword [rsp + 0x80], 0x510e527f
mov dword [rsp + 0x84], 0x9b05688c
mov dword [rsp + 0x88], 0x1f83d9ab
mov dword [rsp + 0x8c], 0x5be0cd19
mov qword [rsp + 0xd0], rbp
mov dword [rsp + 0xd8], ebp
call fcn.14009c840
test eax, eax
jne 0x1400a5c16
test rsi, rsi
je 0x1400a5c11
lea r8d, [rbp + 0x37]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.14009c840
test eax, eax
jne 0x1400a5c16
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.14009d1e0
test eax, eax
jne 0x1400a5c16
mov qword [rsp + 0x138], r12
lea rcx, [rsp + 0x10d]
mov qword [rsp + 0x130], r13
lea r9, [rsp + 0x10d]
mov rax, rsi
mov qword [rsp + 0x128], r14
sub rax, rcx
mov qword [rsp + 0x120], r15
movzx r8d, bp
mov r10d, 2
lea rdx, [rax + 0x2b]
mov qword [rsp + 0x30], rdx
lea rcx, [rax + 0x2c]
lea rdx, [rax + 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
lea rcx, [rax + 0x2a]
lea rdx, [rax + 0x27]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rdx
lea rcx, [rax + 0x28]
lea rdx, [rax + 0x36]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rdx
lea r11, [rax + 0x35]
lea r14, [rax + 0x34]
lea r15, [rax + 0x33]
lea r12, [rax + 0x32]
lea r13, [rax + 0x31]
lea rsi, [rax + 0x30]
lea rdi, [rax + 0x2f]
lea rbx, [rax + 0x2e]
lea rbp, [rax + 0x2d]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
movzx ecx, byte [r9 + 2]
add cx, ax
movzx eax, byte [r11 + r9]
add r8w, cx
movzx ecx, byte [r9 - 1]
mov byte [rdx + r9], r8b
movzx edx, byte [r9 + 1]
shr r8w, 8
add dx, r8w
add dx, ax
movzx eax, byte [r14 + r9]
mov byte [r11 + r9], dl
shr dx, 8
add dx, ax
movzx eax, byte [r9]
add dx, ax
movzx eax, byte [r15 + r9]
mov byte [r14 + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 2]
add cx, ax
movzx eax, byte [r12 + r9]
mov byte [r15 + r9], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 3]
add dx, ax
movzx eax, byte [r9 + r13]
mov byte [r12 + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 4]
add cx, ax
movzx eax, byte [rsi + r9]
mov byte [r9 + r13], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 5]
add dx, ax
movzx eax, byte [rdi + r9]
mov byte [rsi + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 6]
add cx, ax
movzx eax, byte [rbx + r9]
mov byte [rdi + r9], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 7]
add dx, ax
movzx eax, byte [r9 + rbp]
mov byte [rbx + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 8]
add cx, ax
mov byte [r9 + rbp], cl
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + r9]
add dx, ax
mov byte [rcx + r9], dl
movzx ecx, byte [r9 - 9]
shr dx, 8
add cx, dx
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + r9]
add cx, ax
mov byte [rdx + r9], cl
movzx edx, byte [r9 - 0xa]
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + r9]
add dx, ax
mov byte [rcx + r9], dl
movzx ecx, byte [r9 - 0xb]
movzx r8d, byte [r9 - 0xd]
lea r9, [r9 - 0x10]
shr dx, 8
add cx, dx
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + r9 + 0x10]
add cx, ax
mov byte [rdx + r9 + 0x10], cl
movzx edx, byte [r9 + 4]
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + r9 + 0x10]
add dx, ax
mov byte [rcx + r9 + 0x10], dl
mov rcx, qword [rsp + 0x50]
shr dx, 8
add r8w, dx
mov rdx, qword [rsp + 0x58]
movzx eax, byte [rcx + r9 + 0x10]
add r8w, ax
mov byte [rcx + r9 + 0x10], r8b
shr r8w, 8
sub r10, 1
jne 0x1400a57f0
mov rbx, qword [rsp + 0x60]
mov ebp, 0
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
lea rsi, [rbx + 8]
mov edi, dword [rsp + 0x24]
test r8w, r8w
je 0x1400a5a05
lea rcx, [rsi + 0x16]
cmp rcx, rsi
js 0x1400a5a05
movzx eax, byte [rcx]
add r8w, ax
mov byte [rcx], r8b
dec rcx
shr r8w, 8
test r8w, r8w
jne 0x1400a59e8
movzx r9d, bp
lea rax, [rbx + 0x3d]
mov r10d, 5
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x38]
movzx ecx, byte [rax + 1]
lea rax, [rax - 0xb]
add dx, cx
add r9w, dx
mov byte [rax + 0xc], r9b
movzx ecx, byte [rax + 0x42]
shr r9w, 8
add r9w, cx
movzx ecx, byte [rax + 0xb]
add r9w, cx
movzx ecx, byte [rax + 0xa]
mov byte [rax + 0xb], r9b
movzx edx, byte [rax + 0x41]
shr r9w, 8
add dx, r9w
add dx, cx
movzx ecx, byte [rax + 9]
mov byte [rax + 0xa], dl
movzx r8d, byte [rax + 0x40]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 8]
mov byte [rax + 9], r8b
movzx edx, byte [rax + 0x3f]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 7]
mov byte [rax + 8], dl
movzx r8d, byte [rax + 0x3e]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 6]
mov byte [rax + 7], r8b
movzx edx, byte [rax + 0x3d]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 5]
mov byte [rax + 6], dl
movzx r8d, byte [rax + 0x3c]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 4]
mov byte [rax + 5], r8b
movzx edx, byte [rax + 0x3b]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 3]
mov byte [rax + 4], dl
movzx r8d, byte [rax + 0x3a]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 2]
mov byte [rax + 3], r8b
movzx r9d, byte [rax + 0x39]
shr r8w, 8
add r9w, r8w
add r9w, cx
mov byte [rax + 2], r9b
shr r9w, 8
sub r10, 1
jne 0x1400a5a20
lea r8, [r10 - 8]
test r9w, r9w
je 0x1400a5b71
mov rdx, r8
lea rcx, [rbx + 7]
sub rdx, rbx
nop dword [rax]
lea rax, [rcx + rdx]
test rax, rax
js 0x1400a5b71
movzx eax, byte [rcx]
add r9w, ax
mov byte [rcx], r9b
dec rcx
shr r9w, 8
test r9w, r9w
jne 0x1400a5b50
mov eax, edi
rol edi, 8
ror eax, 8
xor edi, eax
and edi, 0xff00ff
xor edi, eax
movzx eax, byte [rbx + 0x3e]
mov ecx, edi
shr ecx, 0x18
add cx, ax
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0x3e], cl
shr cx, 8
movzx edx, al
movzx eax, byte [rbx + 0x3d]
add dx, cx
add dx, ax
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, byte [rbx + 0x3c]
mov byte [rbx + 0x3d], dl
shr dx, 8
add cx, dx
add cx, ax
movzx eax, byte [rbx + 0x3b]
mov byte [rbx + 0x3c], cl
shr cx, 8
add cx, ax
movzx eax, dil
add cx, ax
mov byte [rbx + 0x3b], cl
shr cx, 8
test cx, cx
je 0x1400a5c0d
sub r8, rbx
lea rdx, [rbx + 0x3a]
nop dword [rax]
lea rax, [rdx + r8]
test rax, rax
js 0x1400a5c0d
movzx eax, byte [rdx]
add cx, ax
mov byte [rdx], cl
dec rdx
shr cx, 8
test cx, cx
jne 0x1400a5bf0
mov eax, ebp
jmp 0x1400a5c16
mov eax, 0xffffff53
inc dword [rbx]
mov rsi, qword [rsp + 0x140]
lea rdx, [rsp + 0xf0]
mov ecx, 0x20
nop dword [rax]
mov byte [rdx], 0
lea rdx, [rdx + 1]
add ecx, 0xffffffff
jne 0x1400a5c30
test eax, eax
setne bpl
mov eax, ebp
mov rbp, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400ab310
add rsp, 0x148
pop rdi
pop rbx
ret