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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ed65
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x415040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x18], edx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edi
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x10], edi
jbe 0x405fb6
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov esi, 0x811c9dc5
mov dword [ebp - 0x28], esi
cmp dword [edi + 0x10], ecx
jbe 0x405fe0
mov edx, dword [ebp - 0x10]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x405fc8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
and ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [eax + ecx*8 + 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x40604b
lea edx, [esi + 8]
mov ecx, edi
call fcn.00407da0
test al, al
jne 0x40602c
nop word [eax + eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
je 0x406048
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.00407da0
test al, al
je 0x406010
mov eax, dword [ebp - 0x2c]
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
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x18]
cmp dword [esi + 8], 0x7ffffff
jne 0x406062
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [esi + 4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x30], 0
call fcn.0040d728
mov edi, eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x30], edi
mov ecx, eax
mov dword [ebp - 0x14], eax
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
cmp dword [eax + 0x14], 0xf
jbe 0x4060ad
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, 0x7fffffff
ja 0x406304
mov dword [edi + 0x1c], 0xf
cmp eax, 0xf
ja 0x4060d9
mov dword [edi + 0x18], eax
movups xmm0, xmmword [ecx]
movups xmmword [edi + 8], xmm0
jmp 0x406166
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x40610e
mov eax, 0x80000000
mov esi, 0x7fffffff
add eax, 0x23
push eax
call fcn.0040d728
add esp, 4
test eax, eax
je 0x406130
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x1c]
jmp 0x40614c
mov ecx, 0x16
cmp esi, ecx
cmovb esi, ecx
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x406136
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x406309
jmp 0x4060f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test ecx, ecx
je 0x40614a
push ecx
call fcn.0040d728
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x40614c
xor ecx, ecx
mov dword [edi + 0x18], eax
inc eax
push eax
push dword [ebp - 0x14]
mov dword [edi + 8], ecx
push ecx
mov dword [edi + 0x1c], esi
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x410ea0]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x410ea0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x406265
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x24], xmm0
fld qword [ebp - 0x24]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0040e640
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x406207
cmp eax, 0x200
jae 0x406205
shl eax, 3
cmp eax, ecx
jae 0x406207
mov eax, ecx
push eax
mov ecx, esi
call fcn.00406cb0
mov eax, dword [esi + 0x18]
lea ecx, [edi + 8]
and eax, dword [ebp - 0x28]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
mov esi, dword [edx + eax*8 + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x406262
lea edx, [esi + 8]
call fcn.00407da0
test al, al
jne 0x40625d
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp esi, dword [ecx + eax*8]
je 0x4062b2
mov esi, dword [esi + 4]
lea ecx, [edi + 8]
lea edx, [esi + 8]
call fcn.00407da0
test al, al
je 0x406240
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
inc dword [esi + 8]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [esi + 0x18]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi + 4]
mov edx, dword [ebp - 0x10]
jne 0x4062b7
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x2c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], esi
jmp 0x406262
cmp dword [ecx + eax*8], edx
jne 0x4062db
mov dword [ecx + eax*8], edi
mov eax, dword [ebp - 0x2c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x20]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4062e8
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x2c]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.00401220
call fcn.00401180
int3