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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e368
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x579630]
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 - 0x5c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], 0
mov edi, dword [0x57f480]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x49]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
mov dword [ebp - 0x50], 0
mov ecx, str.SoftwarePoliciesAdobeAcrobat_ReaderDCFeatureLockDown
mov eax, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
cmove eax, ecx
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d03e
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x42d03e
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 4
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], 4
push ecx
push 0
push dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d035
cmp dword [ebp - 0x18], 4
jne 0x42d035
cmp dword [ebp - 0x14], eax
je 0x42d035
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x4c]
push esi
push str.Reader_
push eax
call fcn.0040ec80
add esp, 0xc
mov ecx, dword [0x57f480]
mov dword [ebp - 4], 0
call fcn.00460220
test al, al
je 0x42cee4
push esi
lea eax, [ebp - 0x78]
push str.Acrobat_
push eax
call fcn.0040ec80
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.00407e20
lea ecx, [ebp - 0x78]
call fcn.004087d0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00417430
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cfa7
call fcn.00412c10
test eax, eax
jg 0x42cf91
call fcn.00412c10
test eax, eax
jg 0x42cf77
push 0
push 0x91d
push str.policy_configurator.cpp
lea ecx, [ebp - 0x128]
call fcn.0046e250
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 1
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x30]
add eax, 8
push ecx
push str.Found_custom_policy_file:
push eax
mov dword [ebp - 0x54], ebx
call fcn.0045b4a0
add esp, 8
push eax
call fcn.0046e6c0
add esp, 8
jmp 0x42cf7a
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 4], 1
test bl, 1
je 0x42cf91
lea ecx, [ebp - 0x128]
call fcn.0046e3c0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.004b68c0
jmp 0x42d01e
call fcn.00412c10
test eax, eax
jg 0x42d01e
call fcn.00412c10
test eax, eax
jg 0x42d004
push 0
push 0x924
push str.policy_configurator.cpp
lea ecx, [ebp - 0x128]
call fcn.0046e250
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 2
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x30]
add eax, 8
push ecx
push str.Custom_policy_file_NOT_found:
push eax
mov dword [ebp - 0x54], ebx
call fcn.0045b4a0
add esp, 8
push eax
call fcn.0046e6c0
add esp, 8
jmp 0x42d007
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 4], 1
test bl, 2
je 0x42d01e
lea ecx, [ebp - 0x128]
call fcn.0046e3c0
lea ecx, [ebp - 0x30]
call fcn.004087d0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.004087d0
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00401590
mov esp, ebp
pop ebp
ret 8