Function at 0x14000d620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1401fec80]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], r8
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000d67b
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140001c10
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x18]
call fcn.140039948
mov edx, eax
test eax, eax
jne 0x14000d70e
mov eax, dword [rbp - 8]
test al, 1
mov ecx, 0x1ff
mov r8d, 0x16d
cmovne ecx, r8d
mov dword [rsp + 0x44], ecx
bt eax, 0xa
jae 0x14000d700
mov ecx, dword [rbp - 4]
cmp ecx, 0xa000000c
jne 0x14000d6f1
lea eax, [rdx + 4]
jmp 0x14000d732
cmp ecx, 0xa0000003
jne 0x14000d700
mov eax, 0xa
jmp 0x14000d732
movzx eax, al
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x14000d732
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x14000d72d
sub eax, 1
je 0x14000d72d
sub eax, 0x32
je 0x14000d72d
cmp eax, 0x46
mov eax, r15d
jne 0x14000d732
mov eax, 1
mov dword [rsp + 0x40], edx
lea rcx, [0x1401fec18]
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x14000d92c
cmp eax, 1
sete sil
lea rcx, [rsp + 0x68]
call fcn.14000f960
test sil, sil
je 0x14000d93c
movsd xmm0, qword [0x14003f420]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x14003f428]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14003f42c]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x14003f42e]
mov byte [rsp + 0x5e], al
mov ecx, r15d
cmp dword [0x1401fec30], 2
jl 0x14000d8b1
movdqa xmm4, xmmword [0x140040c40]
movdqa xmm2, xmmword [0x140040b80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140040ba0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140040c10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [0x14003f420]
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm3, xmmword [0x140040b90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140040ba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140040c10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
movd xmm0, dword [rsp + 0x54]
xorps xmm2, xmm0
movd dword [rsp + 0x54], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14000d8c0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000d910
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400019d0
jmp 0x14000da64
mov sil, 1
test edx, edx
jne 0x14000dae7
jmp 0x14000d75c
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14000a450
nop
mov qword [rbp - 0x40], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400080c0
nop
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.14000ab00
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.14000cc80
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x60], reloc.WS2_32.dll_select
cmp byte [rax], 3
jne 0x14000da9e
mov r9, qword [rax + 8]
cmp rbx, r9
je 0x14000da0f
mov rsi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x14000d9e2
mov r9, qword [r9]
mov rcx, rbx
cmp rsi, 0xf
ja 0x14000da00
mov qword [rbx + 0x10], rsi
mov r8, rsi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x14000da0f
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
call fcn.140003900
nop
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.140010d70
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x20]
call fcn.14000bfa0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.14000c030
nop
mov rcx, r14
call fcn.14000c030
mov rax, rbx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14003a390
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.14001c810
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [0x140040b38]
lea rcx, [rsp + 0x68]
call fcn.140004cc0
nop
mov r9, rsi
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x78]
call fcn.140005900
lea rdx, [0x140049fc0]
lea rcx, [rbp - 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
lea rcx, [0x14003ebb0]
call fcn.14000f6f0
int3