Function at 0x46c590
Capabilities:
Encrypt data using hc-128

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
mov dword [ebp - 8], 0
jmp 0x46c5ac
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jge 0x46c9b1
mov edx, dword [ebp - 8]
shl edx, 6
add edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x46c5d6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x46c622
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx*4 + 3]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
movzx ecx, byte [edx + ecx*4 + 2]
shl ecx, 8
or eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + edx*4 + 1]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
movzx ecx, byte [edx + ecx*4]
shl ecx, 0x18
or eax, ecx
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x134], eax
jmp 0x46c5cd
mov dword [ebp - 4], 0x10
jmp 0x46c634
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x46c6f5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x13c]
shr edx, 0x11
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x13c]
shl ecx, 0xf
or edx, ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x13c]
shr ecx, 0x13
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x13c]
shl eax, 0xd
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + ecx*4 - 0x13c]
shr eax, 0xa
xor edx, eax
mov ecx, dword [ebp - 4]
add edx, dword [ebp + ecx*4 - 0x150]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x170]
shr ecx, 7
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x170]
shl eax, 0x19
or ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x170]
shr eax, 0x12
mov esi, dword [ebp - 4]
mov esi, dword [ebp + esi*4 - 0x170]
shl esi, 0xe
or eax, esi
xor ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x170]
shr eax, 3
xor ecx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + ecx*4 - 0x174]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x134], edx
jmp 0x46c62b
mov dword [ebp - 4], 0
jmp 0x46c707
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x46c723
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 + 0x88]
mov dword [ebp + edx*4 - 0x2c], eax
jmp 0x46c6fe
mov dword [ebp - 4], 0
jmp 0x46c735
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jge 0x46c971
mov edx, 4
imul eax, edx, 7
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + ecx - 0x2c]
shr edx, 6
mov ecx, 4
shl ecx, 2
mov ecx, dword [ebp + ecx - 0x2c]
shl ecx, 0x1a
or edx, ecx
mov ecx, 4
shl ecx, 2
mov ecx, dword [ebp + ecx - 0x2c]
shr ecx, 0xb
mov esi, 4
shl esi, 2
mov esi, dword [ebp + esi - 0x2c]
shl esi, 0x15
or ecx, esi
xor edx, ecx
mov ecx, 4
shl ecx, 2
mov ecx, dword [ebp + ecx - 0x2c]
shr ecx, 0x19
mov esi, 4
shl esi, 2
mov esi, dword [ebp + esi - 0x2c]
shl esi, 7
or ecx, esi
xor edx, ecx
mov eax, dword [ebp + eax - 0x2c]
add eax, edx
mov ecx, 4
shl ecx, 2
mov edx, 4
imul edx, edx, 5
mov ecx, dword [ebp + ecx - 0x2c]
and ecx, dword [ebp + edx - 0x2c]
mov edx, 4
shl edx, 2
mov edx, dword [ebp + edx - 0x2c]
not edx
mov esi, 4
imul esi, esi, 6
and edx, dword [ebp + esi - 0x2c]
xor ecx, edx
add eax, ecx
mov ecx, dword [ebp - 4]
add eax, dword [ecx*4 + 0x4d9570]
mov edx, dword [ebp - 4]
add eax, dword [ebp + edx*4 - 0x134]
mov dword [ebp - 0x30], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + ecx - 0x2c]
shr edx, 2
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + ecx - 0x2c]
shl eax, 0x1e
or edx, eax
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + eax - 0x2c]
shr ecx, 0xd
mov eax, 4
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
shl eax, 0x13
or ecx, eax
xor edx, ecx
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + eax - 0x2c]
shr ecx, 0x16
mov eax, 4
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
shl eax, 0xa
or ecx, eax
xor edx, ecx
mov ecx, 4
imul eax, ecx, 0
mov ecx, 4
shl ecx, 0
mov eax, dword [ebp + eax - 0x2c]
and eax, dword [ebp + ecx - 0x2c]
mov ecx, 4
imul ecx, ecx, 0
mov esi, 4
shl esi, 1
mov ecx, dword [ebp + ecx - 0x2c]
and ecx, dword [ebp + esi - 0x2c]
xor eax, ecx
mov ecx, 4
shl ecx, 0
mov esi, 4
shl esi, 1
mov ecx, dword [ebp + ecx - 0x2c]
and ecx, dword [ebp + esi - 0x2c]
xor eax, ecx
add edx, eax
mov dword [ebp - 0x34], edx
mov edx, 4
imul eax, edx, 6
mov ecx, 4
imul edx, ecx, 7
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp + edx - 0x2c], eax
mov ecx, 4
imul edx, ecx, 5
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + edx - 0x2c]
mov dword [ebp + ecx - 0x2c], edx
mov eax, 4
shl eax, 2
mov ecx, 4
imul edx, ecx, 5
mov eax, dword [ebp + eax - 0x2c]
mov dword [ebp + edx - 0x2c], eax
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + edx - 0x2c]
add eax, dword [ebp - 0x30]
mov ecx, 4
shl ecx, 2
mov dword [ebp + ecx - 0x2c], eax
mov edx, 4
shl edx, 1
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + edx - 0x2c]
mov dword [ebp + ecx - 0x2c], edx
mov eax, 4
shl eax, 0
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + eax - 0x2c]
mov dword [ebp + ecx - 0x2c], edx
mov eax, 4
imul ecx, eax, 0
mov edx, 4
shl edx, 0
mov eax, dword [ebp + ecx - 0x2c]
mov dword [ebp + edx - 0x2c], eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x34]
mov edx, 4
imul eax, edx, 0
mov dword [ebp + eax - 0x2c], ecx
jmp 0x46c72c
mov dword [ebp - 4], 0
jmp 0x46c983
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x46c9ac
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 0x88]
mov edx, dword [ebp - 4]
add ecx, dword [ebp + edx*4 - 0x2c]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx + eax*4 + 0x88], ecx
jmp 0x46c97a
jmp 0x46c5a3
pop esi
mov esp, ebp
pop ebp
ret