Function at 0x1400e1740
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rsi, rcx
cmp dword [0x1403aa928], 0
mov r8, qword [rcx]
je 0x14000749c
mov rcx, qword [rsi + 0x28]
mov r9d, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400e1740
movsxd rax, edi
mov rcx, rdx
mov rbx, rdx
mov rdx, r8
mov r8, rax
call fcn.140269600
test rbx, rbx
je 0x1400074c5
mov rdx, rbx
mov ecx, dword [rsi + 0x4c]
mov r8d, edi
call fcn.140006b00
jmp 0x1400074d2
xor eax, eax
test edi, edi
jne 0x1400074d2
call fcn.140006a90
xor eax, eax
mov dword [rsi + 0x4c], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
movdqa xmmword [rsp + 0xc0], xmm14
movdqa xmmword [rsp + 0xb0], xmm13
movdqa xmmword [rsp + 0xa0], xmm12
movdqa xmmword [rsp + 0x90], xmm11
movdqa xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x60], xmm8
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm9, xmmword [rcx + 0x44]
movdqu xmm8, xmmword [rcx + 0x54]
movdqu xmm6, xmmword [rcx + 0x64]
movdqu xmm7, xmmword [rcx + 0x74]
movabs r14, 0x1c6e41596
cmp r9d, 0xf
jg 0x1400e17dd
test r9d, r9d
jne 0x1400e1b21
jmp 0x1400e1bfb
mov eax, r8d
neg eax
and eax, 0xf
je 0x1400e189e
movdqu xmm0, xmmword [r8]
movdqu xmmword [rdi], xmm0
mov ecx, eax
add rdi, rcx
add r8, rcx
sub r9d, eax
shl eax, 4
lea rcx, [0x1402d1300]
movdqa xmm2, xmmword [rax + rcx - 0x10]
movdqa xmm1, xmm9
pshufb xmm1, xmm2
movdqa xmm3, xmmword [0x1402b2130]
pxor xmm3, xmm2
pshufb xmm9, xmm3
movdqa xmm4, xmm8
pshufb xmm4, xmm2
por xmm9, xmm4
pshufb xmm8, xmm3
movdqa xmm4, xmm6
pshufb xmm4, xmm2
por xmm8, xmm4
pshufb xmm6, xmm3
movdqa xmm4, xmm7
pshufb xmm4, xmm2
por xmm6, xmm4
pshufb xmm7, xmm3
pshufb xmm0, xmm2
por xmm7, xmm0
movdqa xmm2, xmmword [0x1402d12c0]
pclmulqdq xmm2, xmm1, 1
movq xmm3, r14
pclmulqdq xmm3, xmm1, 0x10
pxor xmm3, xmm7
pxor xmm3, xmm2
movdqa xmm7, xmm3
cmp r9d, 0x40
jae 0x1400e18b0
jmp 0x1400e1973
movdqu xmm0, xmmword [rsi + 0x84]
cmp r9d, 0x40
jb 0x1400e1973
movq xmm1, r14
movdqa xmm2, xmmword [0x1402d12c0]
nop dword [rax]
add r9d, 0xffffffc0
movdqa xmm4, xmmword [r8]
movdqa xmm5, xmmword [r8 + 0x10]
movdqa xmm10, xmmword [r8 + 0x20]
movdqa xmm3, xmmword [r8 + 0x30]
movdqa xmm11, xmm9
pclmulqdq xmm11, xmm1, 1
pclmulqdq xmm9, xmm2, 0x10
movdqa xmm12, xmm8
pclmulqdq xmm12, xmm1, 1
pclmulqdq xmm8, xmm2, 0x10
movdqa xmm13, xmm6
pclmulqdq xmm13, xmm1, 1
pclmulqdq xmm6, xmm2, 0x10
movdqa xmm14, xmm7
pclmulqdq xmm14, xmm1, 1
pclmulqdq xmm7, xmm2, 0x10
movdqu xmmword [rdi], xmm4
movdqu xmmword [rdi + 0x10], xmm5
movdqu xmmword [rdi + 0x20], xmm10
movdqu xmmword [rdi + 0x30], xmm3
pxor xmm11, xmm4
pxor xmm9, xmm11
pxor xmm12, xmm5
pxor xmm8, xmm12
pxor xmm13, xmm10
pxor xmm6, xmm13
pxor xmm14, xmm3
pxor xmm7, xmm14
add r8, 0x40
add rdi, 0x40
cmp r9d, 0x3f
ja 0x1400e18c0
cmp r9d, 0x30
jb 0x1400e1a28
movdqa xmm2, xmmword [r8]
movdqa xmm3, xmmword [r8 + 0x10]
movdqa xmm4, xmmword [r8 + 0x20]
movq xmm5, r14
movdqa xmm10, xmm6
pclmulqdq xmm10, xmm5, 1
movdqa xmm11, xmmword [0x1402d12c0]
pclmulqdq xmm6, xmm11, 0x10
movdqa xmm1, xmm6
pxor xmm1, xmm10
movdqa xmm10, xmm8
pclmulqdq xmm10, xmm5, 1
pclmulqdq xmm8, xmm11, 0x10
movdqa xmm6, xmm8
pxor xmm6, xmm10
pclmulqdq xmm5, xmm9, 0x10
pclmulqdq xmm9, xmm11, 0x10
pxor xmm9, xmm5
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqu xmmword [rdi + 0x20], xmm4
movdqa xmm8, xmm9
pxor xmm8, xmm2
pxor xmm6, xmm3
pxor xmm1, xmm4
add r9d, 0xffffffd0
je 0x1400e1b0a
add rdi, 0x30
add r8, 0x30
movdqa xmm9, xmm7
movdqa xmm7, xmm1
jmp 0x1400e1b21
cmp r9d, 0x20
jb 0x1400e1ab5
movdqa xmm2, xmmword [r8]
movdqa xmm3, xmmword [r8 + 0x10]
movq xmm1, r14
movdqa xmm4, xmm8
pclmulqdq xmm4, xmm1, 1
movdqa xmm5, xmmword [0x1402d12c0]
pclmulqdq xmm8, xmm5, 0x10
pxor xmm8, xmm4
pclmulqdq xmm1, xmm9, 0x10
pclmulqdq xmm9, xmm5, 0x10
pxor xmm9, xmm1
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqa xmm1, xmm9
pxor xmm1, xmm2
movdqa xmm2, xmm8
pxor xmm2, xmm3
add r9d, 0xffffffe0
je 0x1400e1c58
add rdi, 0x20
add r8, 0x20
movdqa xmm9, xmm6
movdqa xmm8, xmm7
movdqa xmm6, xmm1
movdqa xmm7, xmm2
jmp 0x1400e1b21
cmp r9d, 0x10
jb 0x1400e1b18
movdqa xmm2, xmmword [r8]
movq xmm1, r14
pclmulqdq xmm1, xmm9, 0x10
pclmulqdq xmm9, xmmword [0x1402d12c0], 0x10
movdqu xmmword [rdi], xmm2
pxor xmm1, xmm2
pxor xmm1, xmm9
add r9d, 0xfffffff0
je 0x1400e1c6f
add rdi, 0x10
add r8, 0x10
movdqa xmm9, xmm8
movdqa xmm8, xmm6
movdqa xmm6, xmm7
movdqa xmm7, xmm1
jmp 0x1400e1b21
movdqa xmm9, xmm7
movdqa xmm7, xmm1
jmp 0x1400e1bdd
test r9d, r9d
je 0x1400e1bdd
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
movsxd rbx, r9d
lea rcx, [rsp + 0x20]
mov rdx, r8
mov r8, rbx
call fcn.140269600
movdqa xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rdi], xmm0
shl rbx, 4
lea rax, [0x1402d1300]
movdqa xmm2, xmmword [rbx + rax - 0x10]
movdqa xmm1, xmm9
pshufb xmm1, xmm2
movdqa xmm3, xmmword [0x1402b2130]
pxor xmm3, xmm2
pshufb xmm9, xmm3
movdqa xmm4, xmm8
pshufb xmm4, xmm2
por xmm9, xmm4
pshufb xmm8, xmm3
movdqa xmm4, xmm6
pshufb xmm4, xmm2
por xmm8, xmm4
pshufb xmm6, xmm3
movdqa xmm4, xmm7
pshufb xmm4, xmm2
por xmm6, xmm4
pshufb xmm7, xmm3
pshufb xmm0, xmm2
por xmm7, xmm0
movdqa xmm2, xmmword [0x1402d12c0]
pclmulqdq xmm2, xmm1, 1
movq xmm3, r14
pclmulqdq xmm3, xmm1, 0x10
pxor xmm3, xmm7
pxor xmm3, xmm2
movdqa xmm7, xmm3
movdqu xmmword [rsi + 0x44], xmm9
movdqu xmmword [rsi + 0x54], xmm8
movdqu xmmword [rsi + 0x64], xmm6
movdqu xmmword [rsi + 0x74], xmm7
movdqu xmmword [rsi + 0x84], xmm0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140265f90
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm13, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
ret
movdqa xmm9, xmm6
movdqa xmm8, xmm7
movdqa xmm6, xmm1
movdqa xmm7, xmm2
jmp 0x1400e1bdd
movdqa xmm9, xmm8
movdqa xmm8, xmm6
movdqa xmm6, xmm7
movdqa xmm7, xmm1
jmp 0x1400e1bdd