Function at 0x46c09c
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
call fcn.0046e204
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x10
jne 0x46c0b2
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 - 8]
shr eax, 0x11
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + ecx*4 - 8]
shl edx, 0xf
or eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + ecx*4 - 8]
shr edx, 0x13
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*4 - 8]
shl ecx, 0xd
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + ecx*4 - 8]
shr edx, 0xa
xor eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add eax, dword [edx + ecx*4 - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [edx + ecx*4 - 0x3c]
shr edx, 7
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*4 - 0x3c]
shl ecx, 0x19
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*4 - 0x3c]
shr ecx, 0x12
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebx + esi*4 - 0x3c]
shl ebx, 0xe
or ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*4 - 0x3c]
shr ecx, 3
xor edx, ecx
add eax, edx
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add eax, dword [edx + ecx*4 - 0x40]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x46c0d9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
shr eax, 6
mov edx, dword [ebp - 0x24]
shl edx, 0x1a
or eax, edx
mov edx, dword [ebp - 0x24]
shr edx, 0xb
mov ecx, dword [ebp - 0x24]
shl ecx, 0x15
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x24]
shr edx, 0x19
mov ecx, dword [ebp - 0x24]
shl ecx, 7
or edx, ecx
xor eax, edx
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
not edx
and edx, dword [ebp - 0x2c]
xor eax, edx
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x4fa718]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
add dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 0x14]
shl edx, 0x1e
or eax, edx
mov edx, dword [ebp - 0x14]
shr edx, 0xd
mov ecx, dword [ebp - 0x14]
shl ecx, 0x13
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x14]
shr edx, 0x16
mov ecx, dword [ebp - 0x14]
shl ecx, 0xa
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x1c]
xor edx, ecx
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
xor edx, ecx
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x40
jne 0x46c1e4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add dword [eax + 0x4c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
add dword [eax + 0x50], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add dword [eax + 0x54], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
add dword [eax + 0x58], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
add dword [eax + 0x5c], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
add dword [eax + 0x60], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
add dword [eax + 0x64], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x30]
add dword [eax + 0x68], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret