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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x14], 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 [ebp - 0x10], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], ebx
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x1017dc2d
mov edx, esi
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x1017dc00
cmp edi, 1
jne 0x1017dc36
jmp 0x1017dc52
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x1017dc52
cmp edi, 2
je 0x1017dc49
cmp edi, 3
jne 0x1017dc5d
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 edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
xor ecx, ecx
test edi, edi
je 0x1017ddc8
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
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 [ebp - 0x24], eax
cmp eax, 1
ja 0x1017dcc6
mov eax, edx
lea edx, [edi - 1]
and edx, ebx
jmp 0x1017dcd7
mov eax, edx
mov edx, ebx
cmp ebx, edi
jb 0x1017dcd7
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1017ddc6
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x18]
test dl, dl
mov ecx, dword [ebp - 0x10]
cmovns ecx, edx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x1017ddc8
mov eax, dword [ebp - 0x20]
add eax, 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x1017dd38
and eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x1017ddc6
mov ebx, dword [ebx]
test ebx, ebx
je 0x1017ddc6
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x1017dd90
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1017dd4d
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1017dd2e
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1017dda8
cmp dword [ebp - 0x10], 0
je 0x1017ddc2
cmp byte [esi], dl
jne 0x1017dd2e
add eax, 0xffffffff
xor ecx, ecx
nop
nop
nop
cmp eax, ecx
je 0x1017ddc2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1017dd70
jmp 0x1017dd2e
cmp dword [ebp - 0x24], 1
jbe 0x1017dd20
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x1017dd23
xor edx, edx
div ecx
mov eax, edx
jmp 0x1017dd23
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1017ddc2
push eax
push esi
push ecx
call fcn.10216dd3
add esp, 0xc
test eax, eax
jne 0x1017dd2e
mov ecx, ebx
jmp 0x1017ddc8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8