Function at 0x14002d860
Capabilities:
Encode data using xor

Disassembly:
push r13
sub rsp, 0x60
xorps xmm0, xmm0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov r13, rcx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140019880
test eax, eax
jne 0x14002db4b
mov byte [r13 + 0x189], al
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rbx
mov qword [r13 + 0xc8], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x58], rdi
mov qword [r13 + 0xd0], rax
mov eax, 4
mov qword [rsp + 0x50], r12
mov qword [r13 + 0x48], 0
mov qword [rsp + 0x48], r14
mov qword [r13 + 0x50], 0
mov qword [rsp + 0x40], r15
nop dword [rax + rax]
mov r10d, eax
add eax, eax
movsxd r8, eax
mov r9d, r10d
shl r8, 4
add r8, r13
shl r9, 4
add r9, r13
mov rcx, qword [r8 + 0x50]
bswap rcx
shr rcx, 1
bswap rcx
mov qword [r9 + 0x50], rcx
movzx eax, byte [r8 + 0x4f]
shl al, 7
or al, cl
mov byte [r9 + 0x50], al
mov rdx, qword [r8 + 0x48]
bswap rdx
shr rdx, 1
bswap rdx
mov qword [r9 + 0x48], rdx
movzx eax, byte [r8 + 0x57]
and al, 1
neg al
mov eax, r10d
sbb cl, cl
and cl, 0xe1
xor cl, dl
shr eax, 1
mov byte [r9 + 0x48], cl
jne 0x14002d900
mov edx, 8
nop dword [rax]
mov rcx, rdx
add rcx, rcx
mov rax, qword [r13 + rcx*8 + 0x48]
bswap rax
mov qword [r13 + rcx*8 + 0x48], rax
lea rcx, [rdx + 5]
add rcx, rcx
shr edx, 1
mov rax, qword [r13 + rcx*8]
bswap rax
mov qword [r13 + rcx*8], rax
jne 0x14002d970
mov r12d, 2
movsxd rax, r12d
cmp rax, 1
jle 0x14002db13
mov r14, rax
lea rbp, [r13 + 0x48]
shl r14, 4
lea r11, [r13 + 0x58]
add rbp, r14
lea r15, [rax - 1]
nop dword [rax]
nop dword [rax + rax]
lea rbx, [r11 + r14]
mov r8, rbp
mov r9, rbx
xor edx, edx
sub r9, r11
sub r8, r11
mov r10d, 8
mov rax, r11
sub r10, r11
nop
mov rcx, qword [r8 + rax]
add rdx, 8
xor rcx, qword [rax]
mov qword [rax + r9], rcx
lea rax, [rax + 8]
lea rcx, [r10 + rax]
cmp rcx, 0x10
jbe 0x14002d9f0
mov ecx, reloc.WS2_32.dll_recv
sub rcx, rdx
cmp rdx, 0x10
jae 0x14002db05
cmp rcx, 0x40
jb 0x14002dade
lea r10, [rbx + 0xf]
mov rax, r10
lea rdi, [rbx + rdx]
sub rax, r14
lea rsi, [r11 + rdx]
cmp rdi, rax
ja 0x14002da49
cmp r10, rsi
jae 0x14002dade
lea rax, [rbp + 0xf]
lea rbx, [rdx + rbp]
cmp rdi, rax
ja 0x14002da5f
cmp r10, rbx
jae 0x14002dade
and ecx, 0x3f
mov r10d, reloc.WS2_32.dll_recv
sub r10, rcx
lea rax, [rsi + 0x10]
nop
movdqu xmm0, xmmword [rax - 0x10]
add rdx, 0x40
movdqu xmm1, xmmword [r8 + rax - 0x10]
movdqu xmm2, xmmword [r8 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rax + r9 - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r8 + rax - 0x30]
movdqu xmmword [rax + r9 - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r8 + rax - 0x20]
movdqu xmmword [rax + r9 - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rax + r9 - 0x20], xmm2
cmp rdx, r10
jb 0x14002da70
cmp rdx, 0x10
jae 0x14002db05
mov r10d, reloc.WS2_32.dll_recv
lea rcx, [r11 + rdx]
sub r10, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub r10, 1
jne 0x14002daf0
add r11, 0x10
sub r15, 1
jne 0x14002d9d0
add r12d, r12d
cmp r12d, 0x10
jl 0x14002d9a1
mov r15, qword [rsp + 0x40]
xor eax, eax
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop r13
ret