Function at 0x414639
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 0x414682
xor ebp, ebp
mov edx, edi
movsx eax, byte [edx]
mov ecx, edx
mov edx, esi
mov esi, ecx
cmp eax, 0x2f
je 0x414819
movzx eax, al
movzx eax, byte [eax + 0x5b30a0]
inc eax
movsx eax, al
add ebp, eax
lea esi, [edi + ebp]
movsx eax, byte [esi]
test eax, eax
jne 0x41465d
mov esi, edx
test esi, esi
je 0x414860
mov ebp, dword [esi]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41469e
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x414696
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, edi
cmp ecx, 4
jl 0x4146df
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 0x4146b2
mov ebx, dword [esp + 0x10c]
cmp ecx, 3
je 0x4146f0
cmp ecx, 2
je 0x4146f9
cmp ecx, 1
je 0x414702
jmp 0x41470d
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 0x414775
test ebp, ebp
je 0x4147c3
mov ebx, eax
mov ecx, edi
cmp ebx, dword [ebp + 0x1c]
jne 0x41476c
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x414763
or dl, dl
je 0x41475f
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x414763
add edi, 2
add esi, 2
or dl, dl
jne 0x414743
xor eax, eax
jmp 0x414768
sbb eax, eax
or eax, 1
test eax, eax
je 0x4147c3
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x414739
jmp 0x4147c3
cmp edx, 1
je 0x4147d0
test ebp, ebp
je 0x4147c3
mov ebx, eax
mov ecx, edi
mov eax, dword [ebp + 0x1c]
and eax, 0x7fffffff
cmp eax, ebx
jne 0x4147bc
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4147b3
or dl, dl
je 0x4147af
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4147b3
add edi, 2
add esi, 2
or dl, dl
jne 0x414793
xor eax, eax
jmp 0x4147b8
sbb eax, eax
or eax, 1
test eax, eax
je 0x4147c3
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x414782
mov eax, ebp
add esp, 0x110
pop ebx
pop ebp
pop esi
pop edi
ret
add eax, 0x80000000
test ebp, ebp
je 0x4147c3
mov ebx, eax
mov ecx, edi
cmp ebx, dword [ebp + 0x1c]
jne 0x414810
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x414807
or dl, dl
je 0x414803
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x414807
add edi, 2
add esi, 2
or dl, dl
jne 0x4147e7
xor eax, eax
jmp 0x41480c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4147c3
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x4147dd
jmp 0x4147c3
mov eax, edx
mov edx, edi
mov ecx, ebp
call fcn.0041487c
mov edx, eax
test edx, edx
je 0x414834
lea edi, [esi + 1]
xor ebp, ebp
jmp 0x414676
mov esi, edx
lea eax, [esp + 0xc]
push ebp
push edi
push eax
call fcn.00465570
mov byte [esp + ebp + 0x18], 0
lea ebp, [esp + 0x18]
push ebp
push 1
push 0x18786
call fcn.00464828
add esp, 0x18
jmp 0x414682
xor eax, eax
add esp, 0x110
pop ebx
pop ebp
pop esi
pop edi
ret