Function at 0x140004e34
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
xor ebx, ebx
mov rdi, rcx
lea r8, [rdx + 2]
mov qword [rsp + 0xa0], rbx
mov r9, rbx
movzx edx, byte [r8 + 1]
movzx eax, byte [r8 - 1]
inc r9
shl eax, 8
shl edx, 0x18
add edx, eax
movzx eax, byte [r8]
add r8, 4
shl eax, 0x10
add edx, eax
movzx eax, byte [r8 - 6]
add edx, eax
mov dword [rsp + r9*4 + 0x5c], edx
cmp r9, 0x10
jb 0x140004e64
mov rcx, qword [rcx + 0xf8]
mov ebx, 0x6a09e667
mov dword [rsp + 0x108], 0x3c6ef372
mov rax, qword [rcx]
mov dword [rsp], 0xa54ff53a
lea r15, [0x14002da71]
mov qword [rsp + 0x10], rax
mov rax, qword [rcx + 8]
mov r9d, dword [rsp + 0x10]
mov qword [rsp + 0x18], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x50], 0xa
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x18]
mov ecx, dword [rsp + 0x18]
mov r13d, dword [rsp + 0x24]
mov r14d, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x100]
mov ebp, dword [rsp + 0x2c]
mov r12d, dword [rsp + 0x28]
mov r8d, dword [rax]
mov r10d, dword [rax + 4]
mov rax, qword [rdi + 0x108]
mov r11d, dword [rax]
mov esi, dword [rax + 4]
mov eax, dword [rsp + 0x1c]
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x14]
xor r8d, 0x510e527f
xor r10d, 0x9b05688c
xor r11d, 0x1f83d9ab
mov dword [rsp + 0x100], ecx
mov dword [rsp + 4], eax
mov edi, 0xbb67ae85
xor esi, 0x5be0cd19
movzx eax, byte [r15 - 1]
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15]
add ecx, r14d
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 1]
mov edx, r9d
xor edx, r8d
mov r8d, dword [rsp + 4]
ror edx, 0x10
add ebx, edx
xor r14d, ebx
ror r14d, 0xc
add ecx, r14d
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 2]
add ecx, r13d
mov dword [rsp + 0xc], r9d
xor r9d, edx
add r8d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 3]
ror r9d, 8
mov edx, r8d
xor edx, r10d
add ebx, r9d
xor r14d, ebx
ror r14d, 7
ror edx, 0x10
add edi, edx
xor r13d, edi
ror r13d, 0xc
add ecx, r13d
add r8d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
mov eax, dword [rsp + 0x100]
add ecx, r12d
mov r10d, r8d
mov dword [rsp + 4], r8d
mov r8d, dword [rsp + 0x108]
add eax, ecx
xor r10d, edx
ror r10d, 8
mov edx, eax
mov dword [rsp + 0x100], eax
movzx eax, byte [r15 + 4]
xor edx, r11d
add edi, r10d
mov ecx, dword [rsp + rax*4 + 0x60]
mov eax, dword [rsp + 0x100]
xor r13d, edi
ror r13d, 7
ror edx, 0x10
add r8d, edx
xor r12d, r8d
ror r12d, 0xc
add ecx, r12d
add eax, ecx
mov r11d, eax
mov dword [rsp + 0x100], eax
movzx eax, byte [r15 + 5]
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 6]
xor r11d, edx
ror r11d, 8
add ecx, ebp
add r8d, r11d
xor r12d, r8d
mov dword [rsp + 0x108], r8d
mov r8d, dword [rsp + 8]
add r8d, ecx
ror r12d, 7
mov edx, r8d
xor edx, esi
mov esi, dword [rsp]
ror edx, 0x10
add esi, edx
xor ebp, esi
ror ebp, 0xc
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 7]
add ecx, ebp
add r8d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 8]
add ecx, r13d
mov dword [rsp + 8], r8d
xor r8d, edx
ror r8d, 8
add esi, r8d
xor ebp, esi
mov dword [rsp], esi
mov esi, dword [rsp + 0xc]
add esi, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 9]
ror ebp, 7
mov edx, esi
xor edx, r8d
mov r8d, dword [rsp + 0x108]
ror edx, 0x10
add r8d, edx
xor r13d, r8d
ror r13d, 0xc
add ecx, r13d
add esi, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 0xa]
add ecx, r12d
mov dword [rsp + 0xc], esi
mov dword [rsp + 0x10], esi
xor esi, edx
ror esi, 8
add r8d, esi
xor r13d, r8d
mov dword [rsp + 0x108], r8d
mov dword [rsp + 0x38], r8d
mov r8d, dword [rsp + 4]
ror r13d, 7
add r8d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 0xb]
mov edx, r8d
xor edx, r9d
mov r9d, dword [rsp]
ror edx, 0x10
add r9d, edx
xor r12d, r9d
ror r12d, 0xc
add ecx, r12d
add r8d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 0xc]
add ecx, ebp
mov dword [rsp + 4], r8d
mov dword [rsp + 0x14], r8d
xor r8d, edx
ror r8d, 8
add r9d, r8d
xor r12d, r9d
mov dword [rsp], r9d
mov dword [rsp + 0x3c], r9d
mov r9d, dword [rsp + 0x100]
ror r12d, 7
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
mov edx, r9d
xor edx, r10d
ror edx, 0x10
add ebx, edx
xor ebp, ebx
ror ebp, 0xc
add ecx, ebp
add r9d, ecx
mov r10d, r9d
mov dword [rsp + 0x100], r9d
mov dword [rsp + 0x18], r9d
xor r10d, edx
ror r10d, 8
add ebx, r10d
movzx eax, byte [r15 + 0xd]
mov r9d, dword [rsp + 8]
xor ebp, ebx
mov ecx, dword [rsp + rax*4 + 0x60]
movzx eax, byte [r15 + 0xe]
ror ebp, 7
add ecx, r14d
add r15, 0x10
add r9d, ecx
mov ecx, dword [rsp + rax*4 + 0x60]
mov edx, r9d
xor edx, r11d
ror edx, 0x10
add edi, edx
xor r14d, edi
ror r14d, 0xc
add ecx, r14d
add r9d, ecx
mov r11d, r9d
mov dword [rsp + 8], r9d
mov dword [rsp + 0x1c], r9d
mov r9d, dword [rsp + 0xc]
xor r11d, edx
ror r11d, 8
add edi, r11d
xor r14d, edi
ror r14d, 7
sub qword [rsp + 0x50], 1
jne 0x140004f57
mov dword [rsp + 0x30], ebx
mov rbx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], edi
mov rdi, qword [rsp + 0xf0]
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x44], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x2c], ebp
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r14d
mov rcx, qword [rdi + 0xf8]
mov eax, dword [rsp + rbx + 0x30]
xor eax, dword [rbx + rcx]
xor eax, dword [rsp + rbx + 0x10]
mov dword [rbx + rcx], eax
add rbx, 4
cmp rbx, 0x20
jb 0x140005257
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret