Function at 0x14008d230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14008d27d
mov rcx, qword [rdx]
lea rdx, [rbp - 0x38]
call qword [0x140142a38]
mov esi, eax
xorps xmm0, xmm0
test eax, eax
jne 0x14008d2ce
mov byte [rsp + 0x20], r12b
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
nop
inc rsi
cmp byte [rax + rsi], r12b
jne 0x14008d2b0
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058960
jmp 0x14008d3c6
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
cmp rsi, 0x1000
jb 0x14008d309
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14008d96e
call fcn.14013a3dc
test rax, rax
je 0x14008d8fb
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14008d314
mov rcx, rsi
call fcn.14013a3dc
mov r14, rax
mov qword [rbp - 0x50], r14
lea r15, [r14 + rsi]
mov qword [rbp - 0x40], r15
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.14013b924
mov qword [rbp - 0x48], r15
cmp qword [rbx + 0x18], 0xf
jbe 0x14008d33b
mov rbx, qword [rbx]
mov r9, r14
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [0x140142a30]
test eax, eax
jne 0x14008d3f8
mov byte [rsp + 0x20], al
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008d374
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058960
nop
test r14, r14
je 0x14008d3c6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008d3bb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d8fb
mov rdx, r15
mov rcx, r14
call fcn.14013a658
mov rax, r13
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14013a000
mov rbx, qword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [0x140162f90]
movups xmmword [rsp + 0x28], xmm0
movsd xmm0, qword [0x140162fa0]
movsd qword [rsp + 0x38], xmm0
movzx eax, byte [0x140162fa8]
mov byte [rsp + 0x40], al
xor r8d, r8d
mov ebx, dword [0x14017d0d8]
cmp ebx, 2
jl 0x14008d565
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x1401682b0]
movdqa xmm6, xmmword [0x140167fc0]
movdqa xmm0, xmmword [0x140168120]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x60]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x14008d460
cmp r8d, 0x19
jge 0x14008d5a0
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x14008d570
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [0x140142a28]
xorps xmm0, xmm0
test eax, eax
jne 0x14008d5f0
mov byte [rsp + 0x20], al
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008d5e2
jmp 0x14008d37d
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
xor r12d, r12d
lea rsi, [r12 - 1]
test dword [rbp - 0x78], 0xfffffffc
jbe 0x14008d880
nop dword [rax]
mov rax, qword [rbp - 0x80]
movzx r9d, word [rax + r12*4 + 2]
movzx r11d, word [rax + r12*4]
movups xmm0, xmmword [0x140162f60]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x140162f70]
movups xmmword [rsp + 0x38], xmm1
movsd xmm0, qword [0x140162f80]
movsd qword [rsp + 0x48], xmm0
movzx eax, word [0x140162f88]
mov word [rsp + 0x50], ax
xor ecx, ecx
cmp ebx, 2
jl 0x14008d7a2
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x1401682b0]
movdqa xmm6, xmmword [0x140167fc0]
movdqa xmm0, xmmword [0x140168120]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x14008d6a0
cmp ecx, 0x2a
jge 0x14008d7dc
movsxd rax, ecx
lea r10, [rsp + 0x28]
add r10, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r10], al
inc ecx
lea r10, [r10 + 1]
cmp ecx, 0x2a
jl 0x14008d7b0
mov r8d, r11d
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call fcn.14008e790
lea rax, [rbp - 0x30]
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x14008d7f4
mov rax, qword [rbp - 0x58]
cmp rdi, rax
ja 0x14008d832
lea rbx, [rbp - 0x70]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdi
mov r8, rdi
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.14013b936
mov byte [rbx + rdi], 0
mov ebx, dword [0x14017d0d8]
jmp 0x14008d842
lea r9, [rbp - 0x30]
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140060420
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov rcx, r14
call qword [0x140142a28]
test eax, eax
jne 0x14008d902
inc r12d
mov eax, dword [rbp - 0x78]
shr eax, 2
cmp r12d, eax
jb 0x14008d620
nop dword [rax]
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
lea rax, [rsp + 0x20]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14008d8a2
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140058960
nop
lea rcx, [rbp - 0x70]
call fcn.14003cfb0
nop
test r14, r14
je 0x14008d3c6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008d3bb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d3bb
call qword [0x140142db0]
nop
mov r8d, dword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor r12d, r12d
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
mov rdx, qword [rsp + 0x78]
mov rcx, r13
call fcn.140058960
nop
lea rcx, [rbp - 0x70]
call fcn.14003cfb0
nop
test r14, r14
je 0x14008d3c6
sub r15, r14
mov rax, r14
cmp r15, 0x1000
jb 0x14008d3bb
add r15, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d3bb
call qword [0x140142db0]
int3
call fcn.1400242c0
int3