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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599d70
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x62cf50]
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 - 0x48], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], 0
mov edi, dword [0x634a80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x4d]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
push eax
push 0x20019
mov ecx, str.SoftwarePoliciesAdobeAdobe_AcrobatDCFeatureLockDown
mov dword [ebp - 0x38], 0
test bl, bl
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDown
push 0
cmovne eax, ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41efe4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41efe4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 4
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], 4
push ecx
push 0
push dword [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41efdb
cmp dword [ebp - 0x14], 4
jne 0x41efdb
cmp dword [ebp - 0x18], eax
je 0x41efdb
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x41ee8f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041d630
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
je 0x41ef54
call fcn.00417ff0
add esp, 4
test al, al
je 0x41ef3e
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x41ef24
push 0
push 0xae5
push str.D:BTAcrobatViewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0x108]
call fcn.00428080
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 1
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x30]
add eax, 0x10
push ecx
push str.Found_custom_policy_file:
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0042c780
add esp, 8
push eax
call fcn.0042cdc0
add esp, 8
jmp 0x41ef27
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
test bl, 1
je 0x41ef3e
lea ecx, [ebp - 0x108]
call fcn.0042d0a0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.0041f390
jmp 0x41efcc
call fcn.00417ff0
add esp, 4
test al, al
je 0x41efcc
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x41efb9
push 0
push 0xaec
push str.D:BTAcrobatViewerwin_sandbox_broker_serverpolicy_configurator.cpp
lea ecx, [ebp - 0x108]
call fcn.00428080
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov ebx, 2
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x30]
add eax, 0x10
push ecx
push str.Custom_policy_file_NOT_found:
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0042c780
add esp, 8
push eax
call fcn.0042cdc0
add esp, 8
jmp 0x41efbc
mov ebx, dword [ebp - 0x3c]
test bl, 2
je 0x41efcc
lea ecx, [ebp - 0x108]
call fcn.0042d0a0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a580
push dword [ebp - 0x38]
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.004016cd
mov esp, ebp
pop ebp
ret 8