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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea edi, [ebp - 0x84]
mov ecx, 0x21
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x4d1350
call fcn.0044014e
mov dword [ebp - 0x80], 0x10
jmp 0x4874ca
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x40
jge 0x48758b
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4 + 0x20]
shr edx, 0x11
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 + 0x20]
shl eax, 0xf
or edx, eax
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx*4 + 0x20]
shr ecx, 0x13
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x20]
shl eax, 0xd
or ecx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx*4 + 0x20]
shr ecx, 0xa
xor edx, ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + eax*4 + 0xc]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 - 0x14]
shr eax, 7
mov ecx, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + ecx*4 - 0x14]
shl ecx, 0x19
or eax, ecx
mov ecx, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + ecx*4 - 0x14]
shr ecx, 0x12
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp + 8]
mov esi, dword [edi + esi*4 - 0x14]
shl esi, 0xe
or ecx, esi
xor eax, ecx
mov ecx, dword [ebp - 0x80]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + ecx*4 - 0x14]
shr ecx, 3
xor eax, ecx
add edx, eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + eax*4 - 0x18]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4 + 0x28], edx
jmp 0x4874c1
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 8], eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x14], edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x20], edx
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x38], edx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x44], eax
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x50], eax
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x80], 0
jmp 0x48762c
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x40
jge 0x487714
mov eax, dword [ebp - 0x38]
shr eax, 6
mov ecx, dword [ebp - 0x38]
shl ecx, 0x1a
or eax, ecx
mov edx, dword [ebp - 0x38]
shr edx, 0xb
mov ecx, dword [ebp - 0x38]
shl ecx, 0x15
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x38]
shr edx, 0x19
mov ecx, dword [ebp - 0x38]
shl ecx, 7
or edx, ecx
xor eax, edx
add eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x38]
and edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
not ecx
and ecx, dword [ebp - 0x50]
xor edx, ecx
add eax, edx
mov edx, dword [ebp - 0x80]
add eax, dword [edx*4 + 0x4c5088]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
add eax, dword [edx + ecx*4 + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
shr eax, 2
mov ecx, dword [ebp - 8]
shl ecx, 0x1e
or eax, ecx
mov edx, dword [ebp - 8]
shr edx, 0xd
mov ecx, dword [ebp - 8]
shl ecx, 0x13
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 8]
shr edx, 0x16
mov ecx, dword [ebp - 8]
shl ecx, 0xa
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 8]
and edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x20]
xor edx, ecx
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp - 0x20]
xor edx, ecx
add eax, edx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
jmp 0x487623
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
add edx, dword [ebp - 0x14]
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
add edx, dword [ebp - 0x20]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], edx
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 0x2c]
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
add edx, dword [ebp - 0x38]
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], edx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 0x44]
mov ecx, 4
imul edx, ecx, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 0x50]
mov ecx, 4
imul edx, ecx, 6
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 0x5c]
mov ecx, 4
imul edx, ecx, 7
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
pop edi
pop esi
pop ebx
add esp, 0x144
cmp ebp, esp
call fcn.0043fc4e
mov esp, ebp
pop ebp
ret