Function at 0x4a2dd0
Capabilities:
Check if file exists
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a29d1
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x63434c]
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
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push str.IS_PDF_OVERSEAS_VERSION
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4a2e4f
push 1
lea eax, [ebp - 0x628]
push eax
push 0x5b6e0c
call fcn.00567022
add esp, 0xc
test eax, eax
sete al
jmp 0x4a3056
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0055cf79
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.0055cf79
add esp, 0x10
xor ecx, ecx
mov word [eax + 2], cx
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a3072
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4a2ee0
movzx eax, ax
lea ecx, [ebp - 0x630]
push eax
call fcn.00429d30
jmp 0x4a2f12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2ef0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x630]
call fcn.0042a000
push 0xb
push str.install.ini
lea ecx, [ebp - 0x630]
mov dword [ebp - 4], 1
call fcn.00429970
mov edi, dword [ebp - 0x630]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x4a3034
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x420]
push edi
push 0x104
push eax
push 0x5b86ec
push str.WPSPDFStandalone
push str.installinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x4a307c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x4a2fba
movzx eax, ax
lea ecx, [ebp - 0x634]
push eax
call fcn.00429d30
jmp 0x4a2fe5
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2fc3
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.0042a000
mov esi, dword [ebp - 0x634]
push 0x5b6494
push esi
call fcn.00566ed2
add esp, 8
add esi, 0xfffffff0
test eax, eax
jne 0x4a3020
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a3017
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x629], 1
jmp 0x4a303b
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a3034
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x629], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4a3050
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x629]
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3