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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0xc], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [esp + 8], ecx
lea edx, [eax + ecx]
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
mov dword [esp + 0x24], ebx
jb 0x1c5dcfd
mov edx, esi
mov eax, edi
nop dword [eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x1c5dcd0
cmp edi, 1
jne 0x1c5dd06
jmp 0x1c5dd22
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x1c5dd22
cmp edi, 2
je 0x1c5dd19
cmp edi, 3
jne 0x1c5dd2d
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
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 + 0xc]
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 4], edi
mov dword [esp + 0x10], ebx
je 0x1c5dd98
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov ecx, edi
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
mov dword [esp + 0x28], eax
cmp eax, 1
ja 0x1c5dda5
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c5ddb1
mov dword [esp + 0x14], 0xffffffff
jmp 0x1c5de9b
mov edx, ebx
cmp ebx, edi
jb 0x1c5ddb1
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c5de9b
mov ebx, dword [eax]
test ebx, ebx
je 0x1c5de9b
mov eax, dword [esp + 4]
add eax, 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
test cl, cl
mov eax, dword [esp + 8]
cmovns eax, ecx
mov dword [esp + 8], eax
jmp 0x1c5ddfa
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c5de9b
mov eax, dword [ebx + 4]
cmp eax, dword [esp + 0x10]
je 0x1c5de24
cmp dword [esp + 0x28], 1
ja 0x1c5de10
and eax, dword [esp + 0x20]
jmp 0x1c5de1e
mov ecx, dword [esp + 4]
cmp eax, ecx
jb 0x1c5de1e
xor edx, edx
div ecx
mov eax, edx
cmp eax, dword [esp + 0x14]
jne 0x1c5de9b
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c5de31
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [esp + 8]
jne 0x1c5ddf0
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c5de79
cmp dword [esp + 8], 0
je 0x1c5de94
cmp byte [esi], dl
jne 0x1c5ddf0
add eax, 0xffffffff
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, ecx
je 0x1c5de94
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c5de60
jmp 0x1c5ddf0
mov eax, dword [esp + 8]
test eax, eax
je 0x1c5de94
push eax
push esi
push ecx
call fcn.01c955ed
add esp, 0xc
test eax, eax
jne 0x1c5ddf0
xor ecx, ecx
jmp 0x1c5dff3
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.01c92a8c
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [esi]
movsd qword [ebx + 8], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
add eax, 1
movd xmm0, eax
movq xmm2, qword [0x1cbd410]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov edi, dword [esp + 4]
test edi, edi
je 0x1c5df31
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1c5df31
mov edx, dword [esp + 0x14]
jmp 0x1c5dfa7
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.01ca8ec0
add esp, 8
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fisttp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [edi + edi]
mov edx, 1
cmp edi, 3
jb 0x1c5df74
lea esi, [edi - 1]
xor edx, edx
test edi, esi
mov esi, dword [esp + 0xc]
setne dl
or edx, ecx
cmp edx, eax
cmovb edx, eax
mov ecx, esi
push edx
call fcn.01c570d0
mov ecx, dword [esi + 4]
lea edx, [ecx - 1]
test ecx, edx
mov dword [esp + 4], ecx
jne 0x1c5df97
and edx, dword [esp + 0x10]
jmp 0x1c5dfa7
mov eax, dword [esp + 0x10]
cmp eax, ecx
jae 0x1c5dfa3
mov edx, eax
jmp 0x1c5dfa7
xor edx, edx
div ecx
mov ecx, dword [esi]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1c5dfb6
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x1c5dfeb
mov eax, dword [esi + 8]
mov dword [ebx], eax
lea eax, [esi + 8]
mov dword [esi + 8], ebx
mov dword [ecx + edx*4], eax
mov eax, dword [ebx]
test eax, eax
je 0x1c5dfed
mov eax, dword [eax + 4]
mov edi, dword [esp + 4]
lea ecx, [edi - 1]
test edi, ecx
jne 0x1c5dfdc
and eax, ecx
jmp 0x1c5dfe6
cmp eax, edi
jb 0x1c5dfe6
xor edx, edx
div edi
mov eax, edx
shl eax, 2
add eax, dword [esi]
mov dword [eax], ebx
add dword [esi + 0xc], 1
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc