Function at 0x6595c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b9e98
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x831184]
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 0x7cf388
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 0x659675
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.0065a240
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push 0x7dac9c
push 1
push 0
push 0x7dab50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x6599a8
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xd800ec
mov dword [ebp - 0x1e0], 0xc300d9
mov dword [ebp - 0x1dc], 0x9400df
mov dword [ebp - 0x1d8], 0xf9008f
mov dword [ebp - 0x1d4], 0xc000f6
mov dword [ebp - 0x1d0], 0xc100dc
mov dword [ebp - 0x1cc], 0xe600c5
mov dword [ebp - 0x1c8], 0xd400d8
mov dword [ebp - 0x1c4], 0xd900d0
mov dword [ebp - 0x1c0], 0xf300c2
mov dword [ebp - 0x1bc], 0xd400df
mov dword [ebp - 0x1b8], 0xa300da
mov dword [ebp - 0x1b4], 0xf800b5
mov dword [ebp - 0x1b0], 0x8700f9
mov dword [ebp - 0x1ac], 0x8500aa
mov dword [ebp - 0x1a8], 0xad00b5
mov dword [ebp - 0x1a4], 0xbe00a8
mov dword [ebp - 0x1a0], 0x8500ae
mov dword [ebp - 0x19c], 0xbd00a3
mov dword [ebp - 0x198], 0xb100bb
mov dword [ebp - 0x194], 0xb100bf
mov dword [ebp - 0x190], 0xfc00b6
mov dword [ebp - 0x18c], 0xd600fc
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x1e4], cx
inc eax
mov ecx, dword [ebp - 0x1e8]
cmp eax, ecx
jb 0x659860
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.004345f0
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00659d80
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x180], eax
test edx, edx
je 0x6598e2
mov esi, eax
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x6598c5
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.00657710
mov edi, eax
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x188], eax
test edx, edx
je 0x65992d
mov esi, eax
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x659910
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.00469f50
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
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.0065a240
xor al, al
jmp 0x659d64
mov ecx, dword [esi]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jns 0x659b2e
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x7d6f90
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xb0], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x1f0]
mov dword [ebp - 4], 5
push eax
call fcn.00659ed0
mov ecx, eax
call fcn.00403e20
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00659fa0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00657710
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.00469f50
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 0x7c81a4
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.0065a240
xor al, al
jmp 0x659d64
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 0x659d62
push 0xb0
lea eax, [ebp - 0x170]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d6f90
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 0x7d7228
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 - 0x170], 0x7c81a4
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], 0x7c8164
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], 0xd800ec
mov dword [ebp - 0x1dc], 0xc300d9
mov dword [ebp - 0x1d8], 0x9400df
mov dword [ebp - 0x1d4], 0xf9008f
mov dword [ebp - 0x1d0], 0xc000f6
mov dword [ebp - 0x1cc], 0xc100dc
mov dword [ebp - 0x1c8], 0xe600c5
mov dword [ebp - 0x1c4], 0xd400d8
mov dword [ebp - 0x1c0], 0xd900d0
mov dword [ebp - 0x1bc], 0xf300c2
mov dword [ebp - 0x1b8], 0xd400df
mov dword [ebp - 0x1b4], 0xa300da
mov dword [ebp - 0x1b0], 0xf800b5
mov dword [ebp - 0x1ac], 0x8300f9
mov dword [ebp - 0x1a8], 0xb200a0
mov dword [ebp - 0x1a4], 0xad0095
mov dword [ebp - 0x1a0], 0xa300ae
mov dword [ebp - 0x19c], 0xb800b8
mov dword [ebp - 0x198], 0xb700bf
mov dword [ebp - 0x194], 0xb50084
mov dword [ebp - 0x190], 0xfa00a8
mov dword [ebp - 0x18c], 0xd400fa
call fcn.00403e20
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0065a0f0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x304]
push eax
call fcn.00657710
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.00469f50
lea ecx, [ebp - 0x170]
call fcn.00406480
mov ecx, dword [ebp - 0x184]
call fcn.0065a240
xor al, al
jmp 0x659d64
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.0076eb7e
mov esp, ebp
pop ebp
ret