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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push esi
push edi
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp - 0x13c]
add eax, 0x28
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xc], 0
jmp 0x4cf9d1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x114]
add edx, 4
mov dword [ebp - 0x114], edx
cmp dword [ebp - 0xc], 0x10
jge 0x4cfa19
mov eax, dword [ebp - 0x114]
movzx ecx, byte [eax + 3]
mov edx, dword [ebp - 0x114]
movzx eax, byte [edx + 2]
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x114]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 0x114]
movzx eax, byte [edx]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x110], ecx
jmp 0x4cf9b9
mov dword [ebp - 0xc], 0x10
jmp 0x4cfa2b
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x40
jge 0x4cfae4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + ecx*4 - 0x118]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax*4 - 0x14c]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x134]
shr edx, 0xa
mov eax, dword [ebp - 0x134]
shl eax, 0xd
mov ecx, dword [ebp - 0x134]
shr ecx, 0x13
or ecx, eax
mov eax, dword [ebp - 0x134]
shl eax, 0xf
mov esi, dword [ebp - 0x134]
shr esi, 0x11
or esi, eax
xor esi, ecx
xor esi, edx
mov ecx, dword [ebp - 0xc]
add esi, dword [ebp + ecx*4 - 0x12c]
mov edx, dword [ebp - 0x138]
shr edx, 3
mov eax, dword [ebp - 0x138]
shl eax, 0xe
mov ecx, dword [ebp - 0x138]
shr ecx, 0x12
or ecx, eax
mov eax, dword [ebp - 0x138]
shl eax, 0x19
mov edi, dword [ebp - 0x138]
shr edi, 7
or edi, eax
xor edi, ecx
xor edi, edx
add esi, edi
mov ecx, dword [ebp - 0xc]
add esi, dword [ebp + ecx*4 - 0x150]
mov edx, dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x110], esi
jmp 0x4cfa22
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x130]
shl ecx, 7
mov edx, dword [ebp - 0x130]
shr edx, 0x19
or edx, ecx
mov eax, dword [ebp - 0x130]
shl eax, 0x15
mov ecx, dword [ebp - 0x130]
shr ecx, 0xb
or ecx, eax
mov eax, dword [ebp - 0x130]
shl eax, 0x1a
mov esi, dword [ebp - 0x130]
shr esi, 6
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x118]
xor ecx, dword [ebp - 0x11c]
and ecx, dword [ebp - 0x130]
xor ecx, dword [ebp - 0x11c]
add esi, dword [0x765d88]
add ecx, esi
add ecx, dword [ebp - 0x110]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 8]
shl edx, 0xa
mov eax, dword [ebp - 8]
shr eax, 0x16
or eax, edx
mov ecx, dword [ebp - 8]
shl ecx, 0x13
mov edx, dword [ebp - 8]
shr edx, 0xd
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 0x1e
mov esi, dword [ebp - 8]
shr esi, 2
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x12c]
mov edx, dword [ebp - 8]
and edx, dword [ebp - 0x120]
mov eax, dword [ebp - 8]
or eax, dword [ebp - 0x120]
and eax, dword [ebp - 0x128]
or eax, edx
add esi, eax
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x124]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
shl edx, 7
mov eax, dword [ebp - 0x124]
shr eax, 0x19
or eax, edx
mov ecx, dword [ebp - 0x124]
shl ecx, 0x15
mov edx, dword [ebp - 0x124]
shr edx, 0xb
or edx, ecx
mov ecx, dword [ebp - 0x124]
shl ecx, 0x1a
mov esi, dword [ebp - 0x124]
shr esi, 6
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x130]
xor edx, dword [ebp - 0x118]
and edx, dword [ebp - 0x124]
xor edx, dword [ebp - 0x118]
add esi, dword [0x765d8c]
add edx, esi
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 4]
shr ecx, 0x16
or ecx, eax
mov edx, dword [ebp - 4]
shl edx, 0x13
mov eax, dword [ebp - 4]
shr eax, 0xd
or eax, edx
mov edx, dword [ebp - 4]
shl edx, 0x1e
mov esi, dword [ebp - 4]
shr esi, 2
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 4]
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x120]
or ecx, eax
add esi, ecx
mov dword [ebp - 0x11c], esi
mov edx, dword [ebp - 0x128]
add edx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x128]
shl eax, 7
mov ecx, dword [ebp - 0x128]
shr ecx, 0x19
or ecx, eax
mov edx, dword [ebp - 0x128]
shl edx, 0x15
mov eax, dword [ebp - 0x128]
shr eax, 0xb
or eax, edx
mov edx, dword [ebp - 0x128]
shl edx, 0x1a
mov esi, dword [ebp - 0x128]
shr esi, 6
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x118]
mov eax, dword [ebp - 0x124]
xor eax, dword [ebp - 0x130]
and eax, dword [ebp - 0x128]
xor eax, dword [ebp - 0x130]
add esi, dword [0x765d90]
add eax, esi
add eax, dword [ebp - 0x108]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x11c]
shl ecx, 0xa
mov edx, dword [ebp - 0x11c]
shr edx, 0x16
or edx, ecx
mov eax, dword [ebp - 0x11c]
shl eax, 0x13
mov ecx, dword [ebp - 0x11c]
shr ecx, 0xd
or ecx, eax
mov eax, dword [ebp - 0x11c]
shl eax, 0x1e
mov esi, dword [ebp - 0x11c]
shr esi, 2
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x11c]
and ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x11c]
or edx, dword [ebp - 4]
and edx, dword [ebp - 8]
or edx, ecx
add esi, edx
mov dword [ebp - 0x118], esi
mov eax, dword [ebp - 0x120]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
shl ecx, 7
mov edx, dword [ebp - 0x120]
shr edx, 0x19
or edx, ecx
mov eax, dword [ebp - 0x120]
shl eax, 0x15
mov ecx, dword [ebp - 0x120]
shr ecx, 0xb
or ecx, eax
mov eax, dword [ebp - 0x120]
shl eax, 0x1a
mov esi, dword [ebp - 0x120]
shr esi, 6
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x128]
xor ecx, dword [ebp - 0x124]
and ecx, dword [ebp - 0x120]
xor ecx, dword [ebp - 0x124]
add esi, dword [0x765d94]
add ecx, esi
add ecx, dword [ebp - 0x104]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x118]
shl edx, 0xa
mov eax, dword [ebp - 0x118]
shr eax, 0x16
or eax, edx
mov ecx, dword [ebp - 0x118]
shl ecx, 0x13
mov edx, dword [ebp - 0x118]
shr edx, 0xd
or edx, ecx
mov ecx, dword [ebp - 0x118]
shl ecx, 0x1e
mov esi, dword [ebp - 0x118]
shr esi, 2
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x118]
and edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
or eax, dword [ebp - 0x11c]
and eax, dword [ebp - 4]
or eax, edx
add esi, eax
mov dword [ebp - 0x130], esi
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shl edx, 7
mov eax, dword [ebp - 8]
shr eax, 0x19
or eax, edx
mov ecx, dword [ebp - 8]
shl ecx, 0x15
mov edx, dword [ebp - 8]
shr edx, 0xb
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 0x1a
mov esi, dword [ebp - 8]
shr esi, 6
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x124]
mov edx, dword [ebp - 0x120]
xor edx, dword [ebp - 0x128]
and edx, dword [ebp - 8]
xor edx, dword [ebp - 0x128]
add esi, dword [0x765d98]
add edx, esi
add edx, dword [ebp - 0x100]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x130]
shl eax, 0xa
mov ecx, dword [ebp - 0x130]
shr ecx, 0x16
or ecx, eax
mov edx, dword [ebp - 0x130]
shl edx, 0x13
mov eax, dword [ebp - 0x130]
shr eax, 0xd
or eax, edx
mov edx, dword [ebp - 0x130]
shl edx, 0x1e
mov esi, dword [ebp - 0x130]
shr esi, 2
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
and eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x130]
or ecx, dword [ebp - 0x118]
and ecx, dword [ebp - 0x11c]
or ecx, eax
add esi, ecx
mov dword [ebp - 0x124], esi
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x12c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 7
mov ecx, dword [ebp - 4]
shr ecx, 0x19
or ecx, eax
mov edx, dword [ebp - 4]
shl edx, 0x15
mov eax, dword [ebp - 4]
shr eax, 0xb
or eax, edx
mov edx, dword [ebp - 4]
shl edx, 0x1a
mov esi, dword [ebp - 4]
shr esi, 6
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x120]
and eax, dword [ebp - 4]
xor eax, dword [ebp - 0x120]
add esi, dword [0x765d9c]
add eax, esi
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x124]
shl ecx, 0xa
mov edx, dword [ebp - 0x124]
shr edx, 0x16
or edx, ecx
mov eax, dword [ebp - 0x124]
shl eax, 0x13
mov ecx, dword [ebp - 0x124]
shr ecx, 0xd
or ecx, eax
mov eax, dword [ebp - 0x124]
shl eax, 0x1e
mov esi, dword [ebp - 0x124]
shr esi, 2
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x124]
and ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x124]
or edx, dword [ebp - 0x130]
and edx, dword [ebp - 0x118]
or edx, ecx
add esi, edx
mov dword [ebp - 0x128], esi
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
shl ecx, 7
mov edx, dword [ebp - 0x11c]
shr edx, 0x19
or edx, ecx
mov eax, dword [ebp - 0x11c]
shl eax, 0x15
mov ecx, dword [ebp - 0x11c]
shr ecx, 0xb
or ecx, eax
mov eax, dword [ebp - 0x11c]
shl eax, 0x1a
mov esi, dword [ebp - 0x11c]
shr esi, 6
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x11c]
xor ecx, dword [ebp - 8]
add esi, dword [0x765da0]
add ecx, esi
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x128]
shl edx, 0xa
mov eax, dword [ebp - 0x128]
shr eax, 0x16
or eax, edx
mov ecx, dword [ebp - 0x128]
shl ecx, 0x13
mov edx, dword [ebp - 0x128]
shr edx, 0xd
or edx, ecx
mov ecx, dword [ebp - 0x128]
shl ecx, 0x1e
mov esi, dword [ebp - 0x128]
shr esi, 2
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0x128]
and edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
or eax, dword [ebp - 0x124]
and eax, dword [ebp - 0x130]
or eax, edx
add esi, eax
mov dword [ebp - 0x120], esi
mov ecx, dword [ebp - 0x118]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp - 0x118]
shl edx, 7
mov eax, dword [ebp - 0x118]
shr eax, 0x19
or eax, edx
mov ecx, dword [ebp - 0x118]
shl ecx, 0x15
mov edx, dword [ebp - 0x118]
shr edx, 0xb
or edx, ecx
mov ecx, dword [ebp - 0x118]
shl ecx, 0x1a
mov esi, dword [ebp - 0x118]
shr esi, 6
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 8]
mov edx, dword [ebp - 0x11c]
xor edx, dword [ebp - 4]
and edx, dword [ebp - 0x118]
xor edx, dword [ebp - 4]
add esi, dword [0x765da4]
add edx, esi
add edx, dword [ebp - 0xf4]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x120]
shl eax, 0xa
mov ecx, dword [ebp - 0x120]
shr ecx, 0x16
or ecx, eax
mov edx, dword [ebp - 0x120]
shl edx, 0x13
mov eax, dword [ebp - 0x120]
shr eax, 0xd
or eax, edx
mov edx, dword [ebp - 0x120]
shl edx, 0x1e
mov esi, dword [ebp - 0x120]
shr esi, 2
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x120]
and eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x120]
or ecx, dword [ebp - 0x128]
and ecx, dword [ebp - 0x124]
or ecx, eax
add esi, ecx
mov dword [ebp - 8], esi
mov edx, dword [ebp - 0x130]
add edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
shl eax, 7
mov ecx, dword [ebp - 0x130]
shr ecx, 0x19
or ecx, eax
mov edx, dword [ebp - 0x130]
shl edx, 0x15
mov eax, dword [ebp - 0x130]
shr eax, 0xb
or eax, edx
mov edx, dword [ebp - 0x130]
shl edx, 0x1a
mov esi, dword [ebp - 0x130]
shr esi, 6
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
xor eax, dword [ebp - 0x11c]
and eax, dword [ebp - 0x130]
xor eax, dword [ebp - 0x11c]
add esi, dword [0x765da8]
add eax, esi
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 8]
shl ecx, 0xa
mov edx, dword [ebp - 8]
shr edx, 0x16
or edx, ecx
mov eax, dword [ebp - 8]
shl eax, 0x13
mov ecx, dword [ebp - 8]
shr ecx, 0xd
or ecx, eax
mov eax, dword [ebp - 8]
shl eax, 0x1e
mov esi, dword [ebp - 8]
shr esi, 2
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x12c]
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 8]
or edx, dword [ebp - 0x120]
and edx, dword [ebp - 0x128]
or edx, ecx
add esi, edx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x12c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
shl ecx, 7
mov edx, dword [ebp - 0x124]
shr edx, 0x19
or edx, ecx
mov eax, dword [ebp - 0x124]
shl eax, 0x15
mov ecx, dword [ebp - 0x124]
shr ecx, 0xb
or ecx, eax
mov eax, dword [ebp - 0x124]
shl eax, 0x1a
mov esi, dword [ebp - 0x124]
shr esi, 6
or esi, eax
xor esi, ecx
xor esi, edx
add esi, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x130]
xor ecx, dword [ebp - 0x118]
and ecx, dword [ebp - 0x124]
xor ecx, dword [ebp - 0x118]
add esi, dword [0x765dac]
add ecx, esi
add ecx, dword [ebp - 0xec]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 4]
shr eax, 0x16
or eax, edx
mov ecx, dword [ebp - 4]
shl ecx, 0x13
mov edx, dword [ebp - 4]
shr edx, 0xd
or edx, ecx
mov ecx, dword [ebp - 4]
shl ecx, 0x1e
mov esi, dword [ebp - 4]
shr esi, 2
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x12c]
mov edx, dword [ebp - 4]
and edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
or eax, dword [ebp - 8]
and eax, dword [ebp - 0x120]
or eax, edx
add esi, eax
mov dword [ebp - 0x11c], esi
mov ecx, dword [ebp - 0x128]
add ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
shl edx, 7
mov eax, dword [ebp - 0x128]
shr eax, 0x19
or eax, edx
mov ecx, dword [ebp - 0x128]
shl ecx, 0x15
mov edx, dword [ebp - 0x128]
shr edx, 0xb
or edx, ecx
mov ecx, dword [ebp - 0x128]
shl ecx, 0x1a
mov esi, dword [ebp - 0x128]
shr esi, 6
or esi, ecx
xor esi, edx
xor esi, eax
add esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x124]
xor edx, dword [ebp - 0x130]
and edx, dword [ebp - 0x128]
xor edx, dword [ebp - 0x130]
add esi, dword [0x765db0]
add edx, esi
add edx, dword [ebp - 0xe8]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x11c]
shl eax, 0xa
mov ecx, dword [ebp - 0x11c]
shr ecx, 0x16
or ecx, eax
mov edx, dword [ebp - 0x11c]
shl edx, 0x13
mov eax, dword [ebp - 0x11c]
shr eax, 0xd
or eax, edx
mov edx, dword [ebp - 0x11c]
shl edx, 0x1e
mov esi, dword [ebp - 0x11c]
shr esi, 2
or esi, edx
xor esi, eax
xor esi, ecx
add esi, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x11c]
and eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x11c]
or ecx, dword [ebp - 4]
and ecx, dword [ebp - 8]
or ecx, eax
add esi, ecx
mov dword [ebp - 0x118], esi
mov edx, dword [ebp - 0x120]
add edx, dword [ebp - 0x12c]
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x120]
shl eax, 7
mov ecx, dword [ebp - 0x120]
shr ecx, 0x19
or ecx, eax
mov edx, dword [ebp - 0x120]
shl edx, 0x15
mov eax, dword [ebp - 0x120]
shr eax, 0xb
or eax, edx
mov edx, dword [ebp - 0x120]
shl edx, 0x1a
invalid
invalid