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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp], ecx
mov esi, dword [esp + 0x30]
movzx eax, byte [esi]
test al, 1
je 0x53c96d
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
jmp 0x53c970
inc esi
shr eax, 1
mov edi, eax
mov ecx, esi
mov edx, eax
mov dword [esp + 0xc], eax
cmp eax, 4
jb 0x53ca12
mov eax, dword [esp + 0xc]
lea edx, [eax - 4]
test dl, 4
jne 0x53c9b8
mov edi, eax
imul eax, dword [esi], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, edi, 0x5bd1e995
xor eax, ecx
lea ecx, [esi + 4]
mov edi, edx
cmp edx, 4
jae 0x53c9c1
jmp 0x53ca12
mov edi, eax
mov ecx, esi
cmp edx, 4
jb 0x53ca12
mov edx, edi
nop word cs:[eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
imul edi, dword [ecx + 4], 0x5bd1e995
mov ebp, edi
shr ebp, 0x18
xor ebp, edi
imul edi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x53c9d0
cmp edx, 1
je 0x53ca33
cmp edx, 2
je 0x53ca2a
cmp edx, 3
jne 0x53ca3e
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 ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, dword [esp]
mov ebp, dword [eax + 4]
test ebp, ebp
mov dword [esp + 4], ebx
je 0x53caa0
mov eax, ebp
shr eax, 1
and eax, 0x55555555
mov ecx, ebp
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 ecx, eax, 0x1010101
shr ecx, 0x18
cmp ecx, 1
ja 0x53caa5
lea edx, [ebp - 1]
and edx, ebx
jmp 0x53cab5
jmp 0x53cc09
mov edx, ebx
cmp ebx, ebp
jb 0x53cab5
mov eax, ebx
xor edx, edx
div ebp
mov ebx, dword [esp + 4]
mov eax, dword [esp]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x53cc09
mov edi, dword [eax]
test edi, edi
je 0x53cc09
cmp ecx, 2
jae 0x53cb08
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
jmp 0x53cba4
cmp eax, dword [esp + 8]
jne 0x53cc09
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53cc09
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53cb60
movzx edx, byte [edi + 8]
mov ecx, edx
shr ecx, 1
test dl, 1
mov eax, dword [edi + 0xc]
mov ebx, eax
cmove ebx, ecx
cmp ebx, dword [esp + 0xc]
jne 0x53cafa
test dl, 1
jne 0x53cb6c
xor eax, eax
cmp dl, 2
jb 0x53ce7a
nop dword [eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53cafa
inc eax
cmp ecx, eax
jne 0x53cb40
jmp 0x53cc02
cmp eax, ebp
jb 0x53caf0
xor edx, edx
div ebp
mov eax, edx
jmp 0x53caf0
push eax
push esi
push dword [edi + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53cafa
jmp 0x53cc02
and eax, dword [esp + 0x10]
cmp eax, dword [esp + 8]
jne 0x53cc09
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53cc09
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53cb90
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 + 0xc]
jne 0x53cb9a
test dl, 1
jne 0x53cbf1
xor eax, eax
cmp dl, 2
jb 0x53ce7a
nop word cs:[eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53cb9a
inc eax
cmp ecx, eax
jne 0x53cbe0
jmp 0x53cc02
push ebx
push esi
push dword [edi + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53cb9a
xor eax, eax
jmp 0x53ce7a
mov esi, dword [esp + 0x34]
push 0x14
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
movsd xmm0, qword [esi]
movsd qword [eax + 8], xmm0
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov eax, dword [esp + 4]
mov dword [edi + 4], eax
mov dword [edi], 0
mov ebx, dword [esp]
mov eax, dword [ebx + 0xc]
inc eax
movq xmm2, qword [0x56b600]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ebx + 0x10]
test ebp, ebp
je 0x53cca7
movd xmm3, ebp
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x53cca7
mov edx, dword [esp + 8]
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x53ce18
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x53ce73
lea eax, [ebp*2]
mov ebx, 1
cmp ebp, 3
jb 0x53ccc2
lea ecx, [ebp - 1]
xor ebx, ebx
test ebp, ecx
setne bl
or ebx, eax
divss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.0054b0b4
add esp, 4
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x56b608]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
cmp ebx, eax
cmova eax, ebx
mov esi, 2
cmp eax, 1
mov ebx, dword [esp]
je 0x53cd1f
lea ecx, [eax - 1]
test eax, ecx
je 0x53cd1d
push eax
call fcn.00550f30
add esp, 4
mov esi, eax
mov ebp, dword [ebx + 4]
cmp esi, ebp
jbe 0x53cd2e
mov ebx, dword [esp]
jmp 0x53cdf5
mov ebx, dword [esp]
jae 0x53cdfd
movss xmm0, dword [ebx + 0xc]
orpd xmm0, xmmword [0x56b610]
subsd xmm0, qword [0x56b600]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [ebx + 0x10]
sub esp, 4
movss dword [esp], xmm0
call fcn.0054b0b4
add esp, 4
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x56b608]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp ebp, 3
jb 0x53cde0
mov eax, ebp
shr eax, 1
and eax, 0x55555555
mov ecx, ebp
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 0x53cde0
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 0x53cde9
push edx
call fcn.00550f30
add esp, 4
cmp esi, eax
cmovbe esi, eax
cmp esi, ebp
mov ebx, dword [esp]
jae 0x53cdfd
mov ecx, ebx
push esi
call fcn.0053ce90
mov ebp, dword [ebx + 4]
lea edx, [ebp - 1]
test ebp, edx
jne 0x53ce38
and edx, dword [esp + 4]
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53cc9e
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 0x53ce75
mov eax, dword [eax + 4]
lea ecx, [ebp - 1]
test ebp, ecx
jne 0x53ce64
and eax, ecx
jmp 0x53ce6e
mov eax, dword [esp + 4]
cmp eax, ebp
jae 0x53ce51
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53cc9e
jmp 0x53ce18
xor edx, edx
div ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53cc9e
jmp 0x53ce18
cmp eax, ebp
jb 0x53ce6e
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, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8