Function at 0x1800bec80
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
movups xmm0, xmmword [0x180103dc8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180103dd8]
movups xmmword [r11 - 0x68], xmm1
movups xmm0, xmmword [0x180103de8]
movups xmmword [r11 - 0x58], xmm0
movsd xmm0, qword [0x180103df8]
movsd qword [r11 - 0x48], xmm0
cmp dword [0x180119010], 2
jl 0x1800bee21
movdqa xmm5, xmmword [0x1801044a0]
mov edx, edi
movdqa xmm4, xmmword [0x180104650]
movdqa xmm6, xmmword [0x1801044e0]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [r11 - 0x74]
mov r8d, dword [rsp + 0x40]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801045a0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x38
jl 0x1800bed22
jmp 0x1800bee5c
lea r8, [rsp + 0x70]
mov ecx, edi
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x38
jl 0x1800bee30
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1800bee80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180009130
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], socket
mov byte [rsp + 0xa8], 0
cmp byte [0x18011aaec], 0
jne 0x1800beee2
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180011010
mov rcx, rax
call fcn.1800055b0
jmp 0x1800beeec
lea rcx, [rsp + 0x50]
call fcn.180024ea0
mov rdi, rax
mov rax, qword [0x18011ada8]
movsxd rdx, dword [rbx + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rbx]
call rax
mov qword [rbx], rax
movsxd rcx, dword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 8]
mov eax, dword [rbx + 8]
mov dword [rbx + 0xc], eax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800bef5e
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bef59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bef59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800c8790
mov rax, rbx
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1800c8140
mov rbx, qword [rsp + 0xf8]
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rdi
ret