Function at 0x447670
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x38
mov rdx, qword [0x006d1040]
mov rax, rcx
mov qword [rax + 0x60], 0
mov rcx, qword [rdx]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
movabs rcx, 0xbb67ae856a09e667
mov qword [rax], rcx
movabs rcx, 0xa54ff53a3c6ef372
mov qword [rax + 8], rcx
movabs rcx, 0x9b05688c510e527f
mov qword [rax + 0x10], rcx
movabs rcx, 0x5be0cd191f83d9ab
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0x28]
xor rcx, qword [rdx]
jne 0x447516
add rsp, 0x38
ret
call fcn.00582f30
nop
nop dword [rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x006d1040]
mov rbx, r8
mov r8, qword [0x0072d9e0]
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rax]
mov qword [rsp + 0x28], rdx
xor edx, edx
test r8, r8
je 0x4475b5
cmp rbx, 7
jbe 0x4475b5
lea r13, [rbx - 8]
mov r15, rbx
mov r12, rsi
mov rbp, rcx
mov r14, r13
and r14d, 7
jmp 0x447579
mov r8, qword [0x0072d9e0]
sub r15, 8
mov rdx, r12
mov rcx, rbp
add r12, 0x200
add rbp, 0x100
call r8
cmp r15, r14
jne 0x447572
shr r13, 3
and ebx, 7
add r13, 1
mov rax, r13
shl r13, 9
shl rax, 8
add rsi, r13
add rdi, rax
mov r8, qword [0x0072d9e8]
test r8, r8
je 0x447620
cmp rbx, 3
jbe 0x447620
lea r13, [rbx - 4]
mov r15, rbx
mov r12, rsi
mov rbp, rdi
mov r14, r13
and r14d, 3
jmp 0x4475e7
mov r8, qword [0x0072d9e8]
sub r15, 4
mov rdx, r12
mov rcx, rbp
add r12, 0x100
sub rbp, 0xffffffffffffff80
call r8
cmp r15, r14
jne 0x4475e0
shr r13, 2
and ebx, 3
add r13, 1
mov rax, r13
shl r13, 8
shl rax, 7
add rsi, r13
add rdi, rax
test rbx, rbx
je 0x44763f
mov rdx, rsi
mov rcx, rdi
add rsi, 0x40
call qword [0x006750b0]
add rdi, 0x20
sub rbx, 1
jne 0x447625
mov rax, qword [0x006d1040]
mov rbx, qword [rsp + 0x28]
xor rbx, qword [rax]
jne 0x447661
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.00582f30
nop
nop word [rax + rax]
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm7
lea rbp, [rcx + 0x10]
mov rsi, rcx
mov rdi, qword [0x006d1040]
mov qword [rcx + 8], 8
mov byte [rcx + 0x18], 0
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
xor eax, eax
movabs rax, 0x647261646e617473
mov qword [rcx], rbp
mov qword [rcx + 0x10], rax
xor ecx, ecx
mov eax, 1
cpuid
and ecx, 0x80000
je 0x447725
mov rax, qword [fcn.0044bc70]
lea r9, str.sse4_1way4way_
mov qword [rsp + 0x20], 0xf
mov r8d, 8
xor edx, edx
mov rcx, rsi
mov qword [0x006750b8], rax
lea rax, [0x0043dd60]
mov qword [0x006750b0], rax
mov rax, qword [0x006d0330]
mov qword [0x0072d9e8], rax
call fcn.00640650
xor ecx, ecx
mov eax, 7
cpuid
and ebx, 0x20
jne 0x447890
mov r13, qword [0x00690650]
mov r14, qword [0x00690658]
lea r12, [rsp + 0x30]
movdqa xmm7, xmmword [0x00690640]
xor r8d, r8d
mov rbx, qword [0x006750b8]
xor edx, edx
mov rcx, r12
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
call rbx
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor rdx, qword [0x00690648]
xor rax, qword [0x00690640]
or rdx, rax
jne 0x447850
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
xor rdx, qword [0x00690658]
xor rax, qword [0x00690650]
or rdx, rax
jne 0x447850
mov r8d, 1
lea rdx, [0x00690701]
mov rcx, r12
call rbx
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor rdx, qword [0x00690628]
xor rax, qword [0x00690620]
or rdx, rax
jne 0x447850
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
xor rdx, qword [0x00690638]
xor rax, qword [0x00690630]
or rdx, rax
jne 0x447850
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov r8d, 2
lea rdx, [0x00690661]
mov rcx, r12
call rbx
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
xor rdx, qword [0x00690608]
xor rax, qword [0x00690600]
or rdx, rax
jne 0x447850
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
xor rdx, qword [0x00690618]
xor rax, qword [0x00690610]
or rdx, rax
je 0x447869
nop dword [rax]
lea rdx, str.crypto_sha256.cpp
lea rcx, str.SelfTest_Transform_
mov r8d, 0x206
call fcn.00590060
mov rbx, qword [rsp + 0x58]
xor rbx, qword [rdi]
mov rax, rsi
jne 0x447920
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [0x006d0320]
mov rbx, qword [rsi + 8]
mov qword [0x0072d9e0], rax
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 0xa
jbe 0x447925
mov rax, qword [rsi]
lea r12, [rbx + 0xb]
mov edx, 0xf
cmp rbp, rax
je 0x4478ca
mov rdx, qword [rsi + 0x10]
cmp r12, rdx
ja 0x447900
add rax, rbx
movabs rcx, 0x773828327876612c
mov edx, 0x7961
mov qword [rax], rcx
mov word [rax + 8], dx
mov byte [rax + 0xa], 0x29
mov rax, qword [rsi]
mov qword [rsi + 8], r12
mov byte [rax + rbx + 0xb], 0
jmp 0x447725
lea r9, str._avx2_8way_
mov qword [rsp + 0x20], 0xb
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.006428e0
jmp 0x4478ec
call fcn.00582f30
lea rcx, [0x00690521]
call fcn.0065f820
mov rcx, qword [rsi]
mov rbx, rax
cmp rcx, rbp
je 0x447941
call fcn.00670500
mov rcx, rbx
call fcn.0058e700
nop
nop
nop
nop
nop
nop
nop