Function at 0x1402aaf00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r12
push r15
sub rsp, 0x48
mov r15, r9
mov rbx, r8
mov r12, rdx
mov rdi, rcx
call fcn.1401c0560
cmp eax, 0x72
jne 0x1402ab177
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x40], r14
mov r14, rbx
shr r14, 1
and ebx, 1
lea r13, [rbx + r14]
call fcn.14025eb50
mov rdi, qword [rsp + 0xa0]
mov rcx, rax
mov rax, qword [rsp + 0x90]
mov r9, r15
mov rbp, qword [rsp + 0x98]
mov r8, r13
mov qword [rsp + 0x30], rdi
mov rdx, r12
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.1402ab1d0
test eax, eax
je 0x1402ab170
xor r8d, r8d
mov qword [rsp + 0x78], rsi
lea rdx, [0x140400661]
mov rcx, rdi
call fcn.1401ba640
mov rsi, rax
test rax, rax
jne 0x1402aafe8
mov edx, reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x20], eax
lea r9, [0x140400661]
lea ecx, [rdx - 0x3b]
lea r8d, [rdx - 0x2e]
call fcn.1401d8bf0
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbx
ret
lea rbx, [r14 + r12]
call fcn.1401c3810
mov rcx, rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x90]
mov r9, r15
mov qword [rsp + 0x28], rsi
mov r8, r13
mov rdx, rbx
mov qword [rsp + 0x20], rax
call fcn.1402ab1d0
test eax, eax
jne 0x1402ab034
xor r9d, r9d
lea r8, [0x140400661]
mov rdx, rdi
mov rcx, rsi
call fcn.1401ba810
jmp 0x1402aafc4
xor eax, eax
test rdi, rdi
je 0x1402ab151
cmp rdi, 8
jb 0x1402ab124
lea rdx, [rbp - 1]
lea rcx, [rdi - 1]
add rdx, rdi
add rcx, rsi
cmp rbp, rcx
ja 0x1402ab065
cmp rdx, rsi
jae 0x1402ab124
cmp rdi, 0x40
jb 0x1402ab0ee
mov r8, rdi
mov r9, rdi
and r8d, 0x3f
sub r9, r8
mov rdx, rsi
lea rcx, [rbp + 0x10]
sub rdx, rbp
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add rax, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rdx + rcx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r9
jb 0x1402ab090
cmp r8, 8
jb 0x1402ab11f
mov rdx, rdi
and rdx, 0xfffffffffffffff8
mov r8, rsi
lea rcx, [rax + rbp]
sub r8, rbp
nop
movq xmm0, qword [rcx]
add rax, 8
movq xmm1, qword [rcx + r8]
lea rcx, [rcx + 8]
xorps xmm1, xmm0
movq qword [rcx - 8], xmm1
cmp rax, rdx
jb 0x1402ab100
cmp rax, rdi
jae 0x1402ab151
mov r8, rsi
lea rcx, [rax + rbp]
sub r8, rbp
mov rdx, rdi
sub rdx, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402ab140
xor r9d, r9d
lea r8, [0x140400661]
mov rdx, rdi
mov rcx, rsi
call fcn.1401ba810
mov eax, 1
jmp 0x1402aafc6
xor eax, eax
jmp 0x1402aafcb
mov rax, qword [rsp + 0xa0]
mov r9, r15
mov qword [rsp + 0x30], rax
mov r8, rbx
mov rax, qword [rsp + 0x98]
mov rdx, r12
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.1402ab1d0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbx
ret