Function at 0x40c750
Capabilities:
Get common file path
Get startup folder
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496801
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4bc040]
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 esi, ecx
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40c838
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c804
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004015e0
push 0x1b
push str.AdobeAdobe_Desktop_Common
lea ecx, [ebp - 0x230]
call fcn.00405f60
push 5
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x4b0084
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004015e0
push ecx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040de50
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x40c8c4
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c8ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb49
push edx
push ecx
call fcn.00475cec
add esp, 8
push 9
xor eax, eax
mov dword [ebp - 0x238], 0
push str.HDUWP.dll
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004015e0
push ecx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.0040de50
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x40c950
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c946
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb4e
push edx
push ecx
call fcn.00475cec
add esp, 8
lea eax, [ebp - 0x230]
push eax
lea ecx, [esi + 0x28]
call fcn.00415400
test al, al
jne 0x40c990
mov ecx, dword [0x4be6a4]
test ecx, ecx
je 0x40caed
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.Failed_to_load_hduwp_dll_from_path__s
jmp 0x40cad2
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c9ac
push str.hduwpInstallPackage
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi], ecx
xor ecx, ecx
test eax, eax
je 0x40c9c1
push str.hduwpUninstallPackage
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 4], ecx
xor ecx, ecx
test eax, eax
je 0x40c9d7
push str.hduwpIsPackageInstalledForAnyUser
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0xc], ecx
xor ecx, ecx
test eax, eax
je 0x40c9ed
push str.hduwpIsPackageInstalledForCurrentUser
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 8], ecx
xor ecx, ecx
test eax, eax
je 0x40ca03
push str.hduwpIsPackageWithFamilyNameInstalledForCurrentUser
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x10], ecx
xor ecx, ecx
test eax, eax
je 0x40ca19
push str.hduwpLaunchPackage
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x14], ecx
xor ecx, ecx
test eax, eax
je 0x40ca2f
push str.hduwpGetInstalledPackageUsers
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], ecx
xor ecx, ecx
test eax, eax
je 0x40ca45
push str.hduwpGetPackageFullName
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], ecx
xor ecx, ecx
test eax, eax
je 0x40ca5b
push str.hduwpGetPackageFamilyName
push eax
call ebx
mov ecx, eax
mov eax, dword [esi + 0x28]
mov dword [esi + 0x20], ecx
xor ecx, ecx
test eax, eax
je 0x40ca6e
push str.hduwpRegisterPackage
push eax
call ebx
mov ecx, eax
cmp dword [esi], 0
mov dword [esi + 0x24], ecx
je 0x40caae
cmp dword [esi + 4], 0
je 0x40caae
cmp dword [esi + 0xc], 0
je 0x40caae
cmp dword [esi + 0x10], 0
je 0x40caae
cmp dword [esi + 8], 0
je 0x40caae
cmp dword [esi + 0x14], 0
je 0x40caae
cmp dword [esi + 0x18], 0
je 0x40caae
cmp dword [esi + 0x1c], 0
je 0x40caae
cmp dword [esi + 0x20], 0
je 0x40caae
test ecx, ecx
je 0x40caae
mov bl, 1
jmp 0x40caef
mov ecx, dword [0x4be6a4]
test ecx, ecx
je 0x40caed
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push str.Failed_to_load_function_from_HDUWP_DLL_from_path__s
push 0x4aeee0
push 0x4aeee0
push str.HDPIMUWPHelper
push 0x4aee78
push 0x32
call ecx
add esp, 0x1c
xor bl, bl
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40cb2b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb53
push edx
push ecx
call fcn.00475cec
add esp, 8
mov al, bl
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.00475cfa
mov esp, ebp
pop ebp
ret
call fcn.0047b37a
call fcn.0047b37a
call fcn.0047b37a
int3