Function at 0x140004524
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
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rbx, rcx
mov r8d, 0x40
lea rcx, [rbp - 0x19]
call fcn.1400243e0
mov rax, qword [rbx + 0xf8]
lea rdx, [0x140037950]
mov rcx, qword [rbx + 0x100]
lea r8, [rbp - 0x39]
sub rdx, rcx
mov r9d, 2
sub r8, rcx
mov r10d, r9d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x69], xmm0
movups xmm0, xmmword [0x140037940]
movups xmmword [rbp - 0x59], xmm1
movups xmmword [rbp - 0x49], xmm0
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [r8 + rcx], eax
lea rcx, [rcx + 4]
sub r10, 1
jne 0x140004599
mov rcx, qword [rbx + 0x108]
lea rdx, [0x140037958]
sub rdx, rcx
lea r8, [rbp - 0x31]
sub r8, rcx
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [r8 + rcx], eax
lea rcx, [rcx + 4]
sub r9, 1
jne 0x1400045c4
mov eax, dword [rbp - 0x51]
lea rdi, [0x1400378a1]
mov ecx, dword [rbp - 0x55]
mov edx, dword [rbp - 0x65]
mov r11d, dword [rbp - 0x2d]
mov r12d, dword [rbp - 0x31]
mov r15d, dword [rbp - 0x35]
mov r14d, dword [rbp - 0x39]
mov r13d, dword [rbp - 0x3d]
mov ebx, dword [rbp - 0x41]
mov r9d, dword [rbp - 0x45]
mov r8d, dword [rbp - 0x49]
mov esi, dword [rbp - 0x4d]
mov r10d, dword [rbp - 0x69]
mov dword [rbp - 0x75], eax
mov eax, dword [rbp - 0x59]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x5d]
mov dword [rbp - 0x79], ecx
mov ecx, dword [rbp - 0x61]
mov dword [rbp + 0x77], eax
mov qword [rbp - 0x29], 0xa
mov dword [rsp + 0x24], ecx
mov dword [rbp + 0x7f], edx
movzx eax, byte [rdi - 1]
mov ecx, dword [rbp + rax*4 - 0x19]
add ecx, dword [rsp + 0x28]
movzx eax, byte [rdi]
add r10d, ecx
xor r14d, r10d
rol r14d, 0x10
add r8d, r14d
mov ecx, dword [rbp + rax*4 - 0x19]
mov edx, r8d
xor edx, dword [rsp + 0x28]
movzx eax, byte [rdi + 1]
ror edx, 0xc
add ecx, edx
add r10d, ecx
mov ecx, dword [rbp + rax*4 - 0x19]
xor r14d, r10d
add ecx, dword [rbp - 0x79]
movzx eax, byte [rdi + 2]
mov dword [rsp + 0x20], r10d
ror r14d, 8
add r8d, r14d
mov r10d, r8d
mov dword [rbp - 0x7d], r8d
mov r8d, dword [rbp + 0x7f]
xor r10d, edx
add r8d, ecx
ror r10d, 7
mov ecx, dword [rbp + rax*4 - 0x19]
xor r15d, r8d
movzx eax, byte [rdi + 3]
rol r15d, 0x10
add r9d, r15d
mov edx, r9d
xor edx, dword [rbp - 0x79]
ror edx, 0xc
add ecx, edx
add r8d, ecx
mov ecx, dword [rbp + rax*4 - 0x19]
add ecx, dword [rbp - 0x75]
xor r15d, r8d
movzx eax, byte [rdi + 4]
mov dword [rbp + 0x7f], r8d
ror r15d, 8
add r9d, r15d
mov r8d, r9d
mov dword [rsp + 0x28], r9d
mov r9d, dword [rsp + 0x24]
xor r8d, edx
add r9d, ecx
ror r8d, 7
mov ecx, dword [rbp + rax*4 - 0x19]
xor r12d, r9d
movzx eax, byte [rdi + 5]
rol r12d, 0x10
add ebx, r12d
mov edx, ebx
xor edx, dword [rbp - 0x75]
ror edx, 0xc
add ecx, edx
add r9d, ecx
mov ecx, dword [rbp + rax*4 - 0x19]
mov eax, dword [rbp + 0x77]
xor r12d, r9d
add ecx, esi
mov dword [rsp + 0x24], r9d
add eax, ecx
ror r12d, 8
xor r11d, eax
mov dword [rbp + 0x77], eax
movzx eax, byte [rdi + 6]
add ebx, r12d
rol r11d, 0x10
mov r9d, ebx
xor r9d, edx
add r13d, r11d
mov edx, r13d
ror r9d, 7
mov ecx, dword [rbp + rax*4 - 0x19]
xor edx, esi
ror edx, 0xc
mov eax, dword [rbp + 0x77]
add ecx, edx
add eax, ecx
xor r11d, eax
mov dword [rbp + 0x77], eax
movzx eax, byte [rdi + 7]
ror r11d, 8
add r13d, r11d
mov esi, r13d
mov ecx, dword [rbp + rax*4 - 0x19]
xor esi, edx
mov eax, dword [rsp + 0x20]
add ecx, r8d
add eax, ecx
ror esi, 7
xor r11d, eax
mov dword [rsp + 0x20], eax
movzx eax, byte [rdi + 8]
rol r11d, 0x10
add ebx, r11d
mov edx, ebx
mov ecx, dword [rbp + rax*4 - 0x19]
xor edx, r8d
mov eax, dword [rsp + 0x20]
ror edx, 0xc
add ecx, edx
add eax, ecx
xor r11d, eax
mov dword [rsp + 0x20], eax
mov dword [rbp - 0x69], eax
ror r11d, 8
add ebx, r11d
mov eax, ebx
xor eax, edx
mov edx, dword [rbp + 0x7f]
ror eax, 7
mov dword [rbp - 0x79], eax
mov dword [rbp - 0x55], eax
movzx eax, byte [rdi + 9]
mov ecx, dword [rbp + rax*4 - 0x19]
movzx eax, byte [rdi + 0xa]
add ecx, r9d
add edx, ecx
mov dword [rbp + 0x7f], edx
xor edx, r14d
rol edx, 0x10
mov ecx, dword [rbp + rax*4 - 0x19]
add r13d, edx
mov eax, dword [rbp + 0x7f]
mov r8d, r13d
xor r8d, r9d
mov r9d, dword [rsp + 0x24]
ror r8d, 0xc
add ecx, r8d
add eax, ecx
mov r14d, eax
mov dword [rbp + 0x7f], eax
xor r14d, edx
mov dword [rbp - 0x65], eax
ror r14d, 8
add r13d, r14d
mov eax, r13d
xor eax, r8d
mov r8d, dword [rbp - 0x7d]
ror eax, 7
mov dword [rbp - 0x75], eax
mov dword [rbp - 0x51], eax
movzx eax, byte [rdi + 0xb]
mov ecx, dword [rbp + rax*4 - 0x19]
movzx eax, byte [rdi + 0xc]
add ecx, esi
add r9d, ecx
mov edx, r9d
xor edx, r15d
mov ecx, dword [rbp + rax*4 - 0x19]
rol edx, 0x10
add r8d, edx
xor esi, r8d
ror esi, 0xc
add ecx, esi
add r9d, ecx
movzx eax, byte [rdi + 0xd]
lea rdi, [rdi + 0x10]
mov r15d, r9d
mov dword [rsp + 0x24], r9d
xor r15d, edx
mov dword [rbp - 0x61], r9d
mov r9d, dword [rsp + 0x28]
mov ecx, dword [rbp + rax*4 - 0x19]
mov eax, dword [rbp + 0x77]
add ecx, r10d
add eax, ecx
ror r15d, 8
add r8d, r15d
mov dword [rbp + 0x77], eax
mov edx, eax
mov dword [rbp - 0x7d], r8d
movzx eax, byte [rdi - 2]
xor esi, r8d
xor edx, r12d
mov dword [rbp - 0x49], r8d
rol edx, 0x10
add r9d, edx
ror esi, 7
mov ecx, dword [rbp + rax*4 - 0x19]
mov r8d, r9d
mov eax, dword [rbp + 0x77]
xor r8d, r10d
mov r10d, dword [rsp + 0x20]
ror r8d, 0xc
add ecx, r8d
add eax, ecx
mov r12d, eax
mov dword [rbp + 0x77], eax
mov dword [rbp - 0x5d], eax
xor r12d, edx
ror r12d, 8
add r9d, r12d
mov eax, r9d
mov dword [rbp - 0x45], r9d
xor eax, r8d
mov r8d, dword [rbp - 0x7d]
ror eax, 7
sub qword [rbp - 0x29], 1
mov dword [rsp + 0x28], eax
mov dword [rbp - 0x59], eax
jne 0x140004632
mov dword [rbp - 0x41], ebx
xor edx, edx
mov rbx, qword [rbp + 0x67]
mov dword [rbp - 0x2d], r11d
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x39], r14d
mov dword [rbp - 0x35], r15d
mov dword [rbp - 0x31], r12d
mov dword [rbp - 0x3d], r13d
mov rcx, qword [rbx + 0xf8]
mov eax, dword [rbp + rdx - 0x49]
xor eax, dword [rdx + rcx]
xor eax, dword [rbp + rdx - 0x69]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jb 0x140004902
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret