Function at 0x529490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7057e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x10], edx
cmp eax, dword [ebp + 0xc]
je 0x52969f
push esi
push edi
nop
mov esi, dword [eax]
xor edi, edi
mov eax, dword [eax + 4]
add eax, esi
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x5294f1
movsx edx, byte [esi]
mov ecx, edi
mov eax, edi
shl ecx, 6
shr eax, 2
add ecx, edx
add eax, 0x9e3779b9
inc esi
add eax, ecx
xor edi, eax
cmp esi, dword [ebp - 0x1c]
jne 0x5294d0
mov edx, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.00528e30
cmp dword [ebp - 0x20], 0
jne 0x529688
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xccccccc
je 0x5296af
add eax, 4
mov dword [ebp - 0x2c], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.004e7f70
mov esi, eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], esi
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
mov ecx, dword [eax + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x715c60]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x715c60]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x529621
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.006d2120
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.006c0070
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x5295f7
cmp eax, 0x200
jae 0x5295f5
shl eax, 3
cmp eax, ecx
jae 0x5295f7
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0052abf0
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00528e30
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x529624
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [eax], esi
mov dword [ecx + 4], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x14], ecx
and eax, edi
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x28], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [edx + 4]
jne 0x529661
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x52968b
cmp edi, dword [ebp - 0x14]
jne 0x529672
mov dword [ecx + eax*8], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x52968b
mov edi, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edi
jne 0x52967f
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x52968b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x5294c0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ab32d
int3