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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
movzx ebx, byte [edi + 0xb]
test bl, bl
jns 0x4094ec
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov eax, ebx
mov ecx, edi
mov edx, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 4
jb 0x409527
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ecx, edi
imul esi, dword [ecx], 0x5bd1e995
mov ebx, esi
shr ebx, 0x18
xor ebx, esi
imul esi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x409501
mov dword [ebp - 0x20], edi
jmp dword [edx*4 + 0x409938]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov esi, dword [edi + 4]
test esi, esi
mov dword [ebp - 0x18], ebx
je 0x4096c2
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 ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x4095c4
mov edx, ebx
cmp ebx, esi
jb 0x4095c9
mov eax, ebx
xor edx, edx
div esi
mov edi, dword [ebp - 0x10]
jmp 0x4095c9
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
jmp case.0x40952a.2
lea edx, [esi - 1]
and edx, ebx
mov eax, dword [edi]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4096c8
mov ebx, dword [eax]
test ebx, ebx
je 0x4096c8
cmp ecx, 2
jb 0x4095f0
mov edi, dword [ebp - 0x20]
jmp 0x409685
lea eax, [esi - 1]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x20]
jmp 0x409624
push eax
push edi
push dword [ebx + 8]
call fcn.0045e4f3
add esp, 0xc
test eax, eax
jne 0x40961a
jmp 0x40966c
and eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jne 0x4096c8
mov ebx, dword [ebx]
test ebx, ebx
je 0x4096c8
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x18]
jne 0x40960e
movzx ecx, byte [ebx + 0x13]
test cl, cl
mov eax, dword [ebx + 0xc]
mov edx, ecx
cmovs edx, eax
cmp edx, dword [ebp - 0x14]
jne 0x40961a
test cl, cl
js 0x4095fb
xor edx, edx
test ecx, ecx
je 0x40966c
mov al, byte [ebx + edx + 8]
cmp al, byte [edi + edx]
jne 0x40961a
inc edx
xor eax, eax
cmp ecx, edx
je 0x4096ba
jmp 0x409649
push eax
push edi
push dword [ebx + 8]
call fcn.0045e4f3
add esp, 0xc
test eax, eax
jne 0x40967f
xor eax, eax
jmp 0x4096ba
cmp eax, esi
jb 0x40967a
xor edx, edx
div esi
mov eax, edx
cmp eax, dword [ebp - 0x1c]
jne 0x4096c8
mov ebx, dword [ebx]
test ebx, ebx
je 0x4096c8
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x18]
jne 0x409670
movzx ecx, byte [ebx + 0x13]
test cl, cl
mov eax, dword [ebx + 0xc]
mov edx, ecx
cmovs edx, eax
cmp edx, dword [ebp - 0x14]
jne 0x40967f
test cl, cl
js 0x40965b
xor edx, edx
test ecx, ecx
je 0x40966c
mov al, byte [ebx + edx + 8]
cmp al, byte [edi + edx]
jne 0x40967f
inc edx
xor eax, eax
cmp ecx, edx
jne 0x4096aa
mov edi, dword [ebp + 8]
jmp 0x409767
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x10]
push 0x18
call fcn.0045e423
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [ebx + 0x10], ecx
movsd xmm0, qword [edi]
movsd qword [ebx + 8], xmm0
mov dword [edi + 8], eax
xorps xmm0, xmm0
movsd qword [edi], xmm0
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x4a73e0]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x10]
test esi, esi
je 0x4097b1
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x4097b1
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + eax*4]
test eax, eax
je 0x409778
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ebx
inc dword [ecx + 0xc]
mov al, 1
mov dword [edi], ebx
mov byte [edi + 4], al
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx + 8]
mov dword [ebx], eax
lea eax, [ecx + 8]
mov dword [ecx + 8], ebx
mov dword [edx + esi*4], eax
mov eax, dword [ebx]
test eax, eax
je 0x409762
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0x14]
lea edx, [esi - 1]
test esi, edx
jne 0x4097a2
and eax, edx
shl eax, 2
add eax, dword [ecx]
jmp 0x409760
cmp eax, esi
jb 0x40979b
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [ebp - 0x10]
jmp 0x40979b
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00484950
add esp, 8
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x4a73e8]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jb 0x4097fe
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
jmp 0x409801
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
jne 0x409859
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 4]
cmp edi, esi
jbe 0x40986d
push edi
call fcn.00459700
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 4]
lea eax, [esi - 1]
test esi, eax
mov dword [ebp - 0x14], esi
jne 0x40983d
and eax, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
jmp 0x409751
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov edi, dword [ebp + 8]
jb 0x409751
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [ebp - 0x10]
jmp 0x409751
lea ecx, [eax - 1]
test eax, ecx
je 0x409869
push eax
call fcn.0045c510
add esp, 4
mov edi, eax
jmp 0x409812
jae 0x409825
movss xmm0, dword [ecx + 0xc]
orpd xmm0, xmmword [0x4a73f0]
subsd xmm0, qword [0x4a73e0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ecx + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00484950
add esp, 8
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x4a73e8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x40991a
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 eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x40991a
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x409923
push edx
call fcn.0045c510
add esp, 4
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
mov ecx, dword [ebp - 0x10]
jb 0x40981c
jmp 0x409825