Function at 0x48a940
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0xf8
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
movdqa xmm7, xmmword [0x008d42b0]
mov rsi, rcx
mov r12, rdx
mov rbx, r8
cmp r8, 0x40
ja 0x48ae70
movdqa xmm6, xmmword [0x008d42c0]
pxor xmm0, xmm0
movups xmmword [rcx], xmm7
lea r13, [rsp + 0x40]
movabs rax, 0x3636363636363636
mov qword [rcx + 0x30], 0
movabs rdx, 0x3636363636363636
mov qword [rcx + 0x38], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
movups xmmword [rcx + 0x10], xmm6
movups xmmword [rcx + 0x20], xmm0
test r8, r8
je 0x48aa6d
lea rax, [r8 - 1]
cmp rax, 0xe
jbe 0x48af32
lea r13, [rsp + 0x40]
movdqu xmm0, xmmword [r12]
mov rax, rbx
pxor xmm0, xmmword [rsp + 0x40]
shr rax, 4
movaps xmmword [rsp + 0x40], xmm0
cmp rax, 1
je 0x48ad08
movdqu xmm0, xmmword [r12 + 0x10]
pxor xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
cmp rax, 2
je 0x48ad08
movdqu xmm0, xmmword [r12 + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
cmp rax, 4
jne 0x48ad08
movdqu xmm0, xmmword [r12 + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
mov rdx, r13
mov rcx, rsi
mov r8d, 0x200
call fcn.00489d30
pxor xmm0, xmm0
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x40], rax
lea rcx, [rsi + 0x80]
mov qword [rsi + 0xb0], 0
mov qword [rsi + 0xb8], 0
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
movups xmmword [rsi + 0x80], xmm7
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm0
test rbx, rbx
je 0x48ab63
lea rax, [rbx - 1]
cmp rax, 0xe
jbe 0x48af3e
movdqu xmm0, xmmword [r12]
mov rax, rbx
pxor xmm0, xmmword [rsp + 0x40]
shr rax, 4
movaps xmmword [rsp + 0x40], xmm0
cmp rax, 1
je 0x48aba0
movdqu xmm0, xmmword [r12 + 0x10]
pxor xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm0
cmp rax, 2
je 0x48aba0
movdqu xmm0, xmmword [r12 + 0x20]
pxor xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
cmp rax, 4
jne 0x48aba0
movdqu xmm0, xmmword [r12 + 0x30]
pxor xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
mov r8d, 0x200
mov rdx, r13
call fcn.00489d30
nop
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
add rsp, 0xf8
pop rbx
pop rsi
pop r12
pop r13
ret
mov rax, rbx
and rax, 0xfffffffffffffff0
test bl, 0xf
je 0x48ab63
movzx edx, byte [r12 + rax]
xor byte [rsp + rax + 0x40], dl
lea rdx, [rax + 1]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 1]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 2]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 2]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 3]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 3]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 4]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 4]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 5]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 5]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 6]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 6]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 7]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 7]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 8]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 8]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 9]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 9]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 0xa]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 0xa]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 0xb]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 0xb]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 0xc]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 0xc]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 0xd]
cmp rbx, rdx
jbe 0x48ab63
movzx r8d, byte [r12 + rax + 0xd]
xor byte [rsp + rdx + 0x40], r8b
lea rdx, [rax + 0xe]
cmp rbx, rdx
jbe 0x48ab63
movzx eax, byte [r12 + rax + 0xe]
xor byte [rsp + rdx + 0x40], al
jmp 0x48ab63
mov rax, rbx
and rax, 0xfffffffffffffff0
test bl, 0xf
je 0x48aa6d
movzx edx, byte [r12 + rax]
xor byte [rsp + rax + 0x40], dl
lea rdx, [rax + 1]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 1]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 2]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 2]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 3]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 3]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 4]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 4]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 5]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 5]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 6]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 6]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 7]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 7]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 8]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 8]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 9]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 9]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 0xa]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 0xa]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 0xb]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 0xb]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 0xc]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 0xc]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 0xd]
cmp rdx, rbx
jae 0x48aa6d
movzx ecx, byte [r12 + rax + 0xd]
xor byte [rsp + rdx + 0x40], cl
lea rdx, [rax + 0xe]
cmp rdx, rbx
jae 0x48aa6d
movzx eax, byte [r12 + rax + 0xe]
xor byte [rsp + rdx + 0x40], al
jmp 0x48aa6d
lea r13, [rsp + 0x40]
movdqa xmm6, xmmword [0x008d42c0]
pxor xmm8, xmm8
lea r8, [r8*8]
mov rcx, r13
lea r12, [rsp + 0x20]
mov qword [rsp + 0x70], 0
mov ebx, 0x20
mov qword [rsp + 0x78], 0
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm8
call fcn.00489d30
mov rdx, r12
mov r9d, 1
mov rcx, r13
mov r8d, 0x81
call fcn.00489f20
mov qword [rsi + 0x30], 0
movabs rax, 0x3636363636363636
movabs rdx, 0x3636363636363636
mov qword [rsi + 0x38], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
movups xmmword [rsi], xmm7
movups xmmword [rsi + 0x10], xmm6
movups xmmword [rsi + 0x20], xmm8
jmp 0x48aa01
xor eax, eax
lea r13, [rsp + 0x40]
jmp 0x48ad18
xor eax, eax
jmp 0x48abac