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

Disassembly:
mov eax, 0x54
call fcn.005ca540
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov esi, dword [ecx + 8]
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 0x56d546
push ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
push ebp
lea esp, [esp]
dec ecx
movzx ebx, byte [eax]
mov dword [esp + 0x70], ecx
xor edx, esi
movzx ecx, byte [eax + 1]
and edx, edi
shl ecx, 8
xor esi, edi
or ebx, ecx
movzx ebp, byte [eax + 4]
movzx ecx, byte [eax + 2]
shl ecx, 0x10
or ebx, ecx
xor edx, dword [esp + 0x34]
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or ebx, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
add edx, ebx
or ebp, ecx
add edx, dword [esp + 0x4c]
movzx ecx, byte [eax + 6]
shl ecx, 0x10
or ebp, ecx
mov dword [esp + 0x40], ebx
movzx ecx, byte [eax + 7]
movzx ebx, byte [eax + 8]
shl ecx, 0x18
or ebp, ecx
rol edx, 3
movzx ecx, byte [eax + 9]
and esi, edx
xor esi, dword [esp + 0x38]
xor edi, edx
shl ecx, 8
add esi, ebp
or ebx, ecx
add esi, dword [esp + 0x34]
movzx ecx, byte [eax + 0xa]
shl ecx, 0x10
or ebx, ecx
mov dword [esp + 0x48], ebp
movzx ecx, byte [eax + 0xb]
movzx ebp, byte [eax + 0xc]
shl ecx, 0x18
or ebx, ecx
rol esi, 7
movzx ecx, byte [eax + 0xd]
and edi, esi
xor edi, dword [esp + 0x6c]
shl ecx, 8
add edi, ebx
or ebp, ecx
add edi, dword [esp + 0x38]
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
or ebp, ecx
mov dword [esp + 0x44], ebx
movzx ecx, byte [eax + 0xf]
movzx ebx, byte [eax + 0x10]
shl ecx, 0x18
or ebp, ecx
rol edi, 0xb
movzx ecx, byte [eax + 0x11]
shl ecx, 8
or ebx, ecx
mov dword [esp + 0x4c], ebp
movzx ecx, byte [eax + 0x12]
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]
movzx ecx, byte [eax + 0x15]
movzx ebp, byte [eax + 0x14]
shl ecx, 8
or ebp, ecx
rol ebx, 0x13
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]
shl ecx, 8
mov dword [esp + 0x2c], ebp
mov ebp, esi
xor ebp, edi
and ebp, ebx
xor ebp, esi
add ebp, dword [esp + 0x14]
add ebp, edx
movzx edx, byte [eax + 0x18]
or edx, ecx
rol ebp, 3
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
movzx esi, byte [eax + 0x1c]
or esi, ecx
rol edx, 7
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
shl ecx, 8
and esi, edx
xor esi, ebx
add esi, dword [esp + 0x20]
add esi, edi
movzx edi, byte [eax + 0x20]
or edi, ecx
rol esi, 0xb
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
shl ecx, 8
and edi, esi
xor edi, ebp
add edi, dword [esp + 0x38]
add edi, ebx
movzx ebx, byte [eax + 0x24]
or ebx, ecx
rol edi, 0x13
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
movzx ebp, byte [eax + 0x28]
or ebp, ecx
rol ebx, 3
movzx ecx, byte [eax + 0x2a]
shl ecx, 0x10
or ebp, ecx
mov dword [esp + 0x3c], ebx
movzx ecx, byte [eax + 0x2b]
shl ecx, 0x18
or ebp, ecx
mov ecx, esi
xor ecx, edi
mov dword [esp + 0x1c], ebp
and ecx, ebx
mov ebp, dword [esp + 0x3c]
xor ecx, esi
mov ebx, edi
add ecx, dword [esp + 0x28]
xor ebx, ebp
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
and ebx, dword [esp + 0x6c]
movzx ecx, byte [eax + 0x2e]
xor ebx, edi
shl ecx, 0x10
or edx, ecx
add ebx, dword [esp + 0x1c]
movzx ecx, byte [eax + 0x2f]
add ebx, esi
mov esi, dword [esp + 0x6c]
shl ecx, 0x18
or edx, ecx
rol ebx, 0xb
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]
shl ecx, 0x10
or edx, ecx
movzx ecx, byte [eax + 0x33]
shl ecx, 0x18
or edx, ecx
movzx ecx, byte [eax + 0x35]
mov dword [esp + 0x18], edx
mov edx, esi
xor edx, ebp
shl ecx, 8
and edx, ebx
xor edx, ebp
add edx, dword [esp + 0x34]
add edx, edi
movzx edi, byte [eax + 0x34]
or edi, ecx
rol edx, 0x13
movzx ecx, byte [eax + 0x36]
shl ecx, 0x10
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]
lea eax, [eax + 0x40]
and edi, edx
shl ecx, 8
xor edi, esi
mov esi, ebx
add edi, dword [esp + 0x18]
xor esi, edx
add edi, ebp
movzx ebp, byte [eax - 8]
or ebp, ecx
rol edi, 3
movzx ecx, byte [eax - 6]
and esi, edi
shl ecx, 0x10
xor esi, ebx
or ebp, ecx
add esi, dword [esp + 0x30]
movzx ecx, byte [eax - 5]
add esi, dword [esp + 0x6c]
shl ecx, 0x18
or ebp, ecx
rol esi, 7
movzx ecx, byte [eax - 3]
mov dword [esp + 0x24], ebp
movzx ebp, byte [eax - 4]
shl ecx, 8
or ebp, ecx
mov dword [esp + 0x3c], esi
movzx ecx, byte [eax - 2]
shl ecx, 0x10
or ebp, ecx
movzx ecx, byte [eax - 1]
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]
add ebp, ebx
mov ebx, esi
xor ebx, edi
rol ebp, 0xb
and ebx, ebp
mov ecx, ebp
xor ebx, edi
add ebx, dword [esp + 0x6c]
add ebx, edx
mov edx, ebp
rol ebx, 0x13
or edx, ebx
mov dword [esp + 0x5c], ebx
and edx, esi
and ecx, ebx
or edx, ecx
mov esi, ebx
add edx, 0x5a827999
add edx, dword [esp + 0x40]
add edi, edx
mov edx, ebx
mov ebx, dword [esp + 0x3c]
rol edi, 3
add ebx, 0x5a827999
or esi, edi
and edx, edi
mov ecx, esi
and ecx, ebp
or ecx, edx
add ecx, dword [esp + 0x14]
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
mov ecx, ebp
add edx, dword [esp + 0x18]
add esi, edx
mov edx, ebp
rol esi, 0xd
and ecx, esi
mov dword [esp + 0x5c], esi
or edx, esi
and edx, ebx
or edx, ecx
lea ecx, [edi + 0x5a827999]
add edx, dword [esp + 0x48]
add ecx, edx
mov edi, dword [esp + 0x5c]
rol ecx, 3
mov edx, edi
and edx, ecx
mov dword [esp + 0x3c], ecx
or esi, ecx
add edi, 0x5a827999
mov ecx, esi
and ecx, ebp
or ecx, edx
add ecx, 0x5a827999
add ecx, dword [esp + 0x2c]
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
mov ecx, ebp
or edx, esi
and ecx, esi
and edx, ebx
or edx, ecx
mov ecx, ebp
add edx, dword [esp + 0x30]
add edi, edx
mov edx, ebp
rol edi, 0xd
and ecx, edi
or edx, edi
and edx, ebx
or edx, ecx
lea ecx, [esi + 0x5a827999]
add edx, dword [esp + 0x44]
mov esi, edi
add ecx, edx
mov edx, edi
rol ecx, 3
or esi, ecx
mov dword [esp + 0x5c], ecx
and edx, 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
mov ecx, ebp
add edx, 0x5a827999
add edx, dword [esp + 0x24]
add edi, edx
mov edx, ebp
rol edi, 0xd
lea ebp, [esi + 0x5a827999]
and ecx, edi
mov dword [esp + 0x5c], edi
or edx, edi
mov esi, edi
and edx, ebx
or edx, ecx
add edx, dword [esp + 0x4c]
add ebp, edx
mov edx, edi
rol ebp, 3
lea edi, [ebx + 0x5a827999]
mov ebx, dword [esp + 0x3c]
or esi, ebp
and edx, ebp
mov dword [esp + 0x60], ebp
mov ecx, esi
add ebx, 0x5a827999
and ecx, dword [esp + 0x3c]
or ecx, edx
add ecx, dword [esp + 0x38]
add edi, ecx
rol edi, 5
and esi, edi
or esi, edx
add esi, dword [esp + 0x34]
add ebx, esi
mov esi, dword [esp + 0x60]
rol ebx, 9
add esi, 0x6ed9eba1
mov edx, ebx
mov ecx, ebx
and ecx, ebp
or edx, ebp
mov ebp, dword [esp + 0x5c]
and edx, edi
or edx, ecx
add ebp, 0x5a827999
add edx, dword [esp + 0x6c]
mov ecx, edi
xor ecx, ebx
add ebp, edx
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
mov edx, edi
xor ecx, ebp
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x14]
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
mov edx, edi
xor ecx, ebp
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x20]
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
mov ecx, ebx
rol ebp, 0xf
xor ecx, ebp
xor edx, ebp
add edx, 0x6ed9eba1
add edx, dword [esp + 0x48]
add esi, edx
lea edx, [edi + 0x6ed9eba1]
rol esi, 3
lea edi, [ebp + 0x6ed9eba1]
xor ecx, esi
add ecx, dword [esp + 0x28]
add edx, ecx
rol edx, 9
mov ecx, edx
mov dword [esp + 0x60], edx
xor ecx, ebp
mov ebp, dword [esp + 0x60]
xor ecx, esi
add ebp, 0x6ed9eba1
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x2c]
add ebx, ecx
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]
mov ebx, dword [esp + 0x68]
rol esi, 3
xor ecx, esi
add ecx, dword [esp + 0x34]
add ebp, ecx
rol ebp, 9
mov ecx, ebp
xor ecx, edi
add edi, 0x6ed9eba1
xor ecx, esi
add ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, ebp
rol edx, 0xb
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 + 0x50], esi
mov dword [esp + 0x54], ecx
mov edi, esi
mov dword [esp + 0x38], ecx
mov dword [ebx + 8], ecx
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 0x56ce70
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x54
ret