Function at 0x5f0d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7afa45
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
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 dword [ebp - 0x12c], esi
mov dword [ebp - 0xe4], 0
push 0
mov dword [esi + 0xbc], 0
mov byte [esi + 0xc0], 0
call fcn.005f19f0
push 1
mov ecx, esi
call fcn.005f19f0
push 0xb0
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe0], 0x7d6f90
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xd0], 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 - 0xc8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe4], 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 - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x7c81a4
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xc8]
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 - 0xc8], 0x7c8164
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 2
mov ecx, 0x1a
mov dword [ebp - 0x128], ecx
xor eax, eax
mov dword [ebp - 0x124], 0xd90089
mov dword [ebp - 0x120], 0xcd00c8
mov dword [ebp - 0x11c], 0xc000c3
mov dword [ebp - 0x118], 0xde00c6
mov dword [ebp - 0x114], 0x9200d6
mov dword [ebp - 0x110], 0xc600f4
mov dword [ebp - 0x10c], 0xc300da
mov dword [ebp - 0x108], 0x9800c7
mov dword [ebp - 0x104], 0xd500c9
mov dword [ebp - 0x100], 0xd500d7
mov dword [ebp - 0xfc], 0xc700de
mov dword [ebp - 0xf8], 0xee009f
mov dword [ebp - 0xf4], 0xec00ef
mov dword [ebp - 0xf0], 0xc3
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x124], cx
inc eax
mov ecx, dword [ebp - 0x128]
cmp eax, ecx
jb 0x5f0ec1
xor eax, eax
mov word [ebp + ecx*2 - 0x124], ax
lea ecx, [ebp - 0x144]
mov eax, dword [esi + 0xb8]
add eax, 0xc
push eax
call fcn.00404120
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x5f0f29
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00404c80
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.00404490
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
call fcn.00404490
mov edx, dword [0x83ff50]
mov dword [ebp - 0xe8], edx
test edx, edx
jne 0x5f0fa5
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0xe4], edx
add esp, 4
xor eax, eax
mov dword [ebp - 0xe8], 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 - 0x204]
push eax
call fcn.005f1190
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xec], eax
test esi, esi
je 0x5f0fed
mov edx, 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 0x5f0fd0
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xec]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0x2ac]
push eax
call fcn.005e0770
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0xe4], eax
test esi, esi
je 0x5f102f
mov edx, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x5f1012
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0xe0]
push ecx
push dword [ebp - 0xec]
mov ecx, edx
push 0x763
push eax
push 1
call fcn.00469f50
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x7c81a4
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xc8]
call fcn.004073e0
lea ecx, [ebp - 0xc0]
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 - 0x78]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 6
call fcn.00656e60
test al, al
je 0x5f114b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x144]
call fcn.00404120
mov edi, dword [ebp - 0x12c]
lea eax, [ebp - 0x144]
lea esi, [edi + 0x1c]
cmp esi, eax
je 0x5f1135
mov ecx, esi
call fcn.00404490
movups xmm0, xmmword [ebp - 0x144]
xor eax, eax
mov word [ebp - 0x144], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x134]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 7
lea ecx, [ebp - 0x144]
call fcn.00404490
mov byte [edi + 0xbf], 1
mov byte [edi + 0xc], 1
lea ecx, [ebp - 0x30]
call fcn.0065a240
lea ecx, [ebp - 0x28]
call fcn.00404490
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x5f116f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
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