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

Disassembly:
push 0x444
mov eax, 0x4abe50
call fcn.00468fdc
mov esi, ecx
mov dword [ebp - 0x42c], esi
push 0x105
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00481750
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 0x41c1fe
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.004137d1
pop ecx
mov ecx, dword [ebp - 0x438]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x41caf7
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.00481750
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 0x41c255
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 0x41c1da
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [esi + 0xc]
call fcn.0040286d
mov eax, dword [0x514ed0]
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.004820a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c298
or esi, 0xffffffff
jmp 0x41c29c
sub esi, edi
sar esi, 1
call fcn.0044f181
push eax
lea ecx, [ebp - 0x440]
call fcn.00402899
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
je 0x41c2f1
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x450]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00411e50
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.0044f181
push eax
lea ecx, [ebp - 0x448]
call fcn.00402899
mov esi, 0x514e5c
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00403224
test eax, eax
jne 0x41c4c4
mov esi, dword [ebp - 0x440]
cmp dword [esi - 0xc], eax
jne 0x41c354
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.004137d1
pop ecx
mov ecx, dword [ebp - 0x438]
jmp 0x41cacf
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 0x514ecc
lea eax, [ebp - 0x434]
push 0x4cd860
push eax
call fcn.004023f1
push 0x4cc6b0
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 0x514ecc
lea eax, [ebp - 0x434]
push 0x4cd860
push eax
call fcn.004023f1
push 0x4cc6b0
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 0x41c8f7
mov eax, dword [0x514eb0]
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.0044f181
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.0043d881
mov esi, dword [ebp - 0x44c]
push esi
call fcn.004896ac
pop ecx
mov ecx, 0x514e5c
mov dword [ebp - 0x438], eax
call fcn.004031f2
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + 0x18]
test eax, eax
je 0x41c62c
mov eax, 0x4c9910
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41c589
push dword [0x514eb0]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12d
push eax
call fcn.0042388c
push dword [0x514eb0]
push 0x12d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xc
push ecx
call fcn.0042388c
add esp, 0x18
jmp 0x41c742
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.004023f1
push 0x4cc6b0
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 0x4cc6b0
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 0x41c70e
mov eax, str.Acrobat
push eax
mov dword [ebp - 0x444], eax
call fcn.0040286d
cmp dword [ebp - 0x438], 0xa
jge 0x41c670
push dword [0x514eb0]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12c
push eax
call fcn.0042388c
push dword [0x514eb0]
push 0x12c
jmp 0x41c572
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.004023f1
push 0x4cc6b0
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 0x4cc6b0
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 0x41c7cd
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.00484e5d
pop ecx
push eax
push str.Manifest3.msi
mov ecx, esi
call fcn.004025c6
push esi
lea eax, [ebp - 0x430]
push 0x514cf8
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 0x41c801
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.0044f181
push eax
lea ecx, [ebp - 0x434]
call fcn.00402899
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x19
push eax
mov ecx, 0x514e5c
call fcn.0043d8f6
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, 0x5152ac
call fcn.00403251
test eax, eax
je 0x41ca1a
call fcn.0044f181
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402899
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, 0x5152ac
call fcn.0041621b
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
je 0x41c98d
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.004130a0
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 0x41c9cc
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.00413987
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 0x41ca93
cmp eax, 3
je 0x41ca93
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 0x41ca73
cmp ebx, 3
je 0x41ca73
xor ebx, ebx
inc ebx
jmp 0x41cad7
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 0x41cab6
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.004130a0
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.00468f86
ret