Function at 0x1401dfe2c
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, 0xf0
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 0x1401dfea2
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 + 0xf0]
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 0x1401dfedb
call qword [0x14040d938]
jmp 0x1401dfe65
mov qword [rbp - 0x69], r12
lea rax, [rbp - 0x69]
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 0x1401dfed3
mov qword [rbp + 0x7f], r12
mov rax, qword [rbp - 0x69]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov dword [rbp - 0x79], 0x199eaaed
mov dword [rbp - 0x75], 0xfd425d01
mov word [rbp - 0x71], 0xd7e9
mov ecx, 4
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, dword [rcx + r14]
cmp dword [0x140526dc0], eax
jg 0x1401e039b
lea r15, [0x140519348]
cmp byte [0x140519353], r12b
je 0x1401dff92
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 0x1401dff6c
xor r12d, r12d
mov byte [0x140519353], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401dffbd
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, r15
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401dffc0
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e0390
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 - 0x69]
call rsi
mov ebx, eax
lea rcx, [rbp + 0x6f]
call fcn.1401deb40
test ebx, ebx
jns 0x1401e0017
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401dfed3
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 0x1401e0051
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401e0008
mov qword [rbp - 0x61], r12
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
movdqa xmm6, xmmword [0x1404e81e0]
movdqa xmm7, xmmword [0x1404e7ec0]
mov dword [rbp - 0x11], 0x21bd8acd
mov word [rbp - 0xd], 0x6c38
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x140526d50], eax
jg 0x1401e03f2
lea rsi, [0x1405190b0]
cmp byte [0x1405190d7], r12b
je 0x1401e00d5
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, 0x27
jb 0x1401e00b2
mov byte [0x1405190d7], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401e0100
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, rsi
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401e0103
mov rbx, r12
mov qword [rbp - 0x79], rbx
test rbx, rbx
je 0x1401e0390
mov rsi, qword [rbx]
mov dword [rbp + 0x6f], 0x4d9db4e8
mov eax, 4
mov eax, dword [rax + r14]
cmp dword [0x140526dc8], eax
jg 0x1401e0453
lea r14, [0x1405191f0]
cmp byte [0x1405191f4], r12b
je 0x1401e0172
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 0x1401e014c
xor r12d, r12d
mov byte [0x1405191f4], r12b
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x1401e019d
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, r14
call fcn.1403d28e0
mov qword [rbx], rax
jmp 0x1401e01a0
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e0499
lea rax, [rbp - 0x61]
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 - 0x79]
call fcn.1401deb40
test ebx, ebx
js 0x1401e0045
mov qword [rbp - 0x59], r12
mov dword [rbp + 0x77], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], r12b
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401e033d
or r14, 0xffffffffffffffff
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x59]
mov r8d, r13d
mov edx, r14d
call qword [rax + 0x20]
cmp dword [rbp + 0x77], r12d
je 0x1401e033d
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x31]
xor r8d, r8d
lea rdx, [0x1404e7a10]
call qword [rax + 0x20]
test eax, eax
js 0x1401e0326
mov rsi, qword [rbp - 0x29]
mov ecx, 0x18
call fcn.1403d1a54
mov rbx, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1401e02a6
mov qword [rax + 8], r12
mov dword [rax + 0x10], r13d
mov rcx, rsi
call qword [0x14040d740]
mov qword [rbx], rax
test rax, rax
jne 0x1401e02a9
test rsi, rsi
jne 0x1401e0385
jmp 0x1401e02a9
mov rbx, r12
mov qword [rbp + 0x6f], rbx
test rbx, rbx
je 0x1401e037a
mov rax, qword [rbx + 8]
test rax, rax
jne 0x1401e02cb
mov rcx, qword [rbx]
call fcn.1403d27c0
mov qword [rbx + 8], rax
mov rsi, r14
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1401e02ce
cmp rsi, qword [rbp - 0x39]
ja 0x1401e0303
lea rbx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rbx, qword [rbp - 0x51]
mov qword [rbp - 0x41], rsi
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.1404084f0
mov byte [rbx + rsi], r12b
jmp 0x1401e0313
mov r9, rax
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.1401411ec
nop
lea rcx, [rbp + 0x6f]
call fcn.1401deb40
lea rcx, [rbp - 0x31]
call qword [0x14040d738]
mov rcx, qword [rbp - 0x59]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
jne 0x1401e021b
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401e0360
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [0x14040d938]
movups xmm0, xmmword [rbp - 0x51]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x41]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1401dfe7a
mov ecx, 0x8007000e
call fcn.1403d27b0
nop
mov ecx, 0x8007000e
call fcn.1403d27b0
nop
mov ecx, 0x8007000e
call fcn.1403d27b0
int3
lea rcx, [0x140526dc0]
call fcn.1403d1794
cmp dword [0x140526dc0], 0xffffffff
jne 0x1401dff4f
mov word [0x140519352], 0x1d1
movsd xmm0, qword [rbp - 0x79]
movsd qword [0x140519348], xmm0
movzx eax, word [rbp - 0x71]
mov word [0x140519350], ax
lea rcx, [0x14040c764]
call fcn.1403d1a34
lea rcx, [0x140526dc0]
call fcn.1403d1728
jmp 0x1401dff4f
lea rcx, [0x140526d50]
call fcn.1403d1794
cmp dword [0x140526d50], 0xffffffff
jne 0x1401e0095
mov word [0x1405190d6], 0x10b
movaps xmmword [0x1405190b0], xmm6
movaps xmmword [0x1405190c0], xmm7
mov eax, dword [rbp - 0x11]
mov dword [0x1405190d0], eax
movzx eax, word [rbp - 0xd]
mov word [0x1405190d4], ax
lea rcx, [0x14040c734]
call fcn.1403d1a34
lea rcx, [0x140526d50]
call fcn.1403d1728
jmp 0x1401e0095
lea rcx, [0x140526dc8]
call fcn.1403d1794
cmp dword [0x140526dc8], 0xffffffff
jne 0x1401e012f
mov byte [0x1405191f4], r13b
mov eax, dword [rbp + 0x6f]
mov dword [0x1405191f0], eax
lea rcx, [0x14040c75c]
call fcn.1403d1a34
lea rcx, [0x140526dc8]
call fcn.1403d1728
jmp 0x1401e012f
mov ecx, 0x8007000e
call fcn.1403d27b0
int3