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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x634254]
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 0x4b530b
xor al, al
jmp 0x4b55e7
mov dword [ebp - 0x2c], edi
call fcn.004661bd
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 0x4b55e5
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 0x4b556a
push dword [ebp - 0x28]
call fcn.005a1c68
mov edi, eax
pop ecx
test edi, edi
je 0x4b55dc
push dword [ebp - 0x28]
push 0
push edi
call fcn.005713c0
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 0x4b54d8
mov eax, dword [ebp - 0x28]
xor ecx, ecx
inc eax
mov dword [ebp - 0x30], ecx
test eax, 0xfffffffe
jbe 0x4b5443
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.004089a4
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040fc23
test al, al
jne 0x4b5529
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b54e3
mov ecx, dword [ebp - 0x30]
inc eax
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
cmp eax, 8
jb 0x4b5435
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, 0x1000
jb 0x4b5429
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
inc eax
shr eax, 1
cmp ecx, eax
jb 0x4b53b5
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.0056d555
mov ecx, dword [ebp - 0x20]
add ecx, ecx
mov dword [ebp - 0x24], eax
push ecx
push 0
push eax
call fcn.005713c0
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4b5483
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.00592286
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.00592286
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.0056d55e
pop ecx
push edi
call fcn.0057becd
jmp 0x4b55db
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4b5443
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x4b551b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
jmp 0x4b5443
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x4b54d8
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x4b555d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0056d0c8
pop ecx
jmp 0x4b54d7
push 2
pop edx
cmp eax, edx
jne 0x4b55dc
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.0056d555
mov edi, eax
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
push 0
push edi
mov dword [ebp - 0x24], eax
call fcn.005713c0
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4b55a7
mov esi, dword [esi]
mov eax, dword [ebx]
inc eax
push eax
push esi
push dword [ebp - 0x20]
push edi
call fcn.00592286
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.0056d55e
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.0056d855
leave
ret 4