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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5c8910]
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]
mov dword [ebp - 0x24], ebx
cmp dword [ebx], edi
jne 0x460225
xor al, al
jmp 0x46043b
mov dword [ebp - 0x28], edi
call fcn.0045a1e3
cmp eax, 0x40
mov edx, 0x2011f
lea eax, [ebp - 0x28]
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 0x460439
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
push edi
push edi
push edi
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4603be
push dword [ebp - 0x20]
call fcn.0053b140
mov edi, eax
pop ecx
test edi, edi
je 0x460430
push dword [ebp - 0x20]
xor ebx, ebx
push ebx
push edi
call fcn.00538910
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push ebx
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46039f
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
test eax, 0xfffffffe
jbe 0x46030a
lea eax, [edi + ebx*2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00408738
push esi
lea ecx, [ebp - 0x1c]
call fcn.004107b7
lea ecx, [ebp - 0x1c]
push 0
push 1
test eax, eax
je 0x4603b7
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4603aa
inc eax
add ebx, eax
call fcn.00403256
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + 1]
shr eax, 1
cmp ebx, eax
jb 0x4602c7
mov ebx, dword [ebp - 0x24]
inc ecx
shr ecx, 1
push 2
pop edx
mov eax, dword [ebx]
inc eax
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051b796
mov ecx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x24], ecx
push eax
push 0
push ecx
call fcn.00538910
mov eax, dword [ebx]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x46034c
mov esi, dword [esi]
inc eax
push eax
push esi
mov esi, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x24]
call fcn.0053ad5a
mov eax, dword [ebp - 0x20]
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.0053ad5a
mov ecx, dword [ebx]
add esp, 0x20
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*2]
add eax, 2
push eax
push esi
push 7
push 0
push str.ExecutablesToExclude
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call fcn.0053b82d
pop ecx
push edi
call fcn.005363a4
jmp 0x46042f
call fcn.00403256
mov ecx, dword [ebp - 0x20]
jmp 0x46030a
call fcn.00403256
jmp 0x46039f
push 2
pop edx
cmp eax, edx
jne 0x460430
mov eax, dword [ebx]
xor ecx, ecx
add eax, edx
mov dword [ebp - 0x24], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051b796
mov edi, eax
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push 0
push edi
mov dword [ebp - 0x2c], eax
call fcn.00538910
mov eax, dword [ebx]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x4603fd
mov esi, dword [esi]
inc eax
push eax
push esi
push dword [ebp - 0x24]
push edi
call fcn.0053ad5a
mov eax, dword [ebp - 0x2c]
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 - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
call fcn.0053b82d
pop ecx
push dword [ebp - 0x28]
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.0053bd6c
mov esp, ebp
pop ebp
ret 4