Function at 0x54af40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7398b5
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 0x54b14f
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 0x54afa1
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 0x54af80
mov edx, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.0054a870
cmp dword [ebp - 0x20], 0
jne 0x54b138
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0xccccccc
je 0x54b15f
add eax, 4
mov dword [ebp - 0x2c], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.00503d60
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 + 0x74c0b0]
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 + 0x74c0b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x54b0d1
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.00704910
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.006f2860
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jae 0x54b0a7
cmp eax, 0x200
jae 0x54b0a5
shl eax, 3
cmp eax, ecx
jae 0x54b0a7
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0054c6a0
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0054a870
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 0x54b0d4
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 0x54b111
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x54b13b
cmp edi, dword [ebp - 0x14]
jne 0x54b122
mov dword [ecx + eax*8], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x54b13b
mov edi, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edi
jne 0x54b12f
mov dword [ecx + eax*8 + 4], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x54b13b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xc
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x54af70
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.006ddb1a
int3