Function at 0x42001b
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x444
mov eax, 0x4af8f0
call fcn.0046c66c
mov esi, ecx
mov dword [ebp - 0x42c], esi
push 0x105
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00484ac0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x42009e
push str.SHGetFolderPath_CSIDL_LOCAL_APPDATA_failed:
lea ecx, [ebp - 0x438]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], ebx
inc ecx
lea edx, [ebp - 0x438]
push edi
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x438]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x420997
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [esi + 8]
call fcn.0040286d
push 0x105
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.00484ac0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push ebx
push ebx
push 0x8023
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jns 0x4200f5
push str.SHGetFolderPath_CSIDL_COMMON_APPDATA_failed:
lea ecx, [ebp - 0x438]
call fcn.00402829
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
jmp 0x42007a
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040286d
mov eax, dword [0x519ff8]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
lea edi, [eax + 0x10]
mov dword [ebp - 0x450], edi
push 0x2f
push edi
mov dword [ebp - 4], 2
call fcn.004854d7
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x420138
or esi, 0xffffffff
jmp 0x42013c
sub esi, edi
sar esi, 1
call fcn.004527d1
push eax
lea ecx, [ebp - 0x440]
call fcn.00402899
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
je 0x420191
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x450]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.0040b0f1
push eax
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402e14
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004527d1
push eax
lea ecx, [ebp - 0x448]
call fcn.00402899
mov esi, 0x519f84
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00403224
test eax, eax
jne 0x420364
mov esi, dword [ebp - 0x440]
cmp dword [esi - 0xc], eax
jne 0x4201f4
push str.Manifest_URL_is_not_valid
lea ecx, [ebp - 0x438]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 6
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x438]
jmp 0x42096f
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [eax + 0x18]
call fcn.00402e14
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x450]
add eax, 0x14
push ecx
mov ecx, eax
mov dword [ebp - 0x444], eax
call fcn.00402e14
push dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.00402e14
push 0x519ff4
lea eax, [ebp - 0x434]
push str.AdobeARM_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 7
push eax
call fcn.00402459
add esp, 0x18
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea ecx, [ecx + 8]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x519ff4
lea eax, [ebp - 0x434]
push str.AdobeARM_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 9
push eax
call fcn.00402459
add esp, 0x18
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
lea ecx, [ecx + 0xc]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp - 0x42c]
add eax, 8
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
add ecx, 4
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - 0x438], ecx
call fcn.00402e14
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x42c]
add eax, 0x10
mov dword [ebp - 0x430], eax
jmp 0x420797
mov eax, dword [0x519fd8]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
mov ebx, eax
pop ecx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 0xc
call fcn.004527d1
push eax
lea ecx, [ebp - 0x44c]
call fcn.00402899
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.004421fb
mov esi, dword [ebp - 0x44c]
push esi
call fcn.0048c6ff
pop ecx
mov ecx, 0x519f84
mov dword [ebp - 0x438], eax
call fcn.004031f2
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + 0x18]
test eax, eax
je 0x4204cc
mov eax, 0x4cd948
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x420429
push dword [0x519fd8]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12d
push eax
call fcn.00427e11
push dword [0x519fd8]
push 0x12d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xc
push ecx
call fcn.00427e11
add esp, 0x18
jmp 0x4205e2
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xe
push eax
call fcn.00402459
add esp, 0x18
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
lea ecx, [ecx + 8]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x10
push eax
call fcn.00402459
add esp, 0x18
mov byte [ebp - 4], 0x11
jmp 0x4205ae
mov eax, str.Acrobat
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x420510
push dword [0x519fd8]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12c
push eax
call fcn.00427e11
push dword [0x519fd8]
push 0x12c
jmp 0x420412
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x12
push eax
call fcn.00402459
add esp, 0x18
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
lea ecx, [ecx + 8]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.004023f1
push 0x4d0aa0
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x14
push eax
call fcn.00402459
add esp, 0x18
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
mov ecx, dword [ebp - 0x42c]
push dword [eax - 0xc]
lea ecx, [ecx + 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.0040286d
mov eax, dword [ebp - 0x440]
cmp dword [eax - 0xc], 0
jne 0x42066d
push dword [esi - 0xc]
push esi
mov esi, dword [ebp - 0x42c]
add esi, 0x18
mov ecx, esi
call fcn.004025c6
push str.Manifest3.msi
call fcn.004881cd
pop ecx
push eax
push str.Manifest3.msi
mov ecx, esi
call fcn.004025c6
push esi
lea eax, [ebp - 0x430]
push 0x519e20
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
add ecx, 0x14
mov byte [ebp - 4], 0x16
push eax
mov dword [ebp - 0x444], ecx
call fcn.00402e14
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4206a1
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x440]
add esi, 0x18
push eax
mov ecx, esi
call fcn.00402e14
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x450]
add eax, 0x14
push ecx
mov ecx, eax
mov dword [ebp - 0x444], eax
call fcn.00402e14
push esi
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x430]
add esi, 8
push esi
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
add ecx, 4
mov byte [ebp - 4], 0x17
push eax
mov dword [ebp - 0x438], ecx
call fcn.00402e14
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.UpgradeManifest.msi
lea eax, [ebp - 0x434]
push esi
push eax
call fcn.00402459
add esp, 0xc
mov ecx, dword [ebp - 0x42c]
add ecx, 0x10
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - 0x430], ecx
call fcn.00402e14
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004527d1
push eax
lea ecx, [ebp - 0x434]
call fcn.00402899
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x19
push eax
mov ecx, 0x519f84
call fcn.00442270
mov esi, dword [ebp - 0x434]
lea ecx, [ebp - 0x448]
mov eax, esi
cmp dword [esi - 0xc], 0
cmove eax, dword [ebp - 0x44c]
push dword [eax - 0xc]
push eax
call fcn.004025c6
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x44c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00402e64
mov esi, dword [ebp - 0x440]
xor ebx, ebx
mov ecx, 0x51a3e0
call fcn.00403251
test eax, eax
je 0x4208ba
call fcn.004527d1
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402899
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, 0x51a3e0
call fcn.0041a09b
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
je 0x42082d
push str.manifest_path_from_cmd:
lea ecx, [ebp - 0x434]
call fcn.00402829
push ebx
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1b
push eax
push 2
lea edx, [ebp - 0x434]
pop ecx
call fcn.00417010
pop ecx
pop ecx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x43c]
push eax
call fcn.00402e14
jmp 0x42086c
mov edx, dword [ebp - 0x42c]
lea ecx, [edx + 0x18]
push ecx
lea eax, [edx + 0xc]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.004024b8
add esp, 0xc
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x438]
push eax
call fcn.00402e14
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp - 0x42c]
add eax, 0xc
push str.UpgradeManifest.msi
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x430]
push eax
call fcn.00402e14
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x43c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edx, dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.004178f7
mov ecx, dword [ebp - 0x42c]
push ebx
push dword [ecx + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x434], eax
cmp eax, 0xa1
je 0x420933
cmp eax, 3
je 0x420933
mov ecx, dword [ebp - 0x42c]
push ebx
push dword [ecx + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
cmp ebx, 0xa1
je 0x420913
cmp ebx, 3
je 0x420913
xor ebx, ebx
inc ebx
jmp 0x420977
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x430]
call fcn.00402829
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 0x1f
add eax, 0xc
push ebx
jmp 0x420956
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x430]
call fcn.00402829
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 0x1e
add eax, 8
push dword [ebp - 0x434]
xor ecx, ecx
lea edx, [ebp - 0x430]
push eax
inc ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x430]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x448]
add ecx, 0xfffffff0
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
mov eax, ebx
call fcn.0046c616
ret