Function at 0x57b390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3bf4
mov eax, dword fs:[0]
push eax
sub esp, 0x218
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
xor ecx, ecx
movaps xmm0, xmmword [0x7e5c20]
mov dword [ebp - 0xe8], 0x17
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd4], 0xd9d09ac0
mov dword [ebp - 0xd0], 0xc09f84c4
nop dword [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xe4], al
inc ecx
mov eax, dword [ebp - 0xe8]
cmp ecx, eax
jb 0x57b4b0
mov byte [ebp + eax - 0xe4], 0
lea eax, [ebp - 0xe4]
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 0x57b54a
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 - 0x224]
push eax
call fcn.0057bb70
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xcc], eax
test esi, esi
je 0x57b58d
mov edx, eax
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x57b570
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 0x57b5cf
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x57b5b2
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 0x1b0
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 0x57b82a
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 0x57b720
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 - 0x224]
push eax
call fcn.0057bcb0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0xcc], edi
test edx, edx
je 0x57b791
nop
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x57b780
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 0x57b7dd
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 0x57b7c0
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 0x1b4
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 0x57bb23
lea edx, [ebp + 0xc]
call fcn.00580810
push 0xb0
test al, al
lea eax, [ebp - 0xc0]
push 0
push eax
je 0x57b9d7
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]
xor eax, eax
mov dword [ebp - 0xec], 0x18
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], 0xd9d09ac0
mov dword [ebp - 0xd4], 0x8bf09ec4
mov byte [ebp - 0xd0], 0xc1
mov word [ebp - 0xcf], ax
mov byte [ebp - 0xcd], al
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 - 0x224]
push eax
call fcn.0057bdf0
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 0x1ba
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 0x57bb48
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], 0x1c
movaps xmm0, xmmword [0x7e53f0]
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 - 0x224]
push eax
call fcn.0057bf30
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 0x1bf
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