Function at 0x1000f2b0
Capabilities:
Encode data using xor
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x1002a280
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10041bd0]
xor eax, ebp
mov dword [ebp + 0x104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
mov dword [ebp - 0x10], 0x1002e958
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp byte [edi + 0x13], 0
mov dword [ebp - 0x1c], 0x104
je 0x1000f35a
mov eax, dword [edi + 0xf]
inc eax
push eax
call ecx
mov ebx, eax
add esp, 4
mov eax, dword [edi + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f350
sub esi, ebx
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + edi + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x1000f337
mov ecx, dword [sym.imp.ucrtbased.dll_malloc]
mov byte [eax + ebx], 0
mov dword [ebp - 0x10], 0x1002e988
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1000f3af
mov eax, dword [ebx + 0xf]
inc eax
push eax
call ecx
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f3a9
sub esi, edi
nop word [eax + eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x1000f390
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jle 0x1000f3d1
call fcn.10010190
jmp 0x1000f552
mov dword [ebp - 0x10], 0x1002e9b8
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1000f424
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f41e
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x1000f405
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000f549
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1002e9e8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000f544
push 1
push 0x40
push 8
push 0x1002e9ec
lea ecx, [ebp - 0xcc]
call fcn.10004a20
mov dword [ebp - 0x10], 0x1002e9f4
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
mov dword [ebp - 4], 0
cmp byte [ebx + 0x13], 0
je 0x1000f4df
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000f4d9
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x1000f4c0
mov byte [eax + edi], 0
mov esi, edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0xcc]
push esi
push eax
call fcn.100045b0
add esp, 8
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.10005500
test eax, eax
jne 0x1000f525
push eax
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push str.Temp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10010190
lea ecx, [ebp - 0xcc]
call fcn.10005010
jmp 0x1000f549
call fcn.10010190
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.100282d0
lea esp, [ebp + 0x108]
pop ebp
ret