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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016155d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10d412c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp ecx, eax
je 0x1001d6fe
mov edx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x24], edx
mov edi, ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
lea edx, [ecx + 8]
cmp dword [edx + 0x14], 0xf
mov eax, dword [ecx + 4]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x1c], eax
jbe 0x1001d666
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1001d682
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1001d671
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
nop
mov esi, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x38], edi
sete bl
mov dword [ebp - 0x28], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 0
call fcn.1000f600
push 0x24
push esi
call fcn.1011507c
mov ecx, dword [ebp - 0x18]
add esp, 8
dec dword [ecx + 8]
test bl, bl
jne 0x1001d712
mov eax, edi
cmp eax, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
jne 0x1001d6a0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x1001d6ec
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
jne 0x1001d724
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x1001d727
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
cmp edi, dword [ebp + 0xc]
je 0x1001d6ec
nop
cmp dword [edi + 0x1c], 0xf
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x1001d73e
mov edx, dword [edx]
xor eax, eax
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1001d761
nop dword [eax]
movzx ecx, byte [edx + eax]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, ebx
jb 0x1001d750
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov esi, edi
cmp edi, eax
mov eax, dword [edi]
mov edi, eax
mov dword [ebp - 0x38], edi
sete bl
mov dword [ebp - 0x14], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 0
call fcn.1000f600
push 0x24
push esi
call fcn.1011507c
mov eax, dword [ebp - 0x18]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x1001d7bd
mov eax, dword [ebp + 0xc]
cmp edi, eax
je 0x1001d6e7
mov eax, dword [ebp - 0x1c]
jmp 0x1001d778
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
mov dword [eax], esi
mov dword [eax + 4], esi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x14], eax
jne 0x1001d730
jmp 0x1001d6ec