Function at 0x473d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79cafd
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x1a4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0xb8
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea ecx, [ebp - 0x1a0]
call fcn.004768b0
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x473da9
mov esi, dword [esi]
push ecx
push 0x21
push esi
lea ecx, [ebp - 0x190]
call fcn.0041b870
test eax, eax
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x1a0]
push 0
mov eax, dword [eax + 4]
jne 0x473dd9
add ecx, eax
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x473de3
add ecx, eax
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
cmp dword [ebp - 0x144], 0
jne 0x47408b
push 0xb0
lea eax, [ebp - 0xd0]
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 byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x1a4], 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], 3
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 ebx, dword [ebp - 0x1ac]
mov eax, 0x24
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x1f8], 0xcd00f2
mov dword [ebp - 0x1f4], 0xd800ce
mov dword [ebp - 0x1f0], 0xcb00fe
mov dword [ebp - 0x1ec], 0xd600c3
mov dword [ebp - 0x1e8], 0xcb00f3
mov dword [ebp - 0x1e4], 0xd100c7
mov dword [ebp - 0x1e0], 0xeb00c6
mov dword [ebp - 0x1dc], 0xfe0097
mov dword [ebp - 0x1d8], 0xd300d8
mov dword [ebp - 0x1d4], 0xd900d7
mov dword [ebp - 0x1d0], 0x9e00d9
mov dword [ebp - 0x1cc], 0xaf00cb
mov dword [ebp - 0x1c8], 0xad00e1
mov dword [ebp - 0x1c4], 0xa100b3
mov dword [ebp - 0x1c0], 0xe600ab
mov dword [ebp - 0x1bc], 0xbc00ae
mov dword [ebp - 0x1b8], 0xaf00ba
mov dword [ebp - 0x1b4], 0xaa00a7
mov dword [ebp - 0x1b0], 0xcd
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1f8], ax
inc ecx
mov eax, dword [ebp - 0x1fc]
cmp ecx, eax
jb 0x473f70
xor ecx, ecx
mov word [ebp + eax*2 - 0x1f8], cx
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x320]
push eax
call fcn.00474b90
mov edx, eax
xor ecx, ecx
mov eax, dword [edx]
lea esi, [edx + 4]
test eax, eax
je 0x473fe1
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x473fd0
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x258]
push eax
call fcn.00474a30
mov edx, eax
mov eax, dword [edx]
lea edi, [edx + 4]
test eax, eax
je 0x474011
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov eax, dword [edx]
cmp ecx, eax
jb 0x474000
xor ecx, ecx
mov word [edi + eax*2], cx
lea eax, [ebp - 0xd0]
push eax
push esi
push 0x49
push edi
push ecx
mov ecx, dword [ebp - 0x1ac]
call fcn.00469f50
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 eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
jmp 0x4749e4
push 2
push 0
push 0
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x1a0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe0]
add ecx, 0xfffff800
push 0
add eax, ecx
lea ecx, [ebp - 0x1a0]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x194], 0
jne 0x474711
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
push 0x800
mov ecx, eax
call fcn.004769d0
jmp 0x47422e
push 0
push 0x800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x194], 0
je 0x47443c
push 0xb0
lea eax, [ebp - 0xd0]
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 byte [ebp - 4], 0x13
or dword [ebp - 0x1a4], 0x40
lea ecx, [ebp - 0xd0]
push eax
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], 0x14
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 byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x24
mov dword [ebp - 0x1f8], 0xcd00f2
mov dword [ebp - 0x1f4], 0xd800ce
mov dword [ebp - 0x1f0], 0xcb00fe
mov dword [ebp - 0x1ec], 0xd600c3
mov dword [ebp - 0x1e8], 0xcb00f3
mov dword [ebp - 0x1e4], 0xd100c7
mov dword [ebp - 0x1e0], 0xeb00c6
mov dword [ebp - 0x1dc], 0xfe0097
mov dword [ebp - 0x1d8], 0xd300d8
mov dword [ebp - 0x1d4], 0xd900d7
mov dword [ebp - 0x1d0], 0x9e00d9
mov dword [ebp - 0x1cc], 0xaf00cb
mov dword [ebp - 0x1c8], 0xb000e1
mov dword [ebp - 0x1c4], 0xa500a6
mov dword [ebp - 0x1c0], 0xe600a1
mov dword [ebp - 0x1bc], 0xbc00ae
mov dword [ebp - 0x1b8], 0xaf00ba
mov dword [ebp - 0x1b4], 0xaa00a7
mov dword [ebp - 0x1b0], 0xcd
call fcn.00403e20
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x320]
push eax
call fcn.00475540
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x258]
push eax
call fcn.00474a30
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xd0]
push ecx
push esi
push 0x72
push eax
push 0
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0xd0]
call fcn.00406480
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00406980
jmp 0x4749f9
push 0xb0
lea eax, [ebp - 0xd0]
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 byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x1a4], 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], 6
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 byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0x20c], 0x2d
mov dword [ebp - 0x208], 0xcd00f2
mov dword [ebp - 0x204], 0xd800ce
mov dword [ebp - 0x200], 0xcb00fe
mov dword [ebp - 0x1fc], 0xd600c3
mov dword [ebp - 0x1f8], 0xcb00f3
mov dword [ebp - 0x1f4], 0xd100c7
mov dword [ebp - 0x1f0], 0xeb00c6
mov dword [ebp - 0x1ec], 0xfe0097
mov dword [ebp - 0x1e8], 0xd300d8
mov dword [ebp - 0x1e4], 0xd900d7
mov dword [ebp - 0x1e0], 0x9e00d9
mov dword [ebp - 0x1dc], 0xaf00cb
mov dword [ebp - 0x1d8], 0xa500e1
mov dword [ebp - 0x1d4], 0xb000a6
mov dword [ebp - 0x1d0], 0xaa00e5
mov dword [ebp - 0x1cc], 0xa600a2
mov dword [ebp - 0x1c8], 0xbe00ae
mov dword [ebp - 0x1c4], 0xec00a3
mov dword [ebp - 0x1c0], 0xa800a2
mov dword [ebp - 0x1bc], 0xb900ef
mov dword [ebp - 0x1b8], 0xa100a5
mov dword [ebp - 0x1b4], 0xb800b6
mov dword [ebp - 0x1b0], 0xd600b3
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x208], ax
inc ecx
mov eax, dword [ebp - 0x20c]
cmp ecx, eax
jb 0x4748b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x208], cx
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x320]
push eax
call fcn.00474d10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x474921
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x474910
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x258]
push eax
call fcn.00474a30
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x1a8], eax
test edx, edx
je 0x47496e
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2 + 4], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x474950
mov ebx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 0x1a8]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0x268]
push edi
push 0x5a
push eax
push 0
call fcn.00469f50
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 eax, dword [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1a0]
call fcn.00417f70
lea ecx, [ebp - 0x20]
call fcn.0040f050
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret