Function at 0x5846b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748a05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
cmp esi, edi
je 0x58487d
push ebx
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
jb 0x5846fb
mov ecx, dword [edx]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x58472a
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x584710
mov edi, dword [ebp - 0x18]
lea edx, [esi + 8]
mov eax, dword [ebp - 0x10]
push ebx
push edx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00487090
cmp dword [ebp - 0x24], 0
jne 0x58486e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x58488f
add eax, 4
mov dword [ebp - 0x30], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.00512870
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
lea edi, [eax + 8]
lea eax, [esi + 8]
mov dword [ebp - 0x1c], edi
push eax
mov ecx, edi
call fcn.00480e80
mov ecx, dword [esi + 0x20]
mov dword [edi + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov edi, dword [edx + 8]
lea eax, [edi + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75a370]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75a370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
seta al
test al, al
je 0x584807
mov ecx, edx
call fcn.00586ac0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00487090
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [edx + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jmp 0x58480a
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 1]
mov edi, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov dword [edi], ecx
mov edi, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
mov eax, dword [eax + 0x18]
and eax, ebx
mov ebx, dword [edx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x18]
jne 0x584850
mov dword [edx + eax*8], ecx
jmp 0x584863
cmp ebx, dword [ebp - 0x14]
jne 0x58485a
mov dword [edx + eax*8], ecx
jmp 0x584867
mov ebx, dword [ebp - 0x1c]
cmp dword [edx + eax*8 + 4], ebx
jne 0x584867
mov dword [edx + eax*8 + 4], ecx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi]
cmp esi, edi
je 0x58487c
mov eax, dword [ebp - 0x10]
jmp 0x5846e4
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.006ea2aa
int3