Function at 0x46e6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8980
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x68cc00]
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 0x46e6f3
xor al, al
jmp 0x46e91c
mov esi, dword [ebp + 0x18]
mov edi, 0x40
cmp esi, 3
je 0x46e705
cmp esi, 2
jne 0x46e70a
mov edi, 0x80
push esi
call fcn.0046fc80
mov ecx, dword [ebp + 0x14]
add esp, 4
mov dword [ebp - 0xa68], eax
cmp ecx, edi
jle 0x46e749
lea eax, [ebp - 0x158]
push eax
push esi
push ecx
push dword [ebp - 0xa64]
call fcn.0046ecd0
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_sha3]
add esp, 0x30
movaps xmm3, xmmword [0x608430]
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 0x46e7b0
lea ecx, [ebp - 0xa60]
call fcn.00434b40
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.0046eff0
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.0046ecd0
add esp, 0x38
lea ecx, [ebp - 0xa60]
call fcn.00434dc0
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.005af618
mov esp, ebp
pop ebp
ret