Function at 0x10008aa0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ef01
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x1002900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
push 0xb8
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
cmp dword [ebx + 0x20], 0x10
lea eax, [ebx + 0xc]
lea ecx, [ebp - 0xe8]
cmovae eax, dword [ebx + 0xc]
push eax
call fcn.10012c70
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xec], eax
push 0xb0
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 2
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x198]
call fcn.10010f30
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char____]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x198]
call fcn.10010e40
cmp dword [ebx + 0x38], 0x10
lea edx, [ebx + 0x24]
mov eax, dword [ebx + 0x34]
cmovae edx, dword [ebx + 0x24]
test eax, eax
jne 0x10008d5c
mov esi, eax
mov ecx, 0x10021541
sub esi, 4
jb 0x10008bc6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10008bcb
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10008bb5
cmp esi, 0xfffffffc
je 0x10008bff
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10008bf8
cmp esi, 0xfffffffd
je 0x10008bff
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10008bf8
cmp esi, 0xfffffffe
je 0x10008bff
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10008bf8
cmp esi, 0xffffffff
je 0x10008bff
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x10008bff
sbb eax, eax
or eax, 1
jmp 0x10008c01
xor eax, eax
test eax, eax
jne 0x10008d5c
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
mov byte [ebp - 0x2c], al
movq xmm0, qword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x198]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x19c], eax
lea ecx, [ebp - 0x180]
call fcn.10010d90
lea ecx, [ebp - 0x178]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xd8]
call fcn.10011a30
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x10
jb 0x10008cf4
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008cea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ece
push ecx
push edx
call fcn.1001d4af
add esp, 8
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp ecx, 0x10
jb 0x10008d3a
mov edx, dword [ebx + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008d30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ece
push ecx
push edx
call fcn.1001d4af
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001d4a1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
xor edi, edi
cmp dword [ebp - 0x1c], edi
jbe 0x10008d8c
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
lea ecx, [ebx + 0x24]
mov eax, edi
cmovae esi, dword [ebp - 0x2c]
cmp dword [ebx + 0x38], 0x10
cmovae ecx, dword [ebx + 0x24]
xor edx, edx
div dword [ebx + 0x34]
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x10008d63
mov edi, dword [ebp - 0x19c]
movups xmm0, xmmword [ebp - 0x2c]
mov eax, dword [ebp - 0x198]
mov byte [ebp - 0x2c], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x19c], eax
lea ecx, [ebp - 0x180]
call fcn.10010d90
lea ecx, [ebp - 0x178]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xd8]
call fcn.10011a30
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x10
jb 0x10008e8a
mov edx, dword [ebx + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008e80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008ece
push ecx
push edx
call fcn.1001d4af
add esp, 8
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp ecx, 0x10
jb 0x10008d3a
mov edx, dword [ebx + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008d30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10008d30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3