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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [ecx + 0xb]
test bl, bl
js 0x4650cb
and ebx, 0x7f
jmp 0x4650d0
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
jmp 0x465118
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov eax, ebx
mov dword [ebp - 0x14], ecx
mov edx, ebx
cmp ebx, 4
jb 0x465109
mov edx, ebx
mov ecx, dword [ebp - 0x14]
mov eax, ebx
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4650e3
cmp edx, 3
je 0x4650ac
cmp edx, 2
je 0x4650b5
cmp edx, 1
je 0x4650be
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 esi, dword [eax + 4]
test esi, esi
mov dword [ebp - 0x18], edi
je 0x465251
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
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 - 0x28], eax
cmp eax, 1
jbe 0x46523f
mov ecx, edi
cmp edi, esi
jb 0x46518b
mov eax, edi
xor edx, edx
div esi
mov ecx, edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [ebp - 0x10], ecx
je 0x465257
mov eax, dword [eax]
test eax, eax
je 0x465257
mov edi, eax
lea eax, [esi - 1]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x18]
je 0x4651d4
cmp dword [ebp - 0x28], 1
jbe 0x465249
cmp eax, esi
jb 0x4651cc
xor edx, edx
div esi
mov eax, edx
cmp eax, ecx
jne 0x465257
mov dword [ebp - 0x24], esi
movzx ecx, byte [edi + 0x13]
mov eax, ecx
and eax, 0x7f
mov edx, eax
test cl, cl
jns 0x4651e9
mov edx, dword [edi + 0xc]
cmp edx, ebx
jne 0x465229
test cl, cl
js 0x465216
xor edx, edx
test al, al
je 0x46520f
mov cl, byte [edi + edx + 8]
mov esi, dword [ebp - 0x14]
cmp cl, byte [esi + edx]
jne 0x465229
inc edx
xor ecx, ecx
cmp eax, edx
jne 0x4651f7
jmp 0x4652f3
xor ecx, ecx
jmp 0x4652f3
push ebx
push dword [ebp - 0x14]
push dword [edi + 8]
call fcn.004aaedd
add esp, 0xc
test eax, eax
je 0x46520f
mov eax, edi
mov eax, dword [edi]
mov edi, eax
test eax, eax
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
jne 0x4651b0
jmp 0x465257
lea ecx, [esi - 1]
and ecx, edi
jmp 0x46518b
and eax, dword [ebp - 0x20]
jmp 0x4651cc
xor eax, eax
dec eax
mov dword [ebp - 0x10], eax
push 0x18
call fcn.004a8ae0
add esp, 4
mov ecx, eax
add ecx, 8
mov ebx, dword [ebp - 0x1c]
je 0x4654d1
mov edi, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
jns 0x465338
push dword [eax + 4]
push dword [eax]
call fcn.00469e80
xor eax, eax
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0x18]
mov dword [edi + 4], ecx
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x53e2d8]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
je 0x46534b
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x46534b
mov ecx, dword [ebx]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x465305
mov ecx, dword [eax]
mov dword [edi], ecx
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, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
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 0x4652ee
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x465334
cmp eax, esi
jb 0x46532d
xor edx, edx
div esi
mov eax, edx
shl eax, 2
add eax, dword [ebx]
jmp 0x4652ec
and eax, ecx
jmp 0x46532d
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x46528a
mov dword [ebp - 0x14], edi
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004d3260
add esp, 8
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x53ec04]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jb 0x4653d9
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov esi, 2
cmp eax, 1
jne 0x4653ec
mov edi, dword [ebx + 4]
cmp esi, edi
jbe 0x465408
mov ecx, ebx
push esi
call fcn.004654f0
mov esi, dword [ebx + 4]
lea eax, [esi - 1]
test esi, eax
je 0x4653de
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov edi, dword [ebp - 0x14]
jb 0x465400
xor edx, edx
div esi
mov dword [ebp - 0x10], edx
jmp 0x4652dc
xor eax, eax
inc eax
jmp 0x465399
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x14]
jmp 0x4652dc
lea ecx, [eax - 1]
test eax, ecx
je 0x4653fc
push eax
call fcn.004684e0
add esp, 4
mov esi, eax
jmp 0x4653aa
mov dword [ebp - 0x10], eax
jmp 0x4652dc
jae 0x4653b9
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x53ec10]
subsd xmm0, qword [0x53e2d8]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.004d3260
add esp, 8
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x53ec04]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edi, 3
jb 0x4654b3
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, 0x33333333
mov ebx, eax
and ebx, ecx
shr eax, 2
and eax, ecx
add eax, ebx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x4654b3
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 0x4654bc
push edx
call fcn.004684e0
add esp, 4
cmp esi, eax
cmovbe esi, eax
cmp esi, edi
mov ebx, dword [ebp - 0x1c]
jb 0x4653b1
jmp 0x4653b9
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.004d6920
int3