Function at 0x51d730
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x3c], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp - 8], edx
test ecx, ecx
je 0x51de2a
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], edx
push edi
lea ecx, [ecx]
dec ecx
movzx ebx, byte [eax]
mov dword [ebp + 0x10], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
or ebx, ecx
movzx edi, byte [eax + 4]
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or ebx, ecx
xor edx, dword [ebp - 8]
movzx ecx, byte [eax + 3]
and edx, esi
shl ecx, 0x18
or ebx, ecx
xor edx, dword [ebp - 0xc]
movzx ecx, byte [eax + 5]
add edx, ebx
shl ecx, 8
or edi, ecx
add edx, dword [ebp - 0x3c]
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or edi, ecx
mov esi, dword [ebp - 8]
movzx ecx, byte [eax + 7]
xor esi, dword [ebp - 4]
shl ecx, 0x18
or edi, ecx
mov dword [ebp - 0x38], ebx
movzx ecx, byte [eax + 9]
movzx ebx, byte [eax + 8]
shl ecx, 8
or ebx, ecx
mov dword [ebp - 0x40], edi
movzx ecx, byte [eax + 0xa]
shl ecx, 0x10
or ebx, ecx
rol edx, 3
movzx ecx, byte [eax + 0xb]
and esi, edx
xor esi, dword [ebp - 8]
shl ecx, 0x18
add esi, edi
movzx edi, byte [eax + 0xc]
or ebx, ecx
movzx ecx, byte [eax + 0xd]
add esi, dword [ebp - 0xc]
shl ecx, 8
or edi, ecx
rol esi, 7
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
or edi, ecx
mov dword [ebp - 0x3c], ebx
movzx ecx, byte [eax + 0xf]
shl ecx, 0x18
or edi, ecx
movzx ecx, byte [eax + 0x11]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 4]
xor edi, edx
shl ecx, 8
and edi, esi
xor edi, dword [ebp - 4]
add edi, ebx
movzx ebx, byte [eax + 0x10]
add edi, dword [ebp - 8]
or ebx, ecx
movzx ecx, byte [eax + 0x12]
shl ecx, 0x10
or ebx, ecx
rol edi, 0xb
movzx ecx, byte [eax + 0x13]
shl ecx, 0x18
or ebx, ecx
mov dword [ebp - 8], ebx
mov ebx, esi
xor ebx, edx
and ebx, edi
xor ebx, edx
add ebx, dword [ebp - 0x28]
add ebx, dword [ebp - 4]
movzx ecx, byte [eax + 0x14]
mov dword [ebp - 4], ecx
movzx ecx, byte [eax + 0x15]
shl ecx, 8
or dword [ebp - 4], ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
or dword [ebp - 4], ecx
movzx ecx, byte [eax + 0x17]
shl ecx, 0x18
or dword [ebp - 4], ecx
mov ecx, esi
xor ecx, edi
rol ebx, 0x13
and ecx, ebx
xor ecx, esi
add ecx, dword [ebp - 8]
add ecx, edx
movzx edx, byte [eax + 0x18]
rol ecx, 3
mov dword [ebp + 0xc], ecx
movzx ecx, byte [eax + 0x19]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 0x1a]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0x1b]
shl ecx, 0x18
or edx, ecx
mov ecx, edi
xor ecx, ebx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
and ecx, edx
xor ecx, edi
add ecx, dword [ebp - 4]
add ecx, esi
movzx esi, byte [eax + 0x1c]
rol ecx, 7
mov dword [ebp + 0xc], ecx
movzx ecx, byte [eax + 0x1d]
shl ecx, 8
or esi, ecx
movzx ecx, byte [eax + 0x1e]
shl ecx, 0x10
or esi, ecx
movzx ecx, byte [eax + 0x1f]
shl ecx, 0x18
or esi, ecx
mov ecx, ebx
xor ecx, edx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 0xc]
and ecx, esi
xor ecx, ebx
add ecx, dword [ebp - 0x18]
add ecx, edi
movzx edi, byte [eax + 0x20]
rol ecx, 0xb
mov dword [ebp + 0xc], ecx
movzx ecx, byte [eax + 0x21]
shl ecx, 8
or edi, ecx
movzx ecx, byte [eax + 0x22]
shl ecx, 0x10
or edi, ecx
movzx ecx, byte [eax + 0x23]
shl ecx, 0x18
or edi, ecx
mov ecx, esi
xor ecx, edx
mov dword [ebp - 0xc], edi
mov edi, dword [ebp + 0xc]
and ecx, edi
xor ecx, edx
add ecx, dword [ebp - 0x30]
add ecx, ebx
rol ecx, 0x13
mov dword [ebp + 0xc], ecx
movzx ecx, byte [eax + 0x25]
movzx ebx, byte [eax + 0x24]
shl ecx, 8
or ebx, ecx
movzx ecx, byte [eax + 0x26]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax + 0x27]
shl ecx, 0x18
or ebx, ecx
movzx ecx, byte [eax + 0x29]
mov dword [ebp - 0x20], ebx
mov ebx, esi
xor ebx, edi
shl ecx, 8
and ebx, dword [ebp + 0xc]
xor ebx, esi
add ebx, dword [ebp - 0xc]
add ebx, edx
movzx edx, byte [eax + 0x28]
or edx, ecx
rol ebx, 3
movzx ecx, byte [eax + 0x2a]
shl ecx, 0x10
or edx, ecx
mov dword [ebp - 0x34], ebx
movzx ecx, byte [eax + 0x2b]
shl ecx, 0x18
or edx, ecx
mov ecx, edi
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
xor ecx, edx
and ecx, ebx
movzx ebx, byte [eax + 0x2c]
xor ecx, edi
add ecx, dword [ebp - 0x20]
add ecx, esi
mov esi, dword [ebp - 0x34]
rol ecx, 7
mov dword [ebp + 0xc], ecx
movzx ecx, byte [eax + 0x2d]
shl ecx, 8
or ebx, ecx
movzx ecx, byte [eax + 0x2e]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax + 0x2f]
shl ecx, 0x18
or ebx, ecx
movzx ecx, byte [eax + 0x31]
mov dword [ebp - 0x2c], ebx
mov ebx, edx
xor ebx, esi
shl ecx, 8
and ebx, dword [ebp + 0xc]
xor ebx, edx
add ebx, dword [ebp - 0x14]
add ebx, edi
movzx edi, byte [eax + 0x30]
or edi, ecx
rol ebx, 0xb
movzx ecx, byte [eax + 0x32]
shl ecx, 0x10
or edi, ecx
mov dword [ebp - 0x50], ebx
movzx ecx, byte [eax + 0x33]
shl ecx, 0x18
or edi, ecx
movzx ecx, byte [eax + 0x35]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp + 0xc]
xor edi, esi
and edi, ebx
xor edi, esi
add edi, dword [ebp - 0x2c]
add edi, edx
movzx edx, byte [eax + 0x34]
rol edi, 0x13
mov dword [ebp - 0x54], edi
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 0x36]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0x37]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 0x39]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0xc]
xor edx, ebx
shl ecx, 8
and edx, edi
xor edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
add edx, esi
movzx esi, byte [eax + 0x38]
or esi, ecx
rol edx, 3
movzx ecx, byte [eax + 0x3a]
shl ecx, 0x10
or esi, ecx
mov dword [ebp - 0x58], edx
movzx ecx, byte [eax + 0x3b]
shl ecx, 0x18
or esi, ecx
movzx ecx, byte [eax + 0x3d]
mov dword [ebp - 0x1c], esi
mov esi, ebx
xor esi, edi
shl ecx, 8
and esi, edx
xor esi, ebx
movzx ebx, byte [eax + 0x3c]
add esi, dword [ebp - 0x24]
or ebx, ecx
movzx ecx, byte [eax + 0x3e]
add esi, dword [ebp + 0xc]
shl ecx, 0x10
or ebx, ecx
rol esi, 7
movzx ecx, byte [eax + 0x3f]
add eax, 0x40
shl ecx, 0x18
or ebx, ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x34], ebx
mov ebx, edi
xor ebx, edx
mov eax, dword [ebp - 0x58]
and ebx, esi
mov dword [ebp - 0x5c], esi
xor ebx, edi
add eax, 0x5a827999
add ebx, dword [ebp - 0x1c]
mov edi, esi
add ebx, dword [ebp - 0x50]
xor edi, edx
rol ebx, 0xb
and edi, ebx
mov ecx, ebx
xor edi, edx
mov edx, ebx
add edi, dword [ebp - 0x34]
add edi, dword [ebp - 0x54]
rol edi, 0x13
or edx, edi
mov dword [ebp - 0x54], edi
and edx, esi
and ecx, edi
or edx, ecx
mov esi, edi
add edx, dword [ebp - 0x38]
add eax, edx
mov edx, edi
rol eax, 3
or esi, eax
and edx, eax
mov ecx, esi
and ecx, ebx
or ecx, edx
mov edi, dword [ebp - 0x5c]
add ecx, dword [ebp - 8]
add edi, 0x5a827999
add edi, ecx
rol edi, 5
and esi, edi
or esi, edx
add esi, 0x5a827999
add esi, dword [ebp - 0xc]
add ebx, esi
mov esi, dword [ebp - 0x54]
rol ebx, 9
add esi, 0x5a827999
mov edx, ebx
mov ecx, ebx
or edx, eax
and ecx, eax
and edx, edi
or edx, ecx
mov ecx, ebx
add edx, dword [ebp - 0x10]
add esi, edx
mov edx, ebx
rol esi, 0xd
or edx, esi
mov dword [ebp - 0x5c], esi
and ecx, esi
and edx, edi
or edx, ecx
lea ecx, [eax + 0x5a827999]
add edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x5c]
add ecx, edx
rol ecx, 3
mov edx, eax
and edx, ecx
mov dword [ebp - 0x58], ecx
or esi, ecx
add eax, 0x5a827999
mov ecx, esi
and ecx, ebx
or ecx, edx
add ecx, 0x5a827999
add ecx, dword [ebp - 4]
add edi, ecx
rol edi, 5
and esi, edi
or esi, edx
add esi, 0x5a827999
add esi, dword [ebp - 0x20]
add ebx, esi
mov esi, dword [ebp - 0x58]
rol ebx, 9
mov edx, ebx
mov ecx, ebx
or edx, esi
and ecx, esi
and edx, edi
or edx, ecx
mov ecx, ebx
add edx, dword [ebp - 0x24]
add eax, edx
mov edx, ebx
rol eax, 0xd
or edx, eax
and ecx, eax
and edx, edi
or edx, ecx
lea ecx, [esi + 0x5a827999]
add edx, dword [ebp - 0x3c]
mov esi, eax
add ecx, edx
mov edx, eax
rol ecx, 3
or esi, ecx
mov dword [ebp - 0x5c], ecx
and edx, ecx
mov ecx, esi
and ecx, ebx
or ecx, edx
add ecx, 0x5a827999
add ecx, dword [ebp - 0x18]
add edi, ecx
rol edi, 5
and esi, edi
mov dword [ebp - 0x58], edi
or esi, edx
add esi, 0x5a827999
add esi, dword [ebp - 0x14]
add ebx, esi
mov esi, dword [ebp - 0x5c]
rol ebx, 9
mov edx, ebx
mov ecx, ebx
and ecx, esi
or edx, esi
and edx, edi
or edx, ecx
mov ecx, ebx
add edx, 0x5a827999
add edx, dword [ebp - 0x1c]
add eax, edx
mov edx, ebx
rol eax, 0xd
and ecx, eax
mov dword [ebp - 0x5c], eax
or edx, eax
and edx, edi
lea edi, [esi + 0x5a827999]
or edx, ecx
mov esi, eax
add edx, dword [ebp - 0x28]
add edi, edx
mov edx, eax
mov eax, dword [ebp - 0x58]
rol edi, 3
add eax, 0x5a827999
or esi, edi
and edx, edi
mov ecx, esi
and ecx, ebx
or ecx, edx
add ecx, dword [ebp - 0x30]
add eax, ecx
rol eax, 5
and esi, eax
or esi, edx
add esi, 0x5a827999
add esi, dword [ebp - 0x2c]
add ebx, esi
lea esi, [edi + 0x6ed9eba1]
rol ebx, 9
mov edx, ebx
mov ecx, ebx
and ecx, edi
or edx, edi
and edx, eax
lea edi, [eax + 0x6ed9eba1]
or edx, ecx
mov ecx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x34]
add ecx, 0x5a827999
add edx, ecx
mov ecx, eax
xor ecx, ebx
rol edx, 0xd
xor ecx, edx
mov dword [ebp - 0x5c], edx
add ecx, dword [ebp - 0x38]
add esi, ecx
mov ecx, ebx
xor ecx, edx
rol esi, 3
xor ecx, esi
add ecx, dword [ebp - 0xc]
add edi, ecx
rol edi, 9
mov ecx, edi
xor ecx, edx
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 8]
mov edx, edi
add ebx, ecx
mov eax, dword [ebp - 0x5c]
rol ebx, 0xb
add eax, 0x6ed9eba1
xor edx, ebx
mov ecx, edx
xor ecx, esi
add esi, 0x6ed9eba1
add ecx, dword [ebp - 0x10]
add ecx, eax
rol ecx, 0xf
xor edx, ecx
mov dword [ebp - 0x5c], ecx
add edx, dword [ebp - 0x3c]
mov ecx, ebx
add edx, esi
mov esi, dword [ebp - 0x5c]
xor ecx, esi
rol edx, 3
xor ecx, edx
mov dword [ebp - 0x58], edx
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 0x14]
add edi, ecx
rol edi, 9
mov ecx, edi
mov dword [ebp - 0x5c], edi
xor ecx, esi
add esi, 0x6ed9eba1
xor ecx, edx
mov edx, edi
mov edi, dword [ebp - 0x58]
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 0x18]
add ebx, ecx
rol ebx, 0xb
xor edx, ebx
mov ecx, edx
xor ecx, edi
add edi, 0x6ed9eba1
add ecx, dword [ebp - 0x1c]
add esi, ecx
mov ecx, ebx
rol esi, 0xf
xor edx, esi
xor ecx, esi
add edx, dword [ebp - 0x40]
add edi, edx
mov edx, dword [ebp - 0x5c]
rol edi, 3
add edx, 0x6ed9eba1
xor ecx, edi
mov dword [ebp - 0x58], edi
add ecx, dword [ebp - 0x20]
add edx, ecx
rol edx, 9
mov ecx, edx
mov dword [ebp - 0x5c], edx
xor ecx, esi
xor ecx, edi
add ecx, 0x6ed9eba1
add ecx, dword [ebp - 4]
add ebx, ecx
rol ebx, 0xb
xor edx, ebx
mov ecx, edx
xor ecx, edi
lea edi, [esi + 0x6ed9eba1]
add ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x58]
add edi, ecx
rol edi, 0xf
add esi, 0x6ed9eba1
xor edx, edi
mov ecx, ebx
add edx, dword [ebp - 0x28]
add esi, edx
rol esi, 3
xor ecx, edi
mov edx, dword [ebp - 0x5c]
xor ecx, esi
add ecx, dword [ebp - 0x2c]
add edx, 0x6ed9eba1
add ecx, edx
mov eax, dword [ebp + 8]
rol ecx, 9
mov dword [ebp - 0x5c], ecx
xor ecx, edi
xor ecx, esi
add edi, 0x6ed9eba1
add ecx, dword [ebp - 0x30]
add dword [eax], esi
lea edx, [ecx + 0x6ed9eba1]
mov ecx, dword [ebp - 0x5c]
add edx, ebx
rol edx, 0xb
xor ecx, edx
xor ecx, esi
mov esi, dword [eax]
add ecx, dword [ebp - 0x34]
add ecx, edi
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp - 0x44]
rol ecx, 0xf
add edi, ecx
mov ecx, dword [ebp - 0x48]
add ecx, edx
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov esi, edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x5c]
mov edx, ecx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edx
test ecx, ecx
jne 0x51d770
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret