Function at 0x58a790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74d425
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 0x58a95d
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 0x58a7db
mov ecx, dword [edx]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov ebx, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x58a80a
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 0x58a7f0
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.00489ef0
cmp dword [ebp - 0x24], 0
jne 0x58a94e
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x58a96f
add eax, 4
mov dword [ebp - 0x30], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.00516cd0
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.004838a0
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 + 0x75f520]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
seta al
test al, al
je 0x58a8e7
mov ecx, edx
call fcn.004ce530
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push ebx
push dword [ebp - 0x1c]
push eax
call fcn.00489ef0
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 0x58a8ea
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 0x58a930
mov dword [edx + eax*8], ecx
jmp 0x58a943
cmp ebx, dword [ebp - 0x14]
jne 0x58a93a
mov dword [edx + eax*8], ecx
jmp 0x58a947
mov ebx, dword [ebp - 0x1c]
cmp dword [edx + eax*8 + 4], ebx
jne 0x58a947
mov dword [edx + eax*8 + 4], ecx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi]
cmp esi, edi
je 0x58a95c
mov eax, dword [ebp - 0x10]
jmp 0x58a7c4
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.006ee17a
int3