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

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