Function at 0x100f9040
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 0x100f923d
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 0x100f907d
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x100f90a5
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 0x100f9090
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 0x100f90fe
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x100f90f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f9271
mov eax, edx
push ecx
push eax
call fcn.100fa9c7
add esp, 8
mov byte [esi + 8], 0
push 0x24
mov dword [esi + 0x18], 0
push esi
mov dword [esi + 0x1c], 0xf
call fcn.100fa9c7
dec dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], eax
je 0x100f9155
cmp edi, ebx
jne 0x100f90c2
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
jne 0x100f9232
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 0x100f916b
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x100f916f
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp edi, ebx
je 0x100f9232
nop word [eax + eax]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
jb 0x100f918e
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100f91b1
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100f91a0
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 0x100f91fe
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x100f91f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f9271
mov eax, edx
push ecx
push eax
call fcn.100fa9c7
add esp, 8
mov byte [esi + 8], 0
push 0x24
mov dword [esi + 0x18], 0
push esi
mov dword [esi + 0x1c], 0xf
call fcn.100fa9c7
dec dword [ebp + 8]
add esp, 8
cmp ebx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
je 0x100f9247
cmp edi, ebx
jne 0x100f91c8
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 0x100f9180
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.10109b42
int3