Function at 0x140042ac0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x10
lea rbp, [rsp + 0x10]
mov rax, qword [0x1400f5980]
xor rax, rbp
mov qword [rbp - 8], rax
movsxd r10, r8d
cmp r10d, 2
lea r11, [r10*4 + 0xc]
mov eax, reloc.WS2_32.dll_recv
cmovae rax, r11
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.1400a0140
sub rsp, rax
mov rax, rsp
mov esi, 0xfffffffd
cmp r10d, 0x101
jg 0x140042d24
neg r9d
mov esi, dword [rcx]
mov edi, dword [rcx + 8]
mov r11d, dword [rdx]
xor r11d, esi
and r11d, r9d
mov ebx, dword [rdx + 8]
xor ebx, edi
and ebx, r9d
test r8d, r8d
je 0x140042b4d
mov r10d, r8d
cmp r8d, 8
jae 0x140042b5c
xor r14d, r14d
jmp 0x140042bd0
xor esi, r11d
mov dword [rcx], esi
xor ebx, edi
mov dword [rcx + 8], ebx
jmp 0x140042c04
mov r14d, r10d
and r14d, 0xfffffff8
movd xmm0, r9d
pshufd xmm0, xmm0, 0
mov r15d, r10d
shr r15d, 3
shl r15, 5
xor r12d, r12d
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx + r12 + 0xc]
movdqu xmm2, xmmword [rcx + r12 + 0x1c]
movdqu xmm3, xmmword [rdx + r12 + 0xc]
pxor xmm3, xmm1
movdqu xmm1, xmmword [rdx + r12 + 0x1c]
pxor xmm1, xmm2
pand xmm3, xmm0
pand xmm1, xmm0
movdqu xmmword [rax + r12 + 0xc], xmm3
movdqu xmmword [rax + r12 + 0x1c], xmm1
add r12, 0x20
cmp r15, r12
jne 0x140042b80
cmp r14, r10
je 0x140042bea
nop dword [rax + rax]
mov r15d, dword [rdx + r14*4 + 0xc]
xor r15d, dword [rcx + r14*4 + 0xc]
and r15d, r9d
mov dword [rax + r14*4 + 0xc], r15d
inc r14
cmp r10, r14
jne 0x140042bd0
xor esi, r11d
xor ebx, edi
mov dword [rcx], esi
mov dword [rcx + 8], ebx
test r8d, r8d
je 0x140042c04
cmp r8d, 8
jae 0x140042c13
xor r9d, r9d
jmp 0x140042c70
xor dword [rdx], r11d
mov dword [rdx + 8], 0
jmp 0x140042d22
mov r9d, r10d
and r9d, 0xfffffff8
mov esi, r10d
shr esi, 3
shl rsi, 5
xor edi, edi
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rax + rdi + 0xc]
movdqu xmm1, xmmword [rax + rdi + 0x1c]
movdqu xmm2, xmmword [rcx + rdi + 0xc]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rcx + rdi + 0x1c]
pxor xmm0, xmm1
movdqu xmmword [rcx + rdi + 0xc], xmm2
movdqu xmmword [rcx + rdi + 0x1c], xmm0
add rdi, 0x20
cmp rsi, rdi
jne 0x140042c30
cmp r9, r10
je 0x140042c82
nop word [rax + rax]
mov esi, dword [rax + r9*4 + 0xc]
xor dword [rcx + r9*4 + 0xc], esi
inc r9
cmp r10, r9
jne 0x140042c70
xor dword [rdx], r11d
mov dword [rdx + 8], 0
test r8d, r8d
je 0x140042d22
cmp r8d, 8
jae 0x140042c9f
xor ecx, ecx
jmp 0x140042d10
mov ecx, r10d
and ecx, 0xfffffff8
mov r8d, r10d
shr r8d, 3
shl r8, 5
xor r9d, r9d
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rax + r9 + 0xc]
movdqu xmm1, xmmword [rax + r9 + 0x1c]
movdqu xmm2, xmmword [rdx + r9 + 0xc]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rdx + r9 + 0x1c]
pxor xmm0, xmm1
movdqu xmmword [rdx + r9 + 0xc], xmm2
movdqu xmmword [rdx + r9 + 0x1c], xmm0
add r9, 0x20
cmp r8, r9
jne 0x140042cc0
xor esi, esi
cmp rcx, r10
je 0x140042d24
nop word cs:[rax + rax]
mov r8d, dword [rax + rcx*4 + 0xc]
xor dword [rdx + rcx*4 + 0xc], r8d
inc rcx
cmp r10, rcx
jne 0x140042d10
xor esi, esi
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.14009adb0
add rsp, 0x20
mov eax, esi
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret