Function at 0x1402a8590
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.1401bdbf0
cmp eax, 0x72
jne 0x1402a8807
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.14025c1e0
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.1402a8860
test eax, eax
je 0x1402a8800
xor r8d, r8d
mov qword [rsp + 0x78], rsi
lea rdx, [0x140400f91]
mov rcx, rdi
call fcn.1401b7cd0
mov rsi, rax
test rax, rax
jne 0x1402a8678
mov edx, reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x20], eax
lea r9, [0x140400f91]
lea ecx, [rdx - 0x3b]
lea r8d, [rdx - 0x2e]
call fcn.1401d6280
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.1401c0ea0
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.1402a8860
test eax, eax
jne 0x1402a86c4
xor r9d, r9d
lea r8, [0x140400f91]
mov rdx, rdi
mov rcx, rsi
call fcn.1401b7ea0
jmp 0x1402a8654
xor eax, eax
test rdi, rdi
je 0x1402a87e1
cmp rdi, 8
jb 0x1402a87b4
lea rdx, [rbp - 1]
lea rcx, [rdi - 1]
add rdx, rdi
add rcx, rsi
cmp rbp, rcx
ja 0x1402a86f5
cmp rdx, rsi
jae 0x1402a87b4
cmp rdi, 0x40
jb 0x1402a877e
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 0x1402a8720
cmp r8, 8
jb 0x1402a87af
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 0x1402a8790
cmp rax, rdi
jae 0x1402a87e1
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 0x1402a87d0
xor r9d, r9d
lea r8, [0x140400f91]
mov rdx, rdi
mov rcx, rsi
call fcn.1401b7ea0
mov eax, 1
jmp 0x1402a8656
xor eax, eax
jmp 0x1402a865b
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.1402a8860
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rbx
ret