Function at 0x140066810
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x128]
sub rsp, 0x220
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140321600]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r14d, r14d
lea ecx, [r14 + 8]
call fcn.1402142bc
lea rcx, [0x1400661d0]
mov qword [rax], rcx
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140074670]
xor edx, edx
xor ecx, ecx
call fcn.140227c2c
mov qword [rbp + 0x10], rax
test rax, rax
je 0x14006741d
call qword [0x1402583c0]
mov rsi, rax
movups xmm0, xmmword [0x1402f80e8]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1402f80f8]
movups xmmword [rsp + 0x50], xmm1
mov edi, dword [0x140321648]
psrldq xmm1, 0xf
movd ecx, xmm1
test cl, cl
je 0x140066a50
cmp edi, 2
jl 0x140066a0f
movdqa xmm5, xmmword [0x1402f81f0]
mov edx, r14d
movdqa xmm4, xmmword [0x1402f82d0]
movdqa xmm6, xmmword [0x1402f8200]
movdqa xmm0, xmmword [0x1402f82c0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x40]
mov r8d, dword [rbp - 0x40]
nop word [rax + rax]
movd xmm2, edx
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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x140066910
jmp 0x140066a50
lea r9, [rsp + 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x140066a20
lea rcx, [rsp + 0x40]
call qword [0x1402582c8]
call qword [0x1402583c0]
mov rbx, rax
mov edx, 0xfffffff0
mov rcx, rax
call qword [0x140258670]
btr eax, 0x13
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [0x140258660]
mov ecx, 0xfffffff5
call qword [0x1402582d8]
mov rbx, rax
mov dword [rbp + 0x90], 0x54
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, rax
call qword [0x140258370]
mov r9d, 2
mov r8b, 0xe4
xor edx, edx
mov rcx, rsi
call qword [0x140258650]
mov dword [rbp + 0x98], 0xe000e
movups xmm0, xmmword [0x1402f8030]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1402f8040]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x1402f8050]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1402f8058]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1402f805c]
mov word [rsp + 0x6c], ax
mov r8d, r14d
cmp edi, 2
jl 0x140066c2f
movdqa xmm5, xmmword [0x1402f81f0]
movdqa xmm4, xmmword [0x1402f82d0]
movdqa xmm6, xmmword [0x1402f8200]
movdqa xmm7, xmmword [0x1402f8260]
lea rcx, [rsp + 0x40]
nop dword [rax]
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x140066b40
cmp r8d, 0x17
jge 0x140066c74
movsxd rax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x17
jl 0x140066c40
lea r8, [rsp + 0x40]
mov edx, 0x20
lea rcx, [rbp + 0xa4]
call fcn.140227d14
lea r8, [rbp + 0x90]
xor edx, edx
mov rcx, rbx
call qword [0x1402582e0]
movups xmm0, xmmword [0x1402f7898]
movups xmmword [rbp - 0x28], xmm0
movsd xmm0, qword [0x1402f78a8]
movsd qword [rbp - 0x18], xmm0
movzx eax, word [0x1402f78b0]
mov word [rbp - 0x10], ax
cmp byte [0x1402f78b1], 0
je 0x140066e50
mov r8d, r14d
cmp edi, 2
jl 0x140066e15
movdqa xmm5, xmmword [0x1402f81f0]
movdqa xmm4, xmmword [0x1402f82d0]
movdqa xmm6, xmmword [0x1402f8200]
movdqa xmm0, xmmword [0x1402f82c0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x28]
mov edx, dword [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140066d10
cmp r8d, 0x1a
jge 0x140066e50
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140066e20
lea rcx, [rbp - 0x28]
call fcn.1402293a8
lea rcx, [0x14032b7d0]
call fcn.1400613a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
lea rcx, [0x1402f6030]
call fcn.1402293a8
movups xmm0, xmmword [0x1402f8110]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1402f8120]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1402f8130]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1402f8140]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x1402f8150]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x1402f8160]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x1402f8168]
mov word [rbp - 0x68], ax
mov r8d, r14d
cmp edi, 2
jl 0x140067025
movdqa xmm5, xmmword [0x1402f81f0]
movdqa xmm4, xmmword [0x1402f82d0]
movdqa xmm6, xmmword [0x1402f8200]
movdqa xmm0, xmmword [0x1402f82c0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp - 0x40]
nop dword [rax]
nop dword [rax + rax]
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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x58
jl 0x140066f20
cmp r8d, 0x5a
jge 0x140067060
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x5a
jl 0x140067030
lea rdx, [rsp + 0x40]
call fcn.14006aa70
movups xmm0, xmmword [0x1402f7708]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1402f7718]
movups xmmword [rsp + 0x50], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x140067210
cmp edi, 2
jl 0x1400671cf
movdqa xmm5, xmmword [0x1402f81f0]
mov edx, r14d
movdqa xmm4, xmmword [0x1402f82d0]
movdqa xmm6, xmmword [0x1402f8200]
movdqa xmm0, xmmword [0x1402f82c0]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rsp + 0x40]
mov r8d, dword [rbp - 0x40]
nop dword [rax]
movd xmm2, edx
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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdx + 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 [0x1402f8270]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x20
jl 0x1400670d0
jmp 0x140067210
lea r9, [rsp + 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x1400671e0
lea rdx, [rsp + 0x40]
call fcn.14006aa70
lea rdx, [rbp - 0x28]
call fcn.14006b1d0
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x40]
call fcn.140068790
mov rdx, rax
lea rcx, [0x14032b7d0]
call fcn.140062850
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
mov eax, dword [0x1402f81a4]
mov dword [rbp - 0x40], eax
movzx ecx, word [0x1402f81a8]
mov word [rbp - 0x3c], cx
movzx eax, byte [0x1402f81aa]
mov byte [rbp - 0x40], 0x34
xor byte [rbp - 0x3f], 0x31
xor byte [rbp - 0x3e], 0x32
xor byte [rbp - 0x3d], 0x33
xor cl, 0x34
mov byte [rbp - 0x3c], cl
xor byte [rbp - 0x3b], 0x35
xor al, 0x36
mov byte [rbp - 0x3a], al
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400672a1
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.14006ba60
lea r8, [rsp + 0x40]
lea rdx, [rbp - 8]
lea rcx, [0x14032b7d0]
call fcn.140063d90
call qword [0x1402583c0]
mov dword [rbp - 0x30], r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
xorps xmm1, xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x70], xmm1
mov qword [rbp + 0x80], rax
mov word [rsp + 0x30], r14w
lea r9, [rsp + 0x30]
mov r8, qword [rbp - 8]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140066500
test eax, eax
jne 0x140067358
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [0x140258300]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x60]
call qword [0x1402583e0]
mov rcx, qword [rbp - 0x58]
call qword [0x140258358]
mov rcx, qword [rbp - 0x60]
call qword [0x140258358]
mov ebx, dword [rbp - 0x30]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400673a1
mov rdx, qword [rbp + 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067390
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006742c
call fcn.1402141c0
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r14
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400673d9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400673d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067432
call fcn.1402141c0
nop
cmp dword [rbp + 0x18], 0
jne 0x140067417
mov eax, ebx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1402141a0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1402294f0
nop
mov dword [rbp + 0x18], r14d
mov ecx, 6
call fcn.140211708
nop
call fcn.140229330
nop
call fcn.140229330
int3