Function at 0x427af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507448
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov eax, dword [0x5513c0]
lea esi, [eax + 4]
push esi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x4c], str.SoftwarePoliciesAdobeAcrobat_Reader11.0FeatureLockDown
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x51]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, str.SoftwarePoliciesAdobeAdobe_Acrobat11.0FeatureLockDown
test bl, bl
jne 0x427b56
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
push ecx
push 0x20019
xor edi, edi
push edi
push eax
push 0x80000002
mov dword [ebp - 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427d33
mov eax, dword [ebp - 0x54]
cmp eax, edi
je 0x427d33
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x58]
push edx
push edi
push str.bUseWhitelistConfigFile
mov esi, 4
push eax
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [edi + 1]
test eax, eax
jne 0x427d25
cmp dword [ebp - 0x58], esi
jne 0x427d25
cmp dword [ebp - 0x4c], edi
je 0x427d25
push str.ReaderProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.00408940
mov ecx, dword [0x5513c0]
mov dword [ebp - 4], edi
call fcn.0045d994
test al, al
je 0x427bf4
push str.AcrobatProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.00418650
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x427c04
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00415460
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jae 0x427c1f
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427ca8
call fcn.0040ecf0
test eax, eax
jg 0x427c92
call fcn.0040ecf0
test eax, eax
jg 0x427c7f
push edi
push 0x7e2
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.00458750
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x18], esi
jae 0x427c64
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Found_custom_policy_file:
push eax
call fcn.004461c0
add esp, 8
push eax
call fcn.004587e0
add esp, 8
mov dword [ebp - 4], ebx
test byte [ebp - 0x50], bl
je 0x427c92
lea ecx, [ebp - 0x110]
call fcn.00458cd0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x427c9d
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
push eax
call fcn.0049c660
jmp 0x427d15
call fcn.0040ecf0
test eax, eax
jg 0x427d15
call fcn.0040ecf0
test eax, eax
jg 0x427d01
push edi
push 0x7e9
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.00458750
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 2
cmp dword [ebp - 0x18], esi
jae 0x427ce6
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Custom_policy_file_NOT_found:
push eax
call fcn.004461c0
add esp, 8
push eax
call fcn.004587e0
add esp, 8
test byte [ebp - 0x50], 2
mov dword [ebp - 4], ebx
je 0x427d15
lea ecx, [ebp - 0x110]
call fcn.00458cd0
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
lea ecx, [ebp - 0x48]
call fcn.0040a2c0
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x427d35
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret