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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457275
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x46b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, eax
cmp dword [eax + 0x14], 0xf
mov ebx, dword [eax + 0x10]
jbe 0x4161ca
mov esi, dword [eax]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x24], edx
test ebx, ebx
je 0x4161ef
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4161d8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov ecx, dword [edi + 0x18]
mov ebx, dword [edi + 4]
and ecx, edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x1c], ecx
mov esi, dword [edx + ecx*8 + 4]
cmp esi, ebx
jne 0x41620d
lea ecx, [edi + 4]
mov dword [ebp - 0x10], ecx
jmp 0x41626a
lea edx, [esi + 8]
mov ecx, eax
call fcn.004136d0
test al, al
jne 0x41623c
mov ebx, dword [ebp + 0xc]
nop
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
cmp esi, dword [ecx + eax*8]
je 0x41625f
mov esi, dword [esi + 4]
mov ecx, ebx
lea edx, [esi + 8]
call fcn.004136d0
test al, al
je 0x416220
mov ebx, dword [esi]
test esi, esi
je 0x416261
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
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
mov ebx, esi
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
lea ecx, [edi + 4]
cmp dword [edi + 8], 0x71c71c7
lea eax, [edi + 0x18]
mov dword [ebp - 0x1c], eax
jne 0x416284
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x28], 0
call fcn.00455853
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x28], eax
add eax, 8
mov ecx, eax
mov dword [ebp - 0x14], eax
push esi
call fcn.004126c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov esi, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x465d80]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x465d80]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4163bd
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00456750
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x41635d
cmp esi, 0x200
jae 0x41635b
shl esi, 3
cmp esi, ecx
jae 0x41635d
mov esi, ecx
push esi
mov ecx, edi
call fcn.00414780
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x24]
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [edx + eax*8 + 4]
mov ebx, dword [ecx]
cmp esi, ebx
jne 0x416384
mov dword [ebp - 0x1c], 0
jmp 0x4163b1
mov ebx, dword [edx + eax*8]
lea edx, [esi + 8]
mov ecx, dword [ebp - 0x14]
call fcn.004136d0
test al, al
jne 0x4163ac
cmp esi, ebx
je 0x4163ed
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x14]
lea edx, [esi + 8]
call fcn.004136d0
test al, al
je 0x416396
mov ebx, dword [esi]
mov dword [ebp - 0x1c], esi
lea eax, [edi + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x28]
inc dword [edi + 8]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx], ebx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 0xc]
mov eax, dword [eax]
and eax, dword [ebp - 0x24]
mov edi, dword [edx + eax*8]
cmp edi, dword [esi]
jne 0x4163f8
mov dword [edx + eax*8], ecx
jmp 0x41640a
mov ebx, esi
mov dword [ebp - 0x1c], 0
jmp 0x4163b1
cmp edi, ebx
jne 0x416401
mov dword [edx + eax*8], ecx
jmp 0x41640e
mov esi, dword [ebp + 0xc]
cmp dword [edx + eax*8 + 4], esi
jne 0x41640e
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 1
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