Function at 0x1400ba010
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x1403a73d0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, dword [rcx + 0x10]
xorps xmm0, xmm0
mov rdi, qword [rcx + 8]
xorps xmm1, xmm1
xor eax, eax
xor r15d, r15d
mov qword [rbp + 0xb4], rax
mov r14, r9
mov dword [rbp + 0xcc], eax
mov rsi, rdx
mov dword [rbp + 0xb0], r15d
movups xmmword [rbp + 0xbc], xmm0
movups xmmword [rbp + 0xd0], xmm1
movups xmmword [rbp + 0xe0], xmm1
movups xmmword [rbp + 0xf0], xmm1
movups xmmword [rbp + 0x100], xmm1
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
cmp ebx, 0x40
jbe 0x1400ba14c
xor r8d, r8d
mov qword [rbp + 0xb4], r15
lea rdx, [rbp + 0x70]
mov dword [rbp + 0xbc], 0x67452301
lea rcx, [rbp + 0xb4]
mov dword [rbp + 0xc0], 0xefcdab89
mov dword [rbp + 0xc4], 0x98badcfe
mov dword [rbp + 0xc8], 0x10325476
mov dword [rbp + 0xcc], 0xc3d2e1f0
call fcn.1400c10f0
mov r8d, ebx
lea rcx, [rbp + 0xb4]
mov rdx, rdi
call fcn.1400c10f0
jmp 0x1400ba15b
mov r8, rbx
lea rcx, [rbp + 0x70]
mov rdx, rdi
call fcn.14029d6c0
mov r8d, dword [rbp + 0xcc]
mov r12d, dword [rbp + 0xb0]
movups xmm11, xmmword [rbp + 0xbc]
add r12d, ebx
mov r13, qword [rbp + 0xb4]
movdqu xmm7, xmmword [rbp + 0x70]
movdqu xmm8, xmmword [rbp + 0x80]
movdqu xmm9, xmmword [rbp + 0x90]
movdqu xmm10, xmmword [rbp + 0xa0]
movups xmm12, xmmword [rbp + 0xd0]
movups xmm13, xmmword [rbp + 0xe0]
movups xmm14, xmmword [rbp + 0xf0]
movups xmm15, xmmword [rbp + 0x100]
mov ebx, dword [rsi + 0x10]
mov rdi, qword [rsi + 8]
movdqu xmmword [rsp + 0x30], xmm7
movdqu xmmword [rsp + 0x40], xmm8
movdqu xmmword [rsp + 0x50], xmm9
movdqu xmmword [rsp + 0x60], xmm10
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x74], r13
mov dword [rsp + 0x20], r8d
mov dword [rbp - 0x74], r8d
movups xmmword [rbp - 0x70], xmm12
movups xmmword [rbp - 0x60], xmm13
movups xmmword [rbp - 0x50], xmm14
movups xmmword [rbp - 0x40], xmm15
movups xmmword [rsp + 0x7c], xmm11
cmp r12d, 0xffffffff
je 0x1400ba2e2
mov ecx, r12d
mov dword [rsp + 0x70], ecx
cmp r12d, 0x40
jbe 0x1400ba239
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x74]
call fcn.1400c11a0
mov ecx, 0x14
mov dword [rsp + 0x70], ecx
mov eax, ecx
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
lea rcx, [rsp + 0x30]
add rcx, rax
call fcn.14029dd60
movdqa xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
lea rdx, [rsp + 0x30]
movdqa xmm0, xmm2
mov qword [rsp + 0x74], r15
xorps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x74]
movdqu xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmm2
xorps xmm1, xmmword [rsp + 0x40]
movdqa xmm0, xmm2
xorps xmm0, xmmword [rsp + 0x50]
mov r8d, 0x40
xorps xmm2, xmmword [rsp + 0x60]
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x40], xmm1
movdqu xmmword [rsp + 0x60], xmm2
mov dword [rsp + 0x7c], 0x67452301
mov dword [rbp - 0x80], 0xefcdab89
mov dword [rbp - 0x7c], 0x98badcfe
mov dword [rbp - 0x78], 0x10325476
mov dword [rbp - 0x74], 0xc3d2e1f0
call fcn.1400c10f0
mov r8d, dword [rbp - 0x74]
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x70], 0xffffffff
test ebx, ebx
je 0x1400ba2ff
mov r8d, ebx
lea rcx, [rsp + 0x74]
mov rdx, rdi
call fcn.1400c10f0
mov r8d, dword [rbp - 0x74]
mov dword [rsp + 0x20], r8d
mov r15d, dword [r14 + 0x10]
mov eax, 0xcccccccd
mov r14, qword [r14 + 8]
mov edi, 0
lea ecx, [r15 - 1]
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [rsp + 0x28], eax
je 0x1400ba595
movaps xmmword [rsp + 0x2e0], xmm6
movdqu xmm0, xmmword [rsp + 0x30]
lea edx, [rdi + 1]
mov ecx, dword [rsp + 0x70]
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
xorps xmm6, xmm6
movdqu xmm0, xmmword [rsp + 0x40]
mov esi, 4
mov dword [rbp + 0x138], eax
mov ebx, 0x3e8
mov rax, qword [rsp + 0x74]
movups xmmword [rbp - 0x20], xmm0
movdqu xmm0, xmmword [rsp + 0x50]
mov qword [rbp + 0x14], rax
mov eax, edx
movups xmmword [rbp - 0x10], xmm0
movdqu xmm0, xmmword [rsp + 0x60]
shr eax, 0x18
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rsp + 0x7c]
mov byte [rbp + 0x110], al
mov eax, edx
shr eax, 0x10
movups xmmword [rbp + 0x1c], xmm0
mov byte [rbp + 0x111], al
mov eax, edx
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x50]
shr eax, 8
movups xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rbp - 0x40]
mov byte [rbp + 0x112], al
lea eax, [rdi + 1]
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x10], ecx
mov dword [rbp + 0x2c], r8d
mov dword [rsp + 0x24], edx
mov byte [rbp + 0x113], al
nop dword [rax]
cmp ecx, 0xffffffff
je 0x1400ba495
cmp ecx, 0x40
jbe 0x1400ba403
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x14]
call fcn.1400c11a0
mov ecx, 0x14
mov dword [rbp + 0x10], ecx
mov eax, ecx
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
lea rcx, [rbp - 0x30]
add rcx, rax
call fcn.14029dd60
movdqa xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
lea rdx, [rbp - 0x30]
movdqa xmm0, xmm2
mov dword [rbp + 0x1c], 0x67452301
xorps xmm0, xmmword [rbp - 0x30]
lea rcx, [rbp + 0x14]
xor eax, eax
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmm2
mov qword [rbp + 0x14], rax
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmmword [rbp - 0x20]
xorps xmm2, xmmword [rbp]
lea r8d, [rax + 0x40]
movdqu xmmword [rbp - 0x10], xmm0
movdqu xmmword [rbp - 0x20], xmm1
movdqu xmmword [rbp], xmm2
mov dword [rbp + 0x20], 0xefcdab89
mov dword [rbp + 0x24], 0x98badcfe
mov dword [rbp + 0x28], 0x10325476
mov dword [rbp + 0x2c], 0xc3d2e1f0
call fcn.1400c10f0
mov dword [rbp + 0x10], 0xffffffff
mov r8d, esi
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x14]
call fcn.1400c10f0
mov r8d, 0x14
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.1400c1520
movdqu xmm0, xmmword [rbp + 0x110]
mov eax, 0x10
xorps xmm6, xmm0
movdqu xmmword [rbp + 0x128], xmm6
lea edx, [rax - 0xc]
lea esi, [rax + 4]
nop dword [rax]
movzx ecx, byte [rbp + rax + 0x110]
xor byte [rbp + rax + 0x128], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400ba4e0
mov eax, dword [rbp + 0xcc]
mov ecx, r12d
mov dword [rbp + 0x10], ecx
movups xmmword [rbp - 0x30], xmm7
movups xmmword [rbp - 0x20], xmm8
movups xmmword [rbp - 0x10], xmm9
movups xmmword [rbp], xmm10
mov qword [rbp + 0x14], r13
mov dword [rbp + 0x2c], eax
movups xmmword [rbp + 0x30], xmm12
movups xmmword [rbp + 0x40], xmm13
movups xmmword [rbp + 0x50], xmm14
movups xmmword [rbp + 0x60], xmm15
movups xmmword [rbp + 0x1c], xmm11
sub rbx, 1
je 0x1400ba54b
movdqu xmm6, xmmword [rbp + 0x128]
jmp 0x1400ba3e0
lea edx, [rdi + rdi*4]
shl edx, 2
lea r9, [rbp + 0x128]
xor r8d, r8d
nop dword [rax + rax]
cmp edx, r15d
jae 0x1400ba57a
movzx ecx, byte [r9]
inc r8d
mov byte [rdx + r14], cl
inc r9
inc edx
cmp r8d, esi
jb 0x1400ba560
mov edi, dword [rsp + 0x24]
mov r8d, dword [rsp + 0x20]
cmp edi, dword [rsp + 0x28]
jb 0x1400ba331
movaps xmm6, xmmword [rsp + 0x2e0]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14010f500
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x50]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret