Function at 0x579630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a230e
mov eax, dword fs:[0]
push eax
sub esp, 0x314
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 dword [ebp - 0x194], esi
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x18c], 0
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 - 0x18c], 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 ecx, ecx
movaps xmm0, xmmword [0x7e3cf0]
mov dword [ebp - 0x1b0], 0x17
movups xmmword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x19c], 0xa4a3bda9
mov dword [ebp - 0x198], 0xcfeef7a2
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x1ac], al
inc ecx
mov eax, dword [ebp - 0x1b0]
cmp ecx, eax
jb 0x579750
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x57978e
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 - 0x1bc], edx
test edx, edx
jne 0x5797ec
push 0x20
call fcn.0076d2e3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x1bc], edx
xor eax, eax
mov dword [ebp - 0x190], 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 - 0x320]
push eax
call fcn.00579e20
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x18c], eax
test esi, esi
je 0x57982d
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 0x579810
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x18c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x27c]
push eax
call fcn.00577d10
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x190], eax
test esi, esi
je 0x57986f
mov edx, eax
lea eax, [ecx + 0xb8]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x579852
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x190]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0x18c]
mov ecx, edx
push 0x1a1
push eax
push 1
call fcn.00469240
mov dword [ebp - 4], 0xffffffff
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_]
mov eax, 0x10
mov dword [ebp - 0x1e0], 0xdc00ca
mov dword [ebp - 0x1e4], eax
xor ecx, ecx
mov dword [ebp - 0x1dc], 0xc800dd
mov dword [ebp - 0x1d8], 0xcf00ca
mov dword [ebp - 0x1d4], 0x8d008d
mov dword [ebp - 0x1d0], 0xee00e0
mov dword [ebp - 0x1cc], 0xe300b7
mov dword [ebp - 0x1c8], 0xb600eb
mov dword [ebp - 0x1c4], 0xe500e6
mov dword [ebp - 0x1c0], 0xc8
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1e0], ax
inc ecx
mov eax, dword [ebp - 0x1e4]
cmp ecx, eax
jb 0x579950
push dword [ebp - 0x194]
xor ecx, ecx
mov word [ebp + eax*2 - 0x1e0], cx
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0041ee30
push 0x7d5280
push eax
lea eax, [ebp - 0x188]
mov dword [ebp - 4], 3
push eax
call fcn.00408060
add esp, 0x18
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 5
call fcn.00404490
push ecx
push 1
lea ecx, [ebp - 0x188]
call fcn.004130e0
add esp, 8
push 0xb0
push 0
test al, al
je 0x579bec
lea eax, [ebp - 0xc0]
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 byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18c], 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], 7
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 byte [ebp - 4], 8
xor ecx, ecx
movaps xmm0, xmmword [0x7e3cf0]
mov eax, 0x18
mov dword [ebp - 0x1b4], eax
movups xmmword [ebp - 0x1b0], xmm0
mov dword [ebp - 0x1a0], 0xa4a3bda9
mov dword [ebp - 0x19c], 0x8481eda2
mov byte [ebp - 0x198], 0xd0
mov word [ebp - 0x197], cx
mov byte [ebp - 0x195], cl
nop
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x1b0], al
inc ecx
mov eax, dword [ebp - 0x1b4]
cmp ecx, eax
jb 0x579ac0
mov byte [ebp + eax - 0x1b0], 0
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
call fcn.00434600
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x320]
push eax
call fcn.00579f70
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x194], edi
test edx, edx
je 0x579b31
nop
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579b20
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x27c]
push eax
call fcn.00577d10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x190], eax
test edx, edx
je 0x579b7d
mov edi, eax
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579b60
mov edi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x190]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x18c]
push edi
push 0x1a6
push eax
push 1
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 esi, esi
jmp 0x579ded
lea eax, [ebp - 0x170]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x7d4f80
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x160], 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 - 0x158]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x18c], 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], 0xa
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
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 - 0x158], 0x7c6164
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0xb
mov eax, 0x1c
movaps xmm0, xmmword [0x7e3cf0]
xor ecx, ecx
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1b8], eax
movaps xmm0, xmmword [0x7e3380]
movups xmmword [ebp - 0x1a4], xmm0
mov al, cl
sub al, 0x48
xor byte [ebp + ecx - 0x1b4], al
inc ecx
mov eax, dword [ebp - 0x1b8]
cmp ecx, eax
jb 0x579cc3
mov byte [ebp + eax - 0x1b4], 0
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00413580
add esp, 8
call fcn.00434600
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x320]
push eax
call fcn.0057a0c0
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
mov dword [ebp - 0x194], edi
test edx, edx
je 0x579d32
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579d21
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x27c]
push eax
call fcn.00577d10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x190], eax
test edx, edx
je 0x579d7d
mov edi, eax
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579d60
mov edi, dword [ebp - 0x194]
mov eax, dword [ebp - 0x190]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x18c]
push edi
push 0x1aa
push eax
push 1
call fcn.00469240
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method..7.virtual_0], vtable..7.0
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x174], eax
lea ecx, [ebp - 0x158]
call fcn.004073e0
lea ecx, [ebp - 0x150]
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 - 0x108]
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 - 0x188]
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.0076d59e
mov esp, ebp
pop ebp
ret