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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x491cec
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x20], eax
cmp eax, 4
jb switch.0x00491d27
mov eax, dword [ebp - 0x20]
mov edx, eax
mov ecx, 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 0x491d01
jmp dword [edx*4 + 0x4920ec]
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 esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], edi
je 0x491e6c
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
mov dword [ebp - 0x28], eax
cmp eax, 1
jbe 0x491dc3
mov edx, esi
cmp esi, edi
jb 0x491dc8
mov eax, esi
xor edx, edx
div dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
jmp 0x491dc8
lea edx, [edi - 1]
and edx, esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x491e72
mov edi, dword [eax]
test edi, edi
je 0x491e72
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x24], eax
jmp 0x491e16
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jb 0x491e06
xor edx, edx
div ecx
mov eax, edx
jmp 0x491e06
cmp dword [ebp - 0x28], 1
ja 0x491dee
and eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x491e72
mov edi, dword [edi]
test edi, edi
mov esi, dword [ebp - 0x1c]
je 0x491e72
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x491dfd
movzx eax, byte [edi + 0x13]
test al, al
mov ecx, dword [edi + 0xc]
mov edx, eax
cmovs edx, ecx
cmp edx, dword [ebp - 0x20]
jne 0x491e0d
test al, al
js 0x491e53
xor ecx, ecx
test eax, eax
je 0x491f12
mov dl, byte [edi + ecx + 8]
cmp dl, byte [ebx + ecx]
jne 0x491e0d
inc ecx
cmp eax, ecx
jne 0x491e3e
xor ecx, ecx
jmp 0x491f12
mov eax, dword [edi + 8]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004e1e8d
test eax, eax
jne 0x491e0d
jmp 0x491e4c
xor eax, eax
dec eax
mov dword [ebp - 0x18], eax
mov dword [esp], 0x18
call fcn.004dfb05
test eax, eax
mov ebx, dword [ebp - 0x14]
je 0x4920d6
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
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov eax, dword [eax + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x524060]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x491f5a
movd xmm3, eax
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x491f5a
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x491f24
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, 0x30
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 0x491f0d
mov eax, dword [eax + 4]
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 1]
test esi, ecx
jne 0x491f4e
and eax, ecx
shl eax, 2
add eax, dword [ebx]
jmp 0x491f0b
cmp eax, esi
jb 0x491f47
xor edx, edx
div esi
mov eax, edx
jmp 0x491f47
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0050ccb0
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x524068]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + eax]
cmp eax, 3
jae 0x491f9d
xor eax, eax
inc eax
jmp 0x491fa9
lea ebx, [eax - 1]
mov esi, eax
xor eax, eax
test esi, ebx
setne al
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov ebx, 2
cmp eax, 1
je 0x491fcb
lea ecx, [eax - 1]
test eax, ecx
je 0x491fc9
mov dword [esp], eax
call fcn.00458ad0
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 4]
cmp ebx, esi
jbe 0x492012
mov dword [esp], ebx
mov ecx, dword [ebp - 0x14]
call fcn.00433f00
sub esp, 4
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 4]
lea edx, [ecx - 1]
test ecx, edx
mov dword [ebp - 0x10], ecx
jne 0x491ffb
and edx, dword [ebp - 0x1c]
jmp 0x491efe
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x49200b
xor edx, edx
div ecx
jmp 0x491efe
mov edx, eax
jmp 0x491efe
jae 0x491fe3
mov eax, dword [ebp - 0x14]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x524070]
subsd xmm0, qword [0x524060]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0050ccb0
fstp dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x2c]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x524068]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x4920bc
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
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 0x4920bc
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 0x4920c4
mov dword [esp], edx
call fcn.00458ad0
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, esi
jb 0x491fd5
jmp 0x491fe3
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], 0x521354
call fcn.0044d640
nop
dec ebx
sbb eax, 490733641
dec ecx
add byte [edi], dh
sbb eax, 0x1d2e0049
dec ecx
add ah, cl
int3