Function at 0x65a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b9f64
mov eax, dword fs:[0]
push eax
sub esp, 0x278
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 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 [0x7dac3c]
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 0x65a5fe
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], 0x7d6f90
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc0], 0x7d7228
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], 0x7c81a4
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], 0x7c8164
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], 0xd800ec
mov dword [ebp - 0x134], 0xc300d9
mov dword [ebp - 0x130], 0x9400df
mov dword [ebp - 0x12c], 0xf9008f
mov dword [ebp - 0x128], 0xc000f6
mov dword [ebp - 0x124], 0xc100dc
mov dword [ebp - 0x120], 0xe600c5
mov dword [ebp - 0x11c], 0xd400d8
mov dword [ebp - 0x118], 0xd900d0
mov dword [ebp - 0x114], 0xf300c2
mov dword [ebp - 0x110], 0xd400df
mov dword [ebp - 0x10c], 0xa300da
mov dword [ebp - 0x108], 0xf800b5
mov dword [ebp - 0x104], 0x9700f9
mov dword [ebp - 0x100], 0xb000a4
mov dword [ebp - 0xfc], 0xe000a2
mov dword [ebp - 0xf8], 0x8b008f
mov dword [ebp - 0xf4], 0x9f0087
mov dword [ebp - 0xf0], 0xe70088
mov dword [ebp - 0xec], 0xcf
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x138], ax
inc ecx
mov eax, dword [ebp - 0x13c]
cmp ecx, eax
jb 0x65a4e0
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.004345f0
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0065ab90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0xe4], edi
test edx, edx
je 0x65a554
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x65a543
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.00657710
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x65a584
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x65a573
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.00469f50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], 0x7c81a4
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 0x65a8c8
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], 0x7d6f90
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xc0], 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 - 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], 0x7c81a4
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], 0x7c8164
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], 0xd800ec
mov dword [ebp - 0x130], 0xc300d9
mov dword [ebp - 0x12c], 0x9400df
mov dword [ebp - 0x128], 0xf9008f
mov dword [ebp - 0x124], 0xc000f6
mov dword [ebp - 0x120], 0xc100dc
mov dword [ebp - 0x11c], 0xe600c5
mov dword [ebp - 0x118], 0xd400d8
mov dword [ebp - 0x114], 0xd900d0
mov dword [ebp - 0x110], 0xf300c2
mov dword [ebp - 0x10c], 0xd400df
mov dword [ebp - 0x108], 0xa300da
mov dword [ebp - 0x104], 0xf800b5
mov dword [ebp - 0x100], 0x9700f9
mov dword [ebp - 0xfc], 0xb000a4
mov dword [ebp - 0xf8], 0xe000a2
mov dword [ebp - 0xf4], 0x98009d
mov dword [ebp - 0xf0], 0x89009e
mov dword [ebp - 0xec], 0xce00e4
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x134], ax
inc ecx
mov eax, dword [ebp - 0x138]
cmp ecx, eax
jb 0x65a7b0
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.004345f0
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.0065ace0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x194], edi
test edx, edx
je 0x65a824
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x65a813
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x284]
push eax
call fcn.00657710
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x65a854
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x65a843
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.00469f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], 0x7c81a4
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.0065a240
cmp byte [ebp - 0xe5], 0
jne 0x65ab74
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
call fcn.00419680
mov dword [ebp - 0x12c], 0x1f
xor ecx, ecx
mov dword [ebp - 0x128], 0x9000ca
mov dword [ebp - 0x124], 0xfb00f7
mov dword [ebp - 0x120], 0xc000c4
mov dword [ebp - 0x11c], 0xdf00cb
mov dword [ebp - 0x118], 0xc100c6
mov dword [ebp - 0x114], 0xe700ef
mov dword [ebp - 0x110], 0xc500cc
mov dword [ebp - 0x10c], 0xdd00c3
mov dword [ebp - 0x108], 0x8900d4
mov dword [ebp - 0x104], 0xe00089
mov dword [ebp - 0x100], 0xcc00fa
mov dword [ebp - 0xfc], 0xb500d0
mov dword [ebp - 0xf8], 0x9200b1
mov dword [ebp - 0xf4], 0xa800ac
mov dword [ebp - 0xf0], 0xa500ac
mov dword [ebp - 0xec], 0xc800be
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x128], ax
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x65a9a1
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 0x65a9e6
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.00579a00
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov dword [ebp - 0x12c], 0x1f
xor eax, eax
mov dword [ebp - 0x128], 0x9000ca
mov dword [ebp - 0x124], 0xfb00f7
mov dword [ebp - 0x120], 0xc000c4
mov dword [ebp - 0x11c], 0xdf00cb
mov dword [ebp - 0x118], 0xc100c6
mov dword [ebp - 0x114], 0xe700ef
mov dword [ebp - 0x110], 0xc500cc
mov dword [ebp - 0x10c], 0xf700e0
mov dword [ebp - 0x108], 0x8c00ee
mov dword [ebp - 0x104], 0xe0008f
mov dword [ebp - 0x100], 0xcc00fa
mov dword [ebp - 0xfc], 0xb500d0
mov dword [ebp - 0xf8], 0x9200b1
mov dword [ebp - 0xf4], 0xa800ac
mov dword [ebp - 0xf0], 0xa500ac
mov dword [ebp - 0xec], 0xc800be
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x128], cx
inc eax
mov ecx, dword [ebp - 0x12c]
cmp eax, ecx
jb 0x65aae0
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 0x65ab23
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.00579a00
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.0076eb7e
mov esp, ebp
pop ebp
ret