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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6f71
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x639354]
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.00560a80
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 0x4a37af
push 1
lea eax, [ebp - 0x628]
push eax
push 0x5bbd7c
call fcn.0056b572
add esp, 0xc
test eax, eax
sete al
jmp 0x4a39b6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
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.005614c9
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.005614c9
add esp, 0x10
xor ecx, ecx
mov word [eax + 2], cx
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4a39d2
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 0x4a3840
movzx eax, ax
lea ecx, [ebp - 0x630]
push eax
call fcn.00429d90
jmp 0x4a3872
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3850
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x630]
call fcn.0042a060
push 0xb
push str.install.ini
lea ecx, [ebp - 0x630]
mov dword [ebp - 4], 1
call fcn.004299d0
mov edi, dword [ebp - 0x630]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x4a3994
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x420]
push edi
push 0x104
push eax
push 0x5bd654
push str.WPSPDFStandalone
push str.installinfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4a39dc
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 0x4a391a
movzx eax, ax
lea ecx, [ebp - 0x634]
push eax
call fcn.00429d90
jmp 0x4a3945
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a3923
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.0042a060
mov esi, dword [ebp - 0x634]
push 0x5bb494
push esi
call fcn.0056b422
add esp, 8
add esi, 0xfffffff0
test eax, eax
jne 0x4a3980
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a3977
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x629], 1
jmp 0x4a399b
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a3994
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 0x4a39b0
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3