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

Disassembly:
push 0x224
mov eax, 0x4ae529
call fcn.004696cc
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x21c], ecx
cmp byte [eax], 0
je 0x42cf2b
mov eax, dword [esi]
cmp dword [eax - 0xc], edi
jne 0x42ce1b
push str.Invalid_empty_arguments
lea ecx, [ebp - 0x21c]
call fcn.00402829
and dword [ebp - 4], edi
lea edx, [ebp - 0x21c]
xor ecx, ecx
push 0xd
inc ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402e64
push 0xd
pop eax
jmp 0x42d148
push edi
push 0x4ca564
mov ecx, esi
call fcn.00409b5e
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
je 0x42cf0f
push eax
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00409b19
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00402e14
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x42cea5
push str.Invalid_empty_ESD_arguments
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov dword [ebp - 4], 2
xor ecx, ecx
lea edx, [ebp - 0x21c]
push 0xd
inc ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
jmp 0x42ce0e
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x224]
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0040b50b
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
push eax
call fcn.00402e14
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x42cf31
push str.Invalid_empty_Setup.exe_arguments
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov dword [ebp - 4], 4
jmp 0x42ce86
push str.Invalid_arguments
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov dword [ebp - 4], 5
jmp 0x42ce86
push esi
call fcn.00402e14
push edi
push str.DISABLE_CACHE1
mov ecx, esi
call fcn.00409b5e
mov edx, dword [ebp - 0x22c]
cmp eax, 0xffffffff
push 0x2b
pop esi
setne cl
lea eax, [ebp - 0x218]
push 0x23
mov byte [edx], cl
pop ecx
push 0x208
push edi
push eax
cmovne esi, ecx
call fcn.00481b00
add esp, 0xc
lea eax, [ebp - 0x218]
or esi, 0x8000
push eax
push edi
push edi
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x42cfc3
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x21c]
call fcn.00402829
xor ecx, ecx
mov dword [ebp - 4], 6
push esi
lea edx, [ebp - 0x21c]
inc ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, esi
jmp 0x42d148
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402829
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x220]
mov eax, dword [ebp - 0x22c]
cmp byte [eax], 0
je 0x42d00d
push str.AdobeSetup_
call fcn.0040259d
mov eax, dword [0x515fd4]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.004025c6
jmp 0x42d017
push str.AdobeARMExtract
call fcn.0040259d
push ecx
mov esi, esp
mov dword [ebp - 0x224], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004490e1
pop ecx
push edi
push dword [ebp - 0x220]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x42d0fd
cmp esi, 3
je 0x42d0fd
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call fcn.00402e14
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
je 0x42d138
push edi
push 0x4ed884
mov ecx, ebx
call fcn.00409b5e
cmp eax, 0xffffffff
jne 0x42d0a0
push 0x4ed88c
mov ecx, ebx
call fcn.0040259d
push esi
lea eax, [ebp - 0x22c]
push 0x4ed894
push eax
call fcn.004023f1
add esp, 0xc
push 0x4cb1d0
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 9
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x42d138
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push str.SHCreateDirectoryEx___failed:
push eax
call fcn.004023f1
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 4], 8
push esi
mov edx, eax
inc ecx
call fcn.00414dc6
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, esi
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.00469676
ret 0x18