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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx ebx, byte [esi + 0xb]
test bl, bl
mov dword [ebp - 0x28], ecx
jns 0x4123d6
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x24], ebx
cmp ebx, 4
jb 0x412411
mov eax, dword [ebp - 0x24]
mov edx, eax
mov ecx, esi
imul ebx, dword [ecx], 0x5bd1e995
mov edi, ebx
shr edi, 0x18
xor edi, ebx
imul edi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4123eb
cmp edx, 1
je 0x412437
cmp edx, 2
je 0x412429
cmp edx, 3
jne 0x412447
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
mov edi, dword [ebp - 0x28]
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
jmp 0x41243a
mov edi, dword [ebp - 0x28]
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x41244a
mov edi, dword [ebp - 0x28]
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov edi, dword [edi + 4]
xor eax, eax
dec eax
test edi, edi
mov dword [ebp - 0x2c], edi
je 0x412570
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
mov edx, eax
and edx, ecx
shr eax, 2
and eax, ecx
add eax, edx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x34], eax
cmp eax, 1
ja 0x4124b2
lea edx, [edi - 1]
and edx, ebx
jmp 0x4124c0
mov eax, ebx
mov edx, ebx
cmp ebx, edi
jb 0x4124c0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x41256d
mov edi, dword [eax]
test edi, edi
je 0x41256d
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x412508
cmp dword [ebp - 0x34], 1
ja 0x4124f6
and eax, dword [ebp - 0x30]
jmp 0x412503
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x412503
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [ebp - 0x20]
jne 0x41256d
movzx ecx, byte [edi + 0x13]
mov eax, ecx
test cl, cl
jns 0x412515
mov eax, dword [edi + 0xc]
cmp eax, dword [ebp - 0x24]
jne 0x412563
lea eax, [edi + 8]
mov edx, dword [eax]
test cl, cl
cmovs eax, edx
js 0x412545
xor eax, eax
test ecx, ecx
je 0x4125e7
dec ecx
cmp dl, byte [esi + eax]
jne 0x412563
cmp ecx, eax
je 0x4125e5
mov dl, byte [edi + eax + 9]
inc eax
jmp 0x412531
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4125e5
push ecx
push esi
push eax
call fcn.0044e58d
add esp, 0xc
test eax, eax
je 0x4125e5
mov edi, dword [edi]
test edi, edi
jne 0x4124e4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x1c]
xor ecx, ecx
dec ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov ecx, dword [ebp - 0x28]
push eax
push edx
push esi
mov dword [ebp - 0x24], ebx
push ebx
push edi
mov edi, ecx
mov esi, dword [ebp - 0x2c]
call fcn.00473990
mov eax, dword [edi + 0xc]
inc eax
movq xmm1, qword [0x4a83d0]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movd xmm2, esi
por xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [edi + 0x10]
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x412605
test esi, esi
je 0x412605
mov edx, dword [ebp - 0x20]
jmp 0x412687
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004713f0
add esp, 8
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x4a9390]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [esi + esi]
cmp esi, 3
jb 0x412656
lea edx, [esi - 1]
mov dword [ebp - 0x24], edx
xor edx, edx
test dword [ebp - 0x24], esi
setne dl
jmp 0x41265c
xor edx, edx
inc edx
mov ebx, dword [ebp - 0x24]
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, edi
push edx
call fcn.004126f0
mov esi, dword [edi + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x412679
and edx, ebx
jmp 0x412687
cmp ebx, esi
jae 0x412681
mov edx, ebx
jmp 0x412687
mov eax, ebx
xor edx, edx
div esi
mov eax, dword [edi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x41269e
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x4126da
lea eax, [edi + 8]
mov ecx, dword [edi + 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 8], ecx
mov ecx, dword [edi]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x4126da
mov eax, dword [eax + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x4126cb
and eax, edx
jmp 0x4126d5
cmp eax, esi
jb 0x4126d5
xor edx, edx
div esi
mov eax, edx
mov edx, dword [edi]
mov dword [edx + eax*4], ecx
mov eax, edi
mov edi, dword [ebp - 0x1c]
inc dword [eax + 0xc]
mov al, 1
jmp 0x4125e7