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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, ecx
cmp eax, ebx
je 0x100d490d
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [esp + 0x14], ecx
mov edi, eax
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], ecx
jb 0x100d474d
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x100d4775
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100d4760
mov ebx, dword [esp + 0x34]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov esi, edi
mov dword [esp + 0x28], edi
mov edi, dword [edi]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x10
jb 0x100d47ce
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x100d47c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4941
mov eax, edx
push ecx
push eax
call fcn.1011c1c8
add esp, 8
mov byte [esi + 8], 0
push 0x24
mov dword [esi + 0x18], 0
push esi
mov dword [esi + 0x1c], 0xf
call fcn.1011c1c8
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x100d4825
cmp edi, ebx
jne 0x100d4792
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jne 0x100d4902
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
pop esi
mov dword [ecx], edi
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x30]
jne 0x100d483b
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x100d483f
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp edi, ebx
je 0x100d4902
nop word [eax + eax]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jb 0x100d485e
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100d4881
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100d4870
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
mov esi, edi
mov ebx, edi
mov edi, dword [edi]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x10
jb 0x100d48ce
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x100d48c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d4941
mov eax, edx
push ecx
push eax
call fcn.1011c1c8
add esp, 8
mov byte [esi + 8], 0
push 0x24
mov dword [esi + 0x18], 0
push esi
mov dword [esi + 0x1c], 0xf
call fcn.1011c1c8
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
je 0x100d4917
cmp edi, ebx
jne 0x100d4898
mov eax, dword [esp + 0x30]
mov dword [eax], edi
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov dword [eax], esi
mov dword [eax + 4], esi
cmp edi, ebx
jne 0x100d4850
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, ebx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret 8
call fcn.10120cee
int3