Function at 0x1404a0990
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movdqa xmmword [rsp + 0x60], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1406a7e00]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rdx + 0x20]
test byte [rcx + 0x18], 0x40
jne 0x1404a0e31
mov dword [rsi + 0x84], 0
mov r12d, dword [rdi + 4]
bswap r12d
xor r9d, r9d
test r12d, r12d
je 0x1404a0e07
add rdi, 8
lea eax, [r12 - 1]
mov dword [rsp + 0x34], eax
lea rax, [rsi + 0x30]
mov qword [rsp + 0x38], rax
pxor xmm6, xmm6
xor ebx, ebx
xor r15d, r15d
xor r13d, r13d
jmp 0x1404a0a51
or bl, al
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x20]
mov r9d, dword [rsi + 0x84]
lea r8, str.end_subtable__u
call fcn.140420f90
mov eax, dword [rdi]
bswap eax
add rdi, rax
mov r9d, dword [rsi + 0x84]
inc r9d
mov dword [rsi + 0x84], r9d
inc r13d
cmp r13d, r12d
je 0x1404a0e09
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + 0x30]
mov edx, eax
and edx, 0xfffffffe
cmp edx, 4
setne dl
movzx ebp, byte [rdi + 4]
test bpl, bpl
setns r8b
cmp dl, r8b
je 0x1404a0a2d
and eax, 0xfffffffd
cmp eax, 5
setne r14b
mov rdx, qword [rsi + 0x10]
lea r8, str.start_subtable__u
call fcn.140420f90
test al, al
je 0x1404a0a2d
and bpl, 0x10
shr bpl, 4
xor r14b, bpl
test r15b, 1
jne 0x1404a0b70
test byte [rdi + 4], 0x40
je 0x1404a0b70
mov rax, qword [rsi + 0x20]
mov ecx, dword [rax + 0x58]
mov r15b, 1
test rcx, rcx
je 0x1404a0b70
mov rax, qword [rax + 0x78]
cmp ecx, 1
jne 0x1404a0ad0
xor edx, edx
jmp 0x1404a0b3a
mov r8d, ecx
and r8d, 0xfffffffe
lea r9, [rax + 0x26]
xor edx, edx
nop dword [rax]
mov byte [r9 - 0x14], 2
mov r10, qword [rsi + 0x20]
mov r10d, dword [r10 + 0x30]
and r10d, 0xfffffffd
xor r11d, r11d
cmp r10d, 4
setne r11b
lea r10d, [r11 + r11 - 1]
mov word [r9 - 0x16], r10w
mov byte [r9], 2
mov r10, qword [rsi + 0x20]
mov r10d, dword [r10 + 0x30]
and r10d, 0xfffffffd
xor r11d, r11d
cmp r10d, 4
setne r11b
lea r10d, [r11 + r11]
dec r10d
mov word [r9 - 2], r10w
add rdx, 2
add r9, 0x28
cmp r8, rdx
jne 0x1404a0ae0
test cl, 1
je 0x1404a0b70
lea rcx, [rdx + rdx*4]
mov byte [rax + rcx*4 + 0x12], 2
mov rdx, qword [rsi + 0x20]
mov edx, dword [rdx + 0x30]
and edx, 0xfffffffd
xor r8d, r8d
cmp edx, 4
setne r8b
lea edx, [r8 + r8]
dec edx
mov word [rax + rcx*4 + 0x10], dx
nop word [rax + rax]
test r14b, r14b
jne 0x1404a0c70
mov rcx, qword [rsi + 0x20]
mov eax, dword [rcx + 0x58]
cmp eax, 2
jb 0x1404a0bea
mov rdx, qword [rcx + 0x68]
lea r9d, [rax - 1]
lea r8, [r9 - 1]
lea r9, [r9 + r9*4]
lea r9, [rdx + r9*4]
xor r10d, r10d
nop dword [rax]
mov r11d, dword [r9 + 0x10]
mov dword [rsp + 0x50], r11d
movups xmm0, xmmword [r9]
movaps xmmword [rsp + 0x40], xmm0
mov r11d, dword [rdx + 0x10]
mov dword [r9 + 0x10], r11d
movups xmm0, xmmword [rdx]
movups xmmword [r9], xmm0
mov r11d, dword [rsp + 0x50]
mov dword [rdx + 0x10], r11d
movdqa xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdx], xmm0
inc r10
mov r11d, r8d
add rdx, 0x14
dec r8
add r9, 0xffffffffffffffec
cmp r10, r11
jb 0x1404a0ba0
cmp byte [rcx + 0x53], 0
je 0x1404a0c70
mov edx, dword [rcx + 0x58]
cmp edx, eax
cmovb eax, edx
cmp eax, 2
jb 0x1404a0c70
mov rcx, qword [rcx + 0x78]
dec eax
lea rdx, [rax - 1]
lea rax, [rax + rax*4]
lea rax, [rcx + rax*4]
xor r8d, r8d
nop word cs:[rax + rax]
mov r9d, dword [rax + 0x10]
mov dword [rsp + 0x50], r9d
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
mov r9d, dword [rcx + 0x10]
mov dword [rax + 0x10], r9d
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
mov r9d, dword [rsp + 0x50]
mov dword [rcx + 0x10], r9d
movdqa xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rcx], xmm0
inc r8
mov r9d, edx
add rcx, 0x14
dec rdx
add rax, 0xffffffffffffffec
cmp r8, r9
jb 0x1404a0c20
nop dword [rax + rax]
mov rax, qword [rsi + 0x58]
mov rdx, qword [rax + 0x10]
mov qword [rsi + 0x30], rdx
mov eax, dword [rax + 0x18]
add rax, rdx
mov ecx, 0
mov qword [rsi + 0x38], rax
cmp r13d, dword [rsp + 0x34]
cmovb rcx, rdi
jae 0x1404a0cc5
sub rax, rcx
setbe r8b
cmp rdx, rcx
ja 0x1404a0ded
test r8b, r8b
jne 0x1404a0df9
mov qword [rsi + 0x30], rcx
mov edx, dword [rcx]
bswap edx
cmp rax, rdx
cmovb rdx, rax
add rdx, rcx
mov qword [rsi + 0x38], rdx
mov rcx, rdi
mov rdx, rsi
call fcn.1404ab1e0
and bl, 1
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rcx + 0x10]
mov qword [rsi + 0x30], rdx
mov ecx, dword [rcx + 0x18]
add rcx, rdx
mov qword [rsi + 0x38], rcx
test r14b, r14b
jne 0x1404a0a10
mov rdx, qword [rsi + 0x20]
mov ecx, dword [rdx + 0x58]
cmp ecx, 2
jb 0x1404a0d6a
mov r8, qword [rdx + 0x68]
lea r10d, [rcx - 1]
lea r9, [r10 - 1]
lea r10, [r10 + r10*4]
lea r10, [r8 + r10*4]
xor r11d, r11d
nop word cs:[rax + rax]
mov ebp, dword [r10 + 0x10]
mov dword [rsp + 0x50], ebp
movups xmm0, xmmword [r10]
movaps xmmword [rsp + 0x40], xmm0
mov ebp, dword [r8 + 0x10]
mov dword [r10 + 0x10], ebp
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
mov ebp, dword [rsp + 0x50]
mov dword [r8 + 0x10], ebp
movdqa xmm0, xmmword [rsp + 0x40]
movdqu xmmword [r8], xmm0
inc r11
mov r14d, r9d
add r8, 0x14
dec r9
add r10, 0xffffffffffffffec
cmp r11, r14
jb 0x1404a0d20
cmp byte [rdx + 0x53], 0
je 0x1404a0a10
mov r8d, dword [rdx + 0x58]
cmp r8d, ecx
cmovb ecx, r8d
cmp ecx, 2
jb 0x1404a0a10
mov rdx, qword [rdx + 0x78]
dec ecx
lea r8, [rcx - 1]
lea rcx, [rcx + rcx*4]
lea rcx, [rdx + rcx*4]
xor r9d, r9d
nop dword [rax]
mov r10d, dword [rcx + 0x10]
mov dword [rsp + 0x50], r10d
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
mov r10d, dword [rdx + 0x10]
mov dword [rcx + 0x10], r10d
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov r10d, dword [rsp + 0x50]
mov dword [rdx + 0x10], r10d
movdqa xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rdx], xmm0
inc r9
mov r10d, r8d
add rdx, 0x14
dec r8
add rcx, 0xffffffffffffffec
cmp r9, r10
jb 0x1404a0da0
jmp 0x1404a0a10
mov r8b, 1
test r8b, r8b
je 0x1404a0caf
mov rax, qword [rsp + 0x38]
movdqu xmmword [rax], xmm6
jmp 0x1404a0cc5
xor ebx, ebx
and bl, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1405602f0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rcx + 0x58]
cmp r9, 2
jb 0x1404a09c9
or byte [rcx + 0xb4], 0x20
mov rdx, qword [rcx + 0x68]
cmp dword [rcx + 0x1c], 2
jne 0x1404a0e63
cmp r9d, 9
jae 0x1404a0e80
mov r8d, 0xffffffff
xor eax, eax
jmp 0x1404a0fbe
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
mov r10d, dword [rdx + 8]
mov r8d, dword [rdx + rax*4 + 8]
cmp r10d, r8d
cmovb r8d, r10d
jmp 0x1404a0fe3
mov eax, r9d
and eax, 7
mov r8d, 8
cmovne r8, rax
mov rax, r9
sub rax, r8
lea r8, [rdx + 0x94]
pcmpeqd xmm1, xmm1
movdqa xmm0, xmmword [0x140599730]
mov r10, rax
pcmpeqd xmm2, xmm2
movd xmm3, dword [r8 - 0x50]
movd xmm4, dword [r8 - 0x64]
punpckldq xmm4, xmm3
movd xmm3, dword [r8 - 0x78]
movd xmm5, dword [r8 - 0x8c]
punpckldq xmm5, xmm3
punpcklqdq xmm5, xmm4
movd xmm3, dword [r8]
movd xmm4, dword [r8 - 0x14]
punpckldq xmm4, xmm3
movd xmm3, dword [r8 - 0x28]
movd xmm6, dword [r8 - 0x3c]
punpckldq xmm6, xmm3
punpcklqdq xmm6, xmm4
movdqa xmm3, xmm1
movdqa xmm4, xmm5
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm4, xmm1
pand xmm3, xmm4
pandn xmm4, xmm5
movdqa xmm1, xmm4
por xmm1, xmm3
movdqa xmm3, xmm2
movdqa xmm4, xmm6
pxor xmm4, xmm0
pxor xmm2, xmm0
pcmpgtd xmm4, xmm2
pand xmm3, xmm4
pandn xmm4, xmm6
movdqa xmm2, xmm4
por xmm2, xmm3
add r8, 0xa0
add r10, 0xfffffffffffffff8
jne 0x1404a0eb0
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
pand xmm1, xmm4
pandn xmm4, xmm2
por xmm4, xmm1
pshufd xmm1, xmm4, 0xee
movdqa xmm2, xmm4
pxor xmm2, xmm0
movdqa xmm3, xmm1
pxor xmm3, xmm0
pcmpgtd xmm3, xmm2
pand xmm4, xmm3
pandn xmm3, xmm1
por xmm3, xmm4
pshufd xmm1, xmm3, 0x55
movdqa xmm2, xmm3
pxor xmm2, xmm0
pxor xmm0, xmm1
pcmpgtd xmm0, xmm2
pand xmm3, xmm0
pandn xmm0, xmm1
por xmm0, xmm3
movd r8d, xmm0
mov r10, r9
sub r10, rax
lea rax, [rax + rax*4]
lea rax, [rdx + rax*4]
add rax, 8
mov r11d, dword [rax]
cmp r8d, r11d
cmovae r8d, r11d
add rax, 0x14
dec r10
jne 0x1404a0fd0
mov dword [rsp + 0x20], r8d
mov dword [rsp + 0x28], 2
xor r8d, r8d
call fcn.14034bed0
jmp 0x1404a09c9