Function at 0x58f6a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74d990
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.004d1e60
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
cmp dword [eax + 0x10], ebx
jne 0x58f701
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.004e3650
lea ecx, [ebp - 0x50]
call fcn.004b38d0
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.0052efd0
push 0x2c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.0052ecd0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x58fb6a
mov dword [ebp - 0x138], 0x796ba0
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.004d1a30
mov eax, dword [ebp - 0x138]
push 1
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], 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.00519c40
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.0052ecd0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x58fa49
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.0049c080
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 0x58f8b7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x58f8b7
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.0052ecd0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x58fa49
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 0x58f907
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x58f8f6
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
call fcn.00489ef0
mov edi, dword [ebp - 0x2c]
test edi, edi
jne 0x58fa2e
cmp dword [ebp - 0x48], 0x4924924
je 0x58fbd6
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], eax
push 0x38
mov byte [ebp - 4], 9
mov dword [ebp - 0x54], edi
call fcn.00516cd0
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.004838a0
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 + 0x75f520]
mov eax, dword [ebp - 0x34]
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 [ebp - 0x50]
seta al
test al, al
je 0x58f9e4
lea ecx, [ebp - 0x50]
call fcn.004ce530
push esi
push ebx
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x50]
call fcn.00489ef0
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 0x58f9e7
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 0x58fa14
mov dword [ecx + eax*8], edi
jmp 0x58fa23
cmp esi, edx
jne 0x58fa1d
mov dword [ecx + eax*8], edi
jmp 0x58fa27
cmp dword [ecx + eax*8 + 4], ebx
jne 0x58fa27
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 0x58fa49
cmp dword [ebp - 0x5c], 0x10
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00486af0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x58fa81
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58fa77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58fbd1
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x58fab9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58faaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58fbd1
push edx
push ecx
call fcn.00516d60
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 - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], 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.0049cb50
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], 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.006eeb35
push 0x2c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1e8]
push eax
call fcn.0052ecd0
add esp, 0x10
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x58f760
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.004e3650
lea ecx, [ebp - 0x1e8]
call fcn.0052f0c0
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x58fbb6
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58fbac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58fbd1
push edx
push ecx
call fcn.00516d60
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.004b38d0
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.0070f5b4
push str.unordered_map_set_too_long
call fcn.006ee17a
int3