Function at 0x445880
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xb]
test al, al
jns 0x44589d
mov ecx, dword [edx + 4]
mov edx, dword [edx]
jmp 0x44589f
mov ecx, eax
mov eax, ecx
mov dword [ebp - 0x18], edx
mov ebx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 4
jb 0x445932
mov edi, dword [ebp - 0x20]
lea ebx, [edi - 4]
test bl, 4
jne 0x4458e2
mov edx, dword [ebp - 0x18]
imul eax, dword [edx], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, edi, 0x5bd1e995
xor eax, ecx
add edx, 4
mov ecx, ebx
jmp 0x4458e9
mov ecx, edi
mov edx, dword [ebp - 0x18]
mov eax, edi
cmp ebx, 4
jb 0x445932
imul edi, dword [edx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
imul edi, dword [edx + 4], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add edx, 8
add ecx, 0xfffffff8
cmp ecx, 3
ja 0x4458ee
mov ebx, ecx
cmp ebx, 1
je 0x445953
cmp ebx, 2
je 0x44594a
cmp ebx, 3
jne 0x44595e
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, dword [esi + 4]
xor ecx, ecx
test ebx, ebx
je 0x445aab
mov dword [ebp - 0x14], esi
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov edx, ebx
sub edx, eax
mov eax, 0x33333333
mov esi, ebx
mov ebx, edx
and ebx, eax
shr edx, 2
and edx, eax
add edx, ebx
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x30], eax
cmp eax, 1
mov dword [ebp - 0x1c], esi
ja 0x4459c8
lea edx, [esi - 1]
and edx, edi
jmp 0x4459d5
mov edx, edi
cmp edi, esi
jb 0x4459d5
mov eax, edi
xor edx, edx
div dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x445aab
mov esi, dword [eax]
test esi, esi
je 0x445aab
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], edx
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x445a3f
movzx eax, byte [esi + 0x13]
mov ecx, eax
test al, al
jns 0x445a0d
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x20]
jne 0x445a5e
lea ecx, [esi + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
jns 0x445a66
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x445aa9
push eax
push dword [ebp - 0x18]
push ecx
call fcn.004cf0db
add esp, 0xc
test eax, eax
mov edx, dword [ebp - 0x14]
jne 0x445a5e
jmp 0x445aa9
cmp dword [ebp - 0x30], 1
ja 0x445a4a
and eax, dword [ebp - 0x2c]
jmp 0x445a5a
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x445a5a
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x445aa5
mov esi, dword [esi]
test esi, esi
jne 0x4459f9
jmp 0x445aa5
test al, al
je 0x445aa9
mov ecx, dword [ebp - 0x18]
cmp byte [ecx], dl
mov edx, dword [ebp - 0x14]
jne 0x445a5e
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x445aa9
mov dword [ebp - 0x24], ecx
mov cl, byte [esi + ecx + 9]
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + 1]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
mov cl, byte [ebp - 0xd]
mov ebx, dword [ebp - 0x24]
cmp cl, byte [edx + ebx + 1]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
je 0x445a77
jmp 0x445a5e
xor ecx, ecx
jmp 0x445aab
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8