Function at 0x425dd0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfaf8
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ecx
mov ecx, dword [0x52513c]
mov eax, 0x4eadd8
cmp byte [ecx + 0x45], bl
je 0x425e1a
mov eax, str.SoftwarePoliciesAdobeAdobe_Acrobat11.0FeatureLockDown
lea edx, [ebp - 0x4c]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425fe6
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x425fe6
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x54]
push ecx
push ebx
push str.bUseWhitelistConfigFile
mov esi, 4
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425fdc
cmp dword [ebp - 0x54], esi
jne 0x425fdc
cmp dword [ebp - 0x50], ebx
je 0x425fdc
push str.ReaderProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.00408720
mov edx, dword [0x52513c]
mov dword [ebp - 4], ebx
cmp byte [edx + 0x45], bl
je 0x425eaf
push str.AcrobatProtectedModeWhitelistConfig.txt
lea ecx, [ebp - 0x48]
call fcn.00438ae0
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x425ebf
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041d630
add esp, 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jae 0x425edb
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425f64
call fcn.0040e750
test eax, eax
jg 0x425f37
push ebx
push 0x78f
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.0040e760
mov ecx, dword [ebp - 0x2c]
mov ebx, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x58], ebx
cmp dword [ebp - 0x18], esi
jae 0x425f1c
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Found_custom_policy_file:
push eax
call fcn.00415d00
add esp, 8
push eax
call fcn.00437fa0
add esp, 8
mov dword [ebp - 4], 1
test bl, 1
je 0x425f4e
lea ecx, [ebp - 0x110]
call fcn.004164a0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x425f59
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x60]
push eax
call fcn.004844c0
jmp 0x425fcc
call fcn.0040e750
test eax, eax
jg 0x425fb5
push ebx
push 0x794
push str.policy_configurator.cpp
lea ecx, [ebp - 0x110]
call fcn.0040e760
mov ecx, dword [ebp - 0x2c]
mov ebx, 2
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], ebx
cmp dword [ebp - 0x18], esi
jae 0x425f9a
lea ecx, [ebp - 0x2c]
push ecx
add eax, 8
push str.Custom_policy_file_NOT_found:
push eax
call fcn.00415d00
add esp, 8
push eax
call fcn.00437fa0
add esp, 8
mov dword [ebp - 4], 1
test bl, 2
je 0x425fcc
lea ecx, [ebp - 0x110]
call fcn.004164a0
lea ecx, [ebp - 0x2c]
call fcn.00409f90
lea ecx, [ebp - 0x48]
call fcn.00409f90
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret