Function at 0x49a0b0
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 ebx, ecx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx + 0xb]
test al, al
mov dword [ebp - 0x10], ebx
js 0x49a0ce
and eax, 0x7f
jmp 0x49a0d6
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov ebx, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x18], ecx
mov edx, eax
mov dword [ebp - 0x20], eax
cmp eax, 4
jb 0x49a113
mov eax, dword [ebp - 0x20]
mov edx, eax
mov ecx, dword [ebp - 0x18]
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 0x49a0ed
cmp edx, 1
je 0x49a134
cmp edx, 2
je 0x49a12b
cmp edx, 3
jne 0x49a13f
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
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov esi, dword [ebx + 4]
test esi, esi
mov dword [ebp - 0x1c], edi
je 0x49a254
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 0x49a1ab
mov edx, edi
cmp edi, esi
jb 0x49a1b0
mov eax, edi
xor edx, edx
div esi
jmp 0x49a1b0
lea edx, [esi - 1]
and edx, edi
mov dword [ebp - 0x14], edx
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x49a25a
mov edi, dword [eax]
test edi, edi
je 0x49a25a
lea eax, [esi - 1]
mov dword [ebp - 0x24], eax
jmp 0x49a209
push edx
push dword [ebp - 0x18]
push dword [edi + 8]
call fcn.004ea61d
add esp, 0xc
test eax, eax
jne 0x49a203
jmp 0x49a248
cmp eax, esi
jb 0x49a1fc
xor edx, edx
div esi
mov eax, edx
jmp 0x49a1fc
cmp dword [ebp - 0x28], 1
ja 0x49a1e7
and eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x49a24f
mov edi, dword [edi]
test edi, edi
je 0x49a24f
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x1c]
jne 0x49a1f3
movzx ecx, byte [edi + 0x13]
mov ebx, ecx
and ebx, 0x7f
test cl, cl
mov edx, dword [edi + 0xc]
mov eax, ebx
cmovs eax, edx
cmp eax, dword [ebp - 0x20]
jne 0x49a203
test cl, cl
js 0x49a1d2
xor ecx, ecx
test bl, bl
je 0x49a2f0
mov al, byte [edi + ecx + 8]
mov edx, dword [ebp - 0x18]
cmp al, byte [edx + ecx]
jne 0x49a203
inc ecx
cmp ebx, ecx
jne 0x49a237
xor ecx, ecx
jmp 0x49a2f0
mov ebx, dword [ebp - 0x10]
jmp 0x49a25a
xor eax, eax
dec eax
mov dword [ebp - 0x14], eax
push 0x18
call fcn.004e82a5
add esp, 4
test eax, eax
je 0x49a4b6
mov edi, eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [edi], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 0x10], edx
movsd xmm0, qword [eax]
movsd qword [edi + 8], xmm0
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [eax + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x52be60]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test esi, esi
je 0x49a335
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x49a335
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x49a302
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 0xc
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 0x49a2eb
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
jne 0x49a329
and eax, ecx
shl eax, 2
add eax, dword [ebx]
jmp 0x49a2e9
cmp eax, esi
jb 0x49a322
xor edx, edx
div esi
mov eax, edx
jmp 0x49a322
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00515440
add esp, 8
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x52be68]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jb 0x49a382
lea ebx, [esi - 1]
xor eax, eax
test esi, ebx
setne al
jmp 0x49a385
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov ebx, 2
cmp eax, 1
je 0x49a3a8
lea ecx, [eax - 1]
test eax, ecx
je 0x49a3a6
push eax
call fcn.0045dec0
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
cmp ebx, esi
jbe 0x49a3e7
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00435980
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 4]
lea edx, [esi - 1]
test esi, edx
jne 0x49a3d0
and edx, dword [ebp - 0x1c]
jmp 0x49a2dc
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jb 0x49a3e0
xor edx, edx
div esi
jmp 0x49a2dc
mov edx, eax
jmp 0x49a2dc
jae 0x49a3bb
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x52be70]
subsd xmm0, qword [0x52be60]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00515440
add esp, 8
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x52be68]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x49a49b
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
mov dword [ebp - 0x18], edx
mov edx, 0x33333333
and ecx, edx
shr eax, 2
and eax, edx
mov edx, dword [ebp - 0x18]
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 0x49a49b
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 0x49a4a4
push edx
call fcn.0045dec0
add esp, 4
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, esi
jb 0x49a3b2
jmp 0x49a3bb
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.00457520
int3