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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5c7040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov edi, dword [esi + 0xc]
inc edi
cmp byte [eax + 0xb], 0
jns 0x4b9634
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [ebp - 0x20]
call fcn.004a3ea0
sub esp, 8
mov dword [ebp - 0x14], edi
movsx edx, byte [ebp - 0x15]
test edx, edx
js 0x4b91dd
lea eax, [ebp - 0x20]
jmp 0x4b91e3
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
jmp 0x4b9225
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edi
mov ecx, edx
cmp edx, 4
jb 0x4b9216
nop dword [eax]
imul edi, dword [eax], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, edi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4b91f0
cmp edx, 2
je 0x4b91c7
cmp edx, 3
je 0x4b91be
cmp edx, 1
je 0x4b91d0
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
jne 0x4b94f2
xor ebx, ebx
dec ebx
mov dword [esp], 0x18
call fcn.004f507e
test eax, eax
je 0x4b95ca
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], ecx
movsd xmm0, qword [ebp - 0x20]
movsd qword [eax + 8], xmm0
mov dword [ebp - 0x18], edx
xorps xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x5a2c90]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4b92d4
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x4b9387
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00523340
fstp dword [ebp - 0x44]
movss xmm0, dword [ebp - 0x44]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5a2c98]
cvttss2si eax, xmm0
and eax, edx
mov edx, dword [ebp - 0x24]
or eax, ecx
lea ecx, [edx + edx]
cmp edx, 3
jae 0x4b9648
xor ebx, ebx
inc ebx
or ebx, ecx
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, 1
mov dword [ebp - 0x34], edi
jne 0x4b93fb
mov edi, dword [esi + 4]
mov ebx, 2
cmp edi, 2
jae 0x4b968a
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.004f507e
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
jne 0x4b93ee
mov dword [esi + 4], ebx
xor eax, eax
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
inc eax
cmp ebx, eax
jne 0x4b935d
mov edi, dword [esi + 8]
test edi, edi
jne 0x4b9428
mov eax, dword [esi + 4]
lea ebx, [eax - 1]
test eax, ebx
jne 0x4b965b
and ebx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov ecx, dword [esi]
mov eax, dword [ecx + ebx*4]
test eax, eax
jne 0x4b9610
lea edx, [esi + 8]
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x2c]
mov dword [esi], eax
mov edi, dword [ebp - 0x28]
mov dword [edi + 8], esi
mov esi, dword [ebp - 0x28]
mov dword [ecx + ebx*4], edx
test eax, eax
jne 0x4b95e9
inc dword [esi + 0xc]
mov bl, 1
cmp byte [ebp - 0x15], 0
mov esi, dword [ebp - 0x3c]
js 0x4b9624
mov eax, dword [ebp + 8]
test bl, bl
je 0x4b95de
xor bl, 1
mov dword [eax], esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5620
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [esp], ecx
call fcn.004f50ae
jmp 0x4b9358
lea eax, [ebx - 1]
test ebx, eax
je 0x4b940c
mov dword [esp], ebx
call fcn.004a1a60
mov ebx, eax
mov edi, dword [esi + 4]
cmp ebx, edi
jbe 0x4b968a
cmp ebx, 0x40000000
jb 0x4b933d
jmp 0x4b9761
lea eax, [esi + 8]
mov dword [ebp - 0x24], eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
mov ecx, dword [edi + 4]
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x30], eax
cmp eax, 1
jbe 0x4b9766
cmp ecx, ebx
mov edx, ecx
jb 0x4b947f
mov eax, edx
xor edx, edx
div ebx
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi]
mov dword [eax + edx*4], ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x4b9376
lea eax, [ebx - 1]
mov dword [ebp - 0x38], eax
jmp 0x4b94aa
mov dword [edx + eax*4], edi
mov edi, ecx
mov ecx, dword [ecx]
mov edx, eax
test ecx, ecx
je 0x4b9376
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x30], 1
jbe 0x4b9682
cmp eax, ebx
jb 0x4b94c4
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [ebp - 0x24]
cmp eax, edx
je 0x4b94ee
mov edx, dword [esi]
cmp dword [edx + eax*4], 0
je 0x4b9499
mov edx, dword [ecx]
mov dword [edi], edx
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov edx, dword [edx]
mov dword [ecx], edx
mov edx, dword [esi]
mov eax, dword [edx + eax*4]
mov dword [eax], ecx
mov ecx, edi
mov eax, dword [ebp - 0x24]
jmp 0x4b949c
mov eax, edx
jmp 0x4b949c
mov ecx, eax
shr ecx, 1
and ecx, 0x55555555
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul esi, ecx, 0x1010101
shr esi, 0x18
cmp esi, 1
jbe 0x4b953d
mov ebx, edi
cmp edi, dword [ebp - 0x24]
jb 0x4b9545
mov eax, edi
xor edx, edx
div dword [ebp - 0x24]
mov ebx, edx
jmp 0x4b9545
mov eax, dword [ebp - 0x24]
lea ebx, [eax - 1]
and ebx, edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4b95ad
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b95ad
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
add eax, 0x14
mov dword [ebp - 0x30], eax
jmp 0x4b9597
mov eax, dword [ebp - 0x2c]
add eax, 8
lea ecx, [ebp - 0x20]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
call fcn.00494b50
sub esp, 8
test al, al
jne 0x4b95c3
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4b95ad
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
cmp eax, edi
je 0x4b956c
cmp esi, 1
ja 0x4b95b5
and eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x4b958b
mov esi, dword [ebp - 0x28]
jmp 0x4b924d
cmp eax, dword [ebp - 0x24]
jb 0x4b95a9
xor edx, edx
div dword [ebp - 0x24]
mov eax, edx
jmp 0x4b95a9
xor ebx, ebx
jmp 0x4b93bb
mov dword [esp + 4], str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
mov dword [esp], 0x59f83f
call fcn.00526860
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ecx + 0x14]
jmp 0x4b93d3
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x24]
lea ecx, [edx - 1]
test edx, ecx
je 0x4b9604
cmp eax, dword [ebp - 0x24]
jb 0x4b9606
xor edx, edx
div dword [ebp - 0x24]
mov eax, edx
jmp 0x4b9606
and eax, ecx
shl eax, 2
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx]
jmp 0x4b9617
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esi, dword [ebp - 0x28]
jmp 0x4b93b6
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004f50ae
jmp 0x4b93c8
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
movsd xmm0, qword [eax]
movsd qword [ebp - 0x20], xmm0
jmp 0x4b91ae
lea ebx, [edx - 1]
mov dword [ebp - 0x30], ebx
xor ebx, ebx
test dword [ebp - 0x30], edx
setne bl
jmp 0x4b9319
mov ecx, eax
cmp dword [ebp - 0x34], eax
jae 0x4b966f
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x28]
mov eax, ecx
jmp 0x4b9387
mov eax, dword [ebp - 0x34]
xor edx, edx
div ecx
mov ebx, edx
mov eax, ecx
mov esi, dword [ebp - 0x28]
jmp 0x4b9387
and eax, dword [ebp - 0x38]
jmp 0x4b94c4
cmp ebx, edi
jae 0x4b9376
movss xmm0, dword [esi + 0xc]
orpd xmm0, xmmword [0x5a2ca0]
subsd xmm0, qword [0x5a2c90]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [esi + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00523340
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x5a2c98]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edi, 3
jb 0x4b9737
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
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 0x4b9737
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 0x4b973f
mov dword [esp], edx
call fcn.004a1a60
cmp ebx, eax
cmova eax, ebx
cmp eax, edi
mov esi, dword [ebp - 0x28]
jae 0x4b9376
mov dword [esp], eax
mov ecx, esi
call fcn.00527890
sub esp, 4
jmp 0x4b9376
call fcn.00525870
lea eax, [ebx - 1]
and ecx, eax
mov edx, ecx
jmp 0x4b947f