Function at 0x1400bf380
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140cf0080]
xor rax, rsp
mov qword [rbp + 0x158], rax
lea rcx, [0x141309c10]
call fcn.1400e4110
xor edi, edi
mov qword [rbp + 0xd0], rdi
movdqa xmm0, xmmword [0x140cd17a0]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], dil
lea rdx, [0x1400bd710]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov r10, rax
mov ecx, dword [0x140ccec3c]
mov dword [rbp + 0x70], ecx
lea r12d, [rdi + 4]
lea r13d, [rdi + 0x1f]
mov r15d, dword [0x140cf0090]
cmp byte [0x140ccec3f], dil
je 0x1400bf4f8
mov r8d, edi
cmp r15d, 2
jl 0x1400bf4c0
movdqa xmm3, xmmword [0x140cd1850]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140cd2e90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140cd2e90]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140cd18b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140cd2010]
movd xmm0, ecx
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
jmp 0x1400bf4f8
lea r9, [rbp + 0x70]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, r12d
jl 0x1400bf4d0
lea rdx, [rbp + 0x70]
mov rcx, r10
call fcn.14000c4a0
lea rdx, [0x1400bd7d0]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov r10, rax
movups xmm0, xmmword [0x140ccee08]
movups xmmword [rbp + 0x90], xmm0
movzx ecx, byte [0x140ccee18]
mov byte [rbp + 0xa0], cl
mov r8d, edi
cmp r15d, 2
jl 0x1400bf689
movdqa xmm5, xmmword [0x140cd1850]
movdqa xmm4, xmmword [0x140cd2e90]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140cd18b0]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140cd2010]
movdqa xmmword [rbp + 0x80], xmm0
lea rcx, [rbp + 0x94]
mov edx, dword [rbp + 0x80]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400bf582
cmp r8d, 0x11
jge 0x1400bf6d2
movsxd rax, r8d
lea r9, [rbp + 0x90]
add r9, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x34
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1400bf6a0
lea rdx, [rbp + 0x90]
mov rcx, r10
call fcn.14000c4a0
lea rdx, [rbp + 0xd0]
mov rcx, qword [0x140148550]
call fcn.1400c5900
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xf0]
call fcn.14002c950
mov rdx, rax
lea rcx, [0x141309c10]
call fcn.1400e8720
cmp byte [0x141309e28], 0
jne 0x1400bfa05
lea rcx, [0x140ccee70]
call qword [0x140148c58]
lea rdx, [0x1400bd710]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov r11, rax
lea rdx, [rbp + 0x70]
call fcn.1400bffa0
mov r10, rax
cmp byte [rax + 3], 0
je 0x1400bf828
mov r8d, edi
cmp r15d, 2
jl 0x1400bf7f0
movdqa xmm3, xmmword [0x140cd1850]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140cd2e90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140cd2e90]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140cd18b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140cd2010]
movd xmm0, dword [rax]
pxor xmm2, xmm0
movd dword [rax], xmm2
jmp 0x1400bf828
mov r9, r10
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, r12d
jl 0x1400bf800
mov rdx, r10
mov rcx, r11
call fcn.14000c4a0
mov r10, qword [0x140148630]
lea rdx, [rbp + 0x90]
call fcn.1400bffb0
mov r9, rax
cmp byte [rax + 0x14], 0
je 0x1400bf9df
cmp r15d, 2
jl 0x1400bf9a2
movdqa xmm5, xmmword [0x140cd1850]
movdqa xmm4, xmmword [0x140cd2e90]
movd xmm6, r12d
movdqa xmm7, xmmword [0x140cd18b0]
movd xmm8, r13d
movdqa xmm0, xmmword [0x140cd2010]
movdqa xmmword [rbp + 0x80], xmm0
mov rcx, rax
mov edx, dword [rbp + 0x80]
nop dword [rax + rax]
movd xmm2, edi
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdi + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x10
jl 0x1400bf8a0
cmp edi, 0x15
jge 0x1400bf9df
movsxd r8, edi
add r8, r9
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, dil
xor byte [r8], dl
inc edi
lea r8, [r8 + 1]
cmp edi, 0x15
jl 0x1400bf9b0
mov rdx, r9
mov rcx, r10
call fcn.14000c4a0
mov byte [0x1412d7aa7], 1
mov ecx, 0x5dc
call qword [0x140148428]
xor ecx, ecx
call qword [0x140148e20]
int3
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.14002c950
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 0xf
mov r8d, 0x1a
lea rdx, [0x140ccee70]
lea rcx, [rbp + 0x90]
call fcn.14002ca90
lea rax, [rbp + 0x90]
mov qword [rbp + 0x80], rax
mov r8d, 2
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.1400709f0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400bfa90
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140036dc0
lea rcx, [rsp + 0x68]
call fcn.140033cd0
test rax, rax
jne 0x1400bfacc
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x140148658]
nop
lea rcx, [rsp + 0x60]
call fcn.14002e2d0
nop
lea rcx, [rbp + 0x90]
call fcn.14002ca30
nop
mov rcx, rbx
call fcn.14002ca30
mov ecx, 0x1f4
call qword [0x140148428]
lea rdx, [0x1400bd6e0]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov byte [0x1412d7aa7], 0
mov qword [rbp + 0xf0], rdi
movdqa xmm0, xmmword [0x140cd17a0]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
mov rsi, qword [0x141309df0]
mov r14, qword [0x141309df8]
cmp rsi, r14
je 0x1400bfbf6
movabs r12, 0x7fffffffffffffff
lea r13, [0x140ccc02c]
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
mov rcx, qword [rsi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x1400bff8d
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400bfb81
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov r8, rsi
movzx edx, bl
lea rcx, [rbp + 0x90]
call fcn.140071660
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp + 0xf0]
call fcn.14002cbf0
nop
lea rcx, [rbp + 0x90]
call fcn.14002ca30
add rsi, 0x20
cmp rsi, r14
jne 0x1400bfb60
mov r12d, 4
lea r13d, [r12 + 0x1b]
lea rcx, [0x141309e08]
cmp qword [0x141309e20], 0x10
cmovae rcx, qword [0x141309e08]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [0x140148c30]
movsxd rcx, eax
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x130]
call qword [0x140149010]
lea rcx, [rbp + 0x130]
call qword [0x140149028]
mov rbx, rax
call qword [0x1401486a0]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
sub rbx, rdx
movabs rax, 0x1845c8a0ce512957
imul rbx
mov rbx, rdx
sar rbx, 0xd
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea rdx, [0x1400bd710]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov r10, rax
mov ecx, dword [0x140ccec3c]
mov dword [rbp + 0x70], ecx
cmp byte [0x140ccec3f], 0
je 0x1400bfd79
mov r8d, edi
cmp r15d, 2
jl 0x1400bfd4c
movdqa xmm3, xmmword [0x140cd1850]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140cd2e90]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140cd2e90]
shufps xmm2, xmm0, 0xdd
movd xmm0, r12d
psrad xmm2, xmm0
movd xmm0, r13d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140cd18b0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140cd1db0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140cd2010]
movd xmm0, ecx
pxor xmm2, xmm0
movd dword [rbp + 0x70], xmm2
jmp 0x1400bfd79
lea r9, [rbp + 0x70]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400bfd50
lea rdx, [rbp + 0x70]
mov rcx, r10
call fcn.14000c4a0
lea rdx, [0x1400bd770]
mov rcx, qword [0x140148630]
call qword [0x140148680]
mov rsi, rax
mov dword [rbp + 0x70], 0x5b40643f
mov word [rbp + 0x74], 0x50
mov byte [rbp + 0x76], 1
mov rdx, rdi
lea ecx, [rdx + 0x1f]
xor byte [rbp + rdx + 0x70], cl
inc rdx
cmp rdx, 5
jb 0x1400bfdb0
mov byte [rbp + 0x76], 0
mov edx, ebx
lea rcx, [rbp + 0x110]
call fcn.14000edf0
mov r10, rax
mov dword [rbp + 0x80], 0x676c694b
mov dword [rbp + 0x84], 0x60606803
mov dword [rbp + 0x88], 0x130873
mov byte [rbp + 0x8c], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx + 0x1f]
xor byte [rbp + rcx + 0x80], al
inc rcx
cmp rcx, 0xb
jb 0x1400bfe00
mov byte [rbp + 0x8c], 0
lea rax, [rbp + 0x80]
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400bfe30
lea r8, [rbp + 0x80]
xor edx, edx
mov rcx, r10
call fcn.14003a830
mov qword [rbp + 0xb0], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp + 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bfe85
mov r8, rbx
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14002cbf0
mov qword [rbp + 0x90], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
mov rcx, rsi
call fcn.140036dc0
lea rdx, [0x14000c670]
mov rcx, rax
call qword [0x140148680]
nop
lea rcx, [rbp + 0x90]
call fcn.14002ca30
nop
lea rcx, [rbp + 0xb0]
call fcn.14002ca30
nop
lea rcx, [rbp + 0x110]
call fcn.14002ca30
nop
lea rcx, [rbp + 0xf0]
call fcn.14002ca30
nop
lea rcx, [rbp + 0xd0]
call fcn.14002ca30
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.14013c780
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000edd0
nop
int3