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

Disassembly:
mov eax, 0x58
call fcn.004a2410
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push ebx
push esi
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 8]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x580f91
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
push ebp
nop dword [eax]
dec ecx
movzx ebx, byte [eax]
mov dword [esp + 0x74], ecx
xor edx, edi
movzx ecx, byte [eax + 1]
and edx, esi
shl ecx, 8
mov 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 + 0x38]
movzx ecx, byte [eax + 3]
shl ecx, 0x18
or ebx, ecx
xor esi, dword [esp + 0x70]
movzx ecx, byte [eax + 5]
add edx, ebx
shl ecx, 8
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
shl ecx, 8
xor esi, edi
or ebx, ecx
mov edi, dword [esp + 0x70]
movzx ecx, byte [eax + 0xa]
add esi, ebp
add esi, dword [esp + 0x38]
xor edi, edx
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 + 0x70]
shl ecx, 8
add edi, ebx
or ebp, ecx
add edi, dword [esp + 0x34]
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
movzx ecx, byte [eax + 0x15]
add ebx, ebp
movzx ebp, byte [eax + 0x14]
shl ecx, 8
or ebp, ecx
add ebx, dword [esp + 0x70]
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
or ebp, ecx
ror ebx, 0xd
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
ror edi, 0xd
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 + 0x70], ecx
movzx ecx, byte [eax + 0x2d]
shl ecx, 8
or edx, ecx
and ebx, dword [esp + 0x70]
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
shl ecx, 0x18
or edx, ecx
mov esi, dword [esp + 0x70]
movzx ecx, byte [eax + 0x31]
mov dword [esp + 0x34], edx
movzx edx, byte [eax + 0x30]
shl ecx, 8
or edx, ecx
rol ebx, 0xb
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
ror edx, 0xd
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
movzx ecx, byte [eax + 0x39]
lea eax, [eax + 0x40]
mov edi, esi
shl ecx, 8
xor edi, ebx
and edi, edx
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 + 0x70]
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 + 0x70], 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 + 0x70]
add ebx, edx
mov edx, ebp
ror ebx, 0xd
or edx, ebx
mov dword [esp + 0x60], 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 esi, dword [esp + 0x60]
mov edx, ebp
or edx, edi
add esi, 0x5a827999
and edx, ebx
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 + 0x60], 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 + 0x60]
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 + 0x60], 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
rol ebp, 9
mov dword [esp + 0x3c], ebp
mov edx, ebp
mov esi, dword [esp + 0x60]
mov ecx, ebp
and ecx, esi
or edx, esi
and edx, ebx
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 + 0x60], 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 + 0x64], 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 + 0x64]
rol ebx, 9
add esi, 0x6ed9eba1
mov edx, ebx
mov ecx, ebx
and ecx, ebp
or edx, ebp
mov ebp, dword [esp + 0x60]
and edx, edi
or edx, ecx
add ebp, 0x5a827999
add edx, dword [esp + 0x70]
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
mov ecx, ebx
xor ecx, ebp
add edx, 0x6ed9eba1
add edx, dword [esp + 0x44]
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
add ebx, 0x6ed9eba1
xor ecx, ebp
xor edx, ebp
add edx, 0x6ed9eba1
add edx, dword [esp + 0x48]
add esi, edx
rol esi, 3
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x28]
add edi, ecx
rol edi, 9
mov ecx, edi
mov edx, edi
xor ecx, ebp
xor ecx, esi
add ecx, dword [esp + 0x2c]
add ecx, ebx
lea ebx, [ebp + 0x6ed9eba1]
rol ecx, 0xb
xor edx, ecx
mov dword [esp + 0x64], ecx
mov ecx, edx
xor ecx, esi
add ecx, dword [esp + 0x30]
add ebx, ecx
rol ebx, 0xf
xor edx, ebx
add edx, 0x6ed9eba1
add edx, dword [esp + 0x4c]
add esi, edx
mov edx, dword [esp + 0x64]
mov ecx, edx
rol esi, 3
xor ecx, ebx
add edx, 0x6ed9eba1
xor ecx, esi
add ecx, 0x6ed9eba1
add ecx, dword [esp + 0x34]
add edi, ecx
rol edi, 9
mov ecx, edi
xor ecx, ebx
add ebx, 0x6ed9eba1
xor ecx, esi
add ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, edi
rol edx, 0xb
xor ecx, edx
xor ecx, esi
add ecx, dword [esp + 0x70]
add ecx, ebx
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x6c]
add ebp, esi
mov esi, dword [esp + 0x54]
rol ecx, 0xf
add esi, ecx
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x58]
add ecx, edx
mov dword [ebx], ebp
mov edx, dword [esp + 0x5c]
add edx, edi
mov dword [esp + 0x34], ecx
mov edi, ecx
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x70], esi
mov dword [ebx + 4], esi
mov dword [esp + 0x38], edx
mov dword [ebx + 0xc], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
test ecx, ecx
jne 0x5808b0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret