Function at 0x140016b80
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 - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp - 9], rax
mov eax, dword [0x14006750c]
mov dword [rsp + 0x20], eax
movzx eax, word [0x140067510]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x2a
xor byte [rsp + 0x21], 0x31
xor byte [rsp + 0x22], 0x32
xor byte [rsp + 0x23], 0x33
xor byte [rsp + 0x24], 0x34
xor byte [rsp + 0x25], 0x35
xor edi, edi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov ebx, 0xf
mov qword [rbp - 0x31], rbx
mov byte [rbp - 0x49], dil
lea rax, [rsp + 0x20]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140016c20
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.1400050f0
nop
movups xmm0, xmmword [0x140067518]
movups xmmword [rbp - 0x69], xmm0
movsd xmm1, qword [0x140067528]
movsd qword [rbp - 0x59], xmm1
mov eax, dword [0x140067530]
mov dword [rbp - 0x51], eax
cmp byte [0x140067533], 0
je 0x140016e0e
mov ecx, edi
cmp dword [0x140078040], 2
jl 0x140016dcc
movdqa xmm5, xmmword [0x140065cf0]
movdqa xmm4, xmmword [0x14006eef0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.3333]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x65]
mov r8d, dword [rbp - 0x79]
nop word [rax + 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
paddd xmm1, xmm2
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 [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor 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
paddd xmm1, xmm3
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 [0x140065d20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140016cc0
cmp ecx, 0x1c
jge 0x140016e0e
movsxd rax, ecx
lea r8, [rbp - 0x69]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1c
jl 0x140016de0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rbx
mov byte [rbp - 0x29], 0
lea rax, [rbp - 0x69]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140016e25
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400050f0
nop
movabs r8, 0x7fffffffffffffff
mov rax, r8
mov r15, qword [rbp - 0x19]
sub rax, r15
mov rcx, qword [rbp - 0x39]
cmp rax, rcx
jb 0x14001705d
lea rax, [rbp - 0x29]
mov r14, qword [rbp - 0x29]
mov r13, qword [rbp - 0x11]
cmp r13, 0x10
cmovae rax, r14
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x49]
mov rsi, qword [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, rsi
mov qword [rbp - 0x79], rdx
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x51], rdi
lea r12, [rcx + r15]
lea rdi, [rbp - 0x69]
cmp r12, 0xf
jbe 0x140016f2d
mov rbx, r12
or rbx, 0xf
cmp rbx, r8
jbe 0x140016ebb
mov rbx, r8
jmp 0x140016ec7
mov ecx, 0x16
cmp rbx, rcx
cmovb rbx, rcx
mov rcx, rbx
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140016f13
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140017057
mov rcx, rax
call fcn.1400612a4
test rax, rax
je 0x140016f95
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov rax, qword [rsp + 0x20]
jmp 0x140016f29
test rcx, rcx
je 0x140016f27
call fcn.1400612a4
mov rdi, rax
mov rax, qword [rsp + 0x20]
jmp 0x140016f29
xor edi, edi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], rbx
mov r8, r15
mov rdx, rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r15 + rdi]
mov r8, qword [rbp - 0x39]
mov rdx, qword [rbp - 0x79]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
lea rcx, [rbp - 0x69]
call fcn.14000af40
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140016fa2
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016f9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400612e0
nop
cmp r13, 0x10
jb 0x140016fdd
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140016fd4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140016fd4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400612e0
nop
mov rax, qword [rbp - 0x31]
cmp rax, 0x10
jb 0x14001701b
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140017013
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400612e0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0xe0]
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.140001220
nop
call fcn.140001240
int3