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

Disassembly:
mov eax, 0x48
call fcn.1006af10
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [ecx + 8]
push esi
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x5c], edx
je 0x1008e419
push edi
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
inc eax
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 1]
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 1]
inc eax
shl edx, 0x18
or ecx, edx
inc eax
movzx edx, byte [eax + 1]
mov edi, ecx
movzx ecx, byte [eax]
inc eax
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 1]
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 1]
inc eax
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 1]
mov dword [esp + 0x30], ecx
mov ecx, esi
inc eax
xor ecx, ebp
mov dword [esp + 0x50], edi
inc eax
dec dword [esp + 0x64]
and ecx, ebx
xor ecx, esi
add ecx, edi
movzx edi, byte [eax]
add ecx, dword [esp + 0x60]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x10
or edx, edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x18
or edx, edi
mov dword [esp + 0x20], edx
rol ecx, 3
mov edx, ebp
xor edx, ebx
and edx, ecx
xor edx, ebp
add edx, dword [esp + 0x30]
inc eax
movzx edi, byte [eax + 1]
add edx, esi
movzx esi, byte [eax]
inc eax
shl edi, 8
or esi, edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x10
or esi, edi
movzx edi, byte [eax + 1]
inc eax
shl edi, 0x18
or esi, edi
mov dword [esp + 0x40], esi
mov esi, ebx
xor esi, ecx
rol edx, 7
and esi, edx
xor esi, ebx
inc eax
add esi, dword [esp + 0x20]
movzx edi, byte [eax]
add esi, ebp
movzx ebp, byte [eax + 1]
shl ebp, 8
or edi, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or edi, ebp
inc eax
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or edi, ebp
mov dword [esp + 0x18], edi
rol esi, 0xb
inc eax
movzx ebp, byte [eax + 1]
mov edi, edx
xor edi, ecx
and edi, esi
xor edi, ecx
add edi, dword [esp + 0x40]
inc eax
add edi, ebx
movzx ebx, byte [eax - 1]
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x38], ebx
mov ebx, edx
xor ebx, esi
rol edi, 0x13
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x18]
inc eax
movzx ebp, byte [eax + 1]
add ebx, ecx
movzx ecx, byte [eax]
inc eax
shl ebp, 8
or ecx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ecx, ebp
mov dword [esp + 0x28], ecx
rol ebx, 3
mov ecx, esi
xor ecx, edi
and ecx, ebx
xor ecx, esi
add ecx, dword [esp + 0x38]
inc eax
movzx ebp, byte [eax + 1]
add ecx, edx
movzx edx, byte [eax]
inc eax
shl ebp, 8
or edx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or edx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
rol ecx, 7
or edx, ebp
inc eax
movzx ebp, byte [eax + 1]
mov dword [esp + 0x48], edx
mov edx, edi
xor edx, ebx
and edx, ecx
xor edx, edi
add edx, dword [esp + 0x28]
inc eax
add edx, esi
movzx esi, byte [eax - 1]
shl ebp, 8
or esi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or esi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or esi, ebp
mov dword [esp + 0x14], esi
rol edx, 0xb
inc eax
movzx ebp, byte [eax + 1]
mov esi, ecx
xor esi, ebx
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x48]
inc eax
add esi, edi
movzx edi, byte [eax - 1]
shl ebp, 8
or edi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or edi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or edi, ebp
mov dword [esp + 0x34], edi
rol esi, 0x13
mov edi, ecx
xor edi, edx
and edi, esi
xor edi, ecx
add edi, dword [esp + 0x14]
inc eax
movzx ebp, byte [eax + 1]
add edi, ebx
movzx ebx, byte [eax]
inc eax
shl ebp, 8
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or ebx, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or ebx, ebp
mov dword [esp + 0x24], ebx
rol edi, 3
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, edx
add ebx, dword [esp + 0x34]
inc eax
movzx ebp, byte [eax + 1]
add ebx, ecx
movzx ecx, byte [eax]
inc eax
shl ebp, 8
rol ebx, 7
or ecx, ebp
inc eax
movzx ebp, byte [eax]
shl ebp, 0x10
or ecx, ebp
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or ecx, ebp
inc eax
mov dword [esp + 0x44], ecx
mov ecx, esi
xor ecx, edi
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 8
and ecx, ebx
xor ecx, esi
add ecx, dword [esp + 0x24]
inc eax
add ecx, edx
movzx edx, byte [eax - 1]
or edx, ebp
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or edx, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x18
or edx, ebp
inc eax
mov dword [esp + 0x1c], edx
rol ecx, 0xb
inc eax
movzx ebp, byte [eax + 1]
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]
or esi, ebp
inc eax
movzx ebp, byte [eax + 1]
shl ebp, 0x10
or esi, ebp
inc eax
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or esi, ebp
mov dword [esp + 0x3c], esi
rol edx, 0x13
mov esi, ebx
xor esi, ecx
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x1c]
inc eax
movzx ebp, byte [eax + 1]
add esi, edi
movzx edi, byte [eax]
inc eax
shl ebp, 8
or edi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x10
or edi, ebp
movzx ebp, byte [eax + 1]
inc eax
shl ebp, 0x18
or edi, ebp
mov ebp, ecx
xor ebp, edx
rol esi, 3
and ebp, esi
xor ebp, ecx
add ebp, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x2c], edi
add ebp, ebx
movzx edi, byte [eax]
movzx ebx, byte [eax + 1]
shl ebx, 8
or edi, ebx
inc eax
movzx ebx, byte [eax + 1]
shl ebx, 0x10
or edi, ebx
inc eax
movzx ebx, byte [eax + 1]
shl ebx, 0x18
or edi, ebx
inc eax
rol ebp, 7
mov dword [esp + 0x4c], edi
mov edi, edx
xor edi, esi
and edi, ebp
xor edi, edx
add edi, dword [esp + 0x2c]
inc eax
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 + 0x54], edx
and edx, edi
or edx, ebx
add edx, dword [esp + 0x18]
mov dword [esp + 0x60], ebx
lea ebp, [edx + ebp + 0x5a827999]
mov edx, dword [esp + 0x54]
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
and edx, ebp
mov ebx, edi
and ebx, esi
or edx, ebx
add edx, dword [esp + 0x1c]
mov ebx, edi
lea ecx, [edx + ecx + 0x5a827999]
rol ecx, 0xd
mov edx, edi
or edx, ecx
and edx, ebp
and ebx, ecx
or edx, ebx
add edx, dword [esp + 0x30]
mov ebx, ecx
lea esi, [edx + esi + 0x5a827999]
rol esi, 3
mov edx, ecx
or edx, esi
and ebx, esi
mov dword [esp + 0x60], ebx
mov ebp, edx
and ebp, edi
or ebp, ebx
add ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ebp + 0x5a827999]
rol ebx, 5
and edx, ebx
or edx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
add edx, dword [esp + 0x34]
lea edx, [edx + edi + 0x5a827999]
rol edx, 9
mov edi, edx
mov ebp, edx
and ebp, esi
or edi, esi
and edi, ebx
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 dword [esp + 0x60], ebx
mov ebp, ecx
and ebp, edx
or ebp, ebx
add ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ebp + 0x5a827999]
rol ebx, 5
and ecx, ebx
or ecx, dword [esp + 0x60]
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]
mov ebx, edi
lea esi, [edx + esi + 0x5a827999]
rol esi, 3
mov edx, edi
or edx, esi
and ebx, esi
mov ebp, edx
and ebp, ecx
or ebp, ebx
add ebp, dword [esp + 0x48]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ebp + 0x5a827999]
rol ebx, 5
and edx, ebx
or edx, dword [esp + 0x60]
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 edx, [edx + ecx + 0x6ed9eba1]
rol edx, 3
mov ecx, ebx
xor ecx, esi
xor ecx, edx
add ecx, dword [esp + 0x44]
lea edi, [ecx + edi + 0x6ed9eba1]
rol edi, 9
mov ecx, edi
xor ecx, esi
xor ecx, edx
add ecx, dword [esp + 0x48]
lea ebp, [ecx + ebx + 0x6ed9eba1]
rol ebp, 0xb
mov ecx, edi
xor ecx, ebp
xor ecx, edx
add ecx, dword [esp + 0x4c]
lea esi, [ecx + esi + 0x6ed9eba1]
mov ecx, dword [esp + 0x5c]
add dword [ecx], edx
add dword [ecx + 8], ebp
add dword [ecx + 0xc], edi
mov edx, dword [ecx]
mov ebp, dword [ecx + 8]
rol esi, 0xf
add dword [ecx + 4], esi
cmp dword [esp + 0x64], 0
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x60], edx
jne 0x1008dd80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret