Function at 0x6595c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8834
mov eax, dword fs:[0]
push eax
sub esp, 0x278
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 eax, ecx
mov dword [ebp - 0x198], eax
xor esi, esi
mov byte [ebp - 0xe5], 1
mov dword [ebp - 0x190], esi
lea edx, [ebp - 0xe0]
mov ecx, dword [eax]
movups xmm0, xmmword [0x7d8bf0]
push edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x35378eac
push edx
push 1
mov dword [ebp - 0x1c], 0x11d2683f
mov dword [ebp - 0x18], 0xc0009aa8
mov dword [ebp - 0x14], 0xa2cfbb4f
movups xmmword [ebp - 0xe0], xmm0
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x1c]
test eax, eax
jns 0x6598ee
push 0xb0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xe5], 0
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd0], 0x7d4f80
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc0], 0x7d5218
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push esi
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x190], 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 - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable..7.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xb8]
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 - 0xb8], 0x7c6164
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 4], 2
mov eax, 0x26
mov dword [ebp - 0x13c], eax
xor ecx, ecx
mov dword [ebp - 0x138], 0xcb00fd
mov dword [ebp - 0x134], 0xd400c8
mov dword [ebp - 0x130], 0x8700ce
mov dword [ebp - 0x12c], 0xf6009e
mov dword [ebp - 0x128], 0xb30087
mov dword [ebp - 0x124], 0xb600ad
mov dword [ebp - 0x120], 0x9500b4
mov dword [ebp - 0x11c], 0xab00a9
mov dword [ebp - 0x118], 0xaa00a1
mov dword [ebp - 0x114], 0x8400b3
mov dword [ebp - 0x110], 0xa700ae
mov dword [ebp - 0x10c], 0xac00ab
mov dword [ebp - 0x108], 0xeb00a4
mov dword [ebp - 0x104], 0x8000e8
mov dword [ebp - 0x100], 0xa300b5
mov dword [ebp - 0xfc], 0xff00b3
mov dword [ebp - 0xf8], 0x98009e
mov dword [ebp - 0xf4], 0x880096
mov dword [ebp - 0xf0], 0xf40099
mov dword [ebp - 0xec], 0xde
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x138], ax
inc ecx
mov eax, dword [ebp - 0x13c]
cmp ecx, eax
jb 0x6597d0
xor ecx, ecx
mov word [ebp + eax*2 - 0x138], cx
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00659e80
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0xe4], edi
test edx, edx
je 0x659844
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x659833
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.006569d0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x659874
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x659863
mov ecx, dword [ebp - 0x194]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0xe4]
push 0xb9
push edi
push 0
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable..7.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xb8]
call fcn.004073e0
lea ecx, [ebp - 0xb0]
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 - 0x68]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov esi, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x198]
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ecx]
push 1
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
jns 0x659bb8
push 0xb0
lea eax, [ebp - 0xd0]
mov byte [ebp - 0xe5], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd0], 0x7d4f80
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc0], 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 - 0xb8]
mov dword [ebp - 4], 3
or esi, 2
lea ecx, [ebp - 0xd0]
push eax
mov dword [ebp - 0x190], esi
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 - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable..7.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
lea ecx, [ebp - 0xb8]
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 - 0xb8], 0x7c6164
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x138], 0x25
mov dword [ebp - 0x134], 0xcb00fd
mov dword [ebp - 0x130], 0xd400c8
mov dword [ebp - 0x12c], 0x8700ce
mov dword [ebp - 0x128], 0xf6009e
mov dword [ebp - 0x124], 0xb30087
mov dword [ebp - 0x120], 0xb600ad
mov dword [ebp - 0x11c], 0x9500b4
mov dword [ebp - 0x118], 0xab00a9
mov dword [ebp - 0x114], 0xaa00a1
mov dword [ebp - 0x110], 0x8400b3
mov dword [ebp - 0x10c], 0xa700ae
mov dword [ebp - 0x108], 0xac00ab
mov dword [ebp - 0x104], 0xeb00a4
mov dword [ebp - 0x100], 0x8000e8
mov dword [ebp - 0xfc], 0xa300b5
mov dword [ebp - 0xf8], 0xff00b3
mov dword [ebp - 0xf4], 0x8b008c
mov dword [ebp - 0xf0], 0x9e008f
mov dword [ebp - 0xec], 0xdd00f5
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x134], ax
inc ecx
mov eax, dword [ebp - 0x138]
cmp ecx, eax
jb 0x659aa0
xor ecx, ecx
mov word [ebp + eax*2 - 0x134], cx
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404740
add esp, 8
call fcn.00434600
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.00659fd0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x194], edi
test edx, edx
je 0x659b14
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x659b03
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.006569d0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x659b44
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x659b33
mov ecx, dword [ebp - 0xe4]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 0x194]
push 0xc1
push edi
push 0
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable..7.0
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [ebp + edx - 0xd4], eax
call fcn.004073e0
lea ecx, [ebp - 0xb0]
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 - 0x68]
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 - 0x198]
call fcn.00659530
cmp byte [ebp - 0xe5], 0
jne 0x659e64
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
call fcn.00419680
mov dword [ebp - 0x12c], 0x1f
xor ecx, ecx
mov dword [ebp - 0x128], 0x8300db
mov dword [ebp - 0x124], 0xec00e6
mov dword [ebp - 0x120], 0xd300d5
mov dword [ebp - 0x11c], 0xd000da
mov dword [ebp - 0x118], 0xb200b7
mov dword [ebp - 0x114], 0x90009e
mov dword [ebp - 0x110], 0xb600bd
mov dword [ebp - 0x10c], 0xa200b2
mov dword [ebp - 0x108], 0xfa00a5
mov dword [ebp - 0x104], 0x9700f8
mov dword [ebp - 0x100], 0xbf008b
mov dword [ebp - 0xfc], 0xba00a1
mov dword [ebp - 0xf8], 0x8100a0
mov dword [ebp - 0xf4], 0xbf00bd
mov dword [ebp - 0xf0], 0xb600bd
mov dword [ebp - 0xec], 0xd700af
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x128], ax
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x659c91
xor ecx, ecx
mov word [ebp + eax*2 - 0x128], cx
xor eax, eax
mov dword [ebp - 0x1a0], ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x19c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1b0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x659cd6
sub ecx, edx
lea eax, [ebp - 0x128]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004044f0
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 6
call fcn.00578880
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0x12c], 0x1f
xor eax, eax
mov dword [ebp - 0x128], 0x8300db
mov dword [ebp - 0x124], 0xec00e6
mov dword [ebp - 0x120], 0xd300d5
mov dword [ebp - 0x11c], 0xd000da
mov dword [ebp - 0x118], 0xb200b7
mov dword [ebp - 0x114], 0x90009e
mov dword [ebp - 0x110], 0xb600bd
mov dword [ebp - 0x10c], 0x880091
mov dword [ebp - 0x108], 0xff009f
mov dword [ebp - 0x104], 0x9700fe
mov dword [ebp - 0x100], 0xbf008b
mov dword [ebp - 0xfc], 0xba00a1
mov dword [ebp - 0xf8], 0x8100a0
mov dword [ebp - 0xf4], 0xbf00bd
mov dword [ebp - 0xf0], 0xb600bd
mov dword [ebp - 0xec], 0xd700af
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x128], cx
inc eax
mov ecx, dword [ebp - 0x12c]
cmp eax, ecx
jb 0x659dd0
xor eax, eax
mov word [ebp + ecx*2 - 0x128], ax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x1b8], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x1b4], 7
mov word [ebp - 0x1c8], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x659e13
sub ecx, edx
lea eax, [ebp - 0x128]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004044f0
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 7
call fcn.00578880
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov ecx, dword [ebp - 0xe4]
call fcn.004195a0
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