Function at 0x411e73
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov word [ebp - 0x54], di
call fcn.00402749
push 1
lea ecx, [ebp - 0x70]
call fcn.00402749
lea ebx, [esi + 0x1e8]
push 0x40
lea eax, [ebp - 0xc4]
push ebx
push eax
mov dword [ebp - 0x84], esi
call fcn.00420c30
add esp, 0xc
add esi, 0x230
push str.C:CodeBasesisdevSrcRuntimeInstallScriptSetupNewSetupDLL.cpp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push ebx
call fcn.0042265c
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
jne 0x4121b4
mov ebx, dword [ebp - 0x3c]
lea edx, [ebp - 0xc]
push edx
push 0x44c7c8
mov eax, dword [ebx + 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx]
push 0x4b5
push eax
mov ecx, ebx
call fcn.0041220c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push 0x44d378
mov ecx, dword [eax]
push 0x4473c4
push eax
call dword [ecx + 0xc]
push 0x4b6
push eax
mov ecx, ebx
call fcn.0041220c
push str.DeinstallSetReference
lea ecx, [ebp - 0x80]
mov word [ebp - 0x80], di
call fcn.0041130b
lea edx, [ebp - 0x54]
lea esi, [ebp - 0x80]
push edx
mov eax, dword [ebp - 8]
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x24]
test eax, eax
lea eax, [ebp - 0x80]
push eax
setge byte [ebp - 1]
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp byte [ebp - 1], 0
je 0x412092
lea eax, [ebp - 0x40]
push 0x4be
push eax
push 1
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
push eax
mov ecx, ebx
call fcn.0041220c
lea eax, [ebp - 0x1c]
push 0x4bf
push eax
push 1
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
push eax
mov ecx, ebx
call fcn.0041220c
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jg 0x412092
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x44]
push 0x4c5
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
push eax
mov ecx, ebx
call fcn.0041220c
push dword [ebp - 0x28]
mov edi, dword [ebp - 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], eax
call fcn.00402db3
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00402db3
mov eax, edi
and al, 0xfe
push eax
push dword [ebp - 0x34]
call esi
lea ecx, [ebp - 0x38]
call fcn.00402db3
xor eax, eax
push eax
push 0x80
push 3
push eax
push eax
push 0x40000000
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
call fcn.00402db3
push edi
push dword [ebp - 0x34]
call esi
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41207a
cmp dword [ebp - 0x18], 0x20
je 0x4120ea
cmp dword [ebp - 0x18], 0x21
je 0x4120ea
cmp dword [ebp - 0x18], 0x4c8
je 0x4120ea
cmp dword [ebp - 0x14], 0xffffffff
je 0x412083
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
jle 0x411fc0
lea eax, [ebp - 0xc4]
push 0x40
push eax
mov eax, dword [ebp - 0x84]
add eax, 0x1e8
push eax
call fcn.00420c30
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00402818
lea ecx, [ebp - 0x38]
call fcn.00402818
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4120d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4120e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebx + 0x1e0]
push 0
lea eax, [ebp - 0x70]
push 0xffffffffffffffff
push eax
push 0x9007
call fcn.00419b9f
lea ecx, [ebp - 0x38]
call fcn.00402db3
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x70]
call fcn.00402db3
push esi
lea eax, [ebp - 0x4ac]
push dword [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [ebx + 0x1e4]
add esp, 0xc
cmp byte [ebx + 0x1f2], 0
jne 0x412159
cmp byte [ebx + 0x1f3], 0
jne 0x412159
add ebx, 0x234
push 0x30
lea eax, [ebp - 0x4ac]
push ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0xc4]
push 0x40
push eax
mov eax, dword [ebp - 0x84]
add eax, 0x1e8
push eax
call fcn.00420c30
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00402818
lea ecx, [ebp - 0x38]
call fcn.00402818
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41219d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4121aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80042000
jmp 0x4120e5
lea eax, [ebp - 0xc4]
push 0x40
push eax
mov eax, dword [ebp - 0x84]
add eax, 0x1e8
push eax
call fcn.00420c30
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00402818
lea ecx, [ebp - 0x38]
call fcn.00402818
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4121f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x412205
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x4120e5