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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x416008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp edi, dword [ebp + 0xc]
je 0x401921
cmp dword [edi + 0x14], 8
mov edx, edi
mov ebx, dword [edi + 0x10]
jb 0x4016d1
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4016f1
lea esp, [esp]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4016e0
push esi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00401d90
cmp dword [ebp - 0x24], 0
jne 0x401915
cmp dword [0x417388], 0x71c71c7
je 0x401935
mov dword [ebp - 0x20], 0x417384
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x1c], 0
call fcn.00401f60
mov ebx, eax
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [ebp - 0x1c], ebx
add esp, 4
mov ecx, edi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x401764
mov ecx, dword [edi]
mov dword [ebp - 0x10], ecx
cmp eax, 0x7ffffffe
ja 0x40193f
mov dword [ebx + 0x1c], 7
cmp eax, 8
jae 0x401797
mov dword [ebx + 0x18], eax
mov eax, dword [ecx]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x14], eax
jmp 0x4017e2
or eax, 7
mov dword [ebp + 8], eax
cmp eax, 0x7ffffffe
jbe 0x4017ab
mov eax, 0x7ffffffe
jmp 0x4017b5
cmp eax, 0xa
jae 0x4017b8
mov eax, 0xa
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.004019f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 8], eax
lea ecx, [edx*2 + 2]
mov dword [ebx + 0x18], edx
push ecx
push dword [ebp - 0x10]
push eax
call fcn.00404940
add esp, 0xc
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebp - 4], 1
mov eax, dword [0x417388]
fld dword [0x417380]
add eax, 1
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jns 0x40180b
fadd dword [0x413ee8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
mov eax, dword [0x41739c]
fild dword [0x41739c]
test eax, eax
jns 0x401826
fadd dword [0x413ee8]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fdivr st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4018b5
fdivrp st(1)
sub esp, 8
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp qword [esp]
call fcn.0040c010
fstp dword [ebp + 8]
fld dword [ebp + 8]
add esp, 8
fnstcw word [ebp + 0xa]
movzx eax, word [ebp + 0xa]
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
fistp qword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
fldcw word [ebp + 0xa]
cmp ecx, 8
ja 0x401878
mov ecx, 8
mov eax, dword [0x41739c]
cmp eax, ecx
jae 0x401891
cmp eax, 0x200
jae 0x40188f
shl eax, 3
cmp eax, ecx
jae 0x401891
mov eax, ecx
push eax
call fcn.00401ae0
mov ebx, dword [ebp - 0x1c]
push esi
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00401d90
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jmp 0x4018bf
mov ecx, dword [ebp - 0x28]
fstp st(0)
mov ebx, dword [ebp - 0x1c]
fstp st(0)
mov edx, dword [ecx + 4]
inc dword [0x417388]
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov dword [edx], ebx
mov dword [ecx + 4], ebx
and esi, dword [0x417398]
mov eax, dword [0x41738c]
mov dword [ebp + 8], edx
mov dword [ebp - 0x1c], 0
mov edx, dword [eax + esi*8]
cmp edx, dword [0x417384]
mov edx, dword [ebp + 8]
jne 0x4018fa
mov dword [eax + esi*8], ebx
jmp 0x40190a
cmp dword [eax + esi*8], ecx
jne 0x401904
mov dword [eax + esi*8], ebx
jmp 0x40190e
cmp dword [eax + esi*8 + 4], edx
jne 0x40190e
mov dword [eax + esi*8 + 4], ebx
mov dword [ebp - 4], 0xffffffff
add edi, 0x1c
cmp edi, dword [ebp + 0xc]
jne 0x4016c4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00401f32
call fcn.00401370
int3