Function at 0x53b640
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 0x53b65d
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
jmp 0x53b660
inc esi
shr eax, 1
mov edi, eax
mov ecx, esi
mov edx, eax
mov dword [esp + 0xc], eax
cmp eax, 4
jb 0x53b702
mov eax, dword [esp + 0xc]
lea edx, [eax - 4]
test dl, 4
jne 0x53b6a8
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 0x53b6b1
jmp 0x53b702
mov edi, eax
mov ecx, esi
cmp edx, 4
jb 0x53b702
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 0x53b6c0
cmp edx, 1
je 0x53b723
cmp edx, 2
je 0x53b71a
cmp edx, 3
jne 0x53b72e
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 0x53b790
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 0x53b795
lea edx, [ebp - 1]
and edx, ebx
jmp 0x53b7a5
jmp 0x53b8f9
mov edx, ebx
cmp ebx, ebp
jb 0x53b7a5
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 0x53b8f9
mov edi, dword [eax]
test edi, edi
je 0x53b8f9
cmp ecx, 2
jae 0x53b7f8
lea eax, [ebp - 1]
mov dword [esp + 0x10], eax
jmp 0x53b894
cmp eax, dword [esp + 8]
jne 0x53b8f9
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53b8f9
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53b850
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 0x53b7ea
test dl, 1
jne 0x53b85c
xor eax, eax
cmp dl, 2
jb 0x53bb77
nop dword [eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53b7ea
inc eax
cmp ecx, eax
jne 0x53b830
jmp 0x53b8f2
cmp eax, ebp
jb 0x53b7e0
xor edx, edx
div ebp
mov eax, edx
jmp 0x53b7e0
push eax
push esi
push dword [edi + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53b7ea
jmp 0x53b8f2
and eax, dword [esp + 0x10]
cmp eax, dword [esp + 8]
jne 0x53b8f9
mov edi, dword [edi]
test edi, edi
mov ebx, dword [esp + 4]
je 0x53b8f9
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x53b880
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 0x53b88a
test dl, 1
jne 0x53b8e1
xor eax, eax
cmp dl, 2
jb 0x53bb77
nop word cs:[eax + eax]
movzx edx, byte [edi + eax + 9]
cmp dl, byte [esi + eax]
jne 0x53b88a
inc eax
cmp ecx, eax
jne 0x53b8d0
jmp 0x53b8f2
push ebx
push esi
push dword [edi + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x53b88a
xor eax, eax
jmp 0x53bb77
mov esi, dword [esp + 0x34]
push 0x14
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov dword [eax], 0
mov eax, dword [esp + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [edi + 8], xmm0
xorps xmm0, xmm0
movsd qword [esi], xmm0
mov dword [esi + 8], 0
mov esi, dword [esp]
mov eax, dword [esi + 0xc]
inc eax
movq xmm2, qword [0x5657f0]
movd xmm0, eax
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
test ebp, ebp
je 0x53b991
movd xmm3, ebp
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x53b991
mov edx, dword [esp + 8]
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x53bb11
mov ecx, dword [eax]
mov dword [edi], ecx
jmp 0x53bb70
lea eax, [ebp*2]
mov ebx, 1
cmp ebp, 3
jb 0x53b9ac
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.00549cec
add esp, 4
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x5657f8]
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 0x53ba09
lea ecx, [eax - 1]
test eax, ecx
je 0x53ba07
push eax
call fcn.0054ab3a
add esp, 4
mov esi, eax
mov ebx, dword [ebx + 4]
cmp esi, ebx
jbe 0x53ba1e
mov ecx, dword [esp]
push esi
call fcn.0053bb90
jmp 0x53baf3
jae 0x53baf3
mov eax, dword [esp]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x565800]
subsd xmm0, qword [0x5657f0]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
sub esp, 4
movss dword [esp], xmm0
call fcn.00549cec
add esp, 4
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x5657f8]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp ebx, 3
jb 0x53badd
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov ecx, ebx
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 0x53badd
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov eax, 1
shl eax, cl
cmp edx, 2
cmovb eax, edx
cmp esi, eax
cmovbe esi, eax
cmp esi, ebx
jb 0x53ba10
jmp 0x53baf3
push edx
call fcn.0054ab3a
add esp, 4
cmp esi, eax
cmovbe esi, eax
cmp esi, ebx
jb 0x53ba10
mov esi, dword [esp]
mov ebp, dword [esi + 4]
lea edx, [ebp - 1]
test ebp, edx
jne 0x53bb35
and edx, dword [esp + 4]
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b988
lea eax, [esi + 8]
mov ebx, esi
mov esi, dword [eax]
mov dword [edi], esi
mov esi, ebx
mov dword [eax], edi
mov dword [ecx + edx*4], eax
mov eax, dword [edi]
test eax, eax
je 0x53bb72
mov eax, dword [eax + 4]
lea ecx, [ebp - 1]
test ebp, ecx
jne 0x53bb61
and eax, ecx
jmp 0x53bb6b
mov eax, dword [esp + 4]
cmp eax, ebp
jae 0x53bb4e
mov edx, eax
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b988
jmp 0x53bb11
xor edx, edx
div ebp
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
jne 0x53b988
jmp 0x53bb11
cmp eax, ebp
jb 0x53bb6b
xor edx, edx
div ebp
mov eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], edi
inc dword [esi + 0xc]
mov al, 1
movzx edx, al
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8