Function at 0x140021d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x5a0
mov rax, qword [0x1401340e8]
xor rax, rsp
mov qword [rsp + 0x590], rax
xor edi, edi
mov dword [rsp + 0x38], edi
call fcn.14008d750
movabs r14, 0xa2ac476e3f32f786
movabs r15, 0x719bf99f54a4c7c9
test al, al
je 0x140021e7c
movabs rax, 0x719bf9f331d1a9a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x510], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x518], rax
vmovdqu xmm0, xmmword [rsp + 0x80]
vpxor xmm1, xmm0, xmmword [rsp + 0x510]
vmovdqu xmmword [rsp + 0x80], xmm1
vpxor xmm2, xmm2, xmm2
vmovups xmmword [rsp + 0xe0], xmm2
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xf8], rdi
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140021e50
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xe0]
call fcn.140028ae0
lea rcx, [rsp + 0xe0]
call fcn.140025570
nop
xor edx, edx
lea rcx, [rsp + 0x448]
call fcn.1400273d0
nop
lea rsi, [rsp + 0x90]
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x260]
call fcn.140056550
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140037f10
mov rbx, rax
mov byte [rsp + 0x90], 0
xor eax, eax
mov qword [rsp + 0x98], rax
xor edx, edx
lea rcx, [rsp + 0x98]
call fcn.140026ed0
mov byte [rsp + 0x90], 3
mov ecx, 0x20
call fcn.1400bf1e0
lea rcx, [rsp + 0x430]
mov qword [rsp + 0x458], 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 + 0x460], rdi
mov qword [rsi + 8], rax
movabs rax, 0x719bf99f30cdb0a1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x478], rax
vmovdqu xmm0, xmmword [rsp + 0x180]
vpxor xmm1, xmm0, xmmword [rsp + 0x470]
vmovdqu xmmword [rsp + 0x180], xmm1
lea r10, [rsp + 0x180]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x140021fec
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 0x140021fb1
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x240]
vzeroupper
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x448]
call fcn.1400259b0
nop
movzx r9d, byte [rax]
movzx r8d, byte [rsi]
mov byte [rax], r8b
mov byte [rsi], r9b
mov r8, qword [rax + 8]
mov r9, qword [rsi + 8]
mov qword [rax + 8], r9
mov qword [rsi + 8], r8
movzx edx, byte [rsi]
lea rcx, [rsi + 8]
call fcn.140026ed0
nop
lea rcx, [rsp + 0x220]
call fcn.140027510
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], 0
xor eax, eax
mov qword [rsp + 0x58], rax
lea rdx, [0x140153078]
lea rcx, [rsp + 0x50]
call fcn.140033020
nop
movabs rax, 0x719bf9e935d0a6ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x490], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x498], rax
vmovdqu xmm0, xmmword [rsp + 0x1a0]
vpxor xmm1, xmm0, xmmword [rsp + 0x490]
vmovdqu xmmword [rsp + 0x1a0], xmm1
lea r10, [rsp + 0x1a0]
mov r9d, edi
vmovq r8, xmm1
test r8b, r8b
je 0x14002213b
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 0x140022100
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x280]
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x448]
call fcn.1400259b0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov byte [rsp + 0x50], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rsp + 0x58], rcx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140026ed0
nop
lea rax, [rsp + 0x340]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x378], rdi
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x448]
call fcn.140025b60
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x2c0]
call fcn.140004040
nop
lea r8, [rsp + 0x340]
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.140028030
nop
lea rcx, [rsp + 0x2c0]
call fcn.140027510
movabs r12, 0x719b8aea20c5b3ba
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4b0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4b8], rax
vmovdqu xmm0, xmmword [rsp + 0x1c0]
vpxor xmm1, xmm0, xmmword [rsp + 0x4b0]
vmovdqu xmmword [rsp + 0x1c0], xmm1
lea r10, [rsp + 0x1c0]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x1400222bb
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 0x140022280
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x2e0]
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.1400259b0
mov rsi, rax
movabs rax, 0x10ff98ec35c5b2a1
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x1e0], rcx
movabs rax, 0xa2ac476e3f3293f5
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x1e8], rcx
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x4d0], rcx
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4d8], rax
vmovdqu xmm0, xmmword [rsp + 0x1e0]
vpxor xmm1, xmm0, xmmword [rsp + 0x4d0]
vmovdqu xmmword [rsp + 0x1e0], xmm1
lea r10, [rsp + 0x1e0]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x1400223bb
nop dword [rax + 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 0x140022380
lea ecx, [r8 + r8*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.140026ed0
mov byte [rsp + 0x60], 5
movsxd rax, ebx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14002a060
movzx ebx, al
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140026ed0
nop
test bl, bl
je 0x14002241c
xor bl, bl
jmp 0x14002291c
movabs rax, 0x719b8bfa22d6a2ba
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 + 0x4f0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4f8], rax
vmovdqu xmm0, xmmword [rsp + 0x100]
vpxor xmm1, xmm0, xmmword [rsp + 0x4f0]
vmovdqu xmmword [rsp + 0x100], xmm1
lea r10, [rsp + 0x100]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x1400224db
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 0x1400224a0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x300]
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xa0], xmm0
vmovdqu xmm1, xmmword [0x1401171e0]
vmovdqu xmmword [rsp + 0xb0], xmm1
mov byte [rsp + 0xa0], 0
mov ebx, dword [rsp + 0x38]
or ebx, 2
mov dword [rsp + 0x38], ebx
cmp byte [rax], 3
jne 0x1400229c3
mov rdx, qword [rax + 8]
lea rax, [rsp + 0xa0]
cmp rax, rdx
je 0x140022570
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140022563
mov rdx, qword [rdx]
lea rcx, [rsp + 0xa0]
call fcn.140034580
and ebx, 0xfffffffd
or ebx, 1
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0xa0]
lea rcx, [0x14014bf88]
call fcn.140025eb0
lea rcx, [rsp + 0xa0]
call fcn.140027510
movabs rax, 0x719b8dfa3fc7aebd
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 + 0x530], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x538], rax
vmovdqu xmm0, xmmword [rsp + 0x120]
vpxor xmm1, xmm0, xmmword [rsp + 0x530]
vmovdqu xmmword [rsp + 0x120], xmm1
lea r10, [rsp + 0x120]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x14002265b
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 0x140022620
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x200]
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.1400259b0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xc0], xmm0
vmovdqu xmm1, xmmword [0x1401171e0]
vmovdqu xmmword [rsp + 0xd0], xmm1
mov byte [rsp + 0xc0], 0
mov ebx, dword [rsp + 0x38]
or ebx, 8
mov dword [rsp + 0x38], ebx
cmp byte [rax], 3
jne 0x140022979
mov rdx, qword [rax + 8]
lea rax, [rsp + 0xc0]
cmp rax, rdx
je 0x1400226f0
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400226e3
mov rdx, qword [rdx]
lea rcx, [rsp + 0xc0]
call fcn.140034580
and ebx, 0xfffffff7
or ebx, 4
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0xc0]
lea rcx, [0x14014bfa8]
call fcn.140025eb0
lea rcx, [rsp + 0xc0]
call fcn.140027510
mov qword [rsp + 0x30], r12
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 + 0x550], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x558], rax
vmovdqu xmm0, xmmword [rsp + 0x140]
vpxor xmm1, xmm0, xmmword [rsp + 0x550]
vmovdqu xmmword [rsp + 0x140], xmm1
lea r10, [rsp + 0x140]
mov r8d, edi
vmovq r9, xmm1
test r9b, r9b
je 0x1400227db
nop dword [rax]
nop word [rax + 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 0x1400227a0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul edx, ecx, 0x8001
lea rcx, [rsp + 0x320]
call fcn.140003400
mov rdx, rax
lea rcx, [rsp + 0x438]
call fcn.1400259b0
mov rsi, rax
movabs rax, 0x719bf99f54c3aea7
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x40], r14
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x570], rcx
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x578], rax
vmovdqu xmm0, xmmword [rsp + 0x160]
vpxor xmm1, xmm0, xmmword [rsp + 0x570]
vmovdqu xmmword [rsp + 0x160], xmm1
lea r9, [rsp + 0x160]
vmovq r8, xmm1
test r8b, r8b
je 0x1400228c7
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 0x140022890
lea ecx, [rdi + rdi*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
mov byte [rsp + 0x70], 0
xor eax, eax
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140026ed0
mov byte [rsp + 0x70], 5
movsxd rax, ebx
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14002a060
movzx ebx, al
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140026ed0
nop
movzx edx, byte [rsp + 0x438]
lea rcx, [rsp + 0x440]
call fcn.140026ed0
nop
movzx edx, byte [rsp + 0x448]
lea rcx, [rsp + 0x450]
call fcn.140026ed0
nop
movzx eax, bl
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.1400bf1c0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov rcx, rax
call fcn.140027340
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x410]
call fcn.1400346e0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x3b8]
call fcn.1400286a0
lea rdx, [0x1401310e8]
lea rcx, [rsp + 0x3b8]
call fcn.1400c1948
nop
mov rcx, rax
call fcn.140027340
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x3f0]
call fcn.1400346e0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x380]
call fcn.1400286a0
lea rdx, [0x1401310e8]
lea rcx, [rsp + 0x380]
call fcn.1400c1948
int3