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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
lea ebx, [esi + 0x10]
cmp dword [ebx], edi
jne 0x4b1bf4
xor al, al
jmp 0x4b1ed0
mov dword [ebp - 0x2c], edi
call fcn.004630be
cmp eax, 0x40
mov edx, 0x2011f
lea eax, [ebp - 0x2c]
mov ecx, 0x2001f
push eax
cmove ecx, edx
push ecx
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_Assistant
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b1ece
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push eax
push edi
push edi
push edi
push str.ExecutablesToExclude
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b1e53
push dword [ebp - 0x28]
call fcn.00591cad
mov edi, eax
pop ecx
test edi, edi
je 0x4b1ec5
push dword [ebp - 0x28]
push 0
push edi
call fcn.00573610
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push edi
push 0
push 0
push str.ExecutablesToExclude
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b1dc1
mov eax, dword [ebp - 0x28]
xor ecx, ecx
inc eax
mov dword [ebp - 0x30], ecx
test eax, 0xfffffffe
jbe 0x4b1d2c
and dword [ebp - 0x1c], 0
lea eax, [edi + ecx*2]
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 8], 7
call fcn.00408fe7
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041069a
test al, al
jne 0x4b1e12
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b1dcc
mov ecx, dword [ebp - 0x30]
inc eax
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
cmp eax, 8
jb 0x4b1d1e
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, 0x1000
jb 0x4b1d12
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
inc eax
shr eax, 1
cmp ecx, eax
jb 0x4b1c9e
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx]
push 2
pop edx
lea ecx, [ecx + 1]
shr ecx, 1
inc ecx
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ca71
mov ecx, dword [ebp - 0x20]
add ecx, ecx
mov dword [ebp - 0x24], eax
push ecx
push 0
push eax
call fcn.00573610
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4b1d6c
mov esi, dword [esi]
mov eax, dword [ebx]
inc eax
push eax
push esi
mov esi, dword [ebp - 0x20]
push esi
push dword [ebp - 0x24]
call fcn.0059203a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx]
inc eax
shr eax, 1
sub esi, ecx
push eax
push edi
dec esi
inc ecx
push esi
mov esi, dword [ebp - 0x24]
lea eax, [esi + ecx*2]
push eax
call fcn.0059203a
mov ecx, dword [ebx]
add esp, 0x20
mov eax, dword [ebp - 0x28]
lea eax, [eax + ecx*2]
add eax, 2
push eax
push esi
push 7
push 0
push str.ExecutablesToExclude
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.0056ca7a
pop ecx
push edi
call fcn.0057e74c
jmp 0x4b1ec4
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4b1d2c
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x4b1e04
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
jmp 0x4b1d2c
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4b1dc1
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x4b1e46
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403daf
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0056c61e
pop ecx
jmp 0x4b1dc0
push 2
pop edx
cmp eax, edx
jne 0x4b1ec5
mov eax, dword [ebx]
xor ecx, ecx
add eax, edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056ca71
mov edi, eax
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
push 0
push edi
mov dword [ebp - 0x24], eax
call fcn.00573610
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4b1e90
mov esi, dword [esi]
mov eax, dword [ebx]
inc eax
push eax
push esi
push dword [ebp - 0x20]
push edi
call fcn.0059203a
mov eax, dword [ebp - 0x24]
add esp, 0x10
xor ecx, ecx
push eax
push edi
push 7
push ecx
push str.ExecutablesToExclude
mov word [eax + edi - 2], cx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.0056ca7a
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret 4