Function at 0x1401649a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movdqa xmmword [rsp + 0xb0], xmm8
movdqa xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
cmp r8, 0x30
ja 0x140164c67
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm6, xmmword [0x14026fe30]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0x50]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8, rsi
call qword [case.0x1400f45b0.0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [case.0x1400f45b0.0]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [case.0x1400f45b0.0]
test r14, r14
je 0x140164ab1
xor eax, eax
nop dword [rax]
movzx ecx, byte [r15 + rax]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp r14, rax
jne 0x140164aa0
lea r13, [rsi + 0xf8]
mov eax, dword [0x1403e4c74]
test eax, 0x2000000
jne 0x140164beb
test eax, 0x200
jne 0x140164c12
mov dword [rsi + 0xf0], ntohs
movdqa xmm8, xmmword [rsp + 0x40]
movdqu xmmword [rsi], xmm8
movdqa xmm7, xmmword [rsp + 0x50]
movdqu xmmword [rsi + 0x10], xmm7
mov ebp, gethostbyname
lea rdi, [0x1402939b0]
lea r14, [rsp + 0x70]
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x20]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmmword [rsp + 0x30], xmm7
mov rcx, r14
mov rdx, r15
call fcn.140165270
movzx eax, byte [rdi]
movd xmm0, eax
pxor xmm0, xmm8
movdqa xmm1, xmmword [rsp + 0x70]
movdqa xmm2, xmm1
psrld xmm2, 8
pslld xmm1, 0x18
por xmm1, xmm2
psrldq xmm1, 0xc
pxor xmm1, xmm0
movdqa xmm0, xmm1
pslldq xmm0, 4
movdqa xmm2, xmm1
pslldq xmm2, 8
pxor xmm2, xmm0
movdqa xmm8, xmm1
pslldq xmm8, 0xc
pxor xmm8, xmm2
pxor xmm8, xmm1
movdqu xmmword [rsi + rbp - 0x10], xmm8
cmp rbp, 0xf0
je 0x140164c39
movdqa xmmword [rsp + 0x20], xmm8
mov rcx, r14
mov rdx, r12
call fcn.140165270
movdqa xmm0, xmmword [rsp + 0x70]
psrldq xmm0, 0xc
pxor xmm7, xmm0
movdqa xmm0, xmm7
pslldq xmm0, 4
movdqa xmm1, xmm7
pslldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm7
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm7, xmm0
movdqu xmmword [rsi + rbp], xmm7
add rbp, 0x20
inc rdi
jmp 0x140164b10
lea rcx, [rsp + 0x40]
mov edx, 0x100
mov r8, rsi
call fcn.1400034e0
lea rax, [0x140001fe0]
test r13, r13
je 0x140164c55
lea rcx, [0x140001280]
jmp 0x140164c51
lea rcx, [rsp + 0x40]
mov edx, 0x100
mov r8, rsi
call fcn.1400045d0
lea rax, [0x140004aa0]
test r13, r13
je 0x140164c55
lea rcx, [0x1400047a0]
jmp 0x140164c51
lea rax, [0x140162e90]
test r13, r13
je 0x140164ca6
lea rcx, [0x140161d30]
lea rdi, [rsp + 0x60]
mov qword [r13], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov edi, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140203460
mov eax, edi
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0x60]
jmp 0x140164c55