Function at 0x6588b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8768
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x184], esi
xor eax, eax
mov dword [ebp - 0x180], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004044f0
lea edi, [esi + 8]
lea eax, [ebp - 0x248]
cmp edi, eax
je 0x658965
mov ecx, edi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x248]
xor eax, eax
mov word [ebp - 0x248], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x238]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
call fcn.00404490
mov ecx, esi
call fcn.00659530
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x7d8c50
push 1
push 0
push 0x7d8b04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x658c98
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x180], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov esi, dword [ebp - 0x184]
xor eax, eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x1e8], 0x2d
mov dword [ebp - 0x1e4], 0xcb00fd
mov dword [ebp - 0x1e0], 0xd400c8
mov dword [ebp - 0x1dc], 0x8700ce
mov dword [ebp - 0x1d8], 0xf6009e
mov dword [ebp - 0x1d4], 0xb30087
mov dword [ebp - 0x1d0], 0xb600ad
mov dword [ebp - 0x1cc], 0x9500b4
mov dword [ebp - 0x1c8], 0xab00a9
mov dword [ebp - 0x1c4], 0xaa00a1
mov dword [ebp - 0x1c0], 0x8400b3
mov dword [ebp - 0x1bc], 0xa700ae
mov dword [ebp - 0x1b8], 0xac00ab
mov dword [ebp - 0x1b4], 0xeb00a4
mov dword [ebp - 0x1b0], 0x9000e8
mov dword [ebp - 0x1ac], 0x9600bb
mov dword [ebp - 0x1a8], 0xb200a4
mov dword [ebp - 0x1a4], 0xad00b9
mov dword [ebp - 0x1a0], 0x9200bf
mov dword [ebp - 0x19c], 0xae00b2
mov dword [ebp - 0x198], 0xbe00aa
mov dword [ebp - 0x194], 0x82008e
mov dword [ebp - 0x190], 0xcb0087
mov dword [ebp - 0x18c], 0xe500cd
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x1e4], cx
inc eax
mov ecx, dword [ebp - 0x1e8]
cmp eax, ecx
jb 0x658b50
xor eax, eax
mov word [ebp + ecx*2 - 0x1e4], ax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00659070
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x180], eax
test edx, edx
je 0x658bd2
mov esi, eax
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x658bb5
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x180]
xor ecx, ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x17c]
push eax
call fcn.006569d0
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x188], eax
test edx, edx
je 0x658c1d
mov esi, eax
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x658c00
mov esi, dword [ebp - 0x184]
mov eax, dword [ebp - 0x188]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0x180]
mov ecx, dword [ebp - 0x230]
push 0x84
push eax
push 0
call fcn.00469240
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [ebp + edx - 0xc4], eax
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, esi
call fcn.00659530
xor al, al
jmp 0x659054
mov ecx, dword [esi]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jns 0x658e1e
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d4f80
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x180], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xa8], 0x7c6164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x1f0]
mov dword [ebp - 4], 5
push eax
call fcn.006591c0
mov ecx, eax
call fcn.00403e20
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00659290
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x17c]
push eax
call fcn.006569d0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x8c
push eax
push 0
mov ecx, edi
call fcn.00469240
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable..7.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xa8]
call fcn.004073e0
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x184]
call fcn.00659530
xor al, al
jmp 0x659054
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
lea eax, [esi + 4]
push eax
push 2
push edx
call ecx
test eax, eax
jns 0x659052
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0x158]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x180], 4
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x158], 0x7c6164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0x2b
mov dword [ebp - 0x1e0], 0xcb00fd
mov dword [ebp - 0x1dc], 0xd400c8
mov dword [ebp - 0x1d8], 0x8700ce
mov dword [ebp - 0x1d4], 0xf6009e
mov dword [ebp - 0x1d0], 0xb30087
mov dword [ebp - 0x1cc], 0xb600ad
mov dword [ebp - 0x1c8], 0x9500b4
mov dword [ebp - 0x1c4], 0xab00a9
mov dword [ebp - 0x1c0], 0xaa00a1
mov dword [ebp - 0x1bc], 0x8400b3
mov dword [ebp - 0x1b8], 0xa700ae
mov dword [ebp - 0x1b4], 0xac00ab
mov dword [ebp - 0x1b0], 0xeb00a4
mov dword [ebp - 0x1ac], 0x9400e8
mov dword [ebp - 0x1a8], 0xa100b1
mov dword [ebp - 0x1a4], 0xb20084
mov dword [ebp - 0x1a0], 0xb000bf
mov dword [ebp - 0x19c], 0xaf00a9
mov dword [ebp - 0x198], 0xa400ae
mov dword [ebp - 0x194], 0xba0095
mov dword [ebp - 0x190], 0xc90099
mov dword [ebp - 0x18c], 0xe300cb
call fcn.00403e20
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
call fcn.006593e0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x304]
push eax
call fcn.006569d0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x170]
push ecx
push esi
push 0x95
push eax
push 0
mov ecx, edi
call fcn.00469240
lea ecx, [ebp - 0x170]
call fcn.00406480
mov ecx, dword [ebp - 0x184]
call fcn.00659530
xor al, al
jmp 0x659054
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret