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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov esi, edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x407ff7
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
je 0x408018
mov edx, eax
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x408004
mov edx, dword [ebp + 0xc]
push edi
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00408940
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x408046
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 [0x56c338], 0x4924924
je 0x4081fc
mov dword [ebp - 0x20], 0x56c334
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x1c], 0
call fcn.004d4062
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea esi, [eax + 8]
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004049c0
mov byte [ebp - 4], 1
add esi, 0x18
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov ecx, dword [0x56c338]
mov esi, dword [0x56c34c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, esi
addsd xmm0, qword [eax*8 + 0x53cd10]
cvtdq2pd xmm1, xmm1
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x53cd10]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
movss xmm1, dword [0x56c330]
comiss xmm2, xmm1
jbe 0x408182
divss xmm0, xmm1
call fcn.00408a30
call fcn.004fc8b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x408161
cmp esi, 0x200
jae 0x40815f
shl esi, 3
cmp esi, ecx
jae 0x408161
mov esi, ecx
push esi
call fcn.004083e0
mov eax, dword [ebp - 0x10]
push edi
add eax, 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408940
mov ecx, dword [0x56c338]
mov esi, dword [eax]
jmp 0x408185
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 4]
inc ecx
mov dword [0x56c338], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov dword [eax], ecx
mov dword [esi + 4], ecx
mov eax, dword [0x56c348]
mov edx, dword [0x56c33c]
and eax, edi
mov edi, dword [edx + eax*8]
cmp edi, dword [0x56c334]
jne 0x4081c3
mov dword [edx + eax*8], ecx
jmp 0x4081d5
cmp edi, esi
jne 0x4081cc
mov dword [edx + eax*8], ecx
jmp 0x4081d9
mov esi, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], esi
jne 0x4081d9
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
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.004bce27
int3