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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1003c230
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov edx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x1003b5bd
mov edi, dword [esi]
test edx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edx
je 0x1003b5e0
lea ecx, [edx - 1]
mov eax, edx
and eax, 3
mov dword [ebp - 0x20], eax
cmp ecx, 3
jae 0x1003b5e7
mov ebx, 0x811c9dc5
xor eax, eax
jmp 0x1003b63c
mov ebx, 0x811c9dc5
jmp 0x1003b664
and edx, 0xfffffffc
mov ebx, 0x811c9dc5
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, ebx
movzx ebx, byte [edi + eax]
xor ebx, ecx
imul ebx, ebx, 0x1000193
movzx esi, byte [edi + eax + 1]
xor esi, ebx
imul esi, esi, 0x1000193
movzx ebx, byte [edi + eax + 2]
xor ebx, esi
imul esi, ebx, 0x1000193
movzx ebx, byte [edi + eax + 3]
xor ebx, esi
imul ebx, ebx, 0x1000193
add eax, 4
cmp edx, eax
jne 0x1003b600
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x2c]
je 0x1003b664
add eax, edi
xor edx, edx
nop dword [eax]
movzx esi, byte [eax + edx]
xor esi, ebx
imul ebx, esi, 0x1000193
add edx, 1
cmp dword [ebp - 0x20], edx
jne 0x1003b650
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x30], ebx
and eax, ebx
mov edx, dword [ecx + 0xc]
mov esi, dword [edx + eax*8 + 4]
mov dword [ebp - 0x20], esi
cmp esi, dword [ecx + 4]
je 0x1003b6d1
add eax, eax
mov ebx, dword [edx + eax*4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x1003b6bd
nop dword [eax + eax]
cmp dword [eax + 0x1c], 0x10
jb 0x1003b6a0
mov esi, eax
mov eax, dword [eax + 8]
jmp 0x1003b6a5
mov esi, eax
add eax, 8
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
mov eax, esi
je 0x1003b856
cmp eax, ebx
je 0x1003b6cb
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 0x18]
je 0x1003b690
jmp 0x1003b6bd
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 8], 0x38e38e3
je 0x1003b8ec
lea eax, [ecx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0
push 0x48
call fcn.102e53ba
add esp, 4
mov dword [ebp - 0x34], eax
mov ecx, eax
add ecx, 8
mov dword [ebp - 0x3c], eax
push dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
push ecx
push dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
call fcn.1003b9d0
mov edx, dword [ebp - 0x28]
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 8]
add eax, 1
movq xmm1, qword [0x103568a0]
movd xmm0, eax
por xmm0, xmm1
subsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss xmm2, dword [ebx + 0x1c]
orpd xmm2, xmm1
subsd xmm2, xmm1
cvtsd2ss xmm2, xmm2
movss xmm1, dword [ebx]
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
mov ecx, dword [ebp - 0x20]
jbe 0x1003b872
mov esi, dword [ebx + 0x1c]
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x40]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x103564b4]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edx, 9
mov eax, 8
cmovae eax, edx
cmp esi, eax
jae 0x1003b7d4
lea ecx, [esi*8]
cmp ecx, eax
cmovb ecx, eax
cmp esi, 0x200
cmovae ecx, eax
mov esi, ecx
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call fcn.1003bb50
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x20], edx
cmp edx, dword [ebx + 4]
mov edx, dword [ebp - 0x28]
je 0x1003b865
add eax, eax
cmp dword [edx + 0x1c], 0x10
jb 0x1003b80c
mov esi, dword [edx + 8]
mov dword [ebp - 0x24], esi
mov esi, dword [ecx + eax*4]
mov edi, dword [edx + 0x18]
mov ecx, dword [ebp - 0x20]
cmp edi, dword [ecx + 0x18]
jne 0x1003b848
nop word [eax + eax]
cmp dword [ecx + 0x1c], 0x10
jb 0x1003b830
mov ebx, ecx
mov eax, dword [ecx + 8]
jmp 0x1003b835
mov ebx, ecx
lea eax, [ecx + 8]
push edi
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, ebx
je 0x1003b86a
cmp ecx, esi
je 0x1003b861
mov ecx, dword [ecx + 4]
cmp edi, dword [ecx + 0x18]
je 0x1003b820
jmp 0x1003b848
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
jmp 0x1003b8d7
mov ecx, esi
jmp 0x1003b86c
mov ecx, dword [ebp - 0x20]
jmp 0x1003b872
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x34], 0
mov eax, dword [ecx + 4]
add dword [ebx + 8], 1
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [eax], edx
mov dword [ecx + 4], edx
mov esi, dword [ebx + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x30]
and edi, dword [ebx + 0x18]
lea edx, [esi + edi*8]
add edx, 4
mov dword [ebp - 0x24], edx
lea edx, [esi + edi*8]
mov esi, dword [esi + edi*8]
cmp esi, dword [ebx + 4]
je 0x1003b8bf
mov edi, dword [ebp - 0x24]
cmp esi, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
je 0x1003b8c7
cmp dword [edi], eax
jne 0x1003b8c9
mov edx, edi
jmp 0x1003b8c7
mov dword [edx], ecx
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov dword [edx], ecx
mov dword [esi], ecx
mov byte [esi + 4], 1
lea ecx, [ebp - 0x38]
call fcn.1003b940
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov dword [ebp - 0x10], 0xffffffff
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1003b919
push 0x48
push eax
call fcn.102e53ef
add esp, 8
add esp, 0xc
pop ebp
ret