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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, dword [esp + 0x40]
movzx edx, byte [esi]
test dl, 1
je 0x52761b
mov edx, dword [esi + 4]
mov esi, dword [esi + 8]
jmp 0x52761e
inc esi
shr edx, 1
mov eax, edx
mov edi, edx
mov ebx, esi
mov dword [esp + 0x18], edx
cmp edx, 4
jb 0x5276c2
mov ebx, dword [esp + 0x18]
lea edx, [ebx - 4]
test dl, 4
jne 0x527664
imul eax, dword [esi], 0x5bd1e995
mov edi, eax
shr edi, 0x18
xor edi, eax
imul edi, edi, 0x5bd1e995
imul eax, ebx, 0x5bd1e995
xor eax, edi
lea ebx, [esi + 4]
mov edi, edx
cmp edx, 4
jae 0x52766f
jmp 0x5276c2
mov edi, ebx
mov eax, ebx
mov ebx, esi
cmp edx, 4
jb 0x5276c2
mov edx, edi
nop word cs:[eax + eax]
imul edi, dword [ebx], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
imul edi, dword [ebx + 4], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ebx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x527680
cmp edx, 1
je 0x5276e3
cmp edx, 2
je 0x5276da
cmp edx, 3
jne 0x5276ee
movzx edx, byte [ebx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ebx + 1]
shl edx, 8
xor eax, edx
movzx edx, byte [ebx]
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov ebp, dword [ecx + 4]
test ebp, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], ebx
je 0x527755
mov eax, ebp
shr eax, 1
and eax, 0x55555555
mov edx, ebp
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esp + 0x20], eax
cmp eax, 1
ja 0x527762
lea edx, [ebp - 1]
and edx, ebx
jmp 0x52776e
mov dword [esp + 0x10], 0
jmp 0x527856
mov edx, ebx
cmp ebx, ebp
jb 0x52776e
mov eax, ebx
xor edx, edx
div ebp
mov eax, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x527856
mov edi, dword [eax]
test edi, edi
je 0x527856
lea eax, [ebp - 1]
mov dword [esp + 0x1c], eax
jmp 0x5277ae
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 0xc]
je 0x527856
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x5277e0
cmp dword [esp + 0x20], 1
ja 0x5277d0
and eax, dword [esp + 0x1c]
jmp 0x5277da
cmp eax, ebp
jb 0x5277da
xor edx, edx
div ebp
mov eax, edx
cmp eax, dword [esp + 0x10]
jne 0x527856
movzx edx, byte [edi + 8]
mov ecx, edx
shr ecx, 1
test dl, 1
mov ebx, dword [edi + 0xc]
mov eax, ebx
cmove eax, ecx
cmp eax, dword [esp + 0x18]
jne 0x5277a0
test dl, 1
jne 0x527830
xor eax, eax
cmp dl, 2
jb 0x527a91
nop dword [eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x5277a0
inc eax
cmp ecx, eax
jne 0x527810
jmp 0x52784f
test ebx, ebx
je 0x52784f
mov eax, dword [edi + 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x5277a0
xor eax, eax
jmp 0x527a91
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp], 0x20
call fcn.00420210
mov edi, eax
lea ecx, [eax + 8]
mov dword [esp], ebx
call fcn.00423570
sub esp, 4
lea ecx, [edi + 0x14]
mov dword [esp], esi
call fcn.00423570
sub esp, 4
mov eax, dword [esp + 0xc]
mov dword [edi + 4], eax
mov dword [edi], 0
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x5924b0]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test ebp, ebp
je 0x5278e3
movd xmm3, ebp
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x5278e3
mov edx, dword [esp + 0x10]
jmp 0x527a4c
lea eax, [ebp*2]
mov ebx, 1
cmp ebp, 3
jb 0x5278fe
lea ecx, [ebp - 1]
xor ebx, ebx
test ebp, ecx
setne bl
or ebx, eax
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.0053370c
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5924b8]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
cmp ebx, eax
cmova eax, ebx
mov ebp, 2
cmp eax, 1
mov ebx, dword [esp + 0x14]
je 0x527955
lea ecx, [eax - 1]
test eax, ecx
je 0x527953
mov dword [esp], eax
call fcn.00533740
mov ebp, eax
mov esi, dword [ebx + 4]
cmp ebp, esi
jbe 0x52796e
mov dword [esp], ebp
mov ecx, ebx
call fcn.00527aa0
sub esp, 4
jmp 0x527a2c
jae 0x527a2c
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x5924c0]
subsd xmm0, qword [0x5924b0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
movss dword [esp], xmm0
call fcn.0053370c
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x5924b8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x527a17
mov eax, esi
shr eax, 1
and eax, 0x55555555
mov ecx, esi
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x527a17
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov eax, 1
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x527a1f
mov dword [esp], edx
call fcn.00533740
cmp ebp, eax
cmovbe ebp, eax
cmp ebp, esi
jb 0x52795c
mov ebp, dword [ebx + 4]
lea edx, [ebp - 1]
test ebp, edx
jne 0x527a3c
and edx, dword [esp + 0xc]
jmp 0x527a4c
mov eax, dword [esp + 0xc]
cmp eax, ebp
jae 0x527a48
mov edx, eax
jmp 0x527a4c
xor edx, edx
div ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x527a5b
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x527a8a
lea eax, [ebx + 8]
mov esi, dword [eax]
mov dword [edi], esi
mov dword [eax], edi
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
test eax, eax
je 0x527a8c
mov eax, dword [eax + 4]
lea ecx, [ebp - 1]
test ebp, ecx
jne 0x527a7b
and eax, ecx
jmp 0x527a85
cmp eax, ebp
jb 0x527a85
xor edx, edx
div ebp
mov eax, edx
shl eax, 2
add eax, dword [ebx]
mov dword [eax], edi
inc dword [ebx + 0xc]
mov al, 1
movzx edx, al
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc