Function at 0x404d67
Capabilities:
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x210
mov eax, dword [0x42a0d0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
push 0x1d
push str.NVSTINST_INFO_:__d
call fcn.0040a7c0
push 0x104
lea eax, [esp + 0x19]
push 0
push eax
mov bl, 1
mov byte [esp + 0x20], 0
call fcn.0040d990
push 0x105
lea ecx, [esp + 0x24]
push ecx
push str.nvscpapisvr.exe
call fcn.00402b50
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esp, 0x20
test al, al
jne 0x404e12
push 0x105
lea edx, [esp + 0x10]
push 0
push edx
call fcn.0040d990
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
je 0x404e03
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.0040d040
add esp, 8
mov esi, eax
call fcn.00401a80
test al, al
mov eax, str.Program_Files__x86_
jne 0x404df4
mov eax, str.Program_Files
push eax
push str._sNVIDIA_Corporation3D_Vision_nvSCPAPISvr.exe
push esi
call fcn.0040d54d
add esp, 0xc
push 0xf
push str.NVSTINST_ERROR_:__d
call fcn.0040a7c0
add esp, 8
lea edx, [esp + 0xc]
push edx
call fcn.004010c0
add esp, 4
test al, al
je 0x404f98
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffff8
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
jne 0x404f8f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x7b
jne 0x404ee2
push 0x103
lea eax, [esp + 0x11d]
push 0
push eax
mov byte [esp + 0x124], 0
call fcn.0040d990
add esp, 0xc
push 0x104
lea ecx, [esp + 0x11c]
push ecx
call edi
test eax, eax
je 0x404ee2
lea edx, [esp + 0x118]
push 0x5c
push edx
call fcn.0040d040
add esp, 8
mov esi, eax
call fcn.00401a80
test al, al
mov eax, str.Program_Files__x86_
jne 0x404ec1
mov eax, str.Program_Files
push eax
push str._sNVIDIA_Corporation3D_Vision_nvSCPAPISvr.exe
push esi
call fcn.0040d54d
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x118]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x404ed2
push 0x10
push str.NVSTINST_ERROR_:__d
call fcn.0040a7c0
add esp, 8
call ebx
push eax
push str.WIN_ERROR_:__d
call fcn.0040a7c0
push 0x1e
push str.NVSTINST_INFO_:__d
call fcn.0040a7c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
xor bl, bl
xor esi, esi
jmp 0x404f20
lea eax, [esp + 0x10]
push eax
call fcn.004010c0
add esp, 4
test al, al
je 0x404f7f
push 0x1f
push str.NVSTINST_INFO_:__d
call fcn.0040a7c0
add esp, 8
lea ecx, [esp + 0x10]
push ecx
call ebp
test eax, eax
jne 0x404f7f
push 0x32
call edi
inc esi
cmp esi, 0xa
jl 0x404f20
push 0x11
push str.NVSTINST_ERROR_:__d
call fcn.0040a7c0
mov al, bl
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0040d609
add esp, 0x210
ret
push 0x20
push str.NVSTINST_INFO_:__d
call fcn.0040a7c0
mov al, 1
jmp 0x404f63
push 0x21
push str.NVSTINST_INFO_:__d
jmp 0x404f5c
push 0x22
push str.NVSTINST_INFO_:__d
call fcn.0040a7c0
mov ecx, dword [esp + 0x220]
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0040d609
add esp, 0x210
ret