Function at 0x14009de10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea r14, [rdx + 0x10]
mov rcx, qword [r14]
mov rax, rdx
lea r15, [rdx + 0x18]
cmp qword [rdx + 0x18], 0xf
jbe 0x14009de5e
mov rax, qword [rdx]
lea r14, [rdx + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
call fcn.1402837a8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14009c4d0
nop
lea rcx, [rsp + 0x58]
call fcn.14009ce90
movzx r13d, al
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14009dee2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009dedd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e11b
lea r14, [rbx + 0x10]
lea r15, [rbx + 0x18]
call fcn.140284104
test r13b, r13b
jne 0x14009e130
movsd xmm0, qword [str.s___]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140333c48]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140333c4c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x140333c4e]
mov byte [rsp + 0x3e], al
xor r14d, r14d
mov ecx, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14009e01a
movdqa xmm4, xmmword [0x1403345f0]
movdqa xmm2, xmmword [0x140334180]
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 [str.::::epph__wepbqT]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140334260]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140334320]
movd xmm0, dword [str.s___]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140334190]
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 [str.::::epph__wepbqT]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140334260]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140334320]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14009e030
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x14009e080
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14009a560
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14009e0cd
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14009e0c8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14009e122
mov rcx, r8
call fcn.140284104
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14009e112
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14009e10d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14009e129
mov rcx, r8
call fcn.140284104
mov qword [rdi + 0x10], r14
jmp 0x14009e262
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400cd380
nop
xor r12d, r12d
mov qword [rbp - 0x50], r12
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400d40f0
nop
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400ceb80
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400cd880
mov rdx, rsi
mov rcx, rax
call fcn.1400d4200
nop
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400d0950
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.1400cd2b0
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 + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [r15]
cmp rdx, 0xf
jbe 0x14009e21b
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14009e216
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14009e28b
mov rcx, r8
call fcn.140284104
mov qword [r14], r12
mov qword [r15], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14009e25e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14009e259
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14009e292
mov rcx, r8
call fcn.140284104
mov qword [rdi + 0x10], r12
mov rax, rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3