Function at 0x671740
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 0x10000001
jae 0x6718d6
mov edx, ecx
add eax, dword [0x889b1c]
mov ecx, dword [0x889b50]
add eax, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [edx + 0xc]
mov ebx, dword [edx + 4]
mov edi, edx
mov edx, 2
shl edx, cl
mov ecx, eax
push ebx
push edx
call fcn.00671980
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov dword [esp + 0xc], edi
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, ebx
je 0x6718cc
mov dword [esp + 8], ebx
jmp 0x6717d6
nop
mov dword [edx + eax*4], ecx
mov dword [edx + ebp*4], ecx
mov esi, dword [esp]
mov ebx, dword [esp + 8]
cmp esi, ebx
je 0x6718cc
mov ecx, esi
mov eax, dword [esi]
mov dword [esp], eax
movzx edx, byte [esi + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [esi + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul esi, esi, 0x1000193
mov edx, dword [esp + 0xc]
and esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea eax, [esi + esi]
lea ebp, [esi*2 + 1]
mov edi, dword [edx + esi*8]
cmp edi, ebx
je 0x6717c0
nop
mov dword [esp + 4], eax
mov esi, dword [edx + ebp*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [esi + 8]
je 0x671870
nop dword [eax]
cmp edi, esi
je 0x6718a2
mov esi, dword [esi + 4]
cmp ebx, dword [esi + 8]
jne 0x671840
mov edx, dword [esi]
mov esi, dword [ecx + 4]
mov eax, dword [esp]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov esi, eax
mov dword [ecx + 4], ebx
jmp 0x6717ca
mov esi, dword [esi]
cmp esi, ecx
je 0x671899
mov edi, dword [ecx + 4]
mov dword [esp + 4], edi
mov eax, dword [esp]
mov dword [edi], eax
mov ebx, dword [eax + 4]
mov dword [ebx], esi
mov edi, dword [esi + 4]
mov dword [edi], ecx
mov dword [esi + 4], ebx
mov esi, dword [esp + 4]
mov dword [eax + 4], esi
mov dword [ecx + 4], edi
nop
mov dword [edx + ebp*4], ecx
jmp 0x6717c7
mov edi, dword [ecx + 4]
mov eax, dword [esp]
mov dword [edi], eax
mov ebx, dword [eax + 4]
mov dword [ebx], esi
mov ebp, dword [esi + 4]
mov dword [ebp], ecx
mov dword [esi + 4], ebx
mov esi, eax
mov dword [eax + 4], edi
mov dword [ecx + 4], ebp
mov eax, dword [esp + 4]
mov dword [edx + eax*4], ecx
jmp 0x6717ca
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
nop
movzx eax, byte [0x8697da]
cmp al, 0x3e
je 0x67196b
mov cl, 0x1c
nop dword [eax + eax]
mov al, 0x34
lock cmpxchg byte [0x8697da], cl
je 0x671902
cmp al, 0x3e
jne 0x6718f0
jmp 0x67196b
mov esi, 0xffffffe6
lea edi, [0x84dde58]
mov ecx, 0xf8308930
lea ebx, [0x84dde59]
mov ebp, 0x4ec4ec4f
nop dword [eax]
mov eax, ecx
mul ebp
shr edx, 3
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
add eax, edx
movzx edx, byte [esi + 0x8697da]
xor dl, byte [ebx + eax]
xor dl, 0xf3
mov byte [esi + 0x8697da], dl
movzx edx, byte [esi + 0x8697db]
xor dl, byte [edi + eax]
xor dl, 0xf3
mov byte [esi + 0x8697db], dl
add edi, 0xfffffffe
add ecx, 2
add ebx, 0xfffffffe
add esi, 2
jne 0x671920
mov al, 0x3e
xchg byte [0x8697da], al
nop
push 0x8697c0
call fcn.0071b56a
int3