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

Disassembly:
push 0x444
mov eax, 0x487bc0
call fcn.00464e7c
mov esi, ecx
mov dword [ebp - 0x42c], esi
push 0x105
xor ebx, ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00466990
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 0x41c7ce
push str.SHGetFolderPath_CSIDL_LOCAL_APPDATA_failed:
lea ecx, [ebp - 0x438]
call fcn.0040279b
xor ecx, ecx
mov dword [ebp - 4], ebx
inc ecx
lea edx, [ebp - 0x438]
push edi
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x438]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402def
mov eax, esi
jmp 0x41d0c7
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [esi + 8]
call fcn.004027df
push 0x105
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.00466990
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 0x41c825
push str.SHGetFolderPath_CSIDL_COMMON_APPDATA_failed:
lea ecx, [ebp - 0x438]
call fcn.0040279b
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
jmp 0x41c7aa
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [esi + 0xc]
call fcn.004027df
mov eax, dword [0x4e2130]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
lea edi, [eax + 0x10]
mov dword [ebp - 0x450], edi
push 0x2f
push edi
mov dword [ebp - 4], 2
call fcn.004673a7
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41c868
or esi, 0xffffffff
jmp 0x41c86c
sub esi, edi
sar esi, 1
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x440]
call fcn.00402824
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
je 0x41c8c1
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x450]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.0040abbb
push eax
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 4
call fcn.00402d9f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x448]
call fcn.00402824
mov esi, 0x4e20bc
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00403244
test eax, eax
jne 0x41ca94
mov esi, dword [ebp - 0x440]
cmp dword [esi - 0xc], eax
jne 0x41c924
push str.Manifest_URL_is_not_valid
lea ecx, [ebp - 0x438]
call fcn.0040279b
push ebx
push 2
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 6
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x438]
jmp 0x41d09f
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x440]
push ecx
lea ecx, [eax + 0x18]
call fcn.00402d9f
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x450]
add eax, 0x14
push ecx
mov ecx, eax
mov dword [ebp - 0x444], eax
call fcn.00402d9f
push dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.00402d9f
push 0x4e212c
lea eax, [ebp - 0x434]
push str.AdobeARM_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 7
push eax
call fcn.004023e9
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.00402556
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 0x4e212c
lea eax, [ebp - 0x434]
push str.AdobeARM_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 9
push eax
call fcn.004023e9
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.00402556
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp - 0x42c]
add eax, 8
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00402448
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.00402d9f
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [ebp - 0x42c]
add eax, 0x10
mov dword [ebp - 0x430], eax
jmp 0x41cec7
mov eax, dword [0x4e2110]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
mov ebx, eax
pop ecx
lea eax, [ebx + 0x10]
mov dword [ebp - 0x43c], eax
mov byte [ebp - 4], 0xc
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x44c]
call fcn.00402824
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.0043d765
mov esi, dword [ebp - 0x44c]
push esi
call fcn.0046d752
pop ecx
mov ecx, 0x4e20bc
mov dword [ebp - 0x438], eax
call fcn.00403212
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx + 0x18]
test eax, eax
je 0x41cbfc
mov eax, 0x49cc48
push eax
mov dword [ebp - 0x444], eax
call fcn.004027df
cmp dword [ebp - 0x438], 0xa
jge 0x41cb59
push dword [0x4e2110]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12d
push eax
call fcn.00423d98
push dword [0x4e2110]
push 0x12d
mov ecx, dword [ebp - 0x42c]
add ecx, 0xc
push ecx
call fcn.00423d98
add esp, 0x18
jmp 0x41cd12
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xe
push eax
call fcn.004023e9
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.00402556
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMReader_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x10
push eax
call fcn.004023e9
add esp, 0x18
mov byte [ebp - 4], 0x11
jmp 0x41ccde
mov eax, str.Acrobat
push eax
mov dword [ebp - 0x444], eax
call fcn.004027df
cmp dword [ebp - 0x438], 0xa
jge 0x41cc40
push dword [0x4e2110]
mov eax, dword [ebp - 0x42c]
add eax, 8
push 0x12c
push eax
call fcn.00423d98
push dword [0x4e2110]
push 0x12c
jmp 0x41cb42
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x12
push eax
call fcn.004023e9
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.00402556
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x434]
push str.AdobeARMAcrobat_
push eax
call fcn.00402381
push 0x49fb68
push eax
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0x14
push eax
call fcn.004023e9
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.00402556
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
push dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.004027df
mov eax, dword [ebp - 0x440]
cmp dword [eax - 0xc], 0
jne 0x41cd9d
push dword [esi - 0xc]
push esi
mov esi, dword [ebp - 0x42c]
add esi, 0x18
mov ecx, esi
call fcn.00402556
push str.Manifest3.msi
call fcn.0046a019
pop ecx
push eax
push str.Manifest3.msi
mov ecx, esi
call fcn.00402556
push esi
lea eax, [ebp - 0x430]
push 0x4e1f54
push eax
call fcn.00402448
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.00402d9f
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x41cdd1
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x440]
add esi, 0x18
push eax
mov ecx, esi
call fcn.00402d9f
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x450]
add eax, 0x14
push ecx
mov ecx, eax
mov dword [ebp - 0x444], eax
call fcn.00402d9f
push esi
mov esi, dword [ebp - 0x42c]
lea eax, [ebp - 0x430]
add esi, 8
push esi
push eax
call fcn.00402448
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.00402d9f
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.UpgradeManifest.msi
lea eax, [ebp - 0x434]
push esi
push eax
call fcn.004023e9
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.00402d9f
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x434]
call fcn.00402824
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x19
push eax
mov ecx, 0x4e20bc
call fcn.0043d88b
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.00402556
lea ecx, [esi - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x44c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00402def
mov esi, dword [ebp - 0x440]
xor ebx, ebx
mov ecx, 0x4e2500
call fcn.00403271
test eax, eax
je 0x41cfea
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x43c]
call fcn.00402824
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, 0x4e2500
call fcn.0041674b
mov eax, dword [ebp - 0x43c]
cmp dword [eax - 0xc], 0
je 0x41cf5d
push str.manifest_path_from_cmd:
lea ecx, [ebp - 0x434]
call fcn.0040279b
push ebx
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x1b
push eax
push 2
lea edx, [ebp - 0x434]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x43c]
push eax
call fcn.00402d9f
jmp 0x41cf9c
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.00402448
add esp, 0xc
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x438]
push eax
call fcn.00402d9f
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [ebp - 0x42c]
add eax, 0xc
push str.UpgradeManifest.msi
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.004023e9
add esp, 0xc
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x430]
push eax
call fcn.00402d9f
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x43c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov edx, dword [ebp - 0x444]
lea ecx, [ebp - 0x448]
call fcn.0041402a
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 0x41d063
cmp eax, 3
je 0x41d063
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 0x41d043
cmp ebx, 3
je 0x41d043
xor ebx, ebx
inc ebx
jmp 0x41d0a7
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x430]
call fcn.0040279b
mov eax, dword [ebp - 0x42c]
mov byte [ebp - 4], 0x1f
add eax, 0xc
push ebx
jmp 0x41d086
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x430]
call fcn.0040279b
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.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x430]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x448]
add ecx, 0xfffffff0
call fcn.00402def
lea ecx, [esi - 0x10]
call fcn.00402def
lea ecx, [edi - 0x10]
call fcn.00402def
mov eax, ebx
call fcn.00464e26
ret