Function at 0x14013d3b0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x1402f1100]
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 0x14013d3ec
mov eax, 2
jmp 0x14013d9cc
mov qword [rsp + 0x178], rbp
mov qword [rsp + 0x140], rsi
lea rsi, [rcx + 8]
mov r9, rsi
mov byte [rsp + 0x20], 3
call fcn.14013d190
xor ebp, ebp
test eax, eax
jne 0x14013d998
mov r8d, 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.1401347c0
test eax, eax
jne 0x14013d996
test rsi, rsi
je 0x14013d991
mov r8d, 0x37
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.1401347c0
test eax, eax
jne 0x14013d996
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.140135160
test eax, eax
jne 0x14013d996
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 + 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 0x14013d580
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 0x14013d795
lea rcx, [rsi + 0x16]
cmp rcx, rsi
js 0x14013d795
movzx eax, byte [rcx]
add r8w, ax
mov byte [rcx], r8b
dec rcx
shr r8w, 8
test r8w, r8w
jne 0x14013d778
movzx eax, bp
lea r8, [rbx + 0x3d]
mov r9d, 5
movzx edx, byte [r8 + 0x38]
movzx ecx, byte [r8 + 1]
lea r8, [r8 - 0xb]
add dx, cx
add ax, dx
mov byte [r8 + 0xc], al
movzx ecx, byte [r8 + 0x42]
shr ax, 8
add ax, cx
movzx ecx, byte [r8 + 0xb]
add ax, cx
mov byte [r8 + 0xb], al
movzx ecx, byte [r8 + 0x41]
shr ax, 8
add cx, ax
movzx eax, byte [r8 + 0xa]
add cx, ax
movzx eax, byte [r8 + 9]
mov byte [r8 + 0xa], cl
movzx edx, byte [r8 + 0x40]
shr cx, 8
add dx, cx
add dx, ax
movzx eax, byte [r8 + 8]
mov byte [r8 + 9], dl
movzx ecx, byte [r8 + 0x3f]
shr dx, 8
add cx, dx
add cx, ax
movzx eax, byte [r8 + 7]
mov byte [r8 + 8], cl
movzx edx, byte [r8 + 0x3e]
shr cx, 8
add dx, cx
add dx, ax
movzx eax, byte [r8 + 6]
mov byte [r8 + 7], dl
movzx ecx, byte [r8 + 0x3d]
shr dx, 8
add cx, dx
add cx, ax
movzx eax, byte [r8 + 5]
mov byte [r8 + 6], cl
movzx edx, byte [r8 + 0x3c]
shr cx, 8
add dx, cx
add dx, ax
movzx eax, byte [r8 + 4]
mov byte [r8 + 5], dl
movzx ecx, byte [r8 + 0x3b]
shr dx, 8
add cx, dx
add cx, ax
movzx eax, byte [r8 + 3]
mov byte [r8 + 4], cl
movzx edx, byte [r8 + 0x3a]
shr cx, 8
add dx, cx
movzx ecx, byte [r8 + 2]
add dx, ax
mov byte [r8 + 3], dl
movzx eax, byte [r8 + 0x39]
shr dx, 8
add ax, dx
add ax, cx
mov byte [r8 + 2], al
shr ax, 8
sub r9, 1
jne 0x14013d7a2
mov r8, 0xfffffffffffffff8
test ax, ax
je 0x14013d8ed
mov r9, r8
lea rdx, [rbx + 7]
sub r9, rbx
nop
lea rcx, [rdx + r9]
test rcx, rcx
js 0x14013d8ed
movzx ecx, byte [rdx]
add ax, cx
mov byte [rdx], al
dec rdx
shr ax, 8
test ax, ax
jne 0x14013d8d0
movzx ecx, byte [rbx + 0x3e]
mov eax, edi
ror eax, 8
rol edi, 8
xor edi, eax
and edi, 0xff00ff
xor edi, eax
mov edx, edi
shr edx, 0x18
lea eax, [rcx + rdx]
add dx, cx
mov byte [rbx + 0x3e], al
mov eax, edi
shr eax, 0x10
movzx ecx, al
movzx eax, byte [rbx + 0x3d]
shr dx, 8
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, dil
mov byte [rbx + 0x3c], cl
shr cx, 8
add cx, ax
movzx eax, byte [rbx + 0x3b]
add cx, ax
mov byte [rbx + 0x3b], cl
shr cx, 8
test cx, cx
je 0x14013d98d
sub r8, rbx
lea rdx, [rbx + 0x3a]
nop dword [rax + rax]
lea rax, [rdx + r8]
test rax, rax
js 0x14013d98d
movzx eax, byte [rdx]
add cx, ax
mov byte [rdx], cl
dec rdx
shr cx, 8
test cx, cx
jne 0x14013d970
mov eax, ebp
jmp 0x14013d996
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 0x14013d9b0
test eax, eax
setne bpl
mov eax, ebp
mov rbp, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140143790
add rsp, 0x148
pop rdi
pop rbx
ret