Function at 0x140016100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov dword [rcx + 0x3d0], reloc.WS2_32.dll_recv
lea rdx, str.2122232425262728
mov dword [rcx + 0x3cc], 0x20
mov rbx, rcx
movups xmm0, xmmword [str.2122232425262728]
movups xmmword [rcx + 0x3d8], xmm0
movsxd r8, dword [rcx + 0x3d0]
add rcx, 0x3f8
call fcn.140026770
mov eax, dword [rbx + 0x3cc]
cmp eax, 0x10
je 0x140016181
cmp eax, 0x18
mov eax, recv
jne 0x1400161a1
cmp dword [rbx + 0x3d0], 0x20
mov ecx, listen
cmovne eax, ecx
jmp 0x1400161a1
mov edx, dword [rbx + 0x3d0]
cmp edx, 0x10
jne 0x140016191
lea eax, [rdx - 6]
jmp 0x1400161a1
cmp edx, 0x18
mov eax, recv
mov ecx, listen
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
xor r8d, r8d
mov eax, dword [rbx + 0x3d0]
mov ecx, dword [rbx + 0x3d4]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r14, eax
mov rbp, r14
test ecx, ecx
js 0x1400161f1
lea rdx, [rbx + 0xc]
nop dword [rax]
test r14d, r14d
jle 0x1400161df
mov rdi, rdx
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
mov ecx, dword [rbx + 0x3d4]
inc r8d
add rdx, 0x20
cmp r8d, ecx
jle 0x1400161d0
xor edx, edx
test ecx, ecx
js 0x14001621f
lea r8, [rbx + 0x1ec]
nop
test r14d, r14d
jle 0x14001620f
mov rdi, r8
xor eax, eax
mov rcx, r14
rep stosd dword [rdi], eax
mov ecx, dword [rbx + 0x3d4]
inc edx
add r8, 0x20
cmp edx, ecx
jle 0x140016200
mov eax, dword [rbx + 0x3cc]
lea esi, [rcx + 1]
cdq
imul esi, r14d
and edx, 3
lea rdi, [rbx + 0x418]
add eax, edx
lea rdx, str.01234567891011121314151617181920
sar eax, 2
movsxd r12, eax
test eax, eax
jle 0x140016288
mov r8d, r12d
nop dword [rax]
movzx ecx, byte [rdx]
lea rdi, [rdi + 4]
shl ecx, 0x18
lea rdx, [rdx + 4]
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 3]
shl eax, 0x10
or eax, ecx
mov dword [rdi - 4], eax
movzx ecx, byte [rdx - 2]
shl ecx, 8
or ecx, eax
mov dword [rdi - 4], ecx
movzx eax, byte [rdx - 1]
or eax, ecx
mov dword [rdi - 4], eax
sub r8, 1
jne 0x140016250
xor r9d, r9d
lea r13, [0x140000000]
test r12d, r12d
jle 0x1400162ea
xor r10d, r10d
lea r8, [rbx + 0x418]
cmp r9d, esi
jge 0x1400164a8
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x1400162a1
cmp r9d, esi
jge 0x1400164a8
lea r13, [0x1400629f0]
lea rbp, [0x140000000]
mov edi, dword [rbx + r12*4 + 0x414]
lea r13, [r13 + 1]
movsxd rdx, edi
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx eax, byte [r13 - 1]
movsx r8d, byte [rcx + rbp + 0x61490]
xor r8d, eax
mov rax, rdx
sar rax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rbp + 0x61490]
xor r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + rbp + 0x61490]
xor r8d, eax
mov eax, edi
shr rax, 0x18
shl r8d, 8
movzx eax, byte [rax + rbp + 0x61490]
xor r8d, eax
xor dword [rbx + 0x418], r8d
cmp r12d, 8
je 0x1400163a4
cmp r12, 1
jle 0x14001643f
lea rcx, [rbx + 0x41c]
lea rdx, [r12 - 1]
nop
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140016390
jmp 0x14001643f
lea rcx, [rbx + 0x41c]
mov edx, 3
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400163b0
mov eax, dword [rbx + 0x424]
mov ecx, eax
movsxd rdx, eax
shr rcx, 0x18
mov rax, rdx
sar rax, 0x10
movsx edi, byte [rcx + rbp + 0x61490]
movzx ecx, al
shl edi, 8
movzx eax, byte [rcx + rbp + 0x61490]
xor edi, eax
mov rax, rdx
sar rax, 8
shl edi, 8
movzx ecx, al
movzx eax, byte [rcx + rbp + 0x61490]
xor edi, eax
movzx eax, dl
shl edi, 8
movzx eax, byte [rax + rbp + 0x61490]
xor edi, eax
xor dword [rbx + 0x428], edi
cmp r12, 5
jle 0x14001643f
lea rax, [rbx + 0x42c]
lea rdx, [r12 - 5]
nop dword [rax]
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140016430
xor r10d, r10d
test r12d, r12d
jle 0x140016495
lea r8, [rbx + 0x418]
nop
cmp r9d, esi
jge 0x14001649e
mov eax, r9d
inc r10
cdq
inc r9d
idiv r14d
movsxd rcx, eax
movsxd rdi, edx
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
add r8, 4
mov dword [rbx + rcx*4 + 0x1ec], eax
cmp r10, r12
jl 0x140016450
cmp r9d, esi
jl 0x140016301
mov rbp, r14
lea r13, [0x140000000]
mov r10d, 1
cmp dword [rbx + 0x3d4], r10d
jle 0x140016538
lea r11, [rbx + 0x20c]
test rbp, rbp
jle 0x140016522
mov r8, r11
mov r9, rbp
nop dword [rax]
mov eax, dword [r8]
lea r8, [r8 + 4]
mov edx, eax
movsxd rdi, eax
shr rdx, 0x18
mov rax, rdi
sar rax, 0x10
movzx ecx, al
mov rax, rdi
sar rax, 8
mov edx, dword [r13 + rdx*4 + 0x62e10]
xor edx, dword [r13 + rcx*4 + 0x61590]
movzx ecx, al
movzx eax, dil
xor edx, dword [r13 + rcx*4 + 0x61d90]
xor edx, dword [r13 + rax*4 + 0x62a10]
mov dword [r8 - 4], edx
sub r9, 1
jne 0x1400164d0
inc r10d
add r11, 0x20
cmp r10d, dword [rbx + 0x3d4]
jl 0x1400164c2
mov byte [rbx + 8], 1
jmp 0x14001653c
mov byte [rbx + 8], r10b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret