Function at 0x1400655e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x98], rdi
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_23]
call fcn.1400643e0
movups xmm0, xmmword [0x1402c7bb0]
mov edi, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
mov eax, dword [0x1402c7be0]
mov r8d, ebx
mov dword [rbp - 0x20], eax
movups xmm1, xmmword [0x1402c7bc0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1402c7bd0]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
cmp edi, 2
jl 0x140065781
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1402c8de0]
movdqa xmm4, xmmword [0x1402c8e30]
movdqa xmm6, xmmword [str.3333]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x140065672
cmp r8d, 0x34
jge 0x1400657c6
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x34
jl 0x140065790
lea rcx, [rbp - 0x50]
call fcn.1401fc210
cmp byte [0x1402c775b], bl
mov eax, dword [str.PXF6]
mov dword [rbp + 0x10], eax
je 0x1400658b6
cmp edi, 2
jl 0x14006586e
movdqa xmm3, xmmword [0x1402c8de0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1402c8e30]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1402c8e30]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x10], xmm2
jmp 0x1400658b6
lea r9, [rbp + 0x10]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 4
jl 0x140065880
lea rcx, [rbp + 0x10]
call fcn.1401fc210
movzx eax, word [0x1402c7c18]
mov r8d, ebx
mov word [rbp - 0x20], ax
movups xmm0, xmmword [0x1402c7be8]
movups xmm1, xmmword [0x1402c7bf8]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1402c7c08]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
cmp edi, 2
jl 0x140065a3f
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1402c8de0]
movdqa xmm4, xmmword [0x1402c8e30]
movdqa xmm6, xmmword [str.3333]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x140065930
cmp r8d, 0x32
jge 0x140065a86
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x32
jl 0x140065a50
lea rcx, [rbp - 0x50]
call fcn.1401fc210
cmp byte [0x1402c775b], bl
mov eax, dword [str.PXF6]
mov dword [rbp + 0x10], eax
je 0x140065b76
cmp edi, 2
jl 0x140065b2e
movdqa xmm3, xmmword [0x1402c8de0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1402c8e30]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1402c8e30]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp + 0x10], xmm2
jmp 0x140065b76
lea r9, [rbp + 0x10]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 4
jl 0x140065b40
lea rcx, [rbp + 0x10]
call fcn.1401fc210
movups xmm0, xmmword [0x1402c7e90]
mov eax, dword [0x1402c7eb8]
cmp edi, 2
movups xmm1, xmmword [0x1402c7ea0]
mov rdi, qword [rsp + 0x98]
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x28], eax
movsd xmm0, qword [0x1402c7eb0]
movzx eax, word [0x1402c7ebc]
movsd qword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x24], ax
jl 0x140065d0a
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x4c]
movdqa xmm5, xmmword [0x1402c8de0]
movdqa xmm4, xmmword [0x1402c8e30]
movdqa xmm6, xmmword [str.3333]
movdqa xmmword [rbp - 0x60], xmm0
mov edx, dword [rbp - 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402c8e00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x140065c00
cmp ebx, 0x2e
jge 0x140065d51
movsxd rax, ebx
lea r8, [rbp - 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x2e
jl case.default.0x140065d7a
lea rcx, [rbp - 0x50]
call fcn.14005ff40
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbp
jmp qword [sym.imp.SecureEngineSDK64.dll_Ordinal_24]