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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546310
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
jb 0x40a4c0
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x40a4ea
mov edi, dword [ebp - 0x14]
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x40a4d3
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0040ad70
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x40a51a
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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
cmp dword [edi + 8], 0x4924924
je 0x40a6b6
lea eax, [edi + 4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.005255fd
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00406c50
mov byte [ebp - 4], 1
lea eax, [edi + 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [ecx + 0x18]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x28]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 7
mov word [ecx + 0x18], ax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
inc eax
movss xmm3, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5a3940]
mov eax, dword [ecx + 0x1c]
mov dword [ebp + 0xc], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x5a3940]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x40a645
divss xmm0, xmm3
call fcn.0040ae00
call fcn.005452c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jae 0x40a624
cmp eax, 0x200
jae 0x40a622
shl eax, 3
cmp eax, ecx
jae 0x40a624
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040a8a0
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040ad70
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x40a648
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
inc dword [ecx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, esi
mov dword [ebp + 0xc], edx
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
jne 0x40a67c
mov dword [edx + eax*8], edi
jmp 0x40a68f
cmp ecx, dword [ebp + 0xc]
jne 0x40a686
mov dword [edx + eax*8], edi
jmp 0x40a693
mov ecx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], ecx
jne 0x40a693
mov dword [edx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.00523945
int3