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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, edi
mov esi, edi
cmp edi, 4
jb switch.0x00608276
mov eax, dword [ebp + 0xc]
mov esi, eax
nop dword [eax]
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
add edx, 4
add esi, 0xfffffffc
cmp esi, 3
ja 0x608250
jmp dword [esi*4 + 0x78d948]
movzx esi, byte [edx + 1]
shl esi, 8
xor eax, esi
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x608473
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov edx, edi
shr edx, 1
and edx, 0x55555555
mov eax, edi
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul ebx, edx, 0x1010101
shr ebx, 0x18
cmp ebx, 1
jbe 0x608489
mov edx, esi
cmp esi, edi
jb 0x6082fb
mov eax, esi
xor edx, edx
div edi
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x608473
mov edx, dword [eax]
test edx, edx
je 0x608473
lea eax, [edi - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 4]
cmp eax, esi
mov dword [ebp - 0x10], edx
jne 0x608341
movsx ecx, byte [edx + 0x13]
test ecx, ecx
js 0x60837a
lea eax, [edx + 8]
jmp 0x608380
movzx esi, byte [edx + 2]
shl esi, 0x10
xor eax, esi
jmp case.0x608276.2
cmp ebx, 1
jbe 0x608481
cmp eax, edi
jb 0x608354
xor edx, edx
div edi
mov eax, edx
mov edx, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x608473
mov edx, dword [edx]
test edx, edx
jne 0x60831c
jmp 0x608473
add ebx, 4
add ecx, 4
cmp ebx, edi
jne 0x6083c6
jmp 0x608473
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
test ecx, ecx
js 0x608493
sete dl
test eax, eax
setne dh
or dh, dl
je 0x608493
cmp ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
jne 0x608360
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00652bcd
mov edx, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x608360
mov ebx, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
cmp ebx, edi
je 0x608473
mov ecx, ebx
mov eax, dword [ebp + 0x10]
cmp dword [ebx], eax
jne 0x60836b
test eax, eax
je 0x6083d4
dec dword [edx + 0x28]
lea eax, [edx + 0x20]
cmp dword [edx + 0x24], eax
jne 0x608495
lea esi, [ebx + 4]
cmp esi, edi
je 0x60847d
mov dword [ebp - 0x14], ecx
mov eax, dword [esi - 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x7b4788]
bt edx, ecx
jae 0x608410
push eax
call fcn.00545f70
add esp, 4
mov eax, dword [esi]
mov dword [esi - 4], eax
mov dword [esi], 0
add esi, 4
cmp esi, edi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
jne 0x6083ee
mov edi, dword [edx + 0x18]
add esi, 0xfffffffc
sub esi, ecx
add ebx, esi
cmp edi, ebx
je 0x608470
add edi, 0xfffffffc
test edi, edi
je 0x608493
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x7b4788]
bt edx, ecx
jae 0x60845e
push eax
call fcn.00545f70
add esp, 4
mov dword [edi], 0
lea eax, [edi - 4]
cmp edi, ebx
mov edi, eax
mov edx, dword [ebp - 0x10]
jne 0x608439
mov dword [edx + 0x18], ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov esi, ebx
jmp 0x60842e
and eax, dword [ebp - 0x18]
jmp 0x608357
lea edx, [edi - 1]
and edx, esi
jmp 0x6082fb
ud2
mov eax, dword [ebx]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x7b4788]
bt edx, ecx
jae 0x6084b6
push eax
call fcn.00545f70
add esp, 4
mov dword [ebx], 0
jmp 0x608473
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
test edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
je 0x60883c
mov ecx, edx
shr ecx, 1
and ecx, 0x55555555
mov eax, edx
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 esi, ecx, 0x1010101
shr esi, 0x18
cmp esi, 1
jbe 0x60882e
cmp edi, edx
mov ecx, edx
mov edx, edi
jb 0x6085c6
mov eax, edi
xor edx, edx
div ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
mov dword [ebp - 0x10], edx
je 0x60860d
mov edi, dword [eax]
test edi, edi
je 0x60860d
lea eax, [ecx - 1]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x18]
je 0x60871e
cmp esi, 1
jbe 0x608810
cmp eax, ecx
jb 0x608600
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x60860d
mov edi, dword [edi]
test edi, edi
jne 0x6085e1
mov dword [esp], 0x30
call fcn.006507be
test eax, eax
mov ebx, dword [ebp - 0x1c]
je 0x608847
mov edi, eax
mov eax, dword [ebp + 0x14]
xor esi, esi
mov dword [edi], esi
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [edi + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov ecx, edi
add ecx, 0x20
mov dword [esp + 4], ecx
mov dword [esp], ecx
call fcn.005e8340
sub esp, 8
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x737fc0]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x60877a
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x60877a
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x608718
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 0x608701
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x14]
lea ecx, [edx - 1]
test edx, ecx
je 0x608818
cmp eax, edx
jb 0x6086fa
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
add eax, dword [ebx]
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, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x6086ff
movsx eax, byte [edi + 0x13]
mov ecx, eax
test eax, eax
jns 0x60872b
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
mov ecx, dword [ebp - 0x14]
jne 0x608607
test al, al
jns 0x60873f
mov eax, dword [edi + 8]
jmp 0x608742
lea eax, [edi + 8]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00652bcd
test eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
jne 0x608607
xor ecx, ecx
jmp 0x608706
xor edx, edx
inc edx
jmp 0x6087c2
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00680cf0
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x737fc8]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x608775
lea edx, [esi - 1]
test esi, edx
mov edx, 0
setne dl
or edx, ecx
cmp edx, eax
cmovbe edx, eax
cmp edx, 1
je 0x60881f
lea eax, [edx - 1]
test edx, eax
je 0x6087df
mov dword [esp], edx
call fcn.005c7e10
mov edx, eax
mov esi, dword [ebx + 4]
cmp edx, esi
jbe 0x608850
mov dword [esp], edx
mov ecx, ebx
call fcn.005ea810
sub esp, 4
mov ecx, dword [ebx + 4]
lea edx, [ecx - 1]
test ecx, edx
mov dword [ebp - 0x14], ecx
je 0x608826
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jb 0x608849
xor edx, edx
div ecx
jmp 0x6086c0
and eax, dword [ebp - 0x24]
jmp 0x608603
and eax, ecx
jmp 0x6086fa
mov edx, 2
jmp 0x6087df
and edx, dword [ebp - 0x18]
jmp 0x6086c0
lea eax, [edx - 1]
and eax, edi
mov ecx, edx
mov edx, eax
jmp 0x6085c6
xor eax, eax
dec eax
mov dword [ebp - 0x10], eax
jmp 0x60860d
ud2
mov edx, eax
jmp 0x6086c0
jae 0x6087f3
mov dword [ebp - 0x10], edx
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x737fd0]
subsd xmm0, qword [0x737fc0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00680cf0
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x737fc8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x6088fa
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 0x6088fa
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 0x608902
mov dword [esp], edx
call fcn.005c7e10
mov edx, dword [ebp - 0x10]
cmp edx, eax
cmovbe edx, eax
cmp edx, esi
mov ebx, dword [ebp - 0x1c]
jb 0x6087e6
jmp 0x6087f3