Function at 0x1400a1f60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140425440]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rcx
sub rdx, rcx
sar rdx, 4
mov qword [rbp - 0x79], rdx
mov r15, rdx
sar r15, 1
test r15, r15
jle 0x1400a228a
lea r10, [rdx - 1]
mov qword [rbp - 0x51], r10
mov r14, r10
sar r14, 1
mov qword [rbp - 0x49], r14
mov rcx, r15
shl rcx, 4
add rcx, r13
lea r9, reloc.WS2_32.dll_accept
nop word [rax + rax]
dec r15
sub rcx, 0x10
mov qword [rbp - 0x41], rcx
mov r8, qword [rcx]
mov qword [rbp + 7], r8
mov rax, qword [rcx + 8]
mov qword [rbp + 0xf], rax
mov qword [rcx], r9
mov rbx, r15
mov r9, r15
cmp r15, r14
jge 0x1400a2105
lea rax, [rsp + 0x30]
mov qword [rbp - 0x71], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x69], rax
nop
lea rsi, [r9 + r9]
lea rax, [rsp + 0x30]
mov qword [rbp - 0x61], rax
mov rdi, rsi
shl rdi, 4
add rdi, r13
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x38]
call qword [rax + 0x60]
nop
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x28]
lea rcx, [rsp + 0x28]
call qword [rax + 0x60]
nop
lea rax, [rbp - 0x39]
mov qword [rbp - 0x59], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x39], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x31]
call qword [rax + 0x60]
nop
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x29], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x21]
call qword [rax + 0x60]
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140072aa0
shr eax, 0x1f
mov edi, eax
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x20]
call qword [rax + 0x58]
nop
lea rcx, [rsp + 0x38]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x58]
nop
xor rdi, 1
lea r9, [rdi + 1]
add r9, rsi
mov rdx, r9
shl rdx, 4
add rdx, r13
shl rbx, 4
add rbx, r13
mov rcx, qword [rbx]
mov rax, qword [rdx]
mov qword [rbx], rax
mov qword [rdx], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx + 8]
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rax
mov rbx, r9
cmp r9, r14
jl 0x1400a2010
mov r8, qword [rbp + 7]
mov rdx, qword [rbp - 0x79]
mov r10, qword [rbp - 0x51]
cmp rbx, r14
jne 0x1400a213e
test dl, 1
jne 0x1400a213e
shl rdx, 4
add rdx, r13
shl rbx, 4
add rbx, r13
mov rcx, qword [rbx]
mov rax, qword [rdx - 0x10]
mov qword [rbx], rax
mov qword [rdx - 0x10], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [rdx - 8]
mov qword [rbx + 8], rcx
mov qword [rdx - 8], rax
mov rbx, r10
cmp r15, rbx
jge 0x1400a2245
lea rax, [rsp + 0x50]
mov qword [rbp - 0x59], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x61], rax
nop dword [rax]
lea rsi, [rbx - 1]
sar rsi, 1
lea rax, [rsp + 0x50]
mov qword [rbp - 0x69], rax
mov qword [rsp + 0x50], r8
lea rdx, [rbp + 0xf]
lea rcx, [rsp + 0x58]
call qword [r8 + 0x60]
nop
mov r14, rsi
shl r14, 4
add r14, r13
mov rax, qword [r14]
mov qword [rsp + 0x40], rax
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x48]
call qword [rax + 0x60]
nop
lea rax, [rbp - 0x19]
mov qword [rbp - 0x69], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x19], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x11]
call qword [rax + 0x60]
nop
mov rax, qword [rsp + 0x40]
mov qword [rbp - 9], rax
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 1]
call qword [rax + 0x60]
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 9]
call fcn.140072aa0
mov edi, eax
shr edi, 0x1f
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call qword [rdx + 0x58]
nop
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x58]
nop
test dil, dil
je 0x1400a223d
shl rbx, 4
add rbx, r13
mov rcx, qword [rbx]
mov rax, qword [r14]
mov qword [rbx], rax
mov qword [r14], rcx
mov rax, qword [rbx + 8]
mov rcx, qword [r14 + 8]
mov qword [rbx + 8], rcx
mov qword [r14 + 8], rax
mov rbx, rsi
cmp r15, rsi
jge 0x1400a223d
mov r8, qword [rbp + 7]
jmp 0x1400a2160
mov r8, qword [rbp + 7]
mov r14, qword [rbp - 0x49]
shl rbx, 4
add rbx, r13
mov rdx, qword [rbx]
mov qword [rbx], r8
mov qword [rbp + 7], rdx
mov rax, qword [rbx + 8]
mov rcx, qword [rbp + 0xf]
mov qword [rbx + 8], rcx
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 0xf]
call qword [rdx + 0x58]
nop
test r15, r15
mov rcx, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x79]
lea r10, [rdx - 1]
lea r9, reloc.WS2_32.dll_accept
jg 0x1400a1fd0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d9d70
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret