Function at 0x1401e04a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rdi, rcx
xor r12d, r12d
xor edx, edx
xor ecx, ecx
call qword [0x14040d918]
test eax, eax
jns 0x1401e051a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
mov rax, rdi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
xor ecx, ecx
call qword [0x14040d920]
test eax, eax
jns 0x1401e0553
call qword [0x14040d938]
jmp 0x1401e04dd
mov qword [rbp - 0x59], r12
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, [0x14040db80]
mov r13d, 1
mov r8d, r13d
xor edx, edx
lea rcx, [0x14040db90]
call qword [0x14040d930]
test eax, eax
js 0x1401e054b
mov qword [rbp + 0x7f], r12
mov rax, qword [rbp - 0x59]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov dword [rbp - 0x69], 0x199eaaed
mov dword [rbp - 0x65], 0xfd425d01
mov word [rbp - 0x61], 0xd7e9
mov ecx, 4
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, dword [rcx + r14]
cmp dword [0x140526d5c], eax
jg 0x1401e0a06
lea r15, [0x140519240]
cmp byte [0x14051924b], r12b
je 0x1401e060a
mov r8, r12
movabs r12, 0xb00b1e5d4dd1e5bf
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r12
shr rdx, cl
xor byte [r8 + r15], dl
add r8, r13
cmp r8, 0xb
jb 0x1401e05e4
xor r12d, r12d
mov byte [0x14051924b], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401e0635
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, r15
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401e0638
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e09fb
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x59]
call rsi
mov ebx, eax
lea rcx, [rbp + 0x6f]
call fcn.1401deb40
test ebx, ebx
jns 0x1401e068f
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401e054b
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rbp + 0x7f]
call qword [0x14040d928]
test eax, eax
jns 0x1401e06c9
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401e0680
mov qword [rbp - 0x51], r12
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
movdqa xmm6, xmmword [0x1404e81e0]
movdqa xmm7, xmmword [0x1404e7e50]
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x140526d34], eax
jg 0x1401e0a5d
lea rsi, [0x140519200]
cmp byte [0x140519221], r12b
je 0x1401e0740
mov r8, r12
movabs r9, 0xb00b1e5d4dd1e5bf
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r9
shr rdx, cl
xor byte [r8 + rsi], dl
add r8, r13
cmp r8, 0x21
jb 0x1401e071d
mov byte [0x140519221], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401e076b
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, rsi
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401e076e
mov rbx, r12
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x1401e09fb
mov rsi, qword [rbx]
mov dword [rbp + 0x6f], 0x4d9db4e8
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x140526d44], eax
jg 0x1401e0aaa
lea r14, [0x140519224]
cmp byte [0x140519228], r12b
je 0x1401e07dd
mov r8, r12
movabs r12, 0xb00b1e5d4dd1e5bf
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r12
shr rdx, cl
xor byte [r8 + r14], dl
add r8, r13
cmp r8, 4
jb 0x1401e07b7
xor r12d, r12d
mov byte [0x140519228], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401e0808
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, r14
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401e080b
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e0af0
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rbx]
mov rcx, qword [rbp + 0x7f]
call r15
mov ebx, eax
lea rcx, [rbp + 0x6f]
call fcn.1401deb40
nop
lea rcx, [rbp - 0x69]
call fcn.1401deb40
test ebx, ebx
js 0x1401e06bd
mov qword [rbp - 0x49], r12
mov dword [rbp + 0x77], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], 0xf
mov byte [rbp - 0x41], r12b
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1401e09a8
or r14, 0xffffffffffffffff
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x49]
mov r8d, r13d
mov edx, r14d
call qword [rax + 0x20]
cmp dword [rbp + 0x77], r12d
je 0x1401e09a8
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, [0x1404e7a10]
call qword [rax + 0x20]
test eax, eax
js 0x1401e0991
mov rsi, qword [rbp - 0x11]
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1401e0911
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, rsi
call qword [0x14040d740]
mov qword [rbx], rax
test rax, rax
jne 0x1401e0914
test rsi, rsi
jne 0x1401e09f0
jmp 0x1401e0914
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e09e5
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1401e0936
mov rcx, qword [rbx]
call fcn.1403d27c0
mov qword [rbx + 8], rax
mov rsi, r14
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1401e0939
cmp rsi, qword [rbp - 0x29]
ja 0x1401e096e
lea rbx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rbx, qword [rbp - 0x41]
mov qword [rbp - 0x31], rsi
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.1404084f0
mov byte [rbx + rsi], r12b
jmp 0x1401e097e
mov r9, rax
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.1401411ec
nop
lea rcx, [rbp + 0x6f]
call fcn.1401deb40
lea rcx, [rbp - 0x19]
call qword [0x14040d738]
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
jne 0x1401e0886
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1401e09cb
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [0x14040d938]
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x31]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1401e04f2
mov ecx, 0x8007000e
call fcn.1403d27b0
nop
mov ecx, 0x8007000e
call fcn.1403d27b0
nop
mov ecx, 0x8007000e
call fcn.1403d27b0
int3
lea rcx, [0x140526d5c]
call fcn.1403d1794
cmp dword [0x140526d5c], 0xffffffff
jne 0x1401e05c7
mov word [0x14051924a], 0x1d1
movsd xmm0, qword [rbp - 0x69]
movsd qword [0x140519240], xmm0
movzx eax, word [rbp - 0x61]
mov word [0x140519248], ax
lea rcx, [0x14040c7a0]
call fcn.1403d1a34
lea rcx, [0x140526d5c]
call fcn.1403d1728
jmp 0x1401e05c7
lea rcx, [0x140526d34]
call fcn.1403d1794
cmp dword [0x140526d34], 0xffffffff
jne 0x1401e0700
mov word [0x140519220], 0x1bf
movaps xmmword [0x140519200], xmm6
movaps xmmword [0x140519210], xmm7
lea rcx, [0x14040c77c]
call fcn.1403d1a34
lea rcx, [0x140526d34]
call fcn.1403d1728
jmp 0x1401e0700
lea rcx, [0x140526d44]
call fcn.1403d1794
cmp dword [0x140526d44], 0xffffffff
jne 0x1401e079a
mov byte [0x140519228], r13b
mov eax, dword [rbp + 0x6f]
mov dword [0x140519224], eax
lea rcx, [0x14040c798]
call fcn.1403d1a34
lea rcx, [0x140526d44]
call fcn.1403d1728
jmp 0x1401e079a
mov ecx, 0x8007000e
call fcn.1403d27b0
int3