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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
push dword [esp + 0x40]
mov ebp, ecx
mov dword [esp + 0x20], 0
push dword [esp + 0x40]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.100011e0
cmp dword [esp + 0x30], 0x10
lea esi, [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov edx, 0x811c9dc5
cmovae esi, dword [esp + 0x1c]
xor ecx, ecx
test edi, edi
je 0x100a4c54
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x100a4c43
push edx
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1009b940
lea ebx, [ebp + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x100a4ce0
cmp esi, dword [ebx]
je 0x100a4ce0
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [esi + 0x20]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov dword [eax], ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x30]
cmp ecx, 0x10
jb 0x100a4cd4
mov edx, dword [esp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a4cca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a4e3a
push ecx
push edx
call fcn.10174919
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x40]
push edx
push dword [esp + 0x40]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1a8]
test eax, eax
jns 0x100a4d13
mov esi, dword [esp + 0x38]
push eax
push str.Failed_to_create_shader__result:_0x_X.
push 0x505
push esi
call fcn.101314c0
add esp, 0x10
jmp 0x100a4c9e
cmp dword [ebp + 8], 0x64
jb 0x100a4dc0
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100a4d35
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x20], 0
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
cmp dword [eax + 0x1c], 0x10
lea esi, [eax + 8]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
jb 0x100a4d4f
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ecx, ecx
je 0x100a4d75
mov ebp, dword [esp + 0x3c]
nop
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebp
jb 0x100a4d60
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
and edx, edi
lea edx, [ecx + edx*8]
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x100a4d9e
cmp ecx, eax
jne 0x100a4d96
mov ecx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], ecx
jmp 0x100a4da6
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x100a4da6
cmp ecx, eax
jne 0x100a4da6
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [ebx + 4]
mov ecx, dword [eax + 4]
push eax
push ebx
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.1009baa0
add esp, 8
mov eax, dword [esp + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.1009bc60
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp ecx, 0x10
jb 0x100a4cd4
mov edx, dword [esp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100a4cca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100a4cca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3