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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [esp], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
mov esi, eax
jb 0x100cf7ab
mov esi, dword [eax]
test edx, edx
mov dword [esp + 4], edx
je 0x100cf7c9
lea ecx, [edx - 1]
mov eax, edx
and eax, 3
cmp ecx, 3
jae 0x100cf7d0
mov ebx, 0x811c9dc5
xor ecx, ecx
jmp 0x100cf81a
mov ebx, 0x811c9dc5
jmp 0x100cf841
and edx, 0xfffffffc
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
movzx edi, byte [esi + ecx]
xor edi, ebx
imul edi, edi, 0x1000193
movzx ebx, byte [esi + ecx + 1]
xor ebx, edi
imul edi, ebx, 0x1000193
movzx ebx, byte [esi + ecx + 2]
xor ebx, edi
imul edi, ebx, 0x1000193
movzx ebx, byte [esi + ecx + 3]
xor ebx, edi
imul ebx, ebx, 0x1000193
add ecx, 4
cmp edx, ecx
jne 0x100cf7e0
test eax, eax
je 0x100cf841
add ecx, esi
xor edx, edx
nop word cs:[eax + eax]
movzx edi, byte [ecx + edx]
xor edi, ebx
imul ebx, edi, 0x1000193
inc edx
cmp eax, edx
jne 0x100cf830
mov edx, dword [esp]
mov eax, dword [edx + 0x18]
and eax, ebx
mov ecx, dword [edx + 0xc]
mov edi, dword [ecx + eax*8 + 4]
cmp edi, dword [edx + 4]
je 0x100cf8a8
add eax, eax
mov ebp, dword [ecx + eax*4]
mov ecx, dword [esp + 4]
cmp ecx, dword [edi + 0x18]
jne 0x100cf89a
nop word cs:[eax + eax]
cmp dword [edi + 0x1c], 0x10
jb 0x100cf880
mov eax, dword [edi + 8]
jmp 0x100cf883
lea eax, [edi + 8]
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcmp
mov ecx, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x100cf9ae
cmp edi, ebp
je 0x100cf8aa
mov edi, dword [edi + 4]
cmp ecx, dword [edi + 0x18]
je 0x100cf870
jmp 0x100cf89a
mov ebp, edi
mov esi, dword [esp]
cmp dword [esi + 8], 0x6666666
je 0x100cfa74
push 0x28
call fcn.100d7f9d
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x24]
vmovups xmm0, xmmword [eax]
vmovups xmmword [edi + 8], xmm0
vmovsd xmm0, qword [eax + 0x10]
vmovsd qword [edi + 0x18], xmm0
vmovsd xmm0, qword [0x10128100]
vmovsd qword [eax + 0x10], xmm0
mov byte [eax], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [esi + 8]
inc eax
vmovq xmm1, qword [0x10130d28]
vmovd xmm0, eax
vpor xmm0, xmm0, xmm1
vsubsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss xmm2, dword [esi + 0x1c]
vorpd xmm2, xmm2, xmm1
vsubsd xmm1, xmm2, xmm1
vcvtsd2ss xmm2, xmm1, xmm1
vmovss xmm1, dword [esi]
vdivss xmm2, xmm0, xmm2
vucomiss xmm2, xmm1
jbe 0x100cfa11
mov eax, dword [esi + 0x1c]
vdivss xmm0, xmm0, xmm1
vroundss xmm0, xmm0, xmm0, 0xa
vcvttss2si ecx, xmm0
mov edx, ecx
vsubss xmm0, xmm0, dword [0x10129794]
vcvttss2si esi, xmm0
sar edx, 0x1f
and esi, edx
or esi, ecx
cmp esi, 9
mov ecx, 8
cmovae ecx, esi
cmp eax, ecx
jae 0x100cf985
lea edx, [eax*8]
cmp edx, ecx
cmovb edx, ecx
cmp eax, 0x200
cmovae edx, ecx
mov eax, edx
mov esi, dword [esp]
mov ecx, esi
push eax
call fcn.100cfa80
mov eax, dword [esi + 0x18]
and eax, ebx
mov ecx, dword [esi + 0xc]
mov ebp, dword [ecx + eax*8 + 4]
cmp ebp, dword [esi + 4]
je 0x100cfa11
add eax, eax
cmp dword [edi + 0x1c], 0x10
jb 0x100cf9b5
mov edx, dword [edi + 8]
jmp 0x100cf9ba
xor ecx, ecx
jmp 0x100cfa61
mov edx, edi
add edx, 8
mov dword [esp + 8], edx
mov eax, dword [ecx + eax*4]
mov esi, dword [edi + 0x18]
mov dword [esp + 4], eax
cmp esi, dword [ebp + 0x18]
jne 0x100cf9f9
nop dword [eax]
cmp dword [ebp + 0x1c], 0x10
jb 0x100cf9e0
mov eax, dword [ebp + 8]
jmp 0x100cf9e3
lea eax, [ebp + 8]
push esi
push eax
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [esp + 4]
je 0x100cfa0b
cmp ebp, eax
je 0x100cfa07
mov ebp, dword [ebp + 4]
cmp esi, dword [ebp + 0x18]
je 0x100cf9d0
jmp 0x100cf9f9
mov ebp, eax
jmp 0x100cfa0e
mov ebp, dword [ebp]
mov esi, dword [esp]
mov eax, dword [ebp + 4]
inc dword [esi + 8]
mov dword [edi], ebp
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ebp + 4], edi
mov ecx, dword [esi + 0xc]
and ebx, dword [esi + 0x18]
lea edx, [ecx + ebx*8]
mov dword [esp], edx
lea edx, [ecx + ebx*8]
add edx, 4
mov dword [esp + 4], edx
mov ecx, dword [ecx + ebx*8]
cmp ecx, dword [esi + 4]
je 0x100cfa54
mov esi, dword [esp + 4]
cmp ecx, ebp
mov edx, dword [esp]
je 0x100cfa5d
mov cl, 1
mov edx, esi
cmp dword [esi], eax
jne 0x100cfa61
jmp 0x100cfa5d
mov eax, dword [esp]
mov dword [eax], edi
mov edx, dword [esp + 4]
mov dword [edx], edi
mov cl, 1
mov eax, dword [esp + 0x20]
mov dword [eax], edi
mov byte [eax + 4], cl
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3