Function at 0x577690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a1fa1
mov eax, dword fs:[0]
push eax
sub esp, 0x430
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 - 0x1bc], edx
mov esi, ecx
mov dword [ebp - 0x1c0], esi
push 0xb0
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x198], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd4], 0x7d4f80
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xc4], 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 - 0xbc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x198], 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 - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
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 - 0xbc], 0x7c6164
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 2
mov eax, 0x12
movaps xmm0, xmmword [0x7e3c70]
xor ecx, ecx
mov dword [ebp - 0x1b0], eax
movups xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x19c], 0xcae9f2
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x1ac], al
inc ecx
mov eax, dword [ebp - 0x1b0]
cmp ecx, eax
jb 0x5777b0
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00413580
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x5777ee
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.00404c80
mov edx, dword [0x83df60]
add esp, 0xc
mov dword [ebp - 0x188], edx
test edx, edx
jne 0x57784c
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x188], edx
xor eax, eax
mov dword [ebp - 0x1cc], 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 - 0x39c]
push eax
call fcn.00577e40
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x18c], eax
test esi, esi
je 0x57788d
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x577870
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x18c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x264]
push eax
call fcn.00577d10
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x194], eax
test esi, esi
je 0x5778cf
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5778b2
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x194]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xd4]
push ecx
push dword [ebp - 0x18c]
mov ecx, edx
push 0xbb
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable..7.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call fcn.004073e0
lea ecx, [ebp - 0xb4]
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 - 0x6c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
push dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1bc]
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00411280
mov dword [ebp - 4], 3
xor esi, esi
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x1cc], ecx
cmp eax, 8
jb 0x577cde
mov dword [ebp - 0x190], esi
cmp edi, ecx
je 0x577cde
add edi, 4
mov dword [ebp - 0x1c4], edi
nop dword [eax]
mov esi, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18c], esi
test esi, esi
je 0x5779c0
lock inc dword [esi + 4]
mov esi, dword [edi]
mov dword [ebp - 0x18c], esi
mov eax, dword [edi - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 4
push dword [eax]
call fcn.004123d0
test al, al
jne 0x577c93
push 0xb0
lea eax, [ebp - 0x184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x184], 0x7d4f80
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x174], 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 - 0x16c]
mov byte [ebp - 4], 5
or dword [ebp - 0x198], 2
lea ecx, [ebp - 0x184]
push eax
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], 6
mov eax, dword [ebp - 0x184]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x188], eax
lea ecx, [ebp - 0x16c]
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 - 0x16c], 0x7c6164
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 7
mov ecx, 0x19
movaps xmm0, xmmword [0x7e3c70]
xor eax, eax
mov dword [ebp - 0x1b8], ecx
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a4], 0x828b8fe8
mov dword [ebp - 0x1a0], 0xe38a8880
mov dword [ebp - 0x19c], 0xd1f0
nop dword [eax]
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0x1b4], cl
inc eax
mov ecx, dword [ebp - 0x1b8]
cmp eax, ecx
jb 0x577ad0
lea eax, [ebp - 0x1b4]
mov byte [ebp + ecx - 0x1b4], 0
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00413580
mov edx, dword [ebp - 0x1c0]
add esp, 8
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x577b13
mov ecx, dword [edx]
push dword [edx + 0x10]
push ecx
push eax
call fcn.00404c80
mov edx, dword [0x83df60]
add esp, 0xc
mov dword [ebp - 0x188], edx
test edx, edx
jne 0x577b71
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x188], edx
xor eax, eax
mov dword [ebp - 0x1c8], 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 - 0x43c]
push eax
call fcn.00577f80
mov dword [ebp - 0x190], eax
mov edi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x194], ecx
xor ecx, ecx
test edi, edi
je 0x577bbd
mov edx, dword [ebp - 0x194]
mov esi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov edi, dword [esi]
cmp ecx, edi
jb 0x577ba0
mov esi, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x194]
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ebp - 0x2fc]
push eax
call fcn.00577d10
mov dword [ebp - 0x1c8], eax
mov edi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x190], ecx
xor ecx, ecx
test edi, edi
je 0x577c11
mov edx, dword [ebp - 0x190]
mov esi, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov edi, dword [esi]
cmp ecx, edi
jb 0x577bf4
mov esi, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x188]
mov eax, dword [ebp - 0x190]
xor ecx, ecx
mov word [eax + edi*2], cx
lea ecx, [ebp - 0x184]
push ecx
push dword [ebp - 0x194]
mov ecx, edx
push 0xc9
push eax
push 0
call fcn.00469240
mov eax, dword [ebp - 0x184]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x188], eax
lea ecx, [ebp - 0x16c]
call fcn.004073e0
lea ecx, [ebp - 0x164]
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 - 0x11c]
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 - 0x1c4]
mov dword [ebp - 0x190], 2
mov byte [ebp - 4], 8
test esi, esi
je 0x577cbc
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x577cbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x577cbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add edi, 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c4], edi
lea eax, [edi - 4]
cmp eax, dword [ebp - 0x1cc]
jne 0x5779a0
mov esi, dword [ebp - 0x190]
lea ecx, [ebp - 0x1c]
call fcn.004132d0
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.0076d59e
mov esp, ebp
pop ebp
ret