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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418535
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x42100c]
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 0x412be0
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x10], ecx
jbe 0x412c05
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x412bf0
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 0x412c5c
mov edi, dword [ecx + eax*8]
lea edx, [esi + 8]
mov ecx, ebx
call fcn.00410ca0
test al, al
jne 0x412c45
nop
cmp esi, edi
je 0x412c57
mov esi, dword [esi + 4]
mov ecx, ebx
lea edx, [esi + 8]
call fcn.00410ca0
test al, al
je 0x412c30
mov edi, dword [esi]
test esi, esi
je 0x412c59
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], 0
jmp 0x412e04
mov edi, esi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0x7ffffff
jne 0x412c73
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 0x20
mov dword [ebp - 0x28], 0
call fcn.00415527
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
lea eax, [esi + 8]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], eax
push ebx
call fcn.00409980
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 + 0x41abe0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x41abe0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x412dba
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.00416550
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x412d46
cmp ebx, 0x200
jae 0x412d44
shl ebx, 3
cmp ebx, ecx
jae 0x412d46
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00413120
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 0x412d74
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x412dbd
mov edi, dword [edx + eax*8]
lea edx, [esi + 8]
mov ecx, dword [ebp - 0x1c]
call fcn.00410ca0
test al, al
jne 0x412d9c
cmp esi, edi
je 0x412da9
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
lea edx, [esi + 8]
call fcn.00410ca0
test al, al
je 0x412d86
mov edi, dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
jmp 0x412dbd
mov ecx, dword [ebp - 0x10]
mov edi, esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x412dbd
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 0x412de7
mov dword [edx + eax*8], esi
jmp 0x412df9
cmp ecx, edi
jne 0x412df0
mov dword [edx + eax*8], esi
jmp 0x412dfd
mov ecx, dword [ebp - 0x1c]
cmp dword [edx + eax*8 + 4], ecx
jne 0x412dfd
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