Function at 0x57c050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp - 0x50]
push edi
mov dword [ebp - 0x10], ebx
call fcn.004c6d20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
cmp dword [eax + 0x10], ebx
jne 0x57c0b1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.004d4b00
lea ecx, [ebp - 0x50]
call fcn.004ab060
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 1
call fcn.00518790
push 0x2c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00516fb0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x57c51a
mov dword [ebp - 0x138], 0x781154
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xd8], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 3
or ebx, 2
lea ecx, [ebp - 0x138]
push eax
mov dword [ebp - 0x10], ebx
call fcn.004c68f0
mov eax, dword [ebp - 0x138]
push 1
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x138], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x13c], eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x128]
call fcn.00506c90
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0x3d
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00516fb0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x57c3f9
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x108]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x8c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
call fcn.00493aa0
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp + 0xc], al
mov byte [ebp - 4], 7
test esi, esi
je 0x57c267
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x57c267
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00516fb0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x57c3f9
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmovae edx, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x57c2b7
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x57c2a6
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.00493390
mov edi, dword [ebp - 0x2c]
test edi, edi
jne 0x57c3de
cmp dword [ebp - 0x48], 0x4924924
je 0x57c586
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], eax
push 0x38
mov byte [ebp - 4], 9
mov dword [ebp - 0x54], edi
call fcn.00503d60
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], edi
lea ebx, [edi + 8]
push eax
mov ecx, ebx
call fcn.0047b780
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0xa
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x74c0b0]
mov eax, dword [ebp - 0x34]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x74c0b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebp - 0x50]
seta al
test al, al
je 0x57c394
lea ecx, [ebp - 0x50]
call fcn.004c8160
push esi
push ebx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x50]
call fcn.00493390
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x57c397
mov edx, dword [ebp - 0x30]
mov ebx, dword [edx + 4]
inc ecx
mov dword [ebp - 0x48], ecx
mov dword [edi], edx
mov dword [edi + 4], ebx
mov dword [ebx], edi
mov dword [edx + 4], edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
and eax, esi
mov dword [ebp - 0x54], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebp - 0x4c]
jne 0x57c3c4
mov dword [ecx + eax*8], edi
jmp 0x57c3d3
cmp esi, edx
jne 0x57c3cd
mov dword [ecx + eax*8], edi
jmp 0x57c3d7
cmp dword [ecx + eax*8 + 4], ebx
jne 0x57c3d7
mov dword [ecx + eax*8 + 4], edi
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 7
lea ecx, [edi + 0x20]
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x57c3f9
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0047e790
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x57c431
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c581
push edx
push ecx
call fcn.00503df0
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x57c469
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c45f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c581
push edx
push ecx
call fcn.00503df0
add esp, 8
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x138], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x13c], eax
lea ecx, [ebp - 0x128]
call fcn.00494970
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x138], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x13c], eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - 0xd8], vtable.std::ios_base.0
call fcn.006de4d5
push 0x2c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.00516fb0
add esp, 0x10
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x57c110
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.004d4b00
lea ecx, [ebp - 0x1e8]
call fcn.00518a10
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x57c566
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x57c55c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x57c581
push edx
push ecx
call fcn.00503df0
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.004ab060
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.006fee64
push str.unordered_map_set_too_long
call fcn.006ddb1a
int3