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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524045
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x1c], edx
jb 0x41af54
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x41af7e
mov edi, dword [ebp - 0x1c]
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41af67
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
push esi
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0041c170
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41afab
mov dword [edi], eax
mov eax, edi
mov byte [edi + 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
cmp dword [0x5985a8], 0x4924924
je 0x41b15f
mov dword [ebp - 0x20], 0x5985a4
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.004d2477
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x18]
lea ecx, [edi + 8]
call fcn.0041b5a0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [edi + 0x20], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [edi + 0x30], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov dword [ebp - 4], 1
mov ecx, dword [0x5985a8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x568ca0]
mov eax, dword [0x5985bc]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x568ca0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x5985a0]
comiss xmm1, xmm0
jbe 0x41b0f6
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.004fc170
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004d2c70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x5985bc]
cmp eax, ecx
jae 0x41b0d2
cmp eax, 0x200
jae 0x41b0d0
shl eax, 3
cmp eax, ecx
jae 0x41b0d2
mov eax, ecx
push eax
call fcn.0041b690
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041c170
mov ecx, dword [0x5985a8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x41b0f9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x5985a8], ecx
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [0x5985ac]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5985b8]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x5985a4]
jne 0x41b12d
mov dword [ecx + eax*8], edi
jmp 0x41b13f
cmp esi, edx
jne 0x41b136
mov dword [ecx + eax*8], edi
jmp 0x41b143
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x41b143
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp - 0x24]
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
push str.unordered_map_set_too_long
call fcn.004b8f1e
int3