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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100affa2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100cc380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1020e980
call fcn.10039ee0
mov ecx, dword [0x10208870]
test ecx, ecx
je 0x10037eaf
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10037eaf
nop dword [eax]
mov ecx, dword [eax + 0x14]
mov esi, 0x811c9dc5
mov edi, dword [eax + 8]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10037e70
xor edx, edx
test ecx, ecx
je 0x10037e91
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10037e80
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
call fcn.10039d50
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x10037e60
mov ecx, dword [0x10208878]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1020887c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x101dffec], eax
call fcn.100a0e80
mov ecx, dword [0x102088a8]
push 0
push 1
push str.Other_textures
mov eax, dword [ecx]
push str.dev_glow_edge_highlight
mov byte [0x10208c5c], 0
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x102088a8]
push 0
mov dword [0x1020ba2c], eax
push 1
mov eax, dword [ecx]
push str.Other_textures
push str.dev_glow_color
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x102088a8]
push 0
mov dword [0x1020e97c], eax
push 1
mov eax, dword [ecx]
push str.Other_textures
push str.dev_glow_health_color
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x1020ba2c]
mov dword [0x1020ebcc], eax
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1020e97c]
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1020ebcc]
push 1
push 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, 0x102094e8
mov byte [0x10208c5c], 1
call fcn.100907d0
mov ecx, 0x101e1d3c
call fcn.1003a060
mov eax, dword [0x101dffe0]
cmp eax, dword [0x101dffe4]
je 0x10037faa
mov dword [0x101dffe4], eax
mov ecx, dword [0x10208878]
mov byte [0x10203e10], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x102088e4], edi
test edi, edi
je 0x100381e5
mov eax, dword [0x10208d1c]
xor esi, esi
mov dword [0x10208d1c], esi
test eax, eax
je 0x1003801d
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push 0x10022a60
push dword [esi]
push 4
push eax
call fcn.100ad2ea
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ad1ca
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x102088e4]
mov esi, dword [0x10208d1c]
mov ecx, dword [0x10208d14]
test ecx, ecx
je 0x1003803a
mov eax, dword [0x10208d18]
mov dword [ecx], eax
mov edi, dword [0x102088e4]
mov esi, dword [0x10208d1c]
mov dword [0x10208d18], 0
mov dword [0x10208d20], 0
mov byte [0x10208d24], 0
mov dword [0x10208d14], edi
mov eax, dword [edi]
mov dword [0x10208d18], eax
test eax, eax
je 0x10038184
xor esi, esi
nop dword [eax]
mov eax, dword [0x10208d18]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x1003809f
mov eax, dword [0x10203d70]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x1003809f
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x1003809f
test eax, 0x100
jne 0x1003809f
inc esi
jmp 0x10038070
mov dword [ebp - 0x30], esi
mov dword [0x10208d20], esi
test esi, esi
je 0x1003817e
inc esi
mov ecx, 4
mov eax, esi
mov dword [ebp - 0x34], esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
add eax, 4
cmovb eax, ecx
push eax
call fcn.100ad7da
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
mov dword [eax], esi
lea esi, [eax + 4]
mov eax, dword [ebp - 0x30]
push 0x10022a60
push 0x10022a50
inc eax
push eax
push 4
push esi
call fcn.100ad761
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10208d1c]
mov dword [0x10208d1c], esi
test eax, eax
je 0x10038142
push 0x10022a60
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push dword [esi]
push 4
push eax
call fcn.100ad2ea
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100ad1ca
mov esi, dword [0x10208d1c]
add esp, 8
test esi, esi
je 0x10038184
mov eax, dword [0x10208d20]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x10208d18]
add eax, 0xfffffffc
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, 0x2a
add esi, 4
mov dword [edi], esi
mov esi, dword [0x10208d1c]
mov byte [0x10208d24], 1
jmp 0x10038199
mov esi, dword [0x10208d1c]
cmp byte [0x10208d24], 0
je 0x10038194
mov eax, 0x2a
jmp 0x10038199
mov eax, 0x29
cmp dword [0x10208d18], 0
je 0x100381bb
test esi, esi
je 0x100381bb
cmp eax, dword [0x10208d20]
ja 0x100381bb
mov dword [esi + eax*4], 0x1009b990
mov esi, dword [0x10208d1c]
xor eax, eax
cmp byte [0x10208d24], al
setne al
add eax, 0x30
cmp dword [0x10208d18], 0
je 0x100381e5
test esi, esi
je 0x100381e5
cmp eax, dword [0x10208d20]
ja 0x100381e5
mov dword [esi + eax*4], 0x1009b830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ad1bc
mov esp, ebp
pop ebp
ret