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

Disassembly:
mov eax, 0x54
call fcn.004c72a0
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov edx, dword [ecx]
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x64], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4afc26
push ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
push ebp
lea esp, [esp]
dec ecx
mov dword [esp + 0x70], ecx
movzx ecx, byte [eax + 1]
movzx ebx, byte [eax]
shl ecx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax + 3]
movzx ebp, byte [eax + 4]
shl ecx, 0x18
or ebx, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
or ebp, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax + 7]
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [eax + 9]
xor edx, esi
and edx, edi
xor edx, dword [esp + 0x34]
shl ecx, 8
add edx, ebx
add edx, dword [esp + 0x4c]
mov dword [esp + 0x40], ebx
movzx ebx, byte [eax + 8]
rol edx, 3
or ebx, ecx
movzx ecx, byte [eax + 0xa]
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax + 0xb]
xor esi, edi
shl ecx, 0x18
or ebx, ecx
movzx ecx, byte [eax + 0xd]
and esi, edx
xor esi, dword [esp + 0x38]
shl ecx, 8
add esi, ebp
add esi, dword [esp + 0x34]
mov dword [esp + 0x48], ebp
movzx ebp, byte [eax + 0xc]
rol esi, 7
or ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax + 0xf]
xor edi, edx
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [eax + 0x11]
mov dword [esp + 0x44], ebx
and edi, esi
xor edi, dword [esp + 0x6c]
shl ecx, 8
add edi, ebx
movzx ebx, byte [eax + 0x10]
add edi, dword [esp + 0x38]
or ebx, ecx
movzx ecx, byte [eax + 0x12]
rol edi, 0xb
shl ecx, 0x10
or ebx, ecx
movzx ecx, byte [eax + 0x13]
shl ecx, 0x18
or ebx, ecx
mov dword [esp + 0x14], ebx
mov ebx, esi
xor ebx, edx
and ebx, edi
xor ebx, edx
add ebx, ebp
add ebx, dword [esp + 0x6c]
mov dword [esp + 0x4c], ebp
rol ebx, 0x13
movzx ecx, byte [eax + 0x15]
movzx ebp, byte [eax + 0x14]
shl ecx, 8
or ebp, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax + 0x17]
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [eax + 0x19]
mov dword [esp + 0x2c], ebp
mov ebp, esi
xor ebp, edi
shl ecx, 8
and ebp, ebx
xor ebp, esi
add ebp, dword [esp + 0x14]
add ebp, edx
rol ebp, 3
movzx edx, byte [eax + 0x18]
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
movzx ecx, byte [eax + 0x1d]
mov dword [esp + 0x20], edx
mov edx, edi
xor edx, ebx
shl ecx, 8
and edx, ebp
xor edx, edi
add edx, dword [esp + 0x2c]
add edx, esi
rol edx, 7
movzx esi, byte [eax + 0x1c]
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
movzx ecx, byte [eax + 0x21]
mov dword [esp + 0x38], esi
mov esi, ebx
xor esi, ebp
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x20]
shl ecx, 8
add esi, edi
movzx edi, byte [eax + 0x20]
rol esi, 0xb
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
movzx ecx, byte [eax + 0x25]
mov dword [esp + 0x10], edi
mov edi, edx
xor edi, ebp
and edi, esi
xor edi, ebp
add edi, dword [esp + 0x38]
shl ecx, 8
add edi, ebx
movzx ebx, byte [eax + 0x24]
rol edi, 0x13
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]
shl ecx, 8
mov dword [esp + 0x28], ebx
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x10]
add ebx, ebp
rol ebx, 3
movzx ebp, byte [eax + 0x28]
or ebp, ecx
movzx ecx, byte [eax + 0x2a]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax + 0x2b]
shl ecx, 0x18
or ebp, ecx
mov ecx, esi
xor ecx, edi
and ecx, ebx
xor ecx, esi
add ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
add ecx, edx
movzx edx, byte [eax + 0x2c]
rol ecx, 7
mov dword [esp + 0x6c], ecx
movzx ecx, byte [eax + 0x2d]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 0x2e]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0x2f]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 0x31]
mov dword [esp + 0x34], edx
movzx edx, byte [eax + 0x30]
shl ecx, 8
or edx, ecx
movzx ecx, byte [eax + 0x32]
mov ebx, edi
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0x33]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebp
and ebx, dword [esp + 0x6c]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 0x35]
xor ebx, edi
add ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
add ebx, esi
mov esi, dword [esp + 0x6c]
mov edx, esi
rol ebx, 0xb
xor edx, ebp
and edx, ebx
xor edx, ebp
add edx, dword [esp + 0x34]
shl ecx, 8
add edx, edi
movzx edi, byte [eax + 0x34]
or edi, ecx
movzx ecx, byte [eax + 0x36]
shl ecx, 0x10
rol edx, 0x13
or edi, ecx
movzx ecx, byte [eax + 0x37]
shl ecx, 0x18
or edi, ecx
mov dword [esp + 0x30], edi
mov edi, esi
xor edi, ebx
movzx ecx, byte [eax + 0x39]
and edi, edx
xor edi, esi
add edi, dword [esp + 0x18]
shl ecx, 8
add edi, ebp
movzx ebp, byte [eax + 0x38]
rol edi, 3
or ebp, ecx
movzx ecx, byte [eax + 0x3a]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax + 0x3b]
shl ecx, 0x18
or ebp, ecx
movzx ecx, byte [eax + 0x3d]
mov dword [esp + 0x24], ebp
movzx ebp, byte [eax + 0x3c]
shl ecx, 8
or ebp, ecx
movzx ecx, byte [eax + 0x3e]
mov esi, ebx
xor esi, edx
and esi, edi
xor esi, ebx
add esi, dword [esp + 0x30]
shl ecx, 0x10
add esi, dword [esp + 0x6c]
or ebp, ecx
movzx ecx, byte [eax + 0x3f]
rol esi, 7
shl ecx, 0x18
or ebp, ecx
mov dword [esp + 0x6c], ebp
mov ebp, edx
xor ebp, edi
and ebp, esi
xor ebp, edx
add ebp, dword [esp + 0x24]
mov dword [esp + 0x3c], esi
add ebp, ebx
mov ebx, esi
xor ebx, edi
lea eax, [eax + 0x40]
rol ebp, 0xb
and ebx, ebp
xor ebx, edi
add ebx, dword [esp + 0x6c]
mov ecx, ebp
add ebx, edx
mov edx, ebp
rol ebx, 0x13
or edx, ebx
and edx, esi
and ecx, ebx
or edx, ecx
add edx, 0x5a827999
add edx, dword [esp + 0x40]
mov esi, ebx
add edi, edx
mov edx, ebx
mov dword [esp + 0x5c], ebx
rol edi, 3
mov ebx, dword [esp + 0x3c]
or esi, edi
mov ecx, esi
and ecx, ebp
and edx, edi
or ecx, edx
add ecx, dword [esp + 0x14]
add ebx, 0x5a827999
add ebx, ecx
rol ebx, 5
and esi, ebx
or esi, edx
add esi, 0x5a827999
add esi, dword [esp + 0x10]
add ebp, esi
rol ebp, 9
mov edx, ebp
or edx, edi
mov esi, dword [esp + 0x5c]
and edx, ebx
add esi, 0x5a827999
mov ecx, ebp
and ecx, edi
or edx, ecx
add edx, dword [esp + 0x18]
mov ecx, ebp
add esi, edx
rol esi, 0xd
and ecx, esi
mov dword [esp + 0x5c], esi
mov edx, ebp
or edx, esi
and edx, ebx
or edx, ecx
add edx, dword [esp + 0x48]
lea ecx, [edi + 0x5a827999]
add ecx, edx
mov edi, dword [esp + 0x5c]
rol ecx, 3
or esi, ecx
mov dword [esp + 0x3c], ecx
mov edx, edi
and edx, ecx
mov ecx, esi
and ecx, ebp
or ecx, edx
add ecx, 0x5a827999
add ecx, dword [esp + 0x2c]
add edi, 0x5a827999
add ebx, ecx
rol ebx, 5
and esi, ebx
or esi, edx
add esi, 0x5a827999
add esi, dword [esp + 0x28]
add ebp, esi
mov esi, dword [esp + 0x3c]
rol ebp, 9
mov edx, ebp
or edx, esi
and edx, ebx
mov ecx, ebp
and ecx, esi
or edx, ecx
add edx, dword [esp + 0x30]
mov ecx, ebp
add edi, edx
mov edx, ebp
rol edi, 0xd
and ecx, edi
or edx, edi
and edx, ebx
or edx, ecx
add edx, dword [esp + 0x44]
lea ecx, [esi + 0x5a827999]
add ecx, edx
mov esi, edi
mov edx, edi
rol ecx, 3
or esi, ecx
and edx, ecx
mov dword [esp + 0x5c], ecx
mov ecx, esi
and ecx, ebp
or ecx, edx
add ecx, 0x5a827999
add ecx, dword [esp + 0x20]
add ebx, ecx
rol ebx, 5
and esi, ebx
or esi, edx
add esi, 0x5a827999
add esi, dword [esp + 0x1c]
add ebp, esi
mov esi, dword [esp + 0x5c]
rol ebp, 9
mov edx, ebp
mov dword [esp + 0x3c], ebp
or edx, esi
and edx, ebx
mov ecx, ebp
and ecx, esi
or edx, ecx
add edx, 0x5a827999
add edx, dword [esp + 0x24]
mov ecx, ebp
add edi, edx
rol edi, 0xd
and ecx, edi
mov edx, ebp
or edx, edi
and edx, ebx
or edx, ecx
add edx, dword [esp + 0x4c]
lea ebp, [esi + 0x5a827999]
add ebp, edx
mov esi, edi
mov edx, edi
rol ebp, 3
or esi, ebp
and edx, ebp
mov ecx, esi
and ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], edi
or ecx, edx
add ecx, dword [esp + 0x38]
lea edi, [ebx + 0x5a827999]
mov ebx, dword [esp + 0x3c]
add edi, ecx
rol edi, 5
and esi, edi
or esi, edx
add esi, dword [esp + 0x34]
add ebx, 0x5a827999
add ebx, esi
mov dword [esp + 0x60], ebp
rol ebx, 9
mov esi, dword [esp + 0x60]
mov edx, ebx
or edx, ebp
and edx, edi
mov ecx, ebx
and ecx, ebp
mov ebp, dword [esp + 0x5c]
or edx, ecx
add edx, dword [esp + 0x6c]
add ebp, 0x5a827999
add ebp, edx
mov ecx, edi
xor ecx, ebx
add esi, 0x6ed9eba1
rol ebp, 0xd
xor ecx, ebp
add ecx, dword [esp + 0x40]
add esi, ecx
mov ecx, ebx
xor ecx, ebp
rol esi, 3
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x10]
add edi, ecx
rol edi, 9
mov ecx, edi
xor ecx, ebp
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x14]
mov edx, edi
add ebx, ecx
rol ebx, 0xb
xor edx, ebx
mov ecx, edx
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x18]
add ebp, ecx
rol ebp, 0xf
xor edx, ebp
add edx, 0x6ed9eba1
add edx, dword [esp + 0x44]
mov ecx, ebx
xor ecx, ebp
add esi, edx
rol esi, 3
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x1c]
add edi, ecx
rol edi, 9
mov ecx, edi
xor ecx, ebp
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x20]
mov edx, edi
add ebx, ecx
rol ebx, 0xb
xor edx, ebx
mov ecx, edx
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x24]
add ebp, ecx
rol ebp, 0xf
xor edx, ebp
add edx, 0x6ed9eba1
add edx, dword [esp + 0x48]
mov ecx, ebx
xor ecx, ebp
add esi, edx
rol esi, 3
xor ecx, esi
add ecx, dword [esp + 0x28]
lea edx, [edi + 0x6ed9eba1]
add edx, ecx
lea edi, [ebp + 0x6ed9eba1]
rol edx, 9
mov ecx, edx
xor ecx, ebp
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], edx
add ebx, ecx
mov ebp, dword [esp + 0x60]
add ebp, 0x6ed9eba1
rol ebx, 0xb
xor edx, ebx
mov ecx, edx
xor ecx, esi
add ecx, dword [esp + 0x30]
add edi, ecx
mov ecx, ebx
rol edi, 0xf
xor edx, edi
xor ecx, edi
add edx, 0x6ed9eba1
add edx, dword [esp + 0x4c]
add esi, edx
lea edx, [ebx + 0x6ed9eba1]
rol esi, 3
xor ecx, esi
add ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
add ebp, ecx
rol ebp, 9
mov ecx, ebp
xor ecx, edi
xor ecx, esi
add ecx, dword [esp + 0x38]
add edi, 0x6ed9eba1
add edx, ecx
rol edx, 0xb
mov ecx, ebp
xor ecx, edx
xor ecx, esi
add ecx, dword [esp + 0x6c]
add ecx, edi
rol ecx, 0xf
add dword [ebx], esi
mov esi, dword [ebx]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x50]
add esi, ecx
mov ecx, dword [esp + 0x54]
add ecx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], ecx
mov dword [ebx + 8], ecx
mov dword [esp + 0x50], esi
mov edi, esi
mov dword [esp + 0x6c], esi
mov dword [ebx + 4], esi
mov esi, ecx
mov ecx, dword [esp + 0x58]
add ecx, ebp
mov dword [esp + 0x58], ecx
mov edx, ecx
mov dword [esp + 0x34], ecx
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x4af550
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x54
ret