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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c578
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x553948]
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
xor ebx, ebx
mov dword [ebp - 0x284], ebx
push 0x2d
mov edi, ecx
xor eax, eax
mov esi, 7
push str.SoftwareAdobeRepairAcrobat_Reader11.0IOD
lea ecx, [ebp - 0x254]
mov byte [ebp - 0x271], bl
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
call fcn.004063e0
xor ecx, ecx
push 0x30
mov word [ebp - 0x238], cx
push str.SoftwareAdobeAcrobat_Reader11.0InstallerIOD
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
call fcn.004063e0
cmp dword [ebp - 0x240], 8
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 1
jae 0x4b2fd3
lea eax, [ebp - 0x254]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x278]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
je 0x4b3024
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x4b3007
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x278]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
jne 0x4b3164
push 0x20a
lea edx, [ebp - 0x21c]
push ebx
push edx
call fcn.004e41d0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
mov eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x27c]
push edx
push ebx
push str.Library
push eax
mov dword [ebp - 0x280], 0x20a
mov dword [ebp - 0x27c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b3157
xor ecx, ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], cx
lea edx, [eax + 2]
jmp 0x4b30a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b30a0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x270]
call fcn.004063e0
lea eax, [ebp - 0x270]
push ebx
mov esi, 1
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x284], esi
call fcn.00416de0
add esp, 8
test al, al
jne 0x4b30fd
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x272], 1
test eax, eax
jne 0x4b3103
mov byte [ebp - 0x272], bl
cmp dword [ebp - 0x25c], 8
mov dword [ebp - 4], esi
jb 0x4b311e
mov edx, dword [ebp - 0x270]
push edx
call fcn.00406fa9
add esp, 4
cmp byte [ebp - 0x272], bl
je 0x4b3157
call fcn.0043b510
test al, al
je 0x4b3157
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
je 0x4b3157
push str.MaintenanceRepair
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [edi], eax
setne byte [ebp - 0x271]
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0x4b3180
mov edx, dword [ebp - 0x238]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
cmp dword [ebp - 0x240], esi
jb 0x4b31b0
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00406fa9
add esp, 4
mov al, byte [ebp - 0x271]
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