Function at 0x516260
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5be1ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x58], eax
push esi
mov ecx, dword [eax]
lea esi, [ebp - 0x44]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x54], ecx
add eax, 2
mov dword [ebp - 0x4c], edx
mov edi, 0x10
nop dword [eax + eax]
movzx edx, byte [eax + 1]
lea esi, [esi + 4]
movzx ecx, byte [eax]
lea eax, [eax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 6]
shl edx, 8
or edx, ecx
mov dword [esi - 4], edx
sub edi, 1
jne 0x5162a0
mov edi, dword [ebp - 0x4c]
mov ecx, ebx
mov eax, edi
not ecx
and ecx, dword [ebp - 0x48]
and eax, ebx
or ecx, eax
mov eax, ebx
add ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x54]
rol ecx, 3
and eax, ecx
mov edx, ecx
not edx
and edx, edi
or edx, eax
add edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x48]
rol edx, 7
mov esi, edx
mov eax, edx
and eax, ecx
not esi
and esi, ebx
or esi, eax
mov eax, edx
add esi, dword [ebp - 0x3c]
add esi, edi
rol esi, 0xb
and eax, esi
mov edi, esi
not edi
and edi, ecx
or edi, eax
mov eax, esi
add edi, dword [ebp - 0x38]
add edi, ebx
ror edi, 0xd
and eax, edi
mov ebx, edi
not ebx
and ebx, edx
or ebx, eax
mov eax, edi
add ebx, dword [ebp - 0x34]
add ebx, ecx
rol ebx, 3
and eax, ebx
mov ecx, ebx
not ecx
and ecx, esi
or ecx, eax
add ecx, dword [ebp - 0x30]
add ecx, edx
rol ecx, 7
mov edx, ecx
mov eax, ecx
not edx
and eax, ebx
and edx, edi
or edx, eax
mov eax, ecx
add edx, dword [ebp - 0x2c]
add edx, esi
rol edx, 0xb
mov esi, edx
and eax, edx
not esi
and esi, ebx
or esi, eax
mov eax, edx
add esi, dword [ebp - 0x28]
add esi, edi
ror esi, 0xd
mov edi, esi
and eax, esi
not edi
and edi, ecx
or edi, eax
add edi, dword [ebp - 0x24]
add edi, ebx
rol edi, 3
mov eax, esi
and eax, edi
mov ebx, edi
not ebx
and ebx, edx
or ebx, eax
add ebx, dword [ebp - 0x20]
add ebx, ecx
rol ebx, 7
mov ecx, ebx
mov eax, ebx
and eax, edi
not ecx
and ecx, esi
or ecx, eax
mov eax, ebx
add ecx, dword [ebp - 0x1c]
add ecx, edx
rol ecx, 0xb
and eax, ecx
mov edx, ecx
not edx
and edx, edi
or edx, eax
mov eax, ecx
add edx, dword [ebp - 0x18]
add edx, esi
ror edx, 0xd
mov dword [ebp - 0x48], edx
not edx
and eax, dword [ebp - 0x48]
and edx, ebx
or edx, eax
mov eax, dword [ebp - 0x48]
add edx, dword [ebp - 0x14]
add edx, edi
rol edx, 3
and eax, edx
mov esi, edx
not esi
and esi, ecx
or esi, eax
add esi, dword [ebp - 0x10]
add esi, ebx
rol esi, 7
mov edi, esi
mov dword [ebp - 0x4c], esi
not edi
mov eax, esi
and edi, dword [ebp - 0x48]
and eax, edx
or edi, eax
mov eax, esi
add edi, dword [ebp - 0xc]
add edi, ecx
rol edi, 0xb
mov ebx, edi
mov dword [ebp - 0x50], edi
not ebx
and eax, edi
and ebx, edx
mov ecx, edi
or ebx, eax
mov eax, edi
add ebx, dword [ebp - 8]
add ebx, dword [ebp - 0x48]
ror ebx, 0xd
or ecx, ebx
mov dword [ebp - 0x48], ebx
and ecx, esi
and eax, ebx
or ecx, eax
lea esi, [edx + 0x5a827999]
add ecx, dword [ebp - 0x44]
mov edx, ebx
add esi, ecx
mov ecx, ebx
rol esi, 3
or edx, esi
and ecx, esi
mov ebx, dword [ebp - 0x50]
mov eax, edx
and eax, edi
add ebx, 0x5a827999
or eax, ecx
mov edi, dword [ebp - 0x4c]
add eax, dword [ebp - 0x34]
add edi, 0x5a827999
add edi, eax
rol edi, 5
and edx, edi
or edx, ecx
add edx, dword [ebp - 0x24]
add ebx, edx
mov edx, dword [ebp - 0x48]
rol ebx, 9
add edx, 0x5a827999
mov ecx, ebx
mov eax, ebx
or ecx, esi
and eax, esi
and ecx, edi
or ecx, eax
mov eax, ebx
add ecx, dword [ebp - 0x14]
add edx, ecx
mov ecx, ebx
rol edx, 0xd
or ecx, edx
mov dword [ebp - 0x50], edx
and eax, edx
and ecx, edi
or ecx, eax
lea eax, [esi + 0x5a827999]
add ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
add eax, ecx
rol eax, 3
mov ecx, esi
and ecx, eax
mov dword [ebp - 0x4c], eax
or edx, eax
add esi, 0x5a827999
mov eax, edx
and eax, ebx
or eax, ecx
add eax, 0x5a827999
add eax, dword [ebp - 0x30]
add edi, eax
rol edi, 5
and edx, edi
or edx, ecx
add edx, 0x5a827999
add edx, dword [ebp - 0x20]
add ebx, edx
mov edx, dword [ebp - 0x4c]
rol ebx, 9
mov ecx, ebx
mov eax, ebx
or ecx, edx
and eax, edx
and ecx, edi
or ecx, eax
mov eax, ebx
add ecx, dword [ebp - 0x10]
add esi, ecx
mov ecx, ebx
rol esi, 0xd
or ecx, esi
and eax, esi
and ecx, edi
or ecx, eax
lea eax, [edx + 0x5a827999]
add ecx, dword [ebp - 0x3c]
mov edx, esi
add eax, ecx
mov ecx, esi
rol eax, 3
or edx, eax
mov dword [ebp - 0x50], eax
and ecx, eax
mov eax, edx
and eax, ebx
or eax, ecx
add eax, 0x5a827999
add eax, dword [ebp - 0x2c]
add edi, eax
rol edi, 5
and edx, edi
or edx, ecx
add edx, 0x5a827999
add edx, dword [ebp - 0x1c]
add ebx, edx
mov edx, dword [ebp - 0x50]
rol ebx, 9
mov ecx, ebx
mov dword [ebp - 0x48], ebx
or ecx, edx
mov eax, ebx
and eax, edx
and ecx, edi
or ecx, eax
mov eax, ebx
add ecx, 0x5a827999
add ecx, dword [ebp - 0xc]
add esi, ecx
mov ecx, ebx
rol esi, 0xd
lea ebx, [edx + 0x5a827999]
and eax, esi
mov dword [ebp - 0x50], esi
or ecx, esi
mov edx, esi
and ecx, edi
or ecx, eax
add ecx, dword [ebp - 0x38]
add ebx, ecx
mov ecx, esi
rol ebx, 3
lea esi, [edi + 0x5a827999]
mov edi, dword [ebp - 0x48]
or edx, ebx
and ecx, ebx
mov dword [ebp - 0x4c], ebx
mov eax, edx
add edi, 0x5a827999
and eax, dword [ebp - 0x48]
or eax, ecx
add eax, dword [ebp - 0x28]
add esi, eax
rol esi, 5
and edx, esi
or edx, ecx
add edx, dword [ebp - 0x18]
add edi, edx
mov edx, dword [ebp - 0x4c]
rol edi, 9
add edx, 0x6ed9eba1
mov ecx, edi
mov eax, edi
and eax, ebx
or ecx, ebx
mov ebx, dword [ebp - 0x50]
and ecx, esi
or ecx, eax
add ebx, 0x5a827999
add ecx, dword [ebp - 8]
mov eax, esi
xor eax, edi
add ebx, ecx
rol ebx, 0xd
xor eax, ebx
add eax, dword [ebp - 0x44]
add edx, eax
mov eax, edi
xor eax, ebx
rol edx, 3
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x24]
add esi, eax
rol esi, 9
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x34]
add edi, eax
rol edi, 0xb
xor ecx, edi
mov eax, ecx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x14]
add ebx, eax
mov eax, edi
rol ebx, 0xf
xor eax, ebx
xor ecx, ebx
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 0x3c]
add edx, ecx
rol edx, 3
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x1c]
add esi, eax
rol esi, 9
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x2c]
add edi, eax
rol edi, 0xb
xor ecx, edi
mov eax, ecx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0xc]
add ebx, eax
mov eax, edi
rol ebx, 0xf
xor eax, ebx
xor ecx, ebx
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 0x40]
add edx, ecx
rol edx, 3
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x20]
add esi, eax
rol esi, 9
mov eax, esi
mov ecx, esi
xor eax, ebx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x30]
add edi, eax
rol edi, 0xb
xor ecx, edi
mov eax, ecx
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x10]
add ebx, eax
mov eax, edi
rol ebx, 0xf
xor ecx, ebx
xor eax, ebx
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 0x38]
add edx, ecx
rol edx, 3
xor eax, edx
add eax, 0x6ed9eba1
add eax, dword [ebp - 0x18]
add esi, eax
rol esi, 9
mov eax, esi
lea ecx, [edi + 0x6ed9eba1]
mov edi, dword [ebp - 0x58]
xor eax, ebx
xor eax, edx
add ebx, 0x6ed9eba1
add eax, dword [ebp - 0x28]
add ecx, eax
mov eax, dword [ebp - 0x54]
add dword [edi + 0xc], esi
add eax, edx
mov dword [edi], eax
mov eax, esi
rol ecx, 0xb
add dword [edi + 8], ecx
xor eax, ecx
mov ecx, dword [ebp - 4]
xor eax, edx
add eax, dword [ebp - 8]
xor ecx, ebp
add eax, ebx
rol eax, 0xf
add dword [edi + 4], eax
pop edi
pop esi
pop ebx
call fcn.004951c6
mov esp, ebp
pop ebp
ret