Function at 0x4b88b0
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 - 0x10], ecx
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + 0xb]
mov eax, ecx
test edx, edx
jns 0x4b88ce
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, edx
cmp edx, 4
jb switch.0x004b88fb
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja case.default.0x4b88fb
jmp dword [edx*4 + 0x4b8cc8]
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov edx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
mov dword [ebp - 0x14], ecx
mov esi, dword [edx + 4]
test esi, esi
jne 0x4b8a9e
xor ebx, ebx
dec ebx
mov dword [esp], 0x18
call fcn.005c5789
test eax, eax
je 0x4b8a9c
mov edi, eax
mov eax, dword [ebp + 0x14]
mov dword [edi], 0
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], ecx
mov ecx, edi
add ecx, 8
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
js 0x4b8be4
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov byte [edi + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
inc eax
movq xmm2, qword [0x78b590]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x10]
test esi, esi
je 0x4b89ce
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
jbe 0x4b8b9d
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si eax, xmm0
mov edx, eax
sar edx, 0x1f
subss xmm0, dword [0x78b598]
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
cmp esi, 3
jae 0x4b8bd5
xor eax, eax
inc eax
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov ebx, 2
cmp eax, 1
jne 0x4b8b74
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 4]
cmp ebx, esi
jbe 0x4b8bfd
mov dword [esp], ebx
call fcn.004b8ce0
sub esp, 4
mov ecx, dword [ebp - 0x10]
mov esi, dword [ecx + 4]
lea ebx, [esi - 1]
test esi, ebx
jne 0x4b8b8a
and ebx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + ebx*4]
test eax, eax
jne 0x4b8bc7
mov eax, dword [ecx + 8]
mov dword [edi], eax
lea eax, [ecx + 8]
mov dword [ecx + 8], edi
mov dword [edx + ebx*4], eax
mov eax, dword [edi]
test eax, eax
jne 0x4b8ba5
inc dword [ecx + 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
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
jmp case.0x4b88fb.2
ud2
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
mov dword [ebp - 0x20], eax
cmp eax, 1
jbe 0x4b8af0
mov eax, dword [ebp - 0x14]
mov ebx, eax
cmp eax, esi
jb 0x4b8af6
mov eax, dword [ebp - 0x14]
xor edx, edx
div esi
mov ebx, edx
jmp 0x4b8af6
lea ebx, [esi - 1]
and ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4b893e
mov edi, dword [eax]
test edi, edi
je 0x4b893e
lea eax, [esi - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x1c], eax
jmp 0x4b8b47
lea eax, [edi + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x1c]
call fcn.005371d0
sub esp, 8
test al, al
jne 0x4b8b6d
mov edi, dword [edi]
test edi, edi
je 0x4b893e
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x14]
je 0x4b8b21
cmp dword [ebp - 0x20], 1
ja 0x4b8b61
and eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4b8b3d
jmp 0x4b893e
cmp eax, esi
jb 0x4b8b58
xor edx, edx
div esi
mov eax, edx
jmp 0x4b8b58
xor ecx, ecx
jmp 0x4b8a7c
lea ecx, [eax - 1]
test eax, ecx
je 0x4b8b83
mov dword [esp], eax
call fcn.00544ab0
mov ebx, eax
jmp 0x4b8a25
cmp dword [ebp - 0x14], esi
jb 0x4b8b9a
mov eax, dword [ebp - 0x14]
xor edx, edx
div esi
mov ebx, edx
jmp 0x4b8b9d
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
jmp 0x4b8a52
mov eax, dword [eax + 4]
lea ecx, [esi - 1]
test esi, ecx
je 0x4b8bbb
cmp eax, esi
jb 0x4b8bbd
xor edx, edx
div esi
mov eax, edx
jmp 0x4b8bbd
and eax, ecx
shl eax, 2
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
jmp 0x4b8bcb
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [eax], edi
mov ecx, dword [ebp - 0x10]
jmp 0x4b8a77
lea ebx, [esi - 1]
xor eax, eax
test esi, ebx
setne al
jmp 0x4b8a10
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005493c0
sub esp, 8
jmp 0x4b8982
jae 0x4b8a41
movss xmm0, dword [ecx + 0xc]
orpd xmm0, xmmword [0x78b5a0]
subsd xmm0, qword [0x78b590]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ecx + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.005f8570
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x78b598]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x4b8ca8
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 0x4b8ca8
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 0x4b8cb0
mov dword [esp], edx
call fcn.00544ab0
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, esi
mov ecx, dword [ebp - 0x10]
jb 0x4b8a33
jmp 0x4b8a41