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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0xc]
movzx ebx, byte [edi + 0xb]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
test bl, bl
mov dword [ebp - 0x18], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x2c], ebx
lea esi, [edi + ebx]
cmovs esi, edx
cmovs edi, eax
sub esi, edi
cmp esi, 4
jb 0x1c7b7fd
mov edx, edi
mov eax, esi
nop word [eax + 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 esi, 0xfffffffc
cmp esi, 3
ja 0x1c7b7d0
cmp esi, 1
jne 0x1c7b806
jmp 0x1c7b822
mov eax, esi
mov edx, edi
cmp esi, 1
je 0x1c7b822
cmp esi, 2
je 0x1c7b819
cmp esi, 3
jne 0x1c7b82d
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 esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 4]
test ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
je 0x1c7b898
mov ecx, ebx
shr ecx, 1
and ecx, 0x55555555
mov eax, ebx
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 - 0x28], eax
cmp eax, 1
ja 0x1c7b8a4
lea edx, [ebx - 1]
and edx, esi
mov ecx, ebx
jmp 0x1c7b8b5
mov dword [ebp - 0x14], 0xffffffff
jmp 0x1c7b987
mov edx, esi
cmp esi, ebx
mov ecx, ebx
jb 0x1c7b8b5
mov eax, esi
xor edx, edx
div ecx
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c7b987
mov ebx, dword [eax]
test ebx, ebx
je 0x1c7b987
lea eax, [ecx - 1]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x2c]
test cl, cl
mov eax, dword [ebp - 0x18]
cmovns eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x1c7b8fd
mov ebx, dword [ebx]
test ebx, ebx
mov esi, dword [ebp - 0x1c]
je 0x1c7b987
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x1c7b924
cmp dword [ebp - 0x28], 1
ja 0x1c7b910
and eax, dword [ebp - 0x24]
jmp 0x1c7b91d
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x1c7b91d
xor edx, edx
div ecx
mov eax, edx
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x1c7b987
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c7b931
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x1c7b8f0
lea ecx, [ebx + 8]
test al, al
jns 0x1c7b93f
mov ecx, dword [ecx]
js 0x1c7b961
xor ecx, ecx
cmp dword [ebp - 0x18], 0
je 0x1c7bbd5
nop dword [eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [edi + ecx]
jne 0x1c7b8f0
inc ecx
cmp eax, ecx
jne 0x1c7b950
jmp 0x1c7b980
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c7b980
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
call fcn.01cb1e9d
test eax, eax
jne 0x1c7b8f0
xor ecx, ecx
jmp 0x1c7bbd5
mov edi, dword [ebp + 0x10]
mov dword [esp], 0x18
call fcn.01cafad0
mov ebx, eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x10], eax
movsd xmm0, qword [edi]
movsd qword [ebx + 8], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x1ce59a8]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [edi + 0x10]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1c7ba1c
movd xmm3, esi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1c7ba1c
mov edx, dword [ebp - 0x14]
jmp 0x1c7bb89
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01cd9d90
fstp dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x34]
cvttss2si eax, xmm0
mov edx, eax
subss xmm0, dword [0x1ce59b0]
sar edx, 0x1f
cvttss2si ecx, xmm0
and ecx, edx
or ecx, eax
lea edx, [esi + esi]
mov eax, 1
cmp esi, 3
jb 0x1c7ba66
lea edi, [esi - 1]
xor eax, eax
test esi, edi
setne al
or eax, edx
cmp eax, ecx
cmovbe eax, ecx
mov edi, 2
cmp eax, 1
je 0x1c7ba88
lea ecx, [eax - 1]
test eax, ecx
je 0x1c7ba86
mov dword [esp], eax
call fcn.01c3ad5c
mov edi, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 4]
cmp edi, esi
ja 0x1c7bb57
jae 0x1c7bb65
mov eax, dword [ebp - 0x10]
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x1ce59c0]
subsd xmm0, qword [0x1ce59a8]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01cd9d90
fstp dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x30]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x1ce59b0]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp esi, 3
jb 0x1c7bb46
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 0x1c7bb46
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 0x1c7bb4e
mov dword [esp], edx
call fcn.01c3ad5c
cmp edi, eax
cmovbe edi, eax
cmp edi, esi
jae 0x1c7bb65
mov dword [esp], edi
mov ecx, dword [ebp - 0x10]
call fcn.01c39606
sub esp, 4
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
lea edx, [ecx - 1]
test ecx, edx
mov dword [ebp - 0x20], ecx
jne 0x1c7bb7a
and edx, dword [ebp - 0x1c]
jmp 0x1c7bb89
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x1c7bb85
mov edx, eax
jmp 0x1c7bb89
xor edx, edx
div ecx
mov ecx, dword [edi]
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x1c7bb98
mov ecx, dword [eax]
mov dword [ebx], ecx
jmp 0x1c7bbce
mov eax, dword [edi + 8]
mov dword [ebx], eax
lea eax, [edi + 8]
mov dword [edi + 8], ebx
mov dword [ecx + edx*4], eax
mov eax, dword [ebx]
test eax, eax
je 0x1c7bbd0
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
lea ecx, [edx - 1]
test edx, ecx
jne 0x1c7bbbd
and eax, ecx
jmp 0x1c7bbc9
cmp eax, edx
jb 0x1c7bbc9
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
shl eax, 2
add eax, dword [edi]
mov dword [eax], ebx
inc dword [edi + 0xc]
mov cl, 1
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], cl
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 0xc