Function at 0x4afbc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73d325
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
mov eax, dword [eax + 4]
add eax, edi
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x4afc11
movsx edx, byte [edi]
mov ecx, esi
mov eax, esi
shl ecx, 6
shr eax, 2
add ecx, edx
add eax, 0x9e3779b9
inc edi
add eax, ecx
xor esi, eax
cmp edi, dword [ebp - 0x14]
jne 0x4afbf3
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004af740
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4afc45
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 edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xaaaaaaa
je 0x4afdb8
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00512870
mov edi, eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
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 + 0x75a370]
mov eax, dword [ecx + 0x1c]
mov dword [ebp + 0xc], eax
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x75a370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4afd56
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00711190
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.006feff0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jae 0x4afd35
cmp eax, 0x200
jae 0x4afd33
shl eax, 3
cmp eax, ecx
jae 0x4afd35
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004b2fc0
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004af740
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x4afd59
mov edx, dword [ebp - 0x18]
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 - 0x10], 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 ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
jne 0x4afd86
mov dword [edx + eax*8], edi
jmp 0x4afd99
cmp ecx, dword [ebp + 0xc]
jne 0x4afd90
mov dword [edx + eax*8], edi
jmp 0x4afd9d
mov ecx, dword [ebp - 0x10]
cmp dword [edx + eax*8 + 4], ecx
jne 0x4afd9d
mov dword [edx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ea2aa
int3