Function at 0x5c2a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9d95
mov eax, dword fs:[0]
push eax
sub esp, 0x240
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 dword [ebp - 0xd0], ecx
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc4], 0
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 - 0xc4], 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 dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x120], 0x25
mov dword [ebp - 0x11c], 0xd000f5
mov dword [ebp - 0x118], 0xc900d9
mov dword [ebp - 0x114], 0xce00d3
mov dword [ebp - 0x110], 0xd900d1
mov dword [ebp - 0x10c], 0xe100b4
mov dword [ebp - 0x108], 0xa70087
mov dword [ebp - 0x104], 0xa000a3
mov dword [ebp - 0x100], 0xb400e6
mov dword [ebp - 0xfc], 0xa800ab
mov dword [ebp - 0xf8], 0xa500a4
mov dword [ebp - 0xf4], 0xa300a5
mov dword [ebp - 0xf0], 0xef00a9
mov dword [ebp - 0xec], 0xbe0098
mov dword [ebp - 0xe8], 0xb600bf
mov dword [ebp - 0xe4], 0xa500f4
mov dword [ebp - 0xe0], 0xb000b7
mov dword [ebp - 0xdc], 0xf900bd
mov dword [ebp - 0xd8], 0xf500f4
mov dword [ebp - 0xd4], 0xdd00f2
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x5c2c10
xor ecx, ecx
mov word [ebp + eax*2 - 0x11c], cx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83df60]
add esp, 8
mov dword [ebp - 0xc8], edx
test edx, edx
jne 0x5c2c9a
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc8], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83df60], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c3680
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc4], eax
test esi, esi
je 0x5c2cdd
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c2cc0
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xc4]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c34e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c2d1f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c2d02
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc4]
mov ecx, edx
push 0xdc
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
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 edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1c4]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c2dae
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x1c4]
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0xc4], 3
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
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0x128], 0x29
mov dword [ebp - 0x124], 0xd000f5
mov dword [ebp - 0x120], 0xc900d9
mov dword [ebp - 0x11c], 0xce00d3
mov dword [ebp - 0x118], 0xd900d1
mov dword [ebp - 0x114], 0xe100b4
mov dword [ebp - 0x110], 0xa70087
mov dword [ebp - 0x10c], 0xa000a3
mov dword [ebp - 0x108], 0xb400e6
mov dword [ebp - 0x104], 0xa800ab
mov dword [ebp - 0x100], 0xa500a4
mov dword [ebp - 0xfc], 0xa300a5
mov dword [ebp - 0xf8], 0xef00a9
mov dword [ebp - 0xf4], 0xb40083
mov dword [ebp - 0xf0], 0xa100b3
mov dword [ebp - 0xec], 0xbd00b7
mov dword [ebp - 0xe8], 0xa400f6
mov dword [ebp - 0xe4], 0xaa00a1
mov dword [ebp - 0xe0], 0xbe00ae
mov dword [ebp - 0xdc], 0xfd00b1
mov dword [ebp - 0xd8], 0xf100f0
mov dword [ebp - 0xd4], 0xe100ce
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x124], ax
inc ecx
mov eax, dword [ebp - 0x128]
cmp ecx, eax
jb 0x5c2f70
xor ecx, ecx
mov word [ebp + eax*2 - 0x124], cx
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83df60]
add esp, 8
mov dword [ebp - 0xc4], edx
test edx, edx
jne 0x5c2ffa
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc4], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83df60], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c37e0
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x5c303d
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c3020
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c34e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c307f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c3062
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc8]
mov ecx, edx
push 0xe0
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
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 edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1cc]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c310e
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
mov ecx, dword [edi + 0x1cc]
mov eax, dword [ecx]
call dword [eax + 4]
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], 6
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 7
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 - 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 dword [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x12c], 0x2b
mov dword [ebp - 0x128], 0xd000f5
mov dword [ebp - 0x124], 0xc900d9
mov dword [ebp - 0x120], 0xce00d3
mov dword [ebp - 0x11c], 0xd900d1
mov dword [ebp - 0x118], 0xe100b4
mov dword [ebp - 0x114], 0xa70087
mov dword [ebp - 0x110], 0xa000a3
mov dword [ebp - 0x10c], 0xb400e6
mov dword [ebp - 0x108], 0xa800ab
mov dword [ebp - 0x104], 0xa500a4
mov dword [ebp - 0x100], 0xa300a5
mov dword [ebp - 0xfc], 0xef00a9
mov dword [ebp - 0xf8], 0xa50083
mov dword [ebp - 0xf4], 0xa100b3
mov dword [ebp - 0xf0], 0xf500a0
mov dword [ebp - 0xec], 0xb600a6
mov dword [ebp - 0xe8], 0xb800aa
mov dword [ebp - 0xe4], 0xbe00b7
mov dword [ebp - 0xe0], 0xb800a8
mov dword [ebp - 0xdc], 0xff00ac
mov dword [ebp - 0xd8], 0xcf00ce
mov dword [ebp - 0xd4], 0xe300cc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x128], ax
inc ecx
mov eax, dword [ebp - 0x12c]
cmp ecx, eax
jb 0x5c32e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x128], cx
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
mov edx, dword [0x83df60]
add esp, 8
mov dword [ebp - 0xc4], edx
test edx, edx
jne 0x5c336a
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc4], edx
xor eax, eax
mov dword [ebp - 0xcc], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83df60], edx
lea eax, [ebp - 0x17c]
push eax
call fcn.005c3940
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x5c33ad
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c3390
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x24c]
push eax
call fcn.005c34e0
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x5c33ef
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5c33d2
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xc8]
mov ecx, edx
push 0xe4
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
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 edi, dword [ebp - 0xd0]
mov esi, dword [edi + 0x1d4]
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x64]
cmp dword [esi + 0x78], 8
jb 0x5c347e
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x74], 0
xor eax, eax
mov word [ecx], ax
mov edx, dword [esi + 0x80]
push ecx
mov ecx, dword [esi + 0x7c]
call fcn.00413a10
mov eax, dword [esi + 0x7c]
add esp, 4
mov dword [esi + 0x80], eax
lea eax, [ebp - 0x188]
mov ecx, dword [edi + 0x1d4]
push eax
call fcn.0064d980
lea ecx, [ebp - 0x188]
call fcn.00420a90
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