Function at 0x4db430
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 ebx, ecx
mov ecx, dword [ebp + 0xc]
movsx esi, byte [ecx + 0xb]
test esi, esi
jns 0x4db44b
mov esi, dword [ecx + 4]
mov ecx, dword [ecx]
mov eax, esi
mov dword [ebp - 0x18], ecx
mov edx, esi
mov dword [ebp - 0x24], esi
cmp esi, 4
jb 0x4db488
mov eax, dword [ebp - 0x24]
mov edx, eax
mov ecx, dword [ebp - 0x18]
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4db462
cmp edx, 2
je 0x4db639
cmp edx, 3
je 0x4db630
cmp edx, 1
je 0x4db642
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov esi, dword [ebx + 4]
test esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
je 0x4db6c2
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul ebx, ecx, 0x1010101
shr ebx, 0x18
cmp ebx, 1
jbe 0x4db652
mov edx, edi
cmp edi, esi
jb 0x4db513
mov eax, edi
xor edx, edx
div esi
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4db558
mov edi, dword [eax]
test edi, edi
je 0x4db558
lea eax, [esi - 1]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x14]
je 0x4db65c
cmp ebx, 1
jbe 0x4db6b3
cmp eax, esi
jb 0x4db54d
xor edx, edx
div esi
mov eax, edx
cmp eax, dword [ebp - 0x1c]
jne 0x4db558
mov edi, dword [edi]
test edi, edi
jne 0x4db52e
mov ebx, dword [ebp - 0x10]
push 0x18
call fcn.00540349
add esp, 4
test eax, eax
je 0x4db799
mov edi, eax
mov eax, dword [ebp + 0x14]
mov dword [edi], 0
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], ecx
mov ecx, edi
add ecx, 8
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
jns 0x4db786
push dword [eax + 4]
push dword [eax]
call fcn.004e28a0
mov dword [edi + 0x14], 0
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x6c6e70]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
mov edx, dword [ebp - 0x1c]
je 0x4db6d5
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4db6d5
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x4db696
mov eax, dword [ebx + 8]
mov dword [edi], eax
lea eax, [ebx + 8]
mov dword [ebx + 8], edi
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
test eax, eax
je 0x4db69c
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x4db6bb
cmp eax, esi
jb 0x4db629
xor edx, edx
div esi
mov eax, edx
shl eax, 2
add eax, dword [ebx]
jmp 0x4db69a
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x4db4a3
lea edx, [esi - 1]
and edx, edi
jmp 0x4db513
movzx eax, byte [edi + 0x13]
test al, al
mov ecx, dword [edi + 0xc]
mov edx, eax
cmovs edx, ecx
cmp edx, dword [ebp - 0x24]
jne 0x4db552
test al, al
jns 0x4db751
push ecx
push dword [ebp - 0x18]
push dword [edi + 8]
call fcn.0054265d
add esp, 0xc
test eax, eax
jne 0x4db552
xor ecx, ecx
jmp 0x4db6a1
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [eax], edi
inc dword [ebx + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], cl
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
and eax, dword [ebp - 0x2c]
jmp 0x4db54d
and eax, ecx
jmp 0x4db629
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x4db55b
and edx, dword [ebp - 0x14]
jmp 0x4db5ec
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00571530
add esp, 8
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x6c6e78]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x4db74c
lea ebx, [esi - 1]
xor edx, edx
test esi, ebx
mov ebx, dword [ebp - 0x10]
setne dl
or edx, ecx
cmp edx, eax
cmovbe edx, eax
mov ecx, ebx
push edx
call fcn.004db7b0
mov esi, dword [ebx + 4]
lea edx, [esi - 1]
test esi, edx
je 0x4db6cd
mov eax, dword [ebp - 0x14]
cmp eax, esi
jb 0x4db7a8
xor edx, edx
div esi
jmp 0x4db5ec
xor edx, edx
inc edx
jmp 0x4db723
xor edx, edx
test eax, eax
je 0x4db692
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
mov cl, byte [edi + edx + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
cmp cl, byte [edx + eax]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
jne 0x4db552
inc edx
xor ecx, ecx
cmp eax, edx
jne 0x4db75e
jmp 0x4db6a1
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x4db599
push 0x6bd165
push 0x6bd0bf
call fcn.0057cbd0
mov edx, eax
jmp 0x4db5ec