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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], 0
jmp 0x405b7f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x405f84
mov edx, dword [ebp - 8]
shl edx, 6
add edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x405ba9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x405bf5
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 - 0x138], eax
jmp 0x405ba0
mov dword [ebp - 4], 0x10
jmp 0x405c07
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x405cc8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0x140]
shr edx, 0x11
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x140]
shl ecx, 0xf
or edx, ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x140]
shr ecx, 0x13
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x140]
shl eax, 0xd
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + ecx*4 - 0x140]
shr eax, 0xa
xor edx, eax
mov ecx, dword [ebp - 4]
add edx, dword [ebp + ecx*4 - 0x154]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x174]
shr ecx, 7
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x174]
shl eax, 0x19
or ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x174]
shr eax, 0x12
mov esi, dword [ebp - 4]
mov esi, dword [ebp + esi*4 - 0x174]
shl esi, 0xe
or eax, esi
xor ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x174]
shr eax, 3
xor ecx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebp + ecx*4 - 0x178]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x138], edx
jmp 0x405bfe
mov dword [ebp - 4], 0
jmp 0x405cda
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x405cf6
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax*4 + 0x88]
mov dword [ebp + edx*4 - 0x2c], eax
jmp 0x405cd1
mov dword [ebp - 4], 0
jmp 0x405d08
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jge 0x405f44
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 + 0x40a3b8]
mov edx, dword [ebp - 4]
add eax, dword [ebp + edx*4 - 0x138]
mov dword [ebp - 0x34], 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 - 0x38], 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 - 0x34]
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 - 0x34]
add ecx, dword [ebp - 0x38]
mov edx, 4
imul eax, edx, 0
mov dword [ebp + eax - 0x2c], ecx
jmp 0x405cff
mov dword [ebp - 4], 0
jmp 0x405f56
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 8
jge 0x405f7f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
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 - 0x30]
mov dword [edx + eax*4 + 0x88], ecx
jmp 0x405f4d
jmp 0x405b76
pop esi
mov esp, ebp
pop ebp
ret 8