Function at 0x1400f6c50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rdi, qword [0x140167a98]
cmp byte [rdi + 0x1d0], 0
je 0x1400f6ef1
mov dword [rsp + 0x70], 0x8c9e8e90
mov word [rsp + 0x74], 0x100
xor esi, esi
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 4
jb 0x1400f6c90
mov byte [rsp + 0x75], sil
lea rcx, [rsp + 0x70]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x1400f6cb1
lea rcx, [rdi + 0x140]
cmp qword [rdi + 0x158], 0xf
jbe 0x1400f6cd2
mov rcx, qword [rdi + 0x140]
mov r8, qword [rdi + 0x150]
cmp r8, rax
jne 0x1400f6cf0
lea rdx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400f6ef1
mov rbx, qword [rdi + 0x258]
mov rbx, qword [rbx]
cmp rbx, qword [rdi + 0x258]
je 0x1400f6ef1
cvttss2si edx, dword [rdi + 0x1c4]
cvttss2si r9d, dword [rdi + 0x1c0]
mov r8d, dword [reloc.WS2_32.dll_ioctlsocket]
shl r8d, 5
movss xmm0, dword [rbx + 0x1c]
cvttss2si eax, xmm0
movss xmm1, dword [rbx + 0x18]
cvttss2si ecx, xmm1
sub edx, eax
sub r9d, ecx
imul r9d, r9d
imul edx, edx
add r9d, edx
imul r8d, r8d
cmp r9d, r8d
jg 0x1400f6cf7
cmp byte [0x1401669fc], sil
je 0x1400f6cf7
mov ecx, dword [0x14016699c]
test ecx, ecx
je 0x1400f6e2b
movzx eax, word [rbx + 0x14]
cmp eax, ecx
jne 0x1400f6cf7
mov word [rsp + 0x21], si
mov byte [rsp + 0x23], sil
mov qword [rsp + 0x24], rsi
mov qword [rsp + 0x2c], 0x4030
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
xor eax, eax
mov qword [rsp + 0x54], rax
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm0
mov byte [rsp + 0x20], listen
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x34], eax
cmp qword [rdi + 0x10], rsi
je 0x1400f6cf7
cmp qword [rdi + 8], rsi
je 0x1400f6cf7
mov edx, 0x41
xor ecx, ecx
lea r8d, [rdx - 0x40]
call fcn.140061a00
mov rdx, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x34], xmm1
mov eax, dword [rsp + 0x58]
mov dword [rcx + 0x3c], eax
xor eax, eax
mov byte [rcx + 0x40], al
xor r8d, r8d
mov rcx, rdi
call fcn.140108190
mov rdi, qword [0x140167a98]
jmp 0x1400f6cf7
mov word [rsp + 0x21], si
mov byte [rsp + 0x23], sil
mov qword [rsp + 0x24], rsi
mov qword [rsp + 0x2c], 0x4030
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
xor eax, eax
mov qword [rsp + 0x54], rax
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x3c], xmm0
mov byte [rsp + 0x20], listen
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x34], eax
cmp qword [rdi + 0x10], rsi
je 0x1400f6cf7
cmp qword [rdi + 8], rsi
je 0x1400f6cf7
mov edx, 0x41
xor ecx, ecx
lea r8d, [rdx - 0x40]
call fcn.140061a00
mov rdx, rax
mov r8, qword [rax + 0x10]
mov dword [r8], 4
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r8 + 4], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [r8 + 0x14], xmm1
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r8 + 0x24], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [r8 + 0x34], xmm1
mov eax, dword [rsp + 0x58]
mov dword [r8 + 0x3c], eax
xor eax, eax
mov byte [r8 + 0x40], al
xor r8d, r8d
mov rcx, rdi
call fcn.140108190
mov rdi, qword [0x140167a98]
jmp 0x1400f6cf7
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret