Function at 0x1400492d0
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 [0x1400ffa80]
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.1400a20f0
sub rsp, rax
mov rax, rsp
mov esi, 0xfffffffd
cmp r10d, 0x101
jg 0x140049534
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 0x14004935d
mov r10d, r8d
cmp r8d, 8
jae 0x14004936c
xor r14d, r14d
jmp 0x1400493e0
xor esi, r11d
mov dword [rcx], esi
xor ebx, edi
mov dword [rcx + 8], ebx
jmp 0x140049414
mov r14d, r10d
and r14d, 0xfffffff8
movd xmm0, r9d
pshufd xmm0, xmm0, 0
lea r15, [r10*4]
and r15, 0xffffffffffffffe0
xor r12d, r12d
nop dword [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 0x140049390
cmp r14, r10
je 0x1400493fa
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 0x1400493e0
xor esi, r11d
xor ebx, edi
mov dword [rcx], esi
mov dword [rcx + 8], ebx
test r8d, r8d
je 0x140049414
cmp r8d, 8
jae 0x140049423
xor r9d, r9d
jmp 0x140049480
xor dword [rdx], r11d
mov dword [rdx + 8], 0
jmp 0x140049532
mov r9d, r10d
and r9d, 0xfffffff8
lea rsi, [r10*4]
and rsi, 0xffffffffffffffe0
xor edi, edi
nop dword [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 0x140049440
cmp r9, r10
je 0x140049492
nop word [rax + rax]
mov esi, dword [rax + r9*4 + 0xc]
xor dword [rcx + r9*4 + 0xc], esi
inc r9
cmp r10, r9
jne 0x140049480
xor dword [rdx], r11d
mov dword [rdx + 8], 0
test r8d, r8d
je 0x140049532
cmp r8d, 8
jae 0x1400494af
xor ecx, ecx
jmp 0x140049520
mov ecx, r10d
and ecx, 0xfffffff8
lea r8, [r10*4]
and r8, 0xffffffffffffffe0
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 0x1400494d0
xor esi, esi
cmp rcx, r10
je 0x140049534
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 0x140049520
xor esi, esi
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1400a2150
add rsp, 0x20
mov eax, esi
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret