Function at 0x4178e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474cec
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x498068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
call fcn.004176c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00401920
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401810
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417a42
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x74]
call fcn.00429760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x11
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push str._PrepareUninstall
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.004069a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x74]
call fcn.0042a320
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4179bf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4179b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417b40
push edx
push ecx
call fcn.004501a5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x20]
push 0
lea ecx, [ebp - 0x74]
mov word [ebp - 0x20], 0
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.004245e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
mov esi, dword [ebp - 0x68]
add esp, 4
push dword [esi + 4]
call fcn.0042a6f0
mov eax, dword [ebp - 0x68]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x68]
mov dword [eax], esi
mov eax, dword [ebp - 0x68]
mov dword [eax + 8], esi
push dword [ebp - 0x68]
mov dword [ebp - 0x64], 0
call fcn.004501a5
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00419cb0
jmp 0x417abf
cmp dword [0x49ad28], 1
jg 0x417aa8
sub esp, 8
mov dword [ebp - 0x124], 1
lea ecx, [ebp - 0x11c]
call fcn.004235a0
mov dword [ebp - 0x80], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_minidl.cpp
mov dword [ebp - 0x7c], 0x54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x54
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstallcustomaction_taskuninstall_minidl.cpp
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x78], eax
call fcn.00426000
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x11c]
mov ebx, 1
mov edx, str.minidl.exe_not_exist.
mov dword [ebp - 0x5c], ebx
call fcn.00407b40
mov dword [ebp - 4], 1
test bl, 1
je 0x417abf
lea ecx, [ebp - 0x124]
call fcn.00425b00
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00401850
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x417b08
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417afe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417b45
push edx
push ecx
call fcn.004501a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450164
mov esp, ebp
pop ebp
ret 4
call fcn.0045559f
call fcn.0045559f
int3