Function at 0x140150520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1401e7270]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r14d, r14d
lea rsi, [rcx + 0x3c]
lea rax, [rbp - 0x50]
mov r8, rdx
mov rbx, rcx
lea edi, [r14 + 2]
cmp rax, rsi
ja 0x14015056b
lea rax, [rbp - 0x14]
cmp rax, rcx
jae 0x14015057f
lea rax, [rsp + 0x20]
cmp rax, rsi
ja 0x1401505c4
lea rax, [rsp + 0x5c]
cmp rax, rbx
jb 0x1401505c4
lea rax, [rsp + 0x20]
mov r10, rbx
sub r8, rax
mov rdx, r14
lea rax, [rsp + 0x20]
mov r9d, setsockopt
sub r10, rax
nop dword [rax + rax]
lea rax, [rsp + 0x20]
add rax, rdx
mov ecx, dword [r8 + rax]
mov dword [rax], ecx
mov eax, dword [r10 + rax]
xor eax, ecx
mov dword [rbp + rdx - 0x50], eax
add rdx, 4
sub r9, 1
jne 0x1401505a0
jmp 0x140150635
lea r10, [rsp + 0x20]
add rcx, 0x10
lea r11, [rbp - 0x50]
sub r10, rbx
lea rdx, [rsp + 0x20]
sub r11, rbx
sub rdx, rbx
lea r9, [rbp - 0x50]
sub r8, rbx
mov rax, rdi
sub r9, rbx
nop dword [rax]
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmmword [r10 + rcx - 0x10], xmm1
lea rcx, [rcx + 0x20]
pxor xmm0, xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmmword [r11 + rcx - 0x30], xmm0
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmmword [rdx + rcx - 0x20], xmm1
pxor xmm1, xmm0
movdqu xmmword [r9 + rcx - 0x20], xmm1
sub rax, 1
jne 0x1401505f0
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401508c0
mov r8d, 0x1000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401508c0
mov r8d, 0x2000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401508c0
mov r8d, 0x3000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401508c0
mov r8d, 0x4000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401508c0
mov r8d, 0x5000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401508c0
mov r8d, 0x6000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401508c0
mov r8d, 0x7000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401508c0
mov r8d, 0x8000000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401508c0
mov r8d, 0x9000000
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.1401508c0
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1401512b0
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401512b0
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401512b0
mov r8d, 3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401512b0
mov r8d, 4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401512b0
mov r8d, 5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401512b0
mov r8d, 6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401512b0
mov r8d, 7
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.1401512b0
mov r8d, 8
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1401512b0
mov r8d, 9
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1401512b0
lea rax, [rbp - 0x14]
cmp rbx, rax
ja 0x1401507e3
lea rax, [rbp - 0x50]
cmp rsi, rax
jae 0x140150867
lea rax, [rbp + 0x3c]
cmp rbx, rax
ja 0x1401507f5
lea rax, [rbp]
cmp rsi, rax
jae 0x140150867
lea r8, [rbp]
mov r14d, setsockopt
lea r9, [rbp - 0x50]
sub r8, rbx
lea rcx, [rbp]
sub r9, rbx
sub rcx, rbx
lea rdx, [rbp - 0x50]
sub rdx, rbx
lea rax, [rbx + 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [r8 + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmm0, xmmword [r9 + rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm2, xmm0
movdqu xmm0, xmmword [rdx + rax - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x20], xmm2
sub rdi, 1
jne 0x140150820
movsxd rcx, r14d
cmp rcx, 0x10
jge 0x140150895
lea rcx, [rcx*4]
nop dword [rax + rax]
mov eax, dword [rbp + rcx]
xor eax, dword [rbp + rcx - 0x50]
xor dword [rcx + rbx], eax
add rcx, 4
cmp rcx, 0x40
jl 0x140150880
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400d5050
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret