Function at 0x140125ca0
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdx, [rcx + 0x100]
mov rdi, rcx
mov qword [rcx + 0x100], 0
lea rcx, [rcx + 0x280]
mov qword [rdx + 8], 0
mov rax, qword [rdi + 0x18]
mov r8, rdx
call qword [rax + 0x40]
call fcn.1400ef530
test ah, 2
jne 0x140125e1b
lea rax, [0x140125b20]
lea rbx, [rdi + 0x118]
mov qword [rdi + 0x118], 0
mov qword [rdi + 0x198], 0
mov r9d, 3
mov r8d, 4
mov qword [rdi + 0x110], rax
mov rax, qword [rdi + 0x100]
movabs r11, 0xe100000000000000
xor r10d, r10d
bswap rax
mov qword [rdi + 0x158], rax
mov rax, qword [rdi + 0x108]
bswap rax
mov qword [rdi + 0x1d8], rax
movsxd rax, r8d
mov rbp, r11
lea rsi, [rax*8]
lea rcx, [rbx + rsi]
mov rax, qword [rcx + rax*8]
mov qword [rcx], rax
lea eax, [r8 + r8]
cdqe
mov rdx, qword [rbx + rax*8 + 0x80]
mov rax, qword [rcx]
test dl, 1
mov r12, rax
cmove rbp, r10
shr rdx, 1
shl r12, 0x3f
shr rax, 1
xor rdx, r12
sar r8d, 1
xor rax, rbp
sub r9d, 1
mov qword [rbx + rsi + 0x80], rdx
mov qword [rcx], rax
jne 0x140125d4c
mov esi, 3
mov r11d, 2
add rdi, 0x120
nop word cs:[rax + rax]
movsxd rcx, r11d
lea edx, [r11 - 2]
lea rax, [rcx*8]
lea r8, [rbx + rdx*8 + 0x10]
lea r10, [rbx + rax]
lea r9, [rbx + rax + 0x80]
mov rax, rdi
mov rdx, qword [r10]
xor rdx, qword [rax]
mov qword [rax + rcx*8], rdx
mov rdx, qword [r9]
xor rdx, qword [rax + 0x80]
mov qword [rax + rcx*8 + 0x80], rdx
add rax, 8
cmp r8, rax
jne 0x140125de3
add r11d, r11d
sub esi, 1
jne 0x140125dc0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [0x140285320]
mov rcx, rdi
mov qword [rdi + 0x110], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp 0x140149ef0
sub rsp, 0x48
lea rdx, [rsp + 0x10]
movdqu xmmword [rdx], xmm6
movdqu xmmword [rdx + 0x10], xmm7
movdqu xmmword [rdx + 0x20], xmm8
mov rax, qword [rcx + 0x108]
bswap rax
mov qword [rsp], rax
mov rax, qword [rcx + 0x100]
mov r9, qword [rsp]
bswap rax
mov qword [rsp + 8], rax
mov r10, qword [rsp + 8]
mov qword [rcx + 0x100], r9
mov qword [rcx + 0x108], r10
movdqu xmm0, xmmword [rsp]
movdqa xmm1, xmm0
pshufd xmm2, xmm0, 0x4e
pshufd xmm4, xmm1, 0x4e
pxor xmm2, xmm0
pxor xmm4, xmm1
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm1, 0
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm1, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm4, xmm2, 0
pxor xmm5, xmm6
pxor xmm4, xmm5
movdqa xmm5, xmm4
psrldq xmm4, 8
pslldq xmm5, 8
pxor xmm3, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm3
movdqa xmm5, xmm6
pslld xmm3, 1
pslld xmm6, 1
psrld xmm4, 0x1f
psrld xmm5, 0x1f
movdqa xmm1, xmm4
pslldq xmm5, 4
pslldq xmm4, 4
psrldq xmm1, 0xc
por xmm3, xmm4
por xmm6, xmm5
por xmm1, xmm6
movdqa xmm6, xmm3
movdqa xmm7, xmm3
pslld xmm6, 0x1f
movdqa xmm5, xmm3
pslld xmm7, 0x1e
pslld xmm5, 0x19
pxor xmm6, xmm7
pxor xmm6, xmm5
movdqa xmm7, xmm6
pslldq xmm6, 0xc
psrldq xmm7, 4
pxor xmm3, xmm6
movdqa xmm2, xmm3
movdqa xmm4, xmm3
psrld xmm2, 1
movdqa xmm5, xmm3
psrld xmm4, 2
psrld xmm5, 7
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm7
pxor xmm3, xmm2
pxor xmm1, xmm3
add rcx, 0x118
movdqu xmmword [rcx], xmm1
movdqa xmm8, xmm1
pshufd xmm2, xmm0, 0x4e
pshufd xmm4, xmm1, 0x4e
pxor xmm2, xmm0
pxor xmm4, xmm1
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm1, 0
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm1, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm4, xmm2, 0
pxor xmm5, xmm6
pxor xmm4, xmm5
movdqa xmm5, xmm4
psrldq xmm4, 8
pslldq xmm5, 8
pxor xmm3, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm3
movdqa xmm5, xmm6
pslld xmm3, 1
pslld xmm6, 1
psrld xmm4, 0x1f
psrld xmm5, 0x1f
movdqa xmm1, xmm4
pslldq xmm5, 4
pslldq xmm4, 4
psrldq xmm1, 0xc
por xmm3, xmm4
por xmm6, xmm5
por xmm1, xmm6
movdqa xmm6, xmm3
movdqa xmm7, xmm3
pslld xmm6, 0x1f
movdqa xmm5, xmm3
pslld xmm7, 0x1e
pslld xmm5, 0x19
pxor xmm6, xmm7
pxor xmm6, xmm5
movdqa xmm7, xmm6
pslldq xmm6, 0xc
psrldq xmm7, 4
pxor xmm3, xmm6
movdqa xmm2, xmm3
movdqa xmm4, xmm3
psrld xmm2, 1
movdqa xmm5, xmm3
psrld xmm4, 2
psrld xmm5, 7
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm7
pxor xmm3, xmm2
pxor xmm1, xmm3
movdqa xmm0, xmm8
movdqu xmmword [rcx + 0x10], xmm1
movdqa xmm1, xmm8
pshufd xmm2, xmm0, 0x4e
pshufd xmm4, xmm1, 0x4e
pxor xmm2, xmm0
pxor xmm4, xmm1
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm1, 0
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm1, 0x11
movdqa xmm5, xmm3
pclmulqdq xmm4, xmm2, 0
pxor xmm5, xmm6
pxor xmm4, xmm5
movdqa xmm5, xmm4
psrldq xmm4, 8
pslldq xmm5, 8
pxor xmm3, xmm5
pxor xmm6, xmm4
movdqa xmm4, xmm3
movdqa xmm5, xmm6
pslld xmm3, 1
pslld xmm6, 1
psrld xmm4, 0x1f
psrld xmm5, 0x1f
movdqa xmm1, xmm4
pslldq xmm5, 4
pslldq xmm4, 4
psrldq xmm1, 0xc
por xmm3, xmm4
por xmm6, xmm5
por xmm1, xmm6
movdqa xmm6, xmm3
movdqa xmm7, xmm3
pslld xmm6, 0x1f
movdqa xmm5, xmm3
pslld xmm7, 0x1e
pslld xmm5, 0x19
pxor xmm6, xmm7
pxor xmm6, xmm5
movdqa xmm7, xmm6
pslldq xmm6, 0xc
psrldq xmm7, 4
pxor xmm3, xmm6
movdqa xmm2, xmm3
movdqa xmm4, xmm3
psrld xmm2, 1
movdqa xmm5, xmm3
psrld xmm4, 2
psrld xmm5, 7
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm7
pxor xmm3, xmm2
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x20], xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
pxor xmm5, xmm5
movdqu xmm6, xmmword [rdx]
movdqu xmm7, xmmword [rdx + 0x10]
movdqu xmm8, xmmword [rdx + 0x20]
mov qword [rsp], 0
mov qword [rsp + 8], 0
add rsp, 0x48
ret