Function at 0x5794a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a3883
mov eax, dword fs:[0]
push eax
sub esp, 0x484
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 edi, ecx
mov dword [ebp - 0x334], edi
push 0xb0
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x328], 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 dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x328], 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 ecx, ecx
movaps xmm0, xmmword [0x7e5aa0]
mov dword [ebp - 0x34c], 0xf
movups xmmword [ebp - 0x348], xmm0
nop dword [eax + eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x348], al
inc ecx
mov eax, dword [ebp - 0x34c]
cmp ecx, eax
jb 0x5795b0
mov byte [ebp + eax - 0x348], 0
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413580
add esp, 8
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x5795ee
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.00404c80
mov edx, dword [0x83ff50]
add esp, 0xc
mov dword [ebp - 0x32c], edx
test edx, edx
jne 0x57964c
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x32c], edx
xor eax, eax
mov dword [ebp - 0x338], 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 - 0x490]
push eax
call fcn.005798c0
mov dword [ebp - 0x328], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x330], ecx
xor ecx, ecx
test esi, esi
je 0x57969d
mov edx, dword [ebp - 0x330]
mov edi, eax
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x579680
mov edx, dword [ebp - 0x32c]
mov edi, dword [ebp - 0x334]
mov eax, dword [ebp - 0x330]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x3f4]
push eax
call fcn.00578e90
mov dword [ebp - 0x338], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x328], ecx
xor ecx, ecx
test esi, esi
je 0x5796f1
mov edx, dword [ebp - 0x328]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5796d4
mov edx, dword [ebp - 0x32c]
mov edi, dword [ebp - 0x334]
mov eax, dword [ebp - 0x328]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xc0]
push ecx
push dword [ebp - 0x330]
mov ecx, edx
push 0x13d
push eax
push 1
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_]
push 0x260
lea eax, [ebp - 0x320]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x5c
mov dword [ebp - 0x320], 0
add esp, 0xc
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xc8], ax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 3
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5797b1
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x320]
call fcn.00415f30
test eax, eax
je 0x57985e
cmp dword [ebp - 0xc4], 0
je 0x5797dc
test byte [ebp - 0x31c], 0x10
jne 0x57985e
xor eax, eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], eax
push edi
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 5
call fcn.00403b80
lea eax, [ebp - 0x35c]
mov byte [ebp - 4], 6
push eax
call fcn.00418800
add esp, 4
mov byte [ebp - 0x321], al
lea ecx, [ebp - 0x344]
call fcn.00404220
lea ecx, [ebp - 0x35c]
call fcn.00404490
cmp byte [ebp - 0x321], 0
je 0x579857
xor esi, esi
jmp 0x579863
mov esi, 2
jmp 0x579863
mov esi, 1
push dword [ebp - 0xcc]
mov dword [ebp - 0xc4], 0
call fcn.007906c5
mov eax, dword [ebp - 0x320]
add esp, 4
mov dword [ebp - 0xcc], 0
test eax, eax
je 0x57989b
cmp eax, 0xffffffff
je 0x57989b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
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