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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
mov ecx, dword [eax + 4]
mov edi, edx
shr edi, 1
mov dword [esp + 0x14], edx
test dl, 1
mov edx, dword [eax + 8]
mov dword [esp + 0xc], ecx
lea esi, [edx + ecx]
mov dword [esp + 0x28], edi
lea edi, [eax + edi + 1]
cmovne edi, esi
lea esi, [eax + 1]
cmovne esi, edx
sub edi, esi
cmp edi, 4
jb 0x42e0dd
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ebx, dword [edx], 0x5bd1e995
mov ecx, ebx
shr ecx, 0x18
xor ecx, ebx
imul ecx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x42e0b0
cmp edi, 1
jne 0x42e0e6
jmp 0x42e102
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x42e102
cmp edi, 2
je 0x42e0f9
cmp edi, 3
jne 0x42e10d
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 ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [esp], ecx
mov eax, dword [esp + 4]
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 8], edi
je 0x42e178
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov ecx, edi
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0x24], eax
cmp eax, 1
ja 0x42e185
lea edx, [edi - 1]
and edx, dword [esp]
jmp 0x42e19b
mov dword [esp + 0x10], 0xffffffff
jmp 0x42e2a5
mov eax, dword [esp]
mov edx, eax
cmp eax, edi
jb 0x42e19b
mov eax, dword [esp]
xor edx, edx
div dword [esp + 8]
mov edi, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [esp + 0x10], edx
je 0x42e2a5
test byte [esp + 0x14], 1
mov ecx, dword [esp + 0xc]
cmove ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov ebx, dword [eax]
test ebx, ebx
je 0x42e2a5
lea eax, [edi - 1]
mov dword [esp + 0x14], eax
jmp 0x42e1ee
mov ebx, dword [ebx]
test ebx, ebx
mov edi, dword [esp + 8]
je 0x42e2a5
mov eax, dword [ebx + 4]
cmp eax, dword [esp]
je 0x42e228
cmp dword [esp + 0x24], 1
ja 0x42e210
and eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
jmp 0x42e220
cmp eax, edi
mov ecx, dword [esp + 0x10]
jb 0x42e220
xor edx, edx
div dword [esp + 8]
mov eax, edx
cmp eax, ecx
jne 0x42e2a5
movzx ecx, byte [ebx + 8]
mov eax, ecx
shr eax, 1
mov edx, eax
test cl, 1
je 0x42e23a
mov edx, dword [ebx + 0xc]
cmp edx, dword [esp + 0xc]
jne 0x42e1e0
lea edx, [ebx + 8]
add edx, 1
test cl, 1
je 0x42e24e
mov edx, dword [ebx + 0x10]
jne 0x42e280
xor ecx, ecx
cmp dword [esp + 0xc], 0
je 0x42e41a
nop dword [eax]
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [esi + ecx]
jne 0x42e1e0
add ecx, 1
cmp eax, ecx
jne 0x42e260
jmp 0x42e29b
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42e29b
push eax
push esi
push edx
call fcn.00511a6d
add esp, 0xc
test eax, eax
jne 0x42e1e0
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x42e409
mov edi, dword [esp]
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.0050f358
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [ebx + 8], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x14], eax
mov dword [ebx + 4], edi
mov dword [ebx], 0
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
add eax, 1
movd xmm0, eax
movq xmm1, qword [0x53b3b0]
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov esi, dword [esp + 8]
movd xmm2, esi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [ecx + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x42e337
test esi, esi
je 0x42e337
mov edx, dword [esp + 0x10]
jmp 0x42e3b1
mov edi, ecx
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00525430
mov esi, dword [esp + 0x10]
add esp, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fisttp qword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [esi + esi]
cmp esi, 2
jbe 0x42e37f
lea edi, [esi - 1]
xor edx, edx
test esi, edi
mov edi, dword [esp + 4]
setne dl
or eax, edx
jmp 0x42e382
or eax, 1
cmp eax, ecx
cmovb eax, ecx
mov ecx, edi
push eax
call fcn.004089b8
mov esi, dword [edi + 4]
lea edx, [esi - 1]
test esi, edx
mov ecx, edi
jne 0x42e3a0
and edx, dword [esp]
jmp 0x42e3b1
mov eax, dword [esp]
cmp eax, esi
jae 0x42e3ab
mov edx, eax
jmp 0x42e3b1
mov edi, ecx
xor edx, edx
div esi
mov eax, dword [ecx]
mov edi, ecx
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x42e3c7
mov eax, dword [ecx]
mov dword [ebx], eax
mov dword [ecx], ebx
mov edi, dword [ebp + 8]
jmp 0x42e3ff
mov ecx, dword [edi + 8]
mov dword [ebx], ecx
lea ecx, [edi + 8]
mov dword [edi + 8], ebx
mov dword [eax + edx*4], ecx
mov eax, dword [ebx]
test eax, eax
mov edi, dword [ebp + 8]
je 0x42e3ff
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
jne 0x42e3ec
and eax, ecx
jmp 0x42e3f6
cmp eax, esi
jb 0x42e3f6
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx]
mov dword [ecx + eax*4], ebx
mov eax, dword [esp + 4]
add dword [eax + 0xc], 1
mov cl, 1
mov dword [edi], ebx
mov byte [edi + 4], cl
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov edi, dword [ebp + 8]
jmp 0x42e409