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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1028fad0]
push esi
push edi
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je case.0x1005454a.5
mov eax, dword [0x1028fa80]
test al, 1
jne 0x10054259
or eax, 1
mov dword [ebp - 0x30], 0
push 0x16
mov dword [0x1028fa80], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_iHealth
mov dword [ebp - 0xc], eax
vmovdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10005c60
cmp dword [ebp - 0x2c], 0xf
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x30], edx
jbe 0x10054202
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x100541f0
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10054551
add eax, 0x20
mov dword [0x1028fa70], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10054259
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005424f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005451e
push ecx
push esi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fa70]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [ecx + eax], 0
jle case.0x1005454a.5
mov eax, dword [0x1028fa58]
test al, 1
jne 0x1005433c
or eax, 1
mov dword [ebp - 0x30], 0
push 0x18
mov dword [0x1028fa58], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBasePlayer__m_lifeState
mov dword [ebp - 0xc], eax
vmovdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10005c60
cmp dword [ebp - 0x2c], 0xf
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov ecx, 0x811c9dc5
cmova edi, esi
xor edx, edx
cmp dword [ebp - 0x30], edx
jbe 0x100542e2
nop word [eax + eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x100542d0
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10054551
add eax, 0x20
mov dword [0x1028fa68], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10054339
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005432f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005451e
push ecx
push esi
call fcn.10117d22
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1028fa68]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 0
jne case.0x1005454a.5
mov eax, dword [0x1028fad0]
mov esi, dword [0x1028ffbc]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1028fbec]
test al, 1
jne 0x1005442c
or eax, 1
mov dword [ebp - 0x30], 0
push 0x25
mov dword [0x1028fbec], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseCombatCharacter__m_hActiveWeapon
mov dword [ebp - 0x10], eax
vmovdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10005c60
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
mov ecx, 0x811c9dc5
cmova eax, edi
xor edx, edx
cmp dword [ebp - 0x30], edx
jbe 0x100543d5
mov esi, eax
nop
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x100543c0
mov esi, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
call fcn.10009d90
mov eax, dword [ebp - 4]
test eax, eax
je 0x10054551
add eax, 0x20
mov dword [0x1028fbf0], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x1005442c
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10054422
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005451e
push ecx
push edi
call fcn.10117d22
add esp, 8
mov eax, dword [0x1028fbf0]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov edx, dword [edx + eax]
cmp edx, 0xffffffff
je case.0x1005454a.5
mov ecx, dword [0x1028fad8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
je case.0x1005454a.5
mov eax, dword [0x1028fa34]
mov ecx, edi
test al, 1
jne 0x10054531
or eax, 1
mov dword [ebp - 0x30], 0
push 0x2d
mov dword [0x1028fa34], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1028ff90]
vpxor xmm0, xmm0, xmm0
push str.CBaseAttributableItem__m_iItemDefinitionIndex
mov dword [ebp - 0x10], eax
vmovdqu xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10005c60
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ecx, 0x811c9dc5
mov dword [ebp - 4], edi
cmova eax, dword [ebp - 0x40]
xor edx, edx
cmp dword [ebp - 0x30], edx
jbe 0x100544d6
mov dword [ebp - 4], edi
mov esi, eax
mov edi, dword [ebp - 0x30]
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, edi
jb 0x100544c2
mov esi, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10009d90
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10054551
add eax, 0x20
mov dword [0x1028fa50], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x1005452e
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10054524
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10054524
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10117d22
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1028fa50]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx]
dec eax
cmp eax, 0x3f
ja case.0x1005454a.5
movzx eax, byte [eax + 0x100545e0]
jmp dword [eax*4 + 0x100545c4]
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov eax, dword [esi + 0xd4]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xd0]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xd8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xdc]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xe0]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xe4]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret