Function at 0x10056230
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 [0x1018bbbc]
push esi
push edi
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je case.0x1005661a.5
mov eax, dword [0x1018bb6c]
test al, 1
jne 0x10056329
or eax, 1
mov dword [ebp - 0x30], 0
push 0x16
mov dword [0x1018bb6c], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100562d2
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x100562c0
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10008e20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10056621
add eax, 0x20
mov dword [0x1018bb5c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10056329
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005631f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100565ee
push ecx
push esi
call fcn.10112642
add esp, 8
mov eax, dword [0x1018bb5c]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp dword [ecx + eax], 0
jle case.0x1005661a.5
mov eax, dword [0x1018bb44]
test al, 1
jne 0x1005640c
or eax, 1
mov dword [ebp - 0x30], 0
push 0x18
mov dword [0x1018bb44], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100563b2
nop word [eax + eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x100563a0
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10008e20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10056621
add eax, 0x20
mov dword [0x1018bb54], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x10056409
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100563ff
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100565ee
push ecx
push esi
call fcn.10112642
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1018bb54]
mov eax, dword [eax + 4]
cmp byte [ecx + eax], 0
jne case.0x1005661a.5
mov eax, dword [0x1018bbbc]
mov esi, dword [0x1018bff8]
mov dword [ebp - 0xc], esi
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1018bcc0]
test al, 1
jne 0x100564fc
or eax, 1
mov dword [ebp - 0x30], 0
push 0x25
mov dword [0x1018bcc0], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100564a5
mov esi, eax
nop
movzx eax, byte [esi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, dword [ebp - 0x30]
jb 0x10056490
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.10008e20
mov eax, dword [ebp - 4]
test eax, eax
je 0x10056621
add eax, 0x20
mov dword [0x1018bcc4], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x100564fc
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100564f2
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100565ee
push ecx
push edi
call fcn.10112642
add esp, 8
mov eax, dword [0x1018bcc4]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov edx, dword [edx + eax]
cmp edx, 0xffffffff
je case.0x1005661a.5
mov ecx, dword [0x1018bbc4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
je case.0x1005661a.5
mov eax, dword [0x1018bac8]
mov ecx, edi
test al, 1
jne 0x10056601
or eax, 1
mov dword [ebp - 0x30], 0
push 0x2d
mov dword [0x1018bac8], eax
lea ecx, [ebp - 0x40]
mov eax, dword [0x1018bfd0]
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.100052f0
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 0x100565a6
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 0x10056592
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.10008e20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10056621
add eax, 0x20
mov dword [0x1018bb3c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x100565fe
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100565f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100565f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10112642
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [0x1018bb3c]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx]
dec eax
cmp eax, 0x3f
ja case.0x1005661a.5
movzx eax, byte [eax + 0x100566b0]
jmp dword [eax*4 + 0x10056694]
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 + 0xa4]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xa0]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xa8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xac]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xb0]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [esi + 0xb4]
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