Function at 0x57fab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a40d7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xf8], 0
cmp byte [esi + 0x28], 0
je 0x57fd20
movzx eax, byte [esi + 0x2a]
push eax
push ecx
push dword [esi]
mov ecx, esi
call fcn.005846b0
mov edi, eax
test edi, edi
jne 0x57fb12
mov al, 1
jmp 0x57fd22
cmp edi, 2
jne 0x57fb1b
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], 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 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], 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 dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0xf4], 0x17
mov dword [ebp - 0xf0], 0xcf00fb
mov dword [ebp - 0xec], 0xd900c8
mov dword [ebp - 0xe8], 0xdd00df
mov dword [ebp - 0xe4], 0xf400ca
mov dword [ebp - 0xe0], 0xde00d4
mov dword [ebp - 0xdc], 0xc000d6
mov dword [ebp - 0xd8], 0xfd00d0
mov dword [ebp - 0xd4], 0xc100d2
mov dword [ebp - 0xd0], 0xdf0099
mov dword [ebp - 0xcc], 0xce00c9
mov dword [ebp - 0xc8], 0xcc00d2
mov dword [ebp - 0xc4], 0xc0009f
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xf0], cx
inc eax
mov ecx, dword [ebp - 0xf4]
cmp eax, ecx
jb 0x57fc51
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.004345f0
mov edi, eax
lea eax, [ebp - 0x194]
push eax
call fcn.0057fe80
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x230]
push eax
call fcn.0057fd40
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.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 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.0076eb7e
mov esp, ebp
pop ebp
ret 4