Function at 0x1401e2268
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x208
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rdi, rcx
mov dword [rsp + 0x70], 0x40
lea rcx, [rsp + 0x70]
call qword [0x14051e618]
mov rax, qword [rsp + 0x78]
and rax, 0xffffffffc0000000
mov ecx, 0xc0000000
cmp rax, rcx
jb 0x1401e2739
lea rcx, [rbp - 0x50]
call qword [0x14040d5c0]
mov r15d, 4
lea r8, [rbp + 0x148]
lea rdx, [rbp - 0x20]
mov ecx, 5
call qword [0x14040d2e8]
xor esi, esi
movabs r12, 0xb00b1e5d4dd1e5bf
test eax, eax
je 0x1401e2474
mov dword [rbp + 0x150], 0x2ca6a8e9
mov word [rbp + 0x154], 0x7b2f
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [r15 + rbx]
cmp dword [0x140526d68], eax
jle 0x1401e2371
lea rcx, [0x140526d68]
call fcn.1403d1794
cmp dword [0x140526d68], 0xffffffff
jne 0x1401e2371
mov word [0x14051941e], 0x10b
mov eax, dword [rbp + 0x150]
mov dword [0x140519418], eax
movzx eax, word [rbp + 0x154]
mov word [0x14051941c], ax
lea rcx, [0x14040c884]
call fcn.1403d1a34
lea rcx, [0x140526d68]
call fcn.1403d1728
lea rdx, [0x140519418]
cmp byte [0x14051941f], sil
je 0x1401e23a7
mov r9, rsi
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r12
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 7
jb 0x1401e2384
mov byte [0x14051941f], sil
lea rcx, [rbp - 0x20]
call fcn.1403d3b74
test rax, rax
jne 0x1401e2739
mov dword [rsp + 0x20], 0x39a38ce9
mov dword [rsp + 0x24], 0xf2677f28
mov word [rsp + 0x28], 0x9dd0
mov eax, dword [r15 + rbx]
cmp dword [0x140526d38], eax
jle 0x1401e242c
lea rcx, [0x140526d38]
call fcn.1403d1794
cmp dword [0x140526d38], 0xffffffff
jne 0x1401e242c
mov word [0x1405190fa], 0x1d1
movsd xmm0, qword [rsp + 0x20]
movsd qword [0x1405190f0], xmm0
movzx eax, word [rsp + 0x28]
mov word [0x1405190f8], ax
lea rcx, [0x14040c86c]
call fcn.1403d1a34
lea rcx, [0x140526d38]
call fcn.1403d1728
lea rdx, [0x1405190f0]
cmp byte [0x1405190fb], sil
je 0x1401e2462
mov r9, rsi
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r12
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0xb
jb 0x1401e243f
mov byte [0x1405190fb], sil
lea rcx, [rbp - 0x20]
call fcn.1403d3b74
test rax, rax
jne 0x1401e2739
lea rcx, [rsp + 0x50]
call fcn.1401dfe2c
nop
movdqa xmm6, xmmword [0x1404e7f60]
mov dword [rsp + 0x40], 0x2eb88dcf
mov dword [rsp + 0x44], 0xd44a3e2e
mov dword [rsp + 0x48], 0x28a595de
mov word [rsp + 0x4c], 0x1e2f
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [r15 + rbx]
cmp dword [0x140526d7c], eax
jle 0x1401e251d
lea rcx, [0x140526d7c]
call fcn.1403d1794
cmp dword [0x140526d7c], 0xffffffff
jne 0x1401e251d
mov byte [0x1405190ae], 1
movaps xmmword [0x140519090], xmm6
movsd xmm0, qword [rsp + 0x40]
movsd qword [0x1405190a0], xmm0
mov eax, dword [rsp + 0x48]
mov dword [0x1405190a8], eax
movzx eax, word [rsp + 0x4c]
mov word [0x1405190ac], ax
lea rcx, [0x14040c848]
call fcn.1403d1a34
lea rcx, [0x140526d7c]
call fcn.1403d1728
lea rdx, [0x140519090]
cmp byte [0x1405190ae], sil
je 0x1401e2553
mov r9, rsi
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r12
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0x1e
jb 0x1401e2530
mov byte [0x1405190ae], sil
lea rcx, [rsp + 0x50]
call fcn.1401374d4
cmp rax, 0xffffffffffffffff
jne 0x1401e26e9
mov dword [rbp + 0x150], 0x6db580ed
mov dword [rbp + 0x154], 0xb07f7f15
mov eax, dword [r15 + rbx]
cmp dword [0x140526da8], eax
jle 0x1401e25c9
lea rcx, [0x140526da8]
call fcn.1403d1794
cmp dword [0x140526da8], 0xffffffff
jne 0x1401e25c9
mov byte [0x140519438], 1
mov rax, qword [rbp + 0x150]
mov qword [0x140519430], rax
lea rcx, [0x14040c83c]
call fcn.1403d1a34
lea rcx, [0x140526da8]
call fcn.1403d1728
lea rdx, [0x140519430]
cmp byte [0x140519438], sil
je 0x1401e25ff
mov r9, rsi
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r12
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 8
jb 0x1401e25dc
mov byte [0x140519438], sil
lea rcx, [rsp + 0x50]
call fcn.1401374d4
cmp rax, 0xffffffffffffffff
jne 0x1401e26e9
movdqa xmm6, xmmword [0x1404e7d00]
movdqa xmm7, xmmword [0x1404e7dc0]
mov eax, dword [r15 + rbx]
cmp dword [0x140526d94], eax
jle 0x1401e2671
lea rcx, [0x140526d94]
call fcn.1403d1794
cmp dword [0x140526d94], 0xffffffff
jne 0x1401e2671
mov byte [0x140519460], 1
movaps xmmword [0x140519440], xmm6
movaps xmmword [0x140519450], xmm7
lea rcx, [0x14040c828]
call fcn.1403d1a34
lea rcx, [0x140526d94]
call fcn.1403d1728
lea rdx, [0x140519440]
cmp byte [0x140519460], sil
je 0x1401e26a7
mov r9, rsi
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r12
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0x20
jb 0x1401e2684
mov byte [0x140519460], sil
lea rcx, [rsp + 0x50]
call fcn.1401374d4
cmp rax, 0xffffffffffffffff
jne 0x1401e26e9
mov rax, qword [0x14051e610]
xor r9d, r9d
lea r8, [rbp + 0x158]
xor edx, edx
xor ecx, ecx
call rax
test eax, eax
je 0x1401e2764
mov rax, qword [rbp + 0x158]
shr rax, 0x1e
cmp rax, 0xfa
jae 0x1401e2764
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1401e2726
inc rdx
mov rcx, qword [rsp + 0x50]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1401e2721
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401e27bc
call fcn.1403d1a4c
movdqa xmm0, xmmword [0x1404e7c30]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], sil
mov rcx, rdi
call fcn.14013946c
mov eax, 1
lea r11, [rsp + 0x208]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1401e279d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401e2798
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401e27bc
call fcn.1403d1a4c
movdqa xmm0, xmmword [0x1404e7c30]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], sil
mov rcx, rdi
call fcn.14013946c
xor eax, eax
jmp 0x1401e2746
call fcn.1403e58f0
int3