Function at 0x1001fb1a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x30
mov eax, 0x1006c03d
call fcn.100521f6
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0x14], edi
jne 0x1001fb36
xor al, al
jmp 0x1001fd73
mov dword [ebp - 0x34], edi
call fcn.1002d306
sub eax, 0x40
neg eax
sbb eax, eax
and eax, 0xffffff00
lea ecx, [ebp - 0x34]
push ecx
add eax, 0x2011f
push eax
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_Assistant
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001fd71
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push edi
push str.ExecutablesToExclude
push dword [ebp - 0x34]
mov dword [ebp - 0x30], edi
call esi
cmp eax, edi
jne 0x1001fcf6
push dword [ebp - 0x30]
call fcn.1004dde9
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x1001fd68
push dword [ebp - 0x30]
push edi
push eax
call fcn.10051a60
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push edi
push edi
push str.ExecutablesToExclude
push dword [ebp - 0x34]
call esi
test eax, eax
jne 0x1001fcec
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x3c], edi
test eax, 0xfffffffe
jbe 0x1001fc4f
jmp 0x1001fbdd
xor edi, edi
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
lea eax, [eax + ecx*2]
push eax
lea esi, [ebp - 0x2c]
call fcn.100040e3
mov dword [ebp - 4], edi
cmp dword [ebx + 0x18], 8
mov edi, dword [ebx + 0x14]
jb 0x1001fc00
mov eax, dword [ebx + 4]
jmp 0x1001fc03
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
call fcn.10004baa
push 0
lea esi, [ebp - 0x2c]
push 1
test eax, eax
je 0x1001fc40
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1001fc4a
mov ecx, dword [ebp - 0x3c]
lea edi, [ecx + eax + 1]
mov dword [ebp - 0x3c], edi
call fcn.1000457f
mov eax, dword [ebp - 0x30]
inc eax
shr eax, 1
cmp edi, eax
jb 0x1001fbdb
jmp 0x1001fc4f
call fcn.1000457f
jmp 0x1001fcec
call fcn.1000457f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x14]
inc eax
shr eax, 1
lea esi, [eax + ecx + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004c552
mov edi, eax
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.10051a60
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [ebx + 0x18], 8
jb 0x1001fc91
mov ecx, dword [ebx + 4]
jmp 0x1001fc94
lea ecx, [ebx + 4]
lea eax, [eax + eax + 2]
push eax
push ecx
lea eax, [esi + esi]
push eax
push edi
call fcn.1004ccab
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x14]
inc ecx
shr ecx, 1
add ecx, ecx
push ecx
push dword [ebp - 0x38]
sub esi, eax
lea ecx, [esi + esi - 2]
push ecx
lea eax, [edi + eax*2 + 2]
push eax
call fcn.1004ccab
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x30]
add esp, 0x20
lea eax, [ecx + eax*2 + 2]
push eax
push edi
push 7
push 0
push str.ExecutablesToExclude
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.1004d030
pop ecx
push dword [ebp - 0x38]
call fcn.1004dd0c
jmp 0x1001fd67
cmp eax, 2
jne 0x1001fd68
mov esi, dword [ebx + 0x14]
inc esi
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004c552
add esi, esi
push esi
mov edi, eax
push 0
push edi
call fcn.10051a60
mov eax, dword [ebx + 0x14]
add esp, 0x10
cmp dword [ebx + 0x18], 8
jb 0x1001fd34
mov ebx, dword [ebx + 4]
jmp 0x1001fd37
add ebx, 4
lea eax, [eax + eax + 2]
push eax
push ebx
push esi
push edi
call fcn.1004ccab
add esp, 0x10
push esi
push edi
push 7
xor eax, eax
push eax
push str.ExecutablesToExclude
mov word [esi + edi - 2], ax
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.1004d030
pop ecx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
call fcn.10052279
ret