Function at 0x1400247d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov qword [rbp + 8], setsockopt
lea r14, [rbp - 0x10]
mov edx, 0x78
mov rcx, r14
call fcn.14000fce0
cmp qword [rbp + 8], 0x10
jb 0x14002482f
mov r14, qword [rbp - 0x10]
inc r14
mov eax, 0x76
nop word [rax + rax]
lea rcx, [rax + 1]
mov rdx, rcx
shr rdx, 6
mov rdx, qword [rbx + rdx*8]
bt rdx, rcx
setae cl
xor cl, 0x31
mov byte [r14 - 1], cl
mov rcx, rax
shr rcx, 6
mov rcx, qword [rbx + rcx*8]
mov edx, eax
and edx, 0x3e
bt rcx, rdx
setae cl
xor cl, 0x31
mov byte [r14], cl
add rax, 0xfffffffffffffffe
add r14, 2
cmp rax, 0xfffffffffffffffe
jne 0x140024840
mov rcx, qword [rbp + 8]
mov qword [rbp], 0x78
lea r9, [rbp - 0x10]
mov rax, r9
cmp rcx, 0x10
jb 0x1400248a5
mov rax, qword [rbp - 0x10]
mov byte [rax + 0x78], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x20], setsockopt
movd xmm0, dword [rdi]
pshufd xmm0, xmm0, 0
movdqa xmm1, xmmword [0x1400cbf80]
pand xmm1, xmm0
pand xmm0, xmmword [0x1400cbf90]
pxor xmm2, xmm2
pcmpeqd xmm0, xmm2
pcmpeqd xmm1, xmm2
packssdw xmm1, xmm0
packsswb xmm1, xmm1
paddb xmm1, xmmword [str.11111111]
movq qword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], 8
lea rdi, [rbp - 0x58]
lea r8, [rbp - 0x38]
mov rcx, rdi
call fcn.140024cb0
mov rax, qword [rbp - 0x58]
mov r9, qword [rbp - 0x48]
mov r8, qword [rbp - 0x40]
cmp r8, 0x10
cmovae rdi, rax
cmp r9, 0x81
jb 0x140024960
mov ecx, 0x80
nop word cs:[rax + rax]
movzx edx, byte [rdi + rcx]
and dl, 0xfe
cmp dl, 0x30
jne 0x140024b4b
inc rcx
cmp r9, rcx
jne 0x140024940
mov r9d, 0x80
jmp 0x140024969
test r9, r9
je 0x140024a5c
lea rbx, [rdi + r9]
lea r11, [r9 - 1]
xor r10d, r10d
mov r14, rsi
lea rcx, [rbx - 0x40]
mov qword [rbp - 0x18], rcx
mov r12, r11
xor edx, edx
xor r15d, r15d
nop word [rax + rax]
movzx esi, byte [rdi + r12]
xor r13d, r13d
cmp sil, 0x31
sete r13b
mov ecx, edx
shl r13, cl
and sil, 0xfe
cmp sil, 0x30
jne 0x140024b46
or r13, r15
test r12, r12
je 0x140024a24
movzx esi, byte [rdi + r12 - 1]
xor r15d, r15d
cmp sil, 0x31
sete r15b
lea rcx, [rdx + 1]
shl r15, cl
and sil, 0xfe
cmp sil, 0x30
jne 0x140024b46
or r15, r13
inc rcx
cmp rcx, 0x40
je 0x140024a00
add rdx, 2
add r12, 0xfffffffffffffffe
cmp r9, rdx
mov rdx, rcx
jne 0x140024990
jmp 0x140024a27
mov rsi, r14
mov qword [r14 + r10*8], r15
inc r10
add r11, 0xffffffffffffffc0
add r9, 0xffffffffffffffc0
mov rcx, qword [rbp - 0x18]
mov rbx, rcx
cmp rcx, rdi
jne 0x140024974
jmp 0x140024a36
mov r15, r13
cmp rbx, rdi
je 0x140024a3e
mov rsi, r14
mov qword [r14 + r10*8], r15
inc r10
cmp r10, 1
jbe 0x140024a47
jmp 0x140024a54
mov rsi, r14
cmp r10, 1
ja 0x140024a54
mov qword [rsi + r10*8], 0
test r10, r10
je 0x140024a63
cmp r8, 0x10
jae 0x140024a71
jmp 0x140024aa5
mov qword [rsi], 0
mov qword [rsi + 8], 0
cmp r8, 0x10
jb 0x140024aa5
lea rdx, [r8 + 1]
cmp rdx, 0x1000
jb 0x140024a9d
mov rcx, qword [rax - 8]
add rax, 0xfffffffffffffff8
sub rax, rcx
cmp rax, 0x20
jae 0x140024b50
add r8, 0x28
mov rdx, r8
mov rax, rcx
mov rcx, rax
call fcn.14009a7e4
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x40], setsockopt
mov byte [rbp - 0x58], 0
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x140024af4
mov rcx, qword [rbp - 0x38]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140024aef
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140024b55
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009a7e4
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x140024b2f
mov rcx, qword [rbp - 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140024b2a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140024b5a
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009a7e4
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140024e60
call fcn.140024e60
call fcn.1400a4324
call fcn.1400a4324
call fcn.1400a4324
int3