Function at 0x1000ed70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006853c
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc4], 0
mov edx, dword [0x10081808]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xcc], edx
mov edi, dword [edx + 0x3c]
test edi, edi
je 0x1000ee04
add edi, 0x8c
mov dword [ebp - 0xc8], 3
mov eax, dword [edi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1000edea
push 4
push ebx
call esi
test eax, eax
jne 0x1000edea
mov ecx, ebx
call dword [0x10075238]
mov eax, dword [edi]
add edi, 0x18
sub dword [ebp - 0xc8], 1
mov dword [eax], 0
jne 0x1000edd1
mov edx, dword [ebp - 0xcc]
mov ebx, dword [edx + 0x44]
test ebx, ebx
je 0x1000ee9d
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
sub eax, ecx
sar eax, 3
mov dword [ebp - 0xc8], 0
test eax, eax
je 0x1000ee9d
xor edi, edi
xor edx, edx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xd0], edx
mov eax, dword [ecx + edi + 4]
mov edi, dword [eax]
test edi, edi
je 0x1000ee59
push 4
push edi
call esi
test eax, eax
jne 0x1000ee53
mov ecx, edi
call dword [0x10075238]
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebx + 0x24]
mov edi, dword [ebp - 0xc4]
inc dword [ebp - 0xc8]
add edi, 8
mov dword [ebp - 0xc4], edi
mov eax, dword [edx + eax + 4]
add edx, 8
mov dword [ebp - 0xd0], edx
mov dword [eax], 0
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
sub eax, ecx
sar eax, 3
cmp dword [ebp - 0xc8], eax
jb 0x1000ee38
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x1000ef33
lea edi, [eax + 0xc]
mov dword [ebp - 0xc4], 5
nop dword [eax + eax]
mov eax, dword [edi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1000eed9
push 4
push ebx
call esi
test eax, eax
jne 0x1000eed9
mov ecx, ebx
call dword [0x10075238]
mov eax, dword [edi]
add edi, 0xc
sub dword [ebp - 0xc4], 1
mov dword [eax], 0
jne 0x1000eec0
mov edi, dword [ebp - 0xc8]
add edi, 0x64
mov dword [ebp - 0xc4], 5
mov eax, dword [edi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1000ef19
push 4
push ebx
call esi
test eax, eax
jne 0x1000ef19
mov ecx, ebx
call dword [0x10075238]
mov eax, dword [edi]
add edi, 0xc
sub dword [ebp - 0xc4], 1
mov dword [eax], 0
jne 0x1000ef00
mov edx, dword [ebp - 0xcc]
mov edi, dword [edx + 0x50]
test edi, edi
je 0x1000ef7a
add edi, 0x50
mov dword [ebp - 0xc4], 6
mov eax, dword [edi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1000ef60
push 4
push ebx
call esi
test eax, eax
jne 0x1000ef60
mov ecx, ebx
call dword [0x10075238]
mov eax, dword [edi]
add edi, 0x18
sub dword [ebp - 0xc4], 1
mov dword [eax], 0
jne 0x1000ef47
mov edx, dword [ebp - 0xcc]
mov ebx, dword [edx + 0x54]
test ebx, ebx
je 0x1000f00d
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0xd0], 0
test eax, eax
je 0x1000f00d
xor edi, edi
xor edx, edx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], edx
nop
mov eax, dword [ecx + edi]
mov edi, dword [eax]
test edi, edi
je 0x1000efd0
push 4
push edi
call esi
test eax, eax
jne 0x1000efca
mov ecx, edi
call dword [0x10075238]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0xc4]
inc dword [ebp - 0xd0]
add edi, 4
mov dword [ebp - 0xc4], edi
mov eax, dword [edx + eax]
add edx, 4
mov dword [ebp - 0xc8], edx
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0xd0], eax
jb 0x1000efb0
mov ecx, 0x10081bf4
call fcn.10010f00
mov eax, dword [0x10081804]
test eax, eax
je 0x1000f028
cmp byte [eax], 0
je 0x1000f028
mov byte [eax], 0
push 0x98
lea eax, [ebp - 0xc0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], 0x100755e0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc4], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xbc], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 4
mov dword [ebp - 4], 2
mov cl, 0x51
movaps xmm0, xmmword [0x10077550]
mov al, 0xc
xor al, cl
mov byte [ebp - 0xcc], cl
mov byte [ebp - 0xca], 0
xor ecx, ecx
mov byte [ebp - 0xcb], al
mov byte [ebp - 0xca], 0
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd4], 0x473c68
nop
mov al, byte [ebp - 0xe4]
xor byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x12
jb 0x1000f110
push 0
lea eax, [ebp - 0xf4]
mov byte [ebp - 0xd1], 0
push 8
push eax
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
lea edx, [ebp - 0xe3]
lea ecx, [ebp - 0xc0]
mov esi, eax
push 0x10005400
push 0x10005420
call fcn.10007cb0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov edx, esi
mov ecx, eax
call fcn.10007ed0
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea edx, [ebp - 0xcb]
mov ecx, eax
call fcn.10007cb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10007740
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
push esi
push ecx
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x1000f1d8
push dword [0x10081834]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1000f20e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f204
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000f204
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.10007690
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
ret