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

Disassembly:
push 0x444
mov eax, 0x4adfd0
call fcn.0046afbc
mov esi, ecx
mov dword [ebp - 0x42c], esi
push 0x105
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00483730
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 0x41ca9e
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.00414071
pop ecx
mov ecx, dword [ebp - 0x438]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x41d397
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.00483730
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 0x41caf5
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 0x41ca7a
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040286d
mov eax, dword [0x518ed0]
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.00484080
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41cb38
or esi, 0xffffffff
jmp 0x41cb3c
sub esi, edi
sar esi, 1
call fcn.00451171
push eax
lea ecx, [ebp - 0x440]
call fcn.00402899
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
je 0x41cb91
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x450]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004126f3
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.00451171
push eax
lea ecx, [ebp - 0x448]
call fcn.00402899
mov esi, 0x518e5c
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00403224
test eax, eax
jne 0x41cd64
mov esi, dword [ebp - 0x440]
cmp dword [esi - 0xc], eax
jne 0x41cbf4
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.00414071
pop ecx
mov ecx, dword [ebp - 0x438]
jmp 0x41d36f
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 0x518ecc
lea eax, [ebp - 0x434]
push 0x4d0f80
push eax
call fcn.004023f1
push 0x4cfdb8
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 0x518ecc
lea eax, [ebp - 0x434]
push 0x4d0f80
push eax
call fcn.004023f1
push 0x4cfdb8
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 0x41d197
mov eax, dword [0x518eb0]
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.00451171
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.0043e1ed
mov esi, dword [ebp - 0x44c]
push esi
call fcn.0048b68c
pop ecx
mov ecx, 0x518e5c
mov dword [ebp - 0x438], eax
call fcn.004031f2
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + 0x18]
test eax, eax
je 0x41cecc
mov eax, 0x4cc930
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41ce29
push dword [0x518eb0]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12d
push eax
call fcn.0042415c
push dword [0x518eb0]
push 0x12d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xc
push ecx
call fcn.0042415c
add esp, 0x18
jmp 0x41cfe2
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.004023f1
push 0x4cfdb8
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 0x4cfdb8
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 0x41cfae
mov eax, str.Acrobat
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41cf10
push dword [0x518eb0]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12c
push eax
call fcn.0042415c
push dword [0x518eb0]
push 0x12c
jmp 0x41ce12
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.004023f1
push 0x4cfdb8
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 0x4cfdb8
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 0x41d06d
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.00486e3d
pop ecx
push eax
push str.Manifest3.msi
mov ecx, esi
call fcn.004025c6
push esi
lea eax, [ebp - 0x430]
push 0x518cf8
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 0x41d0a1
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.00451171
push eax
lea ecx, [ebp - 0x434]
call fcn.00402899
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x19
push eax
mov ecx, 0x518e5c
call fcn.0043e262
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, 0x5192b0
call fcn.00403251
test eax, eax
je 0x41d2ba
call fcn.00451171
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402899
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, 0x5192b0
call fcn.00416abb
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
je 0x41d22d
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.00413940
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 0x41d26c
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.00414227
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 0x41d333
cmp eax, 3
je 0x41d333
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 0x41d313
cmp ebx, 3
je 0x41d313
xor ebx, ebx
inc ebx
jmp 0x41d377
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 0x41d356
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.00413940
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.0046af66
ret