Function at 0x140047b70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401cca00]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rdx
mov qword [rbp - 0x40], rdx
mov rdi, qword [0x140272c90]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140047bce
mov rdx, qword [rbx]
mov r8d, Ordinal_41
lea rcx, [rbp - 0x30]
call fcn.140049700
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rax + 8]
add rcx, qword [rax]
mov dword [rdi], ecx
cmp ecx, 0xffffffff
je 0x140047c9e
movsxd rcx, ecx
call fcn.14016281c
mov rsi, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
movsxd r8, dword [rdi]
mov rdx, rsi
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
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 0x140047c6c
mov rdx, rsi
mov rcx, rdi
call fcn.140048010
mov byte [rdi + 0x28], al
lea rcx, [rbp - 0x20]
call fcn.140049900
test rax, rax
jne 0x140047c96
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rsi
call fcn.140162590
cmp byte [rdi + 0x28], 0
jne 0x140047f0c
mov dword [rsp + 0x30], 0xbb8
mov byte [rsp + 0x34], 1
mov dword [rsp + 0x38], 3
mov byte [rsp + 0x3c], 1
lea rax, [rbp - 0x70]
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [str.vP__QQ]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1401a3d30]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401a3d34]
mov word [rsp + 0x54], ax
xor edi, edi
cmp byte [0x1401a3d35], dil
je 0x140047e8e
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140047e4a
movdqa xmm5, xmmword [0x1401ab350]
movdqa xmm4, xmmword [0x1401ab570]
movdqa xmm6, xmmword [0x1401ab3a0]
movdqa xmm0, xmmword [0x1401ab440]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401ab420]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401ab420]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140047d40
cmp ecx, 0x16
jge 0x140047e8e
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x140047e60
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140047eb0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140006df0
mov byte [rbp - 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
mov r8d, 6
lea rdx, str.System
lea rcx, [rsp + 0x70]
call fcn.140006df0
nop
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14006b6f0
nop
mov rax, qword [rbp - 0x30]
movsxd rdx, dword [rax + 4]
mov qword [rbp + rdx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xb0]
mov dword [rbp + rdx - 0x34], r8d
lea rcx, [rbp - 0x20]
call fcn.140049560
lea rcx, [rbp - 0x18]
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 + 0x80]
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, rbx
call fcn.140003a10
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140162570
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret