Function at 0x140021d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x480
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor edi, edi
mov dword [rsp + 0x40], edi
call fcn.14008c1d0
movabs r14, 0x5ae2ce8a617d9cce
movabs r15, 0x4112ccd731b3b239
test al, al
je 0x140021e19
movabs rax, 0x4112ccbb54c6dc58
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x458], rax
vmovdqu xmm0, xmmword [rsp + 0x70]
vpxor xmm1, xmm0, xmmword [rsp + 0x450]
vmovdqu xmmword [rsp + 0x70], xmm1
vpxor xmm2, xmm2, xmm2
vmovups xmmword [rsp + 0xc0], xmm2
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rdi
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x140021df0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.1400288f0
lea rcx, [rsp + 0xc0]
call fcn.140025570
nop
xor edx, edx
lea rcx, [rsp + 0x388]
call fcn.140027360
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x1c0]
call fcn.140055330
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.1400382d0
mov rbx, rax
mov byte [rsp + 0x48], 0
xor eax, eax
mov qword [rsp + 0x50], rax
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140026e60
mov byte [rsp + 0x48], 3
mov ecx, 0x20
call fcn.1400bdd10
lea rcx, [rsp + 0x370]
mov qword [rsp + 0x398], rcx
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rdi
vmovups ymm0, ymmword [rbx]
vmovups ymmword [rax], ymm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x50], rax
movabs rax, 0x4112ccd755dac551
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x430], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x438], rax
vmovdqu xmm0, xmmword [rsp + 0xe0]
vpxor xmm1, xmm0, xmmword [rsp + 0x430]
vmovdqu xmmword [rsp + 0xe0], xmm1
lea r10, [rsp + 0xe0]
mov r9d, edi
vmovq r8, xmm1
test r8b, r8b
je 0x140021f7b
movzx edx, r8b
sub r8b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r8b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
lea r10, [r10 + 1]
movzx eax, byte [r10]
movzx r8d, al
test al, al
jne 0x140021f40
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x1a0]
vzeroupper
call fcn.1400033b0
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400259b0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x48]
mov byte [rax], cl
mov byte [rsp + 0x48], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x50]
mov qword [rax + 8], rdx
mov qword [rsp + 0x50], rcx
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140026e60
nop
lea rcx, [rsp + 0x180]
call fcn.1400274a0
lea rax, [rsp + 0x280]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x2b8], rdi
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x388]
call fcn.140025b60
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x200]
call fcn.140003ff0
nop
lea r8, [rsp + 0x280]
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.140027fb0
nop
lea rcx, [rsp + 0x200]
call fcn.1400274a0
movabs rax, 0x4112beb247c1d74a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3b0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3b8], rax
vmovdqu xmm0, xmmword [rsp + 0x100]
vpxor xmm1, xmm0, xmmword [rsp + 0x3b0]
vmovdqu xmmword [rsp + 0x100], xmm1
lea r10, [rsp + 0x100]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x14002210b
nop
movzx edx, r9b
sub r9b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r9b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
lea r10, [r10 + 1]
movzx eax, byte [r10]
movzx r9d, al
test al, al
jne 0x1400220d0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x220]
call fcn.1400033b0
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x80], xmm0
vmovdqu xmm1, xmmword [0x140138f10]
vmovdqu xmmword [rsp + 0x90], xmm1
mov byte [rsp + 0x80], 0
mov dword [rsp + 0x40], 2
cmp byte [rax], 3
jne 0x1400225f3
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x80]
cmp rax, rdx
je 0x14002219e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022190
mov rdx, qword [rdx]
lea rcx, [rsp + 0x80]
call fcn.140034980
nop
mov dword [rsp + 0x40], 1
lea rdx, [rsp + 0x80]
lea rcx, [0x14016df78]
call fcn.140025ea0
lea rcx, [rsp + 0x80]
call fcn.1400274a0
movabs rax, 0x4112b8b25ad0db4d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3d0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3d8], rax
vmovdqu xmm0, xmmword [rsp + 0x120]
vpxor xmm1, xmm0, xmmword [rsp + 0x3d0]
vmovdqu xmmword [rsp + 0x120], xmm1
lea r10, [rsp + 0x120]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x14002228b
nop dword [rax]
movzx edx, r9b
sub r9b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r9b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
lea r10, [r10 + 1]
movzx eax, byte [r10]
movzx r9d, al
test al, al
jne 0x140022250
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x240]
call fcn.1400033b0
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xa0], xmm0
vmovdqu xmm1, xmmword [0x140138f10]
vmovdqu xmmword [rsp + 0xb0], xmm1
mov byte [rsp + 0xa0], 0
mov dword [rsp + 0x40], 9
cmp byte [rax], 3
jne 0x1400225a9
mov rdx, qword [rax + 8]
lea rax, [rsp + 0xa0]
cmp rax, rdx
je 0x14002231e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022310
mov rdx, qword [rdx]
lea rcx, [rsp + 0xa0]
call fcn.140034980
nop
mov dword [rsp + 0x40], 5
lea rdx, [rsp + 0xa0]
lea rcx, [0x14016df98]
call fcn.140025ea0
lea rcx, [rsp + 0xa0]
call fcn.1400274a0
movabs rax, 0x4112bfa245d2c64a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x3f8], rax
vmovdqu xmm0, xmmword [rsp + 0x140]
vpxor xmm1, xmm0, xmmword [rsp + 0x3f0]
vmovdqu xmmword [rsp + 0x140], xmm1
lea r10, [rsp + 0x140]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x14002240b
nop dword [rax]
movzx edx, r9b
sub r9b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r9b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, r8d
imul r8d, eax, 0x401
mov eax, r8d
shr eax, 6
xor r8d, eax
lea r10, [r10 + 1]
movzx eax, byte [r10]
movzx r9d, al
test al, al
jne 0x1400223d0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x260]
call fcn.1400033b0
mov rdx, rax
lea rcx, [rsp + 0x378]
call fcn.1400259b0
mov rsi, rax
movabs rax, 0x4112ccd731d4db57
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x38], r15
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x410], rcx
mov qword [rsp + 0x38], r14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x418], rax
vmovdqu xmm0, xmmword [rsp + 0x160]
vpxor xmm1, xmm0, xmmword [rsp + 0x410]
vmovdqu xmmword [rsp + 0x160], xmm1
lea r9, [rsp + 0x160]
vmovq r8, xmm1
test r8b, r8b
je 0x1400224f7
nop dword [rax + rax]
movzx edx, r8b
sub r8b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
cmp r8b, 0x19
cmova ecx, edx
movsx eax, cl
add eax, edi
imul edi, eax, 0x401
mov eax, edi
shr eax, 6
xor edi, eax
lea r9, [r9 + 1]
movzx eax, byte [r9]
movzx r8d, al
test al, al
jne 0x1400224c0
lea ecx, [rdi + rdi*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
mov byte [rsp + 0x60], 0
xor eax, eax
mov qword [rsp + 0x68], rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140026e60
mov byte [rsp + 0x60], 5
movsxd rax, ebx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140029ef0
movzx ebx, al
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140026e60
nop
movzx edx, byte [rsp + 0x378]
lea rcx, [rsp + 0x380]
call fcn.140026e60
nop
movzx edx, byte [rsp + 0x388]
lea rcx, [rsp + 0x390]
call fcn.140026e60
nop
movzx eax, bl
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400bdcf0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
mov rcx, rax
call fcn.1400272d0
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x350]
call fcn.140034ae0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x2f8]
call fcn.140028620
lea rdx, [0x140152fa8]
lea rcx, [rsp + 0x2f8]
call fcn.1400c07d4
nop
mov rcx, rax
call fcn.1400272d0
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x330]
call fcn.140034ae0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x2c0]
call fcn.140028620
lea rdx, [0x140152fa8]
lea rcx, [rsp + 0x2c0]
call fcn.1400c07d4
int3