Function at 0x47594a
Capabilities:
Encrypt data using tea
Hash data using murmur3
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
test edx, edx
je 0x47598f
xor eax, eax
cmp dword [edx + eax*4], 0
jne 0x475de8
inc eax
cmp eax, 4
jne 0x47597f
cmp ecx, 5
ja case.default.0x475998
jmp dword [ecx*4 + 0x4bc440]
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x475cda
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x475a15
mov ecx, 1
mov ebx, dword [ebp + 0xc]
mov esi, 0x37abe8f9
mov edx, 0x12a3fe2d
dec dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0xffffffff
je 0x4759fb
test ecx, ecx
je 0x4759e0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
inc edi
movzx eax, byte [eax]
mov dword [ebp + 0xc], edi
jmp 0x4759e4
movsx eax, byte [ebx]
inc ebx
imul eax, eax, 0x6d22f5
xor eax, edx
add eax, esi
jns 0x4759f5
sub eax, 0x7fffffff
mov esi, edx
mov edx, eax
jmp 0x4759c4
lea eax, [edx + edx]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x475dc7
mov dword [esp + 0x18], 1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
sub eax, edi
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
jle 0x475dc7
mov edi, dword [esp + 0x18]
mov dword [esp], 8
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edi
call fcn.004758c8
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xor ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
and ebx, edi
add eax, dword [esp + 0x38]
xor ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
add ebx, eax
mov edx, dword [esp + 0x24]
rol ebx, 3
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
xor ecx, edi
mov edi, dword [esp + 0x20]
xor edx, ebx
mov esi, dword [esp + 0x24]
and ecx, ebx
add esi, dword [esp + 0x44]
xor ecx, edi
add ecx, eax
mov eax, dword [esp + 0x24]
rol ecx, 7
and edx, ecx
xor edx, eax
mov eax, dword [esp + 0x40]
add eax, edi
mov edi, dword [esp + 0x4c]
add edx, eax
mov eax, ebx
rol edx, 0xb
xor eax, ecx
add edi, ecx
and eax, edx
xor eax, ebx
add eax, esi
mov esi, dword [esp + 0x48]
ror eax, 0xd
add esi, ebx
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, ecx
add ebx, esi
mov esi, edx
rol ebx, 3
xor esi, eax
and esi, ebx
xor esi, edx
lea ecx, [esi + edi]
mov esi, eax
mov edi, dword [esp + 0x50]
rol ecx, 7
xor esi, ebx
and esi, ecx
add edi, edx
xor esi, eax
add eax, dword [esp + 0x54]
lea edx, [esi + edi]
mov esi, ebx
mov edi, dword [esp + 0x3c]
rol edx, 0xb
xor esi, ecx
and esi, edx
xor esi, ebx
lea eax, [esi + eax]
lea esi, [edi + ebx + 0x5a827999]
mov ebx, edx
mov edi, dword [esp + 0x44]
ror eax, 0xd
and ebx, eax
add esi, ebx
mov ebx, edx
xor ebx, eax
and ebx, ecx
add ebx, esi
lea esi, [edi + ecx + 0x5a827999]
mov ecx, eax
mov edi, dword [esp + 0x4c]
rol ebx, 3
and ecx, ebx
add esi, ecx
mov ecx, eax
xor ecx, ebx
and ecx, edx
add ecx, esi
lea esi, [edi + edx + 0x5a827999]
mov edx, ebx
mov edi, dword [esp + 0x54]
rol ecx, 5
and edx, ecx
add esi, edx
mov edx, ebx
xor edx, ecx
and edx, eax
lea eax, [edi + eax + 0x5a827999]
mov edi, dword [esp + 0x40]
add edx, esi
mov esi, ecx
rol edx, 9
and esi, edx
add eax, esi
mov esi, ecx
xor esi, edx
and esi, ebx
add esi, eax
mov eax, dword [esp + 0x38]
rol esi, 0xd
lea ebx, [eax + ebx + 0x5a827999]
mov eax, edx
and eax, esi
add ebx, eax
mov eax, edx
xor eax, esi
and eax, ecx
add eax, ebx
lea ebx, [edi + ecx + 0x5a827999]
mov ecx, esi
mov edi, dword [esp + 0x48]
rol eax, 3
and ecx, eax
add ebx, ecx
mov ecx, esi
xor ecx, eax
and ecx, edx
lea edx, [edi + edx + 0x5a827999]
mov edi, dword [esp + 0x50]
add ecx, ebx
mov ebx, eax
rol ecx, 5
and ebx, ecx
add edx, ebx
mov ebx, eax
xor ebx, ecx
and ebx, esi
lea esi, [edi + esi + 0x5a827999]
mov edi, ecx
add ebx, edx
mov edx, ecx
rol ebx, 9
and edi, ebx
xor edx, ebx
add edi, esi
mov esi, eax
and esi, edx
add esi, edi
mov edi, dword [esp + 0x44]
rol esi, 0xd
lea eax, [edi + eax + 0x6ed9eba1]
xor edx, esi
mov edi, dword [esp + 0x40]
add edx, eax
mov eax, dword [esp + 0x54]
rol edx, 3
lea ecx, [eax + ecx + 0x6ed9eba1]
mov eax, ebx
xor eax, esi
xor eax, edx
add eax, ecx
lea ecx, [edi + ebx + 0x6ed9eba1]
mov ebx, esi
mov edi, dword [esp + 0x50]
rol eax, 9
xor ebx, edx
xor ebx, eax
lea esi, [edi + esi + 0x6ed9eba1]
mov edi, dword [esp + 0x3c]
add ebx, ecx
mov ecx, edx
rol ebx, 0xb
xor ecx, eax
xor ecx, ebx
add ecx, esi
lea esi, [edi + edx + 0x6ed9eba1]
mov edx, eax
mov edi, dword [esp + 0x4c]
rol ecx, 0xf
xor edx, ebx
xor edx, ecx
lea eax, [edi + eax + 0x6ed9eba1]
mov edi, dword [esp + 0x48]
add edx, esi
mov esi, ebx
rol edx, 3
xor esi, ecx
xor esi, edx
add esi, eax
mov eax, dword [esp + 0x38]
rol esi, 9
lea ebx, [eax + ebx + 0x6ed9eba1]
mov eax, ecx
xor eax, edx
xor eax, esi
add eax, ebx
lea ebx, [edi + ecx + 0x6ed9eba1]
mov ecx, edx
mov edi, dword [esp + 0x24]
rol eax, 0xb
xor ecx, esi
add edx, dword [esp + 0x28]
xor ecx, eax
mov dword [esp + 0x28], edx
add ecx, ebx
rol ecx, 0xf
add ecx, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
add eax, edi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
add eax, esi
sub dword [esp + 0x1c], 0x20
mov dword [esp + 0x34], eax
jmp 0x475a1c
mov dword [esp + 0x1c], 1
mov ebx, dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
sub eax, ebx
mov dword [esp + 0x20], edi
test ebx, ebx
jle 0x475dc7
mov edi, dword [esp + 0x1c]
mov dword [esp], 4
mov edx, ebx
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 4], edi
call fcn.004758c8
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, eax
sub esi, 0x61c88647
shl edi, 4
add edi, ecx
mov ecx, eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x14]
shr ecx, 5
add ecx, edi
mov edi, dword [esp + 8]
xor ecx, edi
lea edi, [esi + eax]
xor ecx, edi
add edx, ecx
mov ecx, dword [esp + 0x10]
mov edi, edx
shl edi, 4
add edi, ecx
mov ecx, edx
mov dword [esp + 8], edi
mov edi, dword [esp + 0xc]
shr ecx, 5
add ecx, edi
mov edi, dword [esp + 8]
xor ecx, edi
lea edi, [esi + edx]
xor ecx, edi
add eax, ecx
cmp esi, 0xe3779b90
jne 0x475d41
mov edi, dword [esp + 0x24]
sub ebx, 0x10
add edx, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], edx
add eax, edi
mov dword [esp + 0x2c], eax
jmp 0x475cdd
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax], edx
mov eax, 0x7f2bb759
jmp 0x475df5
mov eax, dword [esp + 0x24]
mov edi, dword [ebp + 0x18]
and eax, 0xfffffffe
cmp dword [ebp + 0x1c], 0
mov dword [edi], eax
jne 0x475ddd
xor eax, eax
jmp 0x475df5
mov eax, dword [ebp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [eax], edi
jmp 0x475dd9
movups xmm0, xmmword [edx]
movups xmmword [esp + 0x28], xmm0
jmp 0x47598f
add esp, 0x58
pop ebx
pop esi
pop edi
pop ebp
ret