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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf15
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x49d1cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebx + 0x14], 0x10
jb 0x405f50
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x10], ecx
jbe 0x405f75
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x405f60
mov dword [ebp - 0x14], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
lea edx, [edi + 4]
mov edi, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
je 0x405fcc
mov edi, dword [ecx + eax*8]
lea eax, [esi + 8]
push eax
push ebx
call fcn.00406990
test al, al
je 0x405fb5
nop
cmp esi, edi
je 0x405fc7
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.00406990
test al, al
jne 0x405fa0
mov edi, dword [esi]
test esi, esi
je 0x405fc9
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], 0
jmp 0x40617f
mov edi, esi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0x71c71c7
jne 0x405fe3
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x28], 0
call fcn.0045b946
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
lea eax, [esi + 8]
push ebx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004054e0
mov dword [esi + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0x1c]
inc eax
movss xmm3, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4973f0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4973f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x406135
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x38], xmm0
fld qword [ebp - 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0045c290
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x4060bc
cmp ebx, 0x200
jae 0x4060ba
shl ebx, 3
cmp ebx, ecx
jae 0x4060bc
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004063f0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0xc]
and eax, ebx
mov edi, dword [ecx + 4]
mov esi, dword [edx + eax*8 + 4]
cmp esi, edi
jne 0x4060ea
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x406138
mov edi, dword [edx + eax*8]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x1c]
call fcn.00406990
test al, al
je 0x406117
nop dword [eax]
cmp esi, edi
je 0x406124
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x1c]
call fcn.00406990
test al, al
jne 0x406100
mov edi, dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
jmp 0x406138
mov ecx, dword [ebp - 0x10]
mov edi, esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x406138
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi + 4]
inc dword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi], edi
mov dword [eax], esi
mov dword [edi + 4], esi
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [ebx]
jne 0x406162
mov dword [edx + eax*8], esi
jmp 0x406174
cmp ecx, edi
jne 0x40616b
mov dword [edx + eax*8], esi
jmp 0x406178
mov ecx, dword [ebp - 0x1c]
cmp dword [edx + eax*8 + 4], ecx
jne 0x406178
mov dword [edx + eax*8 + 4], esi
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], 1
mov dword [eax], esi
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