Function at 0x140002510
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140165020]
xor rax, rsp
mov qword [rbp + 0xf], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov ecx, 0x131c27
call fcn.140008250
test rax, rax
je 0x140002abc
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rbp - 0x19], rcx
lea rdi, [rcx + 0x131c00]
mov qword [rbp - 9], rdi
mov r8d, 0x131c00
lea rdx, [0x14002e370]
call fcn.14000a2f0
mov qword [rbp - 0x11], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
lea r8d, [rbx + 0xc]
lea rdx, [0x14002e258]
lea rcx, [rbp - 0x49]
call fcn.1400039c0
mov r8d, ebx
mov r11, qword [rbp - 0x31]
mov r10, qword [rbp - 0x49]
mov r9, qword [rbp - 0x19]
cmp qword [rbp - 0x11], r9
je 0x140002613
mov rdi, qword [rbp - 0x39]
nop
lea rcx, [rbp - 0x49]
cmp r11, 0x10
cmovae rcx, r10
xor edx, edx
mov rax, r8
div rdi
movzx eax, byte [r9 + r8]
xor al, byte [rdx + rcx]
mov byte [r9 + r8], al
inc r8
mov rax, qword [rbp - 0x11]
mov r9, qword [rbp - 0x19]
sub rax, r9
cmp r8, rax
jb 0x1400025e0
cmp r11, 0x10
jb 0x14000264a
lea rdx, [r11 + 1]
mov rax, r10
cmp rdx, 0x1000
jb 0x140002642
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ab6
mov rcx, r10
call fcn.1400084e4
movups xmm0, xmmword [0x140160010]
movups xmmword [rbp - 0x49], xmm0
mov eax, dword [0x140160020]
mov dword [rbp - 0x39], eax
mov r14d, 5
lea r15d, [r14 + 0x1a]
mov esi, dword [0x140165030]
cmp byte [0x140160023], 0
je 0x140002813
mov r8d, ebx
cmp esi, 2
jl 0x1400027cb
movdqa xmm5, xmmword [0x1401600e0]
movdqa xmm4, xmmword [0x140160150]
movd xmm6, r14d
movdqa xmm7, xmmword [0x140160110]
movd xmm8, r15d
movdqa xmm0, xmmword [0x140160130]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x59]
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
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
andps xmm2, xmmword [0x140160120]
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
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
andps xmm2, xmmword [0x140160120]
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, 0x10
jl 0x1400026c0
cmp r8d, 0x14
jge 0x140002813
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x14
jl 0x1400027e0
lea rdx, [rbp - 0x49]
call fcn.140001c90
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000284c
mov dword [rbp - 0x21], ebx
mov r9, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
sub r9, r8
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.140002020
mov rdx, rdi
call fcn.1400022a0
lea rdx, [0x14002e268]
lea rcx, [rbp - 1]
call qword [0x1400242d0]
lea r9, [rbp - 0x29]
lea r8, [rbp - 1]
xor edx, edx
xor ecx, ecx
call qword [0x1400242d8]
test eax, eax
js 0x140002a48
mov rax, qword [0x14015ff90]
mov qword [rbp - 0x59], rax
cmp byte [0x14015ff97], 0
je 0x1400029d0
cmp esi, 2
jl 0x14000299e
movdqa xmm4, xmmword [0x140160150]
movd xmm6, r14d
movd xmm5, r15d
movdqa xmm2, xmmword [0x1401600e0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
mov eax, dword [0x140160130]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x59]
xorps xmm2, xmm1
movd dword [rbp - 0x59], xmm2
movdqa xmm3, xmmword [0x1401600f0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140160110]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140160120]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
jmp 0x1400029d0
lea r8, [rbp - 0x59]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x33
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x1400029a2
lea r8, [rbp - 0x59]
mov rdx, qword [rbp - 0x29]
call fcn.1400014a0
test rax, rax
je 0x1400029e4
call rax
call fcn.140001a30
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov rdx, rax
call fcn.140001770
test eax, eax
js 0x140002a12
mov rdx, qword [rbp - 0x29]
call fcn.140001550
mov eax, dword [0x14002e344]
mov dword [rbp - 0x59], eax
movzx eax, word [0x14002e348]
mov word [rbp - 0x55], ax
mov byte [rbp - 0x59], 0x61
xor byte [rbp - 0x58], 0x34
xor byte [rbp - 0x57], 0x35
xor byte [rbp - 0x56], 0x36
xor byte [rbp - 0x55], 0x37
xor byte [rbp - 0x54], 0x38
lea rcx, [rbp - 0x59]
call fcn.14000eda4
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140002a7e
mov rdx, qword [rbp - 9]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002abc
call fcn.1400084e4
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140008230
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000f5c4
nop
call fcn.14000f5c4
int3