Function at 0x57c070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3d04
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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 dword [ebp - 0xc4], 0
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0
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 byte [ebp - 4], 1
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], 2
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 byte [ebp - 4], 3
mov eax, 0x19
movaps xmm0, xmmword [0x7e5c20]
xor ecx, ecx
mov dword [ebp - 0xec], eax
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], 0xddcd9ac0
mov dword [ebp - 0xd4], 0xfadacbd1
mov dword [ebp - 0xd0], 0xc2e1
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xe8], al
inc ecx
mov eax, dword [ebp - 0xec]
cmp ecx, eax
jb 0x57c193
mov byte [ebp + eax - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae ecx, dword [ebp + 0xc]
push ecx
push eax
call fcn.00404c80
mov edx, dword [0x83ff50]
add esp, 0x14
mov dword [ebp - 0xc4], edx
test edx, edx
jne 0x57c22d
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0xc4], edx
xor eax, eax
mov dword [ebp - 0xc8], 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 [0x83ff50], edx
lea eax, [ebp - 0x228]
push eax
call fcn.0057c850
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x57c26d
mov edx, eax
nop
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x57c250
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xcc]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x188]
push eax
call fcn.00578e90
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xc8], eax
test esi, esi
je 0x57c2af
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x57c292
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0xcc]
mov ecx, edx
push 0x1c6
push eax
push 1
call fcn.00469f50
mov byte [ebp - 4], 0
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 + 8]
test ecx, ecx
jne 0x57c50a
push 0xb0
push ecx
lea eax, [ebp - 0xc0]
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 byte [ebp - 4], 4
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], 5
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 byte [ebp - 4], 6
xor ecx, ecx
movaps xmm0, xmmword [0x7e60e0]
mov dword [ebp - 0xe4], 0x13
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd0], 0xbc9af6f5
nop word [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xe0], al
inc ecx
mov eax, dword [ebp - 0xe4]
cmp ecx, eax
jb 0x57c400
mov byte [ebp + eax - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
call fcn.004345f0
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x228]
push eax
call fcn.0057c990
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0xcc], edi
test edx, edx
je 0x57c471
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x57c460
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x188]
push eax
call fcn.00578e90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0xc8], eax
test edx, edx
je 0x57c4bd
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x57c4a0
mov edi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xc4]
push edi
push 0x1ca
push eax
push 0
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
jmp 0x57c7f7
lea edx, [ebp + 0xc]
call fcn.005815d0
push 0xb0
test al, al
lea eax, [ebp - 0xc0]
push 0
push eax
je 0x57c6ab
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 byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 5
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], 8
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 byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
movaps xmm0, xmmword [0x7e5c20]
mov dword [ebp - 0xec], 0x1a
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], 0xddcd9ac0
mov dword [ebp - 0xd4], 0xe0dacbd1
mov dword [ebp - 0xd0], 0xc3898e
call fcn.004131e0
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x228]
push eax
call fcn.0057cad0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x188]
push eax
call fcn.00578e90
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x1d0
push eax
push 1
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_]
xor esi, esi
jmp 0x57c81c
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 byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 9
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], 0xb
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 byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf0]
movaps xmm0, xmmword [0x7e5c20]
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xf0], 0x1e
movaps xmm0, xmmword [0x7e5700]
movups xmmword [ebp - 0xdc], xmm0
call fcn.004131e0
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x228]
push eax
call fcn.0057cc10
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x188]
push eax
call fcn.00578e90
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x1d5
push eax
push 1
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 esi, 2
lea ecx, [ebp + 0xc]
call fcn.00404490
mov eax, esi
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