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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a17a8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c0364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x1004b731
mov ebx, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x1004b751
nop dword [eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1004b740
push ecx
push str.CAMERA
mov ecx, edi
mov dword [ebp - 0x14], edx
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Plasma
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Magnet
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push 0x100ad6c4
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Particle
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Movie
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.DT_MaterialModifyControl
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.DT_ItemAssaultSuitUseable
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.DT_Item
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Prop
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push 0x100ad724
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Phys
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.phys
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Mesh
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.StaticProp
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.dword
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.dmodel_t
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.lump
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.test
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.TEST
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
push ecx
push str.Test
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
cmp esi, 4
jb 0x1004badc
push ecx
push str.DT_WeaponNegev
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004b965
push ecx
push str.DT_WeaponCSBase
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004b965
push ecx
push str.DT_Weapon
mov ecx, edi
call fcn.10031840
cmp eax, 0xffffffff
jne 0x1004badc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
cmp dword [eax + 4], 0
jle 0x1004badc
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
nop
mov ebx, dword [eax]
add ebx, ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], ebx
push dword [ebx]
mov esi, dword [ebx + 0x28]
call fcn.100274d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 4
jae 0x1004b9b8
push ecx
push 0x100ad7cc
lea ecx, [ebp - 0x30]
call fcn.10031840
cmp eax, 0xffffffff
je 0x1004ba80
test esi, esi
je 0x1004b9d5
cmp dword [esi + 4], 0
jle 0x1004b9d5
mov eax, dword [ebx + 0x2c]
mov ecx, 0x101cd7c0
add eax, dword [ebp + 0x10]
push eax
push esi
push edi
call fcn.1004b6f0
mov esi, dword [ebx]
xor eax, eax
mov ebx, 0x811c9dc5
nop
inc eax
cmp byte [eax + esi], 0
jne 0x1004b9e0
xor edx, edx
test eax, eax
je 0x1004ba01
nop dword [eax]
movsx ecx, byte [edx + esi]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, eax
jb 0x1004b9f0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
mov ecx, 0x101cd7e0
call fcn.1006d7f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.1006d8d0
cmp dword [eax + 8], 0
jne 0x1004ba80
lea eax, [ebp - 0x14]
mov ecx, 0x101cd7e0
push eax
call fcn.1006d7f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.1006d8d0
mov ecx, 0x101cd7e0
mov byte [eax], 0
lea eax, [ebp - 0x14]
push eax
call fcn.1006d7f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.1006d8d0
mov esi, dword [ebp - 0x40]
mov ecx, 0x101cd7e0
mov dword [eax + 4], esi
lea eax, [ebp - 0x14]
mov esi, dword [esi + 0x2c]
add esi, dword [ebp + 0x10]
push eax
call fcn.1006d7f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.1006d8d0
mov dword [eax + 8], esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x1004bab7
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004baad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bad6
push edx
push ecx
call fcn.1009d147
add esp, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
inc eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x3c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
cmp eax, dword [edx + 4]
jge 0x1004badc
mov eax, edx
jmp 0x1004b980
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009cc5f
mov esp, ebp
pop ebp
ret 0xc