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

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