Function at 0x57e930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a2907
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xf8], 0
cmp byte [esi + 0x28], 0
je 0x57eba0
movzx eax, byte [esi + 0x2a]
push eax
push ecx
push dword [esi]
mov ecx, esi
call fcn.00583530
mov edi, eax
test edi, edi
jne 0x57e992
mov al, 1
jmp 0x57eba2
cmp edi, 2
jne 0x57e99b
mov byte [esi + 0x29], 1
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], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xf8], 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 eax, eax
mov dword [ebp - 0xf4], 0x17
mov dword [ebp - 0xf0], 0xdc00ea
mov dword [ebp - 0xec], 0xce00d9
mov dword [ebp - 0xe8], 0xce00ce
mov dword [ebp - 0xe4], 0xfb00db
mov dword [ebp - 0xe0], 0xad00a5
mov dword [ebp - 0xdc], 0xb700a7
mov dword [ebp - 0xd8], 0x8e00a1
mov dword [ebp - 0xd4], 0xbe00a3
mov dword [ebp - 0xd0], 0xac00e8
mov dword [ebp - 0xcc], 0xb900b8
mov dword [ebp - 0xc8], 0xbf00a3
mov dword [ebp - 0xc4], 0xcf00ee
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xf0], cx
inc eax
mov ecx, dword [ebp - 0xf4]
cmp eax, ecx
jb 0x57ead1
xor eax, eax
mov word [ebp + ecx*2 - 0xf0], ax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int_]
call fcn.00434600
mov edi, eax
lea eax, [ebp - 0x194]
push eax
call fcn.0057ed00
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call fcn.0057ebc0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc0]
push ecx
push esi
push 0x1a0
push eax
push 0
mov ecx, edi
call fcn.00469240
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_]
xor al, al
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 4