Function at 0x14008cfa0
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
movzx eax, byte [rcx + 0x68]
lea ecx, [rax + 1]
mov byte [rsi + 0x68], cl
mov byte [rsi + rax + 0x20], dl
add qword [rsi + 0x60], 8
cmp byte [rsi + 0x68], 0x40
jne 0x14007fcf4
mov byte [rsi + 0x68], 0
mov eax, dword [0x14013cd24]
mov ecx, dword [0x14013ce80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
mov qword [rsp + 0x20], rsi
jg 0x14007fd08
cmp byte [0x14013cd20], 0
je 0x14007f919
lea rdx, [rsi + 0x20]
mov rcx, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14008cfa0
mov r10d, dword [rsi]
mov r12d, dword [rsi + 4]
mov r15d, dword [rsi + 8]
mov ecx, dword [rsi + 0xc]
mov r14d, dword [rsi + 0x10]
mov r13d, dword [rsi + 0x14]
mov r11d, dword [rsi + 0x18]
mov r9d, dword [rsi + 0x1c]
lea rbp, [0x1400ff27c]
xor edx, edx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x4c], r9d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x3c], ecx
mov eax, ecx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x34], r12d
nop dword [rax]
mov r8d, r9d
test rdx, rdx
mov qword [rsp + 0x98], rdx
je 0x14007f9f0
mov r9d, recv
nop word cs:[rax + rax]
lea edx, [r9 - 0xd]
and edx, 0xf
mov edx, dword [rsp + rdx*4 + 0x50]
mov edi, r9d
and edi, 0xf
mov edi, dword [rsp + rdi*4 + 0x50]
mov ebx, edx
rol ebx, 0x19
mov esi, edx
rol esi, 0xe
xor esi, ebx
shr edx, 3
xor edx, esi
mov esi, edi
rol esi, 0xf
mov ebx, edi
rol ebx, 0xd
xor ebx, esi
shr edi, 0xa
xor edi, ebx
lea esi, [r9 - 5]
and esi, 0xf
add edx, dword [rsp + rsi*4 + 0x50]
add edx, dword [rsp + r9*4 + 0x18]
add edx, edi
mov dword [rsp + r9*4 + 0x18], edx
inc r9
cmp r9, 0x1e
jne 0x14007f990
jmp 0x14007fa91
mov rcx, qword [rsp + 0x20]
mov edx, dword [rcx + 0x20]
bswap edx
mov dword [rsp + 0x50], edx
mov edx, dword [rcx + 0x24]
bswap edx
mov dword [rsp + 0x54], edx
mov edx, dword [rcx + 0x28]
bswap edx
mov dword [rsp + 0x58], edx
mov edx, dword [rcx + 0x2c]
bswap edx
mov dword [rsp + 0x5c], edx
mov edx, dword [rcx + 0x30]
bswap edx
mov dword [rsp + 0x60], edx
mov edx, dword [rcx + 0x34]
bswap edx
mov dword [rsp + 0x64], edx
mov edx, dword [rcx + 0x38]
bswap edx
mov dword [rsp + 0x68], edx
mov edx, dword [rcx + 0x3c]
bswap edx
mov dword [rsp + 0x6c], edx
mov edx, dword [rcx + 0x40]
bswap edx
mov dword [rsp + 0x70], edx
mov edx, dword [rcx + 0x44]
bswap edx
mov dword [rsp + 0x74], edx
mov edx, dword [rcx + 0x48]
bswap edx
mov dword [rsp + 0x78], edx
mov edx, dword [rcx + 0x4c]
bswap edx
mov dword [rsp + 0x7c], edx
mov edx, dword [rcx + 0x50]
bswap edx
mov dword [rsp + 0x80], edx
mov edx, dword [rcx + 0x54]
bswap edx
mov dword [rsp + 0x84], edx
mov edx, dword [rcx + 0x58]
bswap edx
mov dword [rsp + 0x88], edx
mov edx, dword [rcx + 0x5c]
bswap edx
mov dword [rsp + 0x8c], edx
mov rcx, 0xfffffffffffffffc
mov r9d, r8d
mov qword [rsp + 0xa0], rbp
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rcx
mov edx, r14d
rol edx, 0x1a
mov esi, r14d
rol esi, 0x15
mov edi, r14d
rol edi, 7
mov ebx, r14d
and ebx, r13d
add ebx, r9d
xor esi, edx
mov edx, r14d
not edx
and edx, r11d
add edx, ebx
mov ebx, r10d
rol ebx, 0x1e
xor edi, esi
mov esi, r10d
rol esi, 0x13
add edx, edi
mov r9d, eax
mov edi, r10d
add edx, dword [rbp + rcx*4 + 4]
rol edi, 0xa
add edx, dword [rsp + rcx*4 + 0x60]
xor esi, ebx
mov ebx, r12d
xor ebx, r15d
xor edi, esi
and ebx, r10d
mov eax, r12d
and eax, r15d
add r9d, edx
xor eax, ebx
mov esi, r9d
rol esi, 0x1a
add eax, edi
mov edi, r9d
rol edi, 0x15
add eax, edx
mov ebx, r9d
rol ebx, 7
mov edx, r9d
and edx, r14d
mov r8d, r9d
not r8d
and r8d, r13d
add r11d, dword [rbp + rcx*4 + 8]
xor edi, esi
add r11d, dword [rsp + rcx*4 + 0x64]
add r11d, edx
add r11d, r8d
mov r8d, eax
rol r8d, 0x1e
xor ebx, edi
mov esi, eax
rol esi, 0x13
mov edx, r11d
mov r11d, r15d
xor esi, r8d
mov edi, eax
add edx, ebx
rol edi, 0xa
xor edi, esi
add r11d, edx
mov r15d, r12d
and r15d, r10d
mov r8d, r11d
and r8d, r9d
mov esi, r11d
add r13d, dword [rbp + rcx*4 + 0xc]
not esi
and esi, r14d
add r13d, dword [rsp + rcx*4 + 0x68]
add r13d, r8d
add r13d, esi
mov ebx, r13d
mov r13d, r12d
mov r8d, r11d
rol r8d, 0x1a
xor r12d, r10d
mov esi, r11d
rol esi, 0x15
and r12d, eax
xor r15d, r12d
xor esi, r8d
mov r8d, r11d
add r15d, edi
rol r8d, 7
xor r8d, esi
add r15d, edx
add ebx, r8d
add r13d, ebx
mov edx, r15d
mov r8d, r15d
mov esi, eax
xor esi, r10d
mov edi, r13d
mov ecx, r15d
rol edi, 0x1a
rol edx, 0x1e
and esi, r15d
mov ebp, r13d
rol r8d, 0x13
rol ebp, 0x15
rol ecx, 0xa
xor ebp, edi
mov r12d, eax
and r12d, r10d
xor r12d, esi
mov esi, r13d
rol esi, 7
xor r8d, edx
xor esi, ebp
mov rbp, qword [rsp + 0xa0]
mov edx, r13d
and edx, r11d
xor ecx, r8d
mov r8d, r13d
mov rdi, qword [rsp + 0x28]
add r14d, dword [rbp + rdi*4 + 0x10]
add r12d, ecx
not r8d
mov rcx, qword [rsp + 0x28]
add r14d, dword [rsp + rcx*4 + 0x6c]
add r12d, ebx
and r8d, r9d
add r14d, edx
add r14d, r8d
mov ecx, r14d
add ecx, esi
mov edx, r12d
rol edx, 0x1e
mov r14d, r10d
mov r8d, r12d
rol r8d, 0x13
mov esi, r12d
rol esi, 0xa
xor r8d, edx
mov edx, r15d
xor edx, eax
and edx, r12d
xor esi, r8d
mov r10d, r15d
and r10d, eax
xor r10d, edx
add r14d, ecx
add r10d, esi
add r10d, ecx
mov rcx, qword [rsp + 0x28]
add rcx, 4
cmp rcx, 0xc
jb 0x14007fab0
mov rdx, qword [rsp + 0x98]
lea rcx, [rdx + 0x10]
add rbp, 0x40
cmp rdx, 0x30
mov rdx, rcx
jb 0x14007f970
add r10d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov dword [rcx], r10d
add r12d, dword [rsp + 0x34]
mov dword [rcx + 4], r12d
add r15d, dword [rsp + 0x38]
mov dword [rcx + 8], r15d
add eax, dword [rsp + 0x3c]
mov dword [rcx + 0xc], eax
add r14d, dword [rsp + 0x40]
mov dword [rcx + 0x10], r14d
add r13d, dword [rsp + 0x44]
mov dword [rcx + 0x14], r13d
add r11d, dword [rsp + 0x48]
mov dword [rcx + 0x18], r11d
add r9d, dword [rsp + 0x4c]
mov dword [rcx + 0x1c], r9d
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14013cd24]
call fcn.14009ab34
cmp dword [0x14013cd24], 0xffffffff
jne 0x14007f8f1
mov eax, dword [0x14013b620]
mov ecx, dword [0x14013ce80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x14007fd75
mov eax, dword [0x14013b604]
shr eax, 9
mov ecx, dword [0x14013b60c]
shr ecx, 0x1d
and ecx, eax
and ecx, 1
mov byte [0x14013cd20], cl
lea rcx, [0x14013cd24]
call fcn.14009aac8
mov rsi, qword [rsp + 0x20]
jmp 0x14007f8f1
lea rcx, [0x14013b620]
call fcn.14009ab34
cmp dword [0x14013b620], 0xffffffff
jne 0x14007fd42
lea rcx, [0x14013b5e0]
call fcn.14004db90
lea rcx, [0x14013b620]
call fcn.14009aac8
jmp 0x14007fd42
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
pshufd xmm0, xmm0, 0xb1
pshufd xmm2, xmm1, 0x1b
movdqa xmm8, xmm0
palignr xmm8, xmm2, 8
pblendw xmm2, xmm0, 0xf0
movdqa xmm7, xmmword [0x140100a10]
movdqu xmm6, xmmword [rdx]
movdqu xmm5, xmmword [rdx + 0x10]
movdqu xmm4, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
pshufb xmm6, xmm7
movdqa xmm0, xmmword [0x140100a20]
paddd xmm0, xmm6
movdqa xmm3, xmm2
sha256rnds2 xmm3, xmm8, xmm0
pshufd xmm0, xmm0, 0xe
pshufd xmm9, xmm8, 0x1b
sha256rnds2 xmm8, xmm3, xmm0
pshufb xmm5, xmm7
movdqa xmm0, xmmword [0x140100a30]
paddd xmm0, xmm5
sha256rnds2 xmm3, xmm8, xmm0
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm6, xmm5
pshufb xmm4, xmm7
movdqa xmm0, xmmword [0x140100a40]
paddd xmm0, xmm4
sha256rnds2 xmm3, xmm8, xmm0
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm5, xmm4
pshufb xmm1, xmm7
movdqa xmm0, xmmword [0x140100a50]
paddd xmm0, xmm1
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm7, xmm1
palignr xmm7, xmm4, 4
paddd xmm7, xmm6
sha256msg2 xmm7, xmm1
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm4, xmm1
movdqa xmm0, xmmword [0x140100a60]
paddd xmm0, xmm7
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm6, xmm7
palignr xmm6, xmm1, 4
paddd xmm6, xmm5
sha256msg2 xmm6, xmm7
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm1, xmm7
movdqa xmm0, xmmword [0x140100a70]
paddd xmm0, xmm6
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm5, xmm6
palignr xmm5, xmm7, 4
paddd xmm5, xmm4
sha256msg2 xmm5, xmm6
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm7, xmm6
movdqa xmm0, xmmword [0x140100a80]
paddd xmm0, xmm5
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm4, xmm5
palignr xmm4, xmm6, 4
paddd xmm4, xmm1
sha256msg2 xmm4, xmm5
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm6, xmm5
movdqa xmm0, xmmword [0x140100a90]
paddd xmm0, xmm4
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm1, xmm4
palignr xmm1, xmm5, 4
paddd xmm1, xmm7
sha256msg2 xmm1, xmm4
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm5, xmm4
movdqa xmm0, xmmword [0x140100aa0]
paddd xmm0, xmm1
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm7, xmm1
palignr xmm7, xmm4, 4
paddd xmm7, xmm6
sha256msg2 xmm7, xmm1
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm4, xmm1
movdqa xmm0, xmmword [0x140100ab0]
paddd xmm0, xmm7
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm6, xmm7
palignr xmm6, xmm1, 4
paddd xmm6, xmm5
sha256msg2 xmm6, xmm7
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm1, xmm7
movdqa xmm0, xmmword [0x140100ac0]
paddd xmm0, xmm6
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm5, xmm6
palignr xmm5, xmm7, 4
paddd xmm5, xmm4
sha256msg2 xmm5, xmm6
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm7, xmm6
movdqa xmm0, xmmword [0x140100ad0]
paddd xmm0, xmm5
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm4, xmm5
palignr xmm4, xmm6, 4
paddd xmm4, xmm1
sha256msg2 xmm4, xmm5
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm6, xmm5
movdqa xmm0, xmmword [0x140100ae0]
paddd xmm0, xmm4
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm10, xmm4
palignr xmm10, xmm5, 4
paddd xmm10, xmm7
sha256msg2 xmm10, xmm4
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
sha256msg1 xmm5, xmm4
movdqa xmm0, xmmword [0x140100af0]
paddd xmm0, xmm10
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm7, xmm10
palignr xmm7, xmm4, 4
paddd xmm7, xmm6
sha256msg2 xmm7, xmm10
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
movdqa xmm0, xmmword [0x140100b00]
paddd xmm0, xmm7
sha256rnds2 xmm3, xmm8, xmm0
movdqa xmm1, xmm7
palignr xmm1, xmm10, 4
paddd xmm1, xmm5
sha256msg2 xmm1, xmm7
pshufd xmm0, xmm0, 0xe
sha256rnds2 xmm8, xmm3, xmm0
paddd xmm1, xmmword [0x140100b10]
movdqa xmm0, xmm1
sha256rnds2 xmm3, xmm8, xmm0
pshufd xmm0, xmm1, 0xe
sha256rnds2 xmm8, xmm3, xmm0
paddd xmm3, xmm2
pshufd xmm0, xmm8, 0x1b
paddd xmm9, xmm0
pshufd xmm0, xmm3, 0xb1
movdqa xmm1, xmm9
pblendw xmm1, xmm0, 0xf0
palignr xmm0, xmm9, 8
movdqu xmmword [rcx], xmm1
movdqu xmmword [rcx + 0x10], xmm0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret