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

Disassembly:
push 0x22c
mov eax, 0x46d6ac
call fcn.00452a2d
lea eax, [ebp - 0x21c]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x8023
push ebx
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x416b7b
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x224]
call fcn.004012e2
push edi
lea eax, [ebp - 0x224]
push eax
push 1
mov dword [ebp - 4], ebx
call fcn.004117b0
mov ecx, dword [ebp - 0x224]
add esp, 0xc
mov esi, eax
jmp 0x4170be
lea eax, [ebp - 0x21c]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.00401356
push 0x4b7850
lea ecx, [ebp - 0x230]
call fcn.00401326
push 0x2f
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.00408b0c
mov edi, eax
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x234]
call fcn.004013a1
mov byte [ebp - 4], 2
cmp edi, 0xffffffff
je 0x416c0d
mov eax, dword [ebp - 0x230]
mov eax, dword [eax - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
call main
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.00407768
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x22c]
call fcn.004013a1
mov edi, 0x4b77dc
mov eax, edi
mov byte [ebp - 4], 4
call fcn.00401c1a
test eax, eax
jne 0x416d45
mov edi, dword [ebp - 0x234]
cmp dword [edi - 0xc], eax
jne 0x416ca1
push str.Manifest_URL_is_not_valid
lea ecx, [ebp - 0x224]
call fcn.004012e2
push 0
lea eax, [ebp - 0x224]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.004117b0
mov ecx, dword [ebp - 0x224]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x4170c8
lea eax, [ebp - 0x230]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00407768
push edi
lea ecx, [ebp - 0x22c]
call fcn.00407768
push 0x4b784c
lea eax, [ebp - 0x220]
push str.AdobeARM_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479924
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 6
call fcn.0040740d
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00401103
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.00401025
add esp, 0xc
lea ecx, [esi + 4]
push eax
mov byte [ebp - 4], 8
call fcn.00407768
jmp 0x416ff9
push 0x4b7830
lea ecx, [ebp - 0x224]
call fcn.00401326
mov byte [ebp - 4], 9
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x238]
call fcn.004013a1
lea eax, [ebp - 0x238]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00431c66
push dword [ebp - 0x238]
call main
pop ecx
mov dword [ebp - 0x220], eax
call fcn.00401bec
lea ecx, [esi + 0x14]
test eax, eax
je 0x416e18
mov edi, 0x476310
push edi
call fcn.00401356
cmp dword [ebp - 0x220], 0xa
jge 0x416dbb
push dword [0x4b7830]
push 0x12d
jmp 0x416e37
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push str.AdobeARMReader_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479924
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040740d
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.00401103
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
jmp 0x416e9a
mov edi, str.Acrobat
push edi
call fcn.00401356
cmp dword [ebp - 0x220], 0xa
jge 0x416e42
push dword [0x4b7830]
push 0x12c
mov ecx, ebx
call fcn.0041c72a
pop ecx
pop ecx
jmp 0x416ea2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push str.AdobeARMAcrobat_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479924
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040740d
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00401103
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017df
push edi
lea ecx, [ebp - 0x22c]
call fcn.00401356
mov eax, dword [ebp - 0x234]
cmp dword [eax - 0xc], 0
jne 0x416f12
mov eax, dword [ebp - 0x238]
push dword [eax - 0xc]
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call main
push str.Manifest2.msi
mov ecx, edi
call fcn.004075b6
push edi
lea eax, [ebp - 0x228]
push 0x4b769c
push eax
call fcn.00401025
add esp, 0xc
lea edi, [esi + 0x10]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.00407768
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x416f32
lea eax, [ebp - 0x234]
push eax
lea ecx, [esi + 0x14]
call fcn.00407768
lea eax, [ebp - 0x230]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00407768
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.00401025
add esp, 0xc
lea ecx, [esi + 4]
push eax
mov byte [ebp - 4], 0x10
call fcn.00407768
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
push str.UpgradeManifest.msi
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.0040740d
add esp, 0xc
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 0x11
call fcn.00407768
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x220]
call fcn.004013a1
lea eax, [ebp - 0x220]
push eax
mov ecx, 0x4b77dc
mov byte [ebp - 4], 0x12
call fcn.00431d8e
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
lea eax, [ebp - 0x238]
je 0x416fd7
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401103
lea ecx, [esi - 0x10]
call fcn.004017df
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp - 0x22c]
push edi
push eax
call main
mov eax, dword [ebx]
pop ecx
pop ecx
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x417065
cmp esi, 3
je 0x417065
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
inc eax
jmp 0x4170c8
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x220]
call fcn.004012e2
push esi
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov byte [ebp - 4], 0x13
call fcn.004112e0
mov ecx, dword [ebp - 0x220]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, esi
call fcn.00452ab0
ret