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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac912
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100c9380]
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, 0x1020b848
call fcn.10038160
mov ecx, dword [0x10205750]
test ecx, ecx
je 0x1003650f
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003650f
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 0x100364d0
xor edx, edx
test ecx, ecx
je 0x100364f1
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100364e0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
call fcn.10037fd0
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 0x100364c0
mov ecx, dword [0x10205758]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1020575c]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
mov dword [0x101dcfec], eax
call fcn.1009d880
mov ecx, dword [0x10205788]
push 0
push 1
push str.Other_textures
mov eax, dword [ecx]
push str.dev_glow_edge_highlight
mov byte [0x10205b3c], 0
mov eax, dword [eax + 0x150]
call eax
mov ecx, dword [0x10205788]
push 0
mov dword [0x102063ac], 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 [0x10205788]
push 0
mov dword [0x102088f4], 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 [0x102063ac]
mov dword [0x1020b844], eax
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x102088f4]
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1020b844]
push 1
push 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, 0x102063b0
mov byte [0x10205b3c], 1
call fcn.1008d250
mov ecx, 0x101dec38
call fcn.100382e0
mov eax, dword [0x101dcfe0]
cmp eax, dword [0x101dcfe4]
je 0x1003660a
mov dword [0x101dcfe4], eax
mov ecx, dword [0x10205758]
mov byte [0x10200cf0], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [0x102057c4], edi
test edi, edi
je 0x10036845
mov eax, dword [0x10205bfc]
xor esi, esi
mov dword [0x10205bfc], esi
test eax, eax
je 0x1003667d
mov dword [ebp - 4], esi
lea esi, [eax - 4]
push 0x10021660
push dword [esi]
push 4
push eax
call fcn.100a9cea
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100a9bca
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edi, dword [0x102057c4]
mov esi, dword [0x10205bfc]
mov ecx, dword [0x10205bf4]
test ecx, ecx
je 0x1003669a
mov eax, dword [0x10205bf8]
mov dword [ecx], eax
mov edi, dword [0x102057c4]
mov esi, dword [0x10205bfc]
mov dword [0x10205bf8], 0
mov dword [0x10205c00], 0
mov byte [0x10205c04], 0
mov dword [0x10205bf4], edi
mov eax, dword [edi]
mov dword [0x10205bf8], eax
test eax, eax
je 0x100367e4
xor esi, esi
nop dword [eax]
mov eax, dword [0x10205bf8]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x100366ff
mov eax, dword [0x10200c50]
lea edx, [ebp - 0x2c]
push 0x1c
push edx
push ecx
call eax
test eax, eax
je 0x100366ff
mov eax, dword [ebp - 0x18]
test al, 1
jne 0x100366ff
test eax, 0x100
jne 0x100366ff
inc esi
jmp 0x100366d0
mov dword [ebp - 0x30], esi
mov dword [0x10205c00], esi
test esi, esi
je 0x100367de
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.100aa1d5
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 0x10021660
push 0x10021650
inc eax
push eax
push 4
push esi
call fcn.100aa161
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x10205bfc]
mov dword [0x10205bfc], esi
test eax, eax
je 0x100367a2
push 0x10021660
lea esi, [eax - 4]
mov dword [ebp - 4], 2
push dword [esi]
push 4
push eax
call fcn.100a9cea
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.100a9bca
mov esi, dword [0x10205bfc]
add esp, 8
test esi, esi
je 0x100367e4
mov eax, dword [0x10205c00]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [0x10205bf8]
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 [0x10205bfc]
mov byte [0x10205c04], 1
jmp 0x100367f9
mov esi, dword [0x10205bfc]
cmp byte [0x10205c04], 0
je 0x100367f4
mov eax, 0x2a
jmp 0x100367f9
mov eax, 0x29
cmp dword [0x10205bf8], 0
je 0x1003681b
test esi, esi
je 0x1003681b
cmp eax, dword [0x10205c00]
ja 0x1003681b
mov dword [esi + eax*4], 0x100985a0
mov esi, dword [0x10205bfc]
xor eax, eax
cmp byte [0x10205c04], al
setne al
add eax, 0x30
cmp dword [0x10205bf8], 0
je 0x10036845
test esi, esi
je 0x10036845
cmp eax, dword [0x10205c00]
ja 0x10036845
mov dword [esi + eax*4], 0x10098440
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.100a9bbc
mov esp, ebp
pop ebp
ret