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

Disassembly:
push 0x22c
mov eax, 0x46dc3f
call fcn.00452f1d
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 0x416be4
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.00411806
mov ecx, dword [ebp - 0x224]
add esp, 0xc
mov esi, eax
jmp 0x417127
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.00408b57
mov edi, eax
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x234]
call fcn.004013a1
mov byte [ebp - 4], 2
cmp edi, 0xffffffff
je 0x416c76
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 fcn.00408b9f
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.004077b3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x22c]
call fcn.004013a1
mov edi, 0x4b77dc
mov eax, edi
mov byte [ebp - 4], 4
call fcn.00401c10
test eax, eax
jne 0x416dae
mov edi, dword [ebp - 0x234]
cmp dword [edi - 0xc], eax
jne 0x416d0a
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.00411806
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 0x417131
lea eax, [ebp - 0x230]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.004077b3
push edi
lea ecx, [ebp - 0x22c]
call fcn.004077b3
push 0x4b784c
lea eax, [ebp - 0x220]
push str.AdobeARM_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479944
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 6
call fcn.00407458
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.004077b3
jmp 0x417062
push 0x4b7830
lea ecx, [ebp - 0x224]
call fcn.00401326
mov byte [ebp - 4], 9
call fcn.0043f3c0
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.00431f26
push dword [ebp - 0x238]
call fcn.00450c97
pop ecx
mov dword [ebp - 0x220], eax
call fcn.00401be2
lea ecx, [esi + 0x14]
test eax, eax
je 0x416e81
mov edi, 0x476300
push edi
call fcn.00401356
cmp dword [ebp - 0x220], 0xa
jge 0x416e24
push dword [0x4b7830]
push 0x12d
jmp 0x416ea0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push str.AdobeARMReader_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479944
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 0xb
call fcn.00407458
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 0x416f03
mov edi, str.Acrobat
push edi
call fcn.00401356
cmp dword [ebp - 0x220], 0xa
jge 0x416eab
push dword [0x4b7830]
push 0x12c
mov ecx, ebx
call fcn.0041c7a0
pop ecx
pop ecx
jmp 0x416f0b
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push str.AdobeARMAcrobat_
push eax
call fcn.0040107c
add esp, 0xc
push 0x479944
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 0xd
call fcn.00407458
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 0x416f7b
mov eax, dword [ebp - 0x238]
push dword [eax - 0xc]
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call fcn.00401163
push str.Manifest2.msi
mov ecx, edi
call fcn.00407601
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.004077b3
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x416f9b
lea eax, [ebp - 0x234]
push eax
lea ecx, [esi + 0x14]
call fcn.004077b3
lea eax, [ebp - 0x230]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.004077b3
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.004077b3
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.00407458
add esp, 0xc
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 0x11
call fcn.004077b3
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017df
call fcn.0043f3c0
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.0043204e
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
lea eax, [ebp - 0x238]
je 0x417040
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 fcn.004119d0
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 0x4170ce
cmp esi, 3
je 0x4170ce
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 0x417131
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.00411336
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.00452fa0
ret