Function at 0x1401b3370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push r12
lea rbp, [rsp - 0x68]
sub rsp, 0x168
xor r12d, r12d
mov r11d, edx
mov r10, rcx
mov rdx, rcx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov ecx, r11d
mov eax, dword [rdx]
lea rdx, [rdx + 4]
inc dword [rsp + rax*4 + 0x20]
dec ecx
jne 0x1401b33c0
cmp dword [rsp + 0x20], r11d
jne 0x1401b33f6
mov rax, qword [rbp + 0xa8]
mov qword [rax], r12
mov rax, qword [rbp + 0xb0]
mov dword [rax], r12d
xor eax, eax
add rsp, 0x168
pop r12
pop rbp
ret
mov r8, qword [rbp + 0xb0]
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x150], rdi
mov esi, dword [r8]
mov qword [rsp + 0x138], r15
mov ecx, 1
nop dword [rax]
mov eax, ecx
cmp dword [rsp + rax*4 + 0x20], r12d
jne 0x1401b3430
inc ecx
cmp ecx, 0xf
jbe 0x1401b3420
cmp esi, ecx
mov r15d, ecx
mov edx, send
cmovb esi, ecx
nop dword [rax]
mov eax, edx
cmp dword [rsp + rax*4 + 0x20], r12d
jne 0x1401b344d
dec edx
jne 0x1401b3440
cmp esi, edx
mov dword [rbp + 0x88], edx
cmova esi, edx
mov dword [r8], esi
mov r8d, 1
shl r8d, cl
cmp ecx, edx
jae 0x1401b3482
nop dword [rax + rax]
mov eax, ecx
sub r8d, dword [rsp + rax*4 + 0x20]
js 0x1401b3499
inc ecx
add r8d, r8d
cmp ecx, edx
jb 0x1401b3470
mov eax, edx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
sub r8d, eax
mov dword [rsp + 0x14], r8d
jns 0x1401b34a3
mov eax, 0xfffffffd
jmp 0x1401b3808
add eax, r8d
mov qword [rsp + 0x160], rbx
mov dword [rsp + 0x74], r12d
mov dword [rcx], eax
mov qword [rsp + 0x140], r14
mov ecx, r12d
dec edx
je 0x1401b34e0
mov rax, r12
nop word [rax + rax]
add ecx, dword [rsp + rax + 0x24]
lea rax, [rax + 4]
mov dword [rsp + rax + 0x74], ecx
dec edx
jne 0x1401b34d0
mov rdi, qword [rbp + 0xc8]
mov edx, r12d
nop word [rax + rax]
mov eax, dword [r10]
lea r10, [r10 + 4]
test eax, eax
je 0x1401b350d
lea rcx, [rsp + 0x70]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [rdi + rax*4], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, r11d
jb 0x1401b34f0
movsxd rdi, dword [rbp + 0x88]
mov rdx, qword [rbp + 0xc8]
mov r11d, esi
mov eax, dword [rsp + rdi*4 + 0x70]
or r14, 0xffffffffffffffff
neg r11d
mov qword [rsp + 0x148], r13
mov ebx, r12d
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x10], eax
mov qword [rsp + 8], rdx
mov qword [rbp - 0x50], r12
mov r9, r12
mov r10d, r12d
cmp r15d, edi
jg 0x1401b37dd
mov rdi, r14
nop
movsxd rax, r15d
lea rax, [rsp + rax*4 + 0x20]
mov qword [rsp + 0x60], rax
mov r13d, dword [rax]
test r13d, r13d
je 0x1401b37c2
lea r8d, [r13 + 1]
nop dword [rax]
dec r8d
lea ecx, [r11 + rsi]
dec r13d
mov dword [rbp + 0x80], r8d
cmp r15d, ecx
jle 0x1401b36b2
mov eax, esi
neg eax
lea r12d, [rax + rax]
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [rbp + 0x88]
inc r14d
inc rdi
sub r9d, ecx
mov edx, r15d
mov r11d, ecx
cmp r9d, esi
mov eax, 1
cmova r9d, esi
sub edx, ecx
mov ecx, edx
shl eax, cl
cmp eax, r8d
jbe 0x1401b3617
mov r8, qword [rsp + 0x60]
or ecx, 0xffffffff
sub ecx, r13d
add eax, ecx
cmp edx, r9d
jae 0x1401b3617
inc edx
cmp edx, r9d
jae 0x1401b3617
nop word [rax + rax]
mov ecx, dword [r8 + 4]
lea r8, [r8 + 4]
add eax, eax
cmp eax, ecx
jbe 0x1401b3617
inc edx
sub eax, ecx
cmp edx, r9d
jb 0x1401b3600
mov r8, qword [rbp + 0xc0]
mov ecx, edx
mov r10d, 1
mov eax, dword [r8]
shl r10d, cl
lea ecx, [rax + r10]
cmp ecx, 0x5a0
ja 0x1401b382b
mov r9, qword [rbp + 0xb8]
mov dword [r8], ecx
lea r9, [r9 + rax*8]
mov qword [rbp + rdi*8 - 0x50], r9
test r14d, r14d
je 0x1401b368c
mov byte [rsp], dl
mov rdx, qword [rbp + rdi*8 - 0x58]
mov r8d, ebx
lea ecx, [r12 + r11]
mov rax, r9
mov byte [rsp + 1], sil
sub rax, rdx
add ecx, esi
mov dword [rsp + rdi*4 + 0x70], ebx
sar rax, 3
shr r8d, cl
sub eax, r8d
mov dword [rsp + 4], eax
mov rax, qword [rsp]
mov qword [rdx + r8*8], rax
jmp 0x1401b3696
mov rax, qword [rbp + 0xa8]
mov qword [rax], r9
mov r8d, dword [rbp + 0x80]
lea ecx, [r11 + rsi]
cmp r15d, ecx
jg 0x1401b35b0
mov rdx, qword [rsp + 8]
xor r12d, r12d
mov rcx, qword [rbp + 0xc8]
movzx eax, r15b
sub al, r11b
mov byte [rsp + 1], al
mov eax, dword [rsp + 0x10]
lea rcx, [rcx + rax*4]
cmp rdx, rcx
jb 0x1401b36d7
mov byte [rsp], 0xc0
jmp 0x1401b372c
mov ecx, dword [rdx]
mov eax, dword [rbp + 0x90]
cmp ecx, eax
jae 0x1401b36fb
mov eax, 0x60
cmp ecx, 0x100
mov dword [rsp + 4], ecx
cmovb eax, r12d
mov byte [rsp], al
jmp 0x1401b3723
sub ecx, eax
mov rax, qword [rbp + 0xa0]
lea rcx, [rcx*4]
movzx eax, byte [rcx + rax]
add al, 0x50
mov byte [rsp], al
mov rax, qword [rbp + 0x98]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
add rdx, 4
mov qword [rsp + 8], rdx
mov ecx, r15d
mov r8d, 1
mov edx, ebx
sub ecx, r11d
shl r8d, cl
mov ecx, r11d
shr edx, cl
cmp edx, r10d
jae 0x1401b375c
mov rax, qword [rsp]
nop dword [rax + rax]
mov qword [r9 + rdx*8], rax
add edx, r8d
cmp edx, r10d
jb 0x1401b3750
lea ecx, [r15 - 1]
mov eax, 1
shl eax, cl
test ebx, eax
je 0x1401b3778
nop dword [rax + rax]
xor ebx, eax
shr eax, 1
test ebx, eax
jne 0x1401b3770
xor ebx, eax
mov ecx, r11d
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
je 0x1401b37ad
nop
sub r11d, esi
mov eax, 1
dec rdi
mov ecx, r11d
dec r14d
shl eax, cl
dec eax
and eax, ebx
cmp eax, dword [rsp + rdi*4 + 0x70]
jne 0x1401b3790
mov rdx, qword [rsp + 8]
mov r8d, dword [rbp + 0x80]
test r13d, r13d
jne 0x1401b3580
inc r15d
cmp r15d, dword [rbp + 0x88]
jle 0x1401b3560
mov edi, dword [rbp + 0x88]
mov r8d, dword [rsp + 0x14]
test r8d, r8d
je 0x1401b37ed
cmp edi, 1
je 0x1401b37ed
mov r12d, 0xfffffffb
mov eax, r12d
mov r13, qword [rsp + 0x148]
mov r14, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x150]
mov r15, qword [rsp + 0x138]
add rsp, 0x168
pop r12
pop rbp
ret
mov eax, 0xfffffffd
jmp 0x1401b37f0