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

Disassembly:
push 0x444
mov eax, 0x4af6b0
call fcn.0046c44c
mov esi, ecx
mov dword [ebp - 0x42c], esi
push 0x105
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00484bc0
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 0x41d77e
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x438]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x41e077
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.00484bc0
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 0x41d7d5
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 0x41d75a
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040286d
mov eax, dword [0x51aed8]
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.00485294
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41d818
or esi, 0xffffffff
jmp 0x41d81c
sub esi, edi
sar esi, 1
call fcn.00452601
push eax
lea ecx, [ebp - 0x440]
call fcn.00402899
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
je 0x41d871
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x450]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.004133b3
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.00452601
push eax
lea ecx, [ebp - 0x448]
call fcn.00402899
mov esi, 0x51ae64
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00403224
test eax, eax
jne 0x41da44
mov esi, dword [ebp - 0x440]
cmp dword [esi - 0xc], eax
jne 0x41d8d4
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.00414d4f
pop ecx
mov ecx, dword [ebp - 0x438]
jmp 0x41e04f
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 0x51aed4
lea eax, [ebp - 0x434]
push 0x4d2a60
push eax
call fcn.004023f1
push 0x4d1898
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 0x51aed4
lea eax, [ebp - 0x434]
push 0x4d2a60
push eax
call fcn.004023f1
push 0x4d1898
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 0x41de77
mov eax, dword [0x51aeb8]
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.00452601
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.0043f50d
mov esi, dword [ebp - 0x44c]
push esi
call fcn.0048cb1c
pop ecx
mov ecx, 0x51ae64
mov dword [ebp - 0x438], eax
call fcn.004031f2
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + 0x18]
test eax, eax
je 0x41dbac
mov eax, 0x4cd960
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41db09
push dword [0x51aeb8]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12d
push eax
call fcn.00424e3c
push dword [0x51aeb8]
push 0x12d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xc
push ecx
call fcn.00424e3c
add esp, 0x18
jmp 0x41dcc2
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.004023f1
push 0x4d1898
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 0x4d1898
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 0x41dc8e
mov eax, str.Acrobat
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41dbf0
push dword [0x51aeb8]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12c
push eax
call fcn.00424e3c
push dword [0x51aeb8]
push 0x12c
jmp 0x41daf2
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.004023f1
push 0x4d1898
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 0x4d1898
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 0x41dd4d
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.004882cd
pop ecx
push eax
push str.Manifest3.msi
mov ecx, esi
call fcn.004025c6
push esi
lea eax, [ebp - 0x430]
push 0x51ad00
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 0x41dd81
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.00452601
push eax
lea ecx, [ebp - 0x434]
call fcn.00402899
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x19
push eax
mov ecx, 0x51ae64
call fcn.0043f582
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, 0x51b2b8
call fcn.00403251
test eax, eax
je 0x41df9a
call fcn.00452601
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402899
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, 0x51b2b8
call fcn.0041779b
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
je 0x41df0d
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.00414600
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 0x41df4c
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.00414f05
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 0x41e013
cmp eax, 3
je 0x41e013
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 0x41dff3
cmp ebx, 3
je 0x41dff3
xor ebx, ebx
inc ebx
jmp 0x41e057
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 0x41e036
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.00414600
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.0046c3f6
ret