Function at 0x46ff10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc9c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xa64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa70], eax
mov dword [ebp - 0xa6c], ecx
test eax, eax
jne 0x46ff63
xor al, al
jmp 0x47018c
mov esi, dword [ebp + 0x18]
mov edi, 0x40
cmp esi, 3
je 0x46ff75
cmp esi, 2
jne 0x46ff7a
mov edi, 0x80
push esi
call fcn.0045a010
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ebp - 0xa68], eax
cmp ecx, edi
jle 0x46ffb9
lea eax, [ebp - 0x158]
push eax
push esi
push ecx
push dword [ebp - 0xa64]
call fcn.00459060
mov ecx, dword [ebp - 0xa68]
lea eax, [ebp - 0x158]
add esp, 0x10
mov dword [ebp - 0xa64], eax
push edi
cmp ecx, edi
lea eax, [ebp - 0x94]
push 0
mov esi, edi
push eax
cmovle esi, ecx
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push dword [ebp - 0xa64]
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll_memcpy
push esi
push dword [ebp - 0xa64]
lea eax, [ebp - 0x118]
push eax
call sub.VCRUNTIME140.dll_memcpy
movaps xmm2, xmmword [str.6666666666666666_]
add esp, 0x30
movaps xmm3, xmmword [0x60d760]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x94]
movaps xmm1, xmm3
pxor xmm0, xmm2
movups xmmword [ebp + eax - 0x94], xmm0
movups xmm0, xmmword [ebp + eax - 0x118]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x84]
movups xmmword [ebp + eax - 0x118], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x108]
movups xmmword [ebp + eax - 0x84], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x74]
movups xmmword [ebp + eax - 0x108], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xf8]
movups xmmword [ebp + eax - 0x74], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x64]
movups xmmword [ebp + eax - 0xf8], xmm1
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0xe8]
movups xmmword [ebp + eax - 0x64], xmm1
movaps xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xe8], xmm1
add eax, 0x40
cmp eax, edi
jl 0x470020
lea ecx, [ebp - 0xa60]
call fcn.00434dd0
push dword [ebp - 0xa6c]
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x94]
mov dword [ebp - 0xa5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0xa60]
mov dword [ebp - 4], 0
push esi
push eax
mov dword [ebp - 0x25c], 2
mov dword [ebp - 0x65c], edi
call fcn.00459380
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x258]
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0xa68]
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x258]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [ebp - 0xa70]
mov eax, dword [ebp - 0xa68]
add eax, edi
push esi
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00459060
add esp, 0x38
lea ecx, [ebp - 0xa60]
call fcn.00435050
mov al, 1
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.005b34c8
mov esp, ebp
pop ebp
ret