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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x651da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 0x67b2be
call fcn.0059f048
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x148], 0xf
jmp 0x42c5d7
mov eax, dword [ebp - 0x148]
sub eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jl 0x42c633
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
shr ecx, 8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shl eax, 0x18
or ecx, eax
and ecx, 0xff00ff00
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shl eax, 8
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
shr edx, 0x18
or eax, edx
and eax, 0xff00ff
or ecx, eax
mov eax, dword [ebp - 0x108]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x108]
add ecx, 4
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x42c5c8
mov eax, 4
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x104]
mov dword [ebp - 0x118], edx
mov eax, 4
shl eax, 0
lea ecx, [ebp + eax - 0x104]
mov dword [ebp - 0x114], ecx
mov eax, 4
imul ecx, eax, 9
lea edx, [ebp + ecx - 0x104]
mov dword [ebp - 0x110], edx
mov eax, 4
imul ecx, eax, 0xe
lea edx, [ebp + ecx - 0x104]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x148], 0x2f
jmp 0x42c6a2
mov eax, dword [ebp - 0x148]
sub eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jl 0x42c797
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
shr ecx, 0x11
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
shl eax, 0xf
or ecx, eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
shr eax, 0x13
mov edx, dword [ebp - 0x10c]
mov edx, dword [edx]
shl edx, 0xd
or eax, edx
xor ecx, eax
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
shr edx, 0xa
xor ecx, edx
mov eax, dword [ebp - 0x110]
add ecx, dword [eax]
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
shr eax, 7
mov edx, dword [ebp - 0x114]
mov edx, dword [edx]
shl edx, 0x19
or eax, edx
mov edx, dword [ebp - 0x114]
mov edx, dword [edx]
shr edx, 0x12
mov esi, dword [ebp - 0x114]
mov esi, dword [esi]
shl esi, 0xe
or edx, esi
xor eax, edx
mov edx, dword [ebp - 0x114]
mov edx, dword [edx]
shr edx, 3
xor eax, edx
add ecx, eax
mov eax, dword [ebp - 0x118]
add ecx, dword [eax]
mov edx, dword [ebp - 0x108]
mov dword [edx], ecx
mov eax, dword [ebp - 0x108]
add eax, 4
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x118]
add ecx, 4
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x110]
add edx, 4
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x10c]
add eax, 4
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x114]
add eax, 4
mov dword [ebp - 0x114], eax
jmp 0x42c693
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x11c], eax
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x120], edx
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x124], edx
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x128], eax
mov eax, 4
shl eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 8]
mov dword [ebp - 0x12c], edx
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x130], eax
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x134], eax
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], 0x5f2b28
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x148], 0x3f
jmp 0x42c86f
mov eax, dword [ebp - 0x148]
sub eax, 1
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jl 0x42c9e9
mov eax, dword [ebp - 0x12c]
shr eax, 6
mov ecx, dword [ebp - 0x12c]
shl ecx, 0x1a
or eax, ecx
mov edx, dword [ebp - 0x12c]
shr edx, 0xb
mov ecx, dword [ebp - 0x12c]
shl ecx, 0x15
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x12c]
shr edx, 0x19
mov ecx, dword [ebp - 0x12c]
shl ecx, 7
or edx, ecx
xor eax, edx
add eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x130]
xor edx, dword [ebp - 0x134]
and edx, dword [ebp - 0x12c]
xor edx, dword [ebp - 0x134]
add eax, edx
mov ecx, dword [ebp - 0x144]
add eax, dword [ecx]
mov edx, dword [ebp - 0x108]
add eax, dword [edx]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x108]
add eax, 4
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x144]
add ecx, 4
mov dword [ebp - 0x144], ecx
mov eax, dword [ebp - 0x11c]
shr eax, 2
mov ecx, dword [ebp - 0x11c]
shl ecx, 0x1e
or eax, ecx
mov edx, dword [ebp - 0x11c]
shr edx, 0xd
mov ecx, dword [ebp - 0x11c]
shl ecx, 0x13
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x11c]
shr edx, 0x16
mov ecx, dword [ebp - 0x11c]
shl ecx, 0xa
or edx, ecx
xor eax, edx
mov edx, dword [ebp - 0x120]
or edx, dword [ebp - 0x124]
and edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x120]
and ecx, dword [ebp - 0x124]
or edx, ecx
add eax, edx
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x128]
add eax, dword [ebp - 0x13c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x13c]
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x11c], eax
jmp 0x42c860
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 8]
add eax, dword [ebp - 0x11c]
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 - 0x120]
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 - 0x124]
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 - 0x128]
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 - 0x12c]
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 - 0x130]
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 - 0x134]
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 - 0x138]
mov ecx, 4
imul edx, ecx, 7
mov ecx, dword [ebp + 8]
mov dword [ecx + edx + 8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059f07a
mov esp, ebp
pop ebp
ret