Function at 0x1400a8f90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor edi, edi
mov dword [rsp + 0x44], edi
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov r14, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a8ff5
mov r14, qword [rbx]
lea rax, [0x14023be98]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r15d, 4
mov dword [rsp + 0x44], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x40], rax
mov byte [rbp + 0x3c], 0
mov byte [rbp + 0x31], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x40], rdi
mov rax, qword [0x140297a40]
mov qword [rbp + 0x34], rax
mov qword [rbp + 0x28], rdi
mov r9d, 0x40
mov r8d, 1
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.1400b00c0
test rax, rax
jne 0x1400a90c6
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x14023e740]
movdqu xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], 0
cmp qword [rbp + 0x40], 0
jne 0x1400a9319
movups xmm0, xmmword [str.uC_F]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14023c5e8]
movups xmmword [rsp + 0x58], xmm1
movzx eax, word [0x14023c5f8]
mov word [rsp + 0x68], ax
movzx eax, byte [0x14023c5fa]
mov byte [rsp + 0x6a], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400a926a
movdqa xmm4, xmmword [0x14023e780]
movdqa xmm3, xmmword [0x14023eca0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmmword [0x14023e850]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x4c]
movdqa xmm6, xmmword [0x14023e800]
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x20
jl 0x1400a9180
cmp edi, 0x23
jge 0x1400a92af
movsxd rax, edi
lea r8, [rsp + 0x48]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, dil
sub al, cl
add al, 0x30
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x23
jl 0x1400a9280
lea rcx, [rsp + 0x48]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400a92c0
mov rdx, qword [rbx + 0x10]
movabs r14, 0x7fffffffffffffff
sub r14, rdx
cmp r14, rax
jb 0x1400a94d3
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400a92f0
mov rcx, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, rbx
movzx edx, byte [rsp + 0x40]
mov rcx, rsi
call fcn.1400b2c40
jmp 0x1400a948d
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400b2e50
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400a9437
movabs r14, 0x7fffffffffffffff
lea r12, reloc.WS2_32.dll_ioctlsocket
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
mov rax, r14
mov rcx, qword [rbp - 0x80]
sub rax, rcx
cmp rax, 1
jb 0x1400a94d9
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
movzx edx, bl
lea rcx, [rsp + 0x48]
call fcn.1400b2c40
or r15d, 2
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.1400af740
nop
lea rcx, [rsp + 0x48]
call fcn.1400b02e0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400b2e50
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x1400a9390
lea rcx, [rbp - 0x40]
call fcn.1400b0000
test rax, rax
jne 0x1400a9462
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x14023e740]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
lea rcx, [rsp + 0x70]
call fcn.1400b02e0
nop
lea rcx, [rbp - 0x70]
call fcn.1400b02e0
nop
lea rcx, [rbp - 0x50]
call fcn.1400a94e0
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1401ff5f0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400560c0
nop
call fcn.1400560c0
int3