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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x110
mov ebx, ecx
mov edi, edx
mov esi, eax
movsx ebp, byte [edi]
test ebp, ebp
je 0x4147f2
xor ebp, ebp
mov edx, edi
movsx eax, byte [edx]
mov ecx, edx
mov edx, esi
mov esi, ecx
cmp eax, 0x2f
je 0x414989
movzx eax, al
movzx eax, byte [eax + 0x5b70a0]
inc eax
movsx eax, al
add ebp, eax
lea esi, [edi + ebp]
movsx eax, byte [esi]
test eax, eax
jne 0x4147cd
mov esi, edx
test esi, esi
je 0x4149d0
mov ebp, dword [esi]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41480e
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x414806
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, edi
cmp ecx, 4
jl 0x41484f
mov dword [esp + 0x10c], ebx
imul esi, dword [edx], 0x5bd1e995
mov ebx, esi
shr ebx, 0x18
xor esi, ebx
imul ebx, esi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ebx
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x414822
mov ebx, dword [esp + 0x10c]
cmp ecx, 3
je 0x414860
cmp ecx, 2
je 0x414869
cmp ecx, 1
je 0x414872
jmp 0x41487d
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xf
xor eax, edx
and eax, 0x7fffffff
movsx edx, bl
test edx, edx
jne 0x4148e5
test ebp, ebp
je 0x414933
mov ebx, eax
mov ecx, edi
cmp ebx, dword [ebp + 0x1c]
jne 0x4148dc
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4148d3
or dl, dl
je 0x4148cf
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4148d3
add edi, 2
add esi, 2
or dl, dl
jne 0x4148b3
xor eax, eax
jmp 0x4148d8
sbb eax, eax
or eax, 1
test eax, eax
je 0x414933
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x4148a9
jmp 0x414933
cmp edx, 1
je 0x414940
test ebp, ebp
je 0x414933
mov ebx, eax
mov ecx, edi
mov eax, dword [ebp + 0x1c]
and eax, 0x7fffffff
cmp eax, ebx
jne 0x41492c
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x414923
or dl, dl
je 0x41491f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x414923
add edi, 2
add esi, 2
or dl, dl
jne 0x414903
xor eax, eax
jmp 0x414928
sbb eax, eax
or eax, 1
test eax, eax
je 0x414933
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x4148f2
mov eax, ebp
add esp, 0x110
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 0x80000000
test ebp, ebp
je 0x414933
mov ebx, eax
mov ecx, edi
cmp ebx, dword [ebp + 0x1c]
jne 0x414980
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x414977
or dl, dl
je 0x414973
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x414977
add edi, 2
add esi, 2
or dl, dl
jne 0x414957
xor eax, eax
jmp 0x41497c
sbb eax, eax
or eax, 1
test eax, eax
je 0x414933
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x41494d
jmp 0x414933
mov eax, edx
mov edx, edi
mov ecx, ebp
call fcn.004149ec
mov edx, eax
test edx, edx
je 0x4149a4
lea edi, [esi + 1]
xor ebp, ebp
jmp 0x4147e6
mov esi, edx
lea eax, [esp + 0xc]
push ebp
push edi
push eax
call fcn.00469bd8
mov byte [esp + ebp + 0x18], 0
lea ebp, [esp + 0x18]
push ebp
push 1
push 0x18786
call fcn.00468e28
add esp, 0x18
jmp 0x4147f2
xor eax, eax
add esp, 0x110
pop ebx
pop ebp
pop esi
pop edi
ret