Function at 0x140093ae0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
xor edx, edx
lea rcx, [rbp + 0x4b0]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x290]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x6d0]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.1400a7190
xor edx, edx
lea rcx, [rbp + 0x5c0]
mov r8d, 0x104
call fcn.1400a7190
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, 0x104
lea rcx, [rbp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
test eax, eax
jne 0x140093bdd
mov r9, 0xffffffffffffffff
lea r8, str.C:Windows
mov edx, 0x104
lea rcx, [rbp + 0x4b0]
call fcn.1400b46b8
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140093c0c
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsSystem32
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400b46b8
lea rdx, [rbp + 0x180]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, eax
cmp rax, 1
jbe 0x140093c3f
dec rax
cmp rax, 0x104
jae 0x140094170
mov byte [rbp + rax + 0x180], 0
jmp 0x140093c5e
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsTemp
mov edx, 0x104
lea rcx, [rbp + 0x180]
call fcn.1400b46b8
mov qword [rsp + 0x900], rbx
lea rdx, [rbp + 0x290]
mov r8d, 0x104
mov qword [rsp + 0x910], rdi
lea rcx, str.ProgramW6432
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140093cc9
mov r8d, 0x104
lea rdx, [rbp + 0x290]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140093cc9
mov r9, 0xffffffffffffffff
lea r8, str.C:Program_Files
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1400b46b8
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverDataIntelDPTF
lea rdx, [rbp + 0x6d0]
call fcn.140092b40
lea r8, [rsp + 0x20]
mov ecx, 6
lea rdx, [fcn.140093ae0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140093d35
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x3a0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140093d35
mov edx, 0x5c
lea rcx, [rbp + 0x3a0]
call fcn.1400a7898
test rax, rax
je 0x140093d35
mov byte [rax], 0
mov r9d, 0x400
lea r8, [rbp + 0x70]
lea rdx, str._SYSTEM_
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x400
lea r8, [rbp + 0x180]
lea rdx, str._TEMP_
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x400
lea r8, [rbp + 0x290]
lea rdx, str._PROGRAMFILES_
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x400
lea r8, [rbp + 0x6d0]
lea rdx, str._ROOT_
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x400
lea r8, [rbp + 0x4b0]
lea rdx, str._WINDOWS_
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140094180
mov r9d, 0x400
lea r8, [rbp + 0x70]
lea rdx, str._SYSTEM_
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140094180
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, str.DriverData
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140093e29
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverData
lea rdx, [rbp + 0x5c0]
call fcn.140092b40
mov r9d, 0x400
lea r8, [rbp + 0x5c0]
lea rdx, str._DRVDATA_
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140094180
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
call fcn.1400a7190
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400b46b8
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400cec38
cmp rax, 0x104
jne 0x140093e95
mov byte [rbp + 0x63], 0
jmp 0x140093eb2
mov r9, 0xffffffffffffffff
lea r8, [0x1401d6938]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400e59b8
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140093efa
bt eax, 0xa
jae 0x140093efa
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140093ee8
test al, 0x10
je 0x140093ee8
lea rcx, [rsp + 0x60]
call fcn.1400d246c
jmp 0x140093ef2
lea rcx, [rsp + 0x60]
call fcn.1400b5fcc
test eax, eax
jne 0x14009400e
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400d1f24
test eax, eax
jne 0x14009400e
mov r9d, 0x400
lea r8, [rbp + 0x3a0]
lea rdx, str._DRIVER_
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
lea rdx, str.DATADIR
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140092e40
mov rbx, rax
test rax, rax
jne 0x140093f62
lea rdx, str.DATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140092e40
mov rbx, rax
mov r9d, 0x400
lea rdx, str._DATA_
mov r8, rbx
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x514
lea rdx, str._DATA_
mov r8, rbx
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140094180
lea rdx, str.SSDVDIR
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140092e40
mov rdi, rax
test rax, rax
jne 0x140093fcb
lea rdx, str.SSDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140092e40
mov rdi, rax
mov r9d, 0x400
lea rdx, str._DVDIR_
mov r8, rdi
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov ecx, dword [0x1402162b8]
lea eax, [rcx - 2]
test eax, 0xfffffffc
jne 0x14009412e
cmp ecx, 3
je 0x14009412e
call fcn.140093760
jmp 0x14009412e
lea rdx, str.LEGDRIVERDIR
mov qword [rsp + 0x908], rsi
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140092e40
mov rsi, rax
test rax, rax
jne 0x140094047
lea rdx, str.LEGDRIVERDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140092e40
mov rsi, rax
mov r9d, 0x400
lea rdx, str._DRIVER_
mov r8, rsi
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
lea rdx, str.LEGDATADIR
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140092e40
mov rbx, rax
test rax, rax
jne 0x140094094
lea rdx, str.LEGDATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140092e40
mov rbx, rax
mov r9d, 0x400
lea rdx, str._DATA_
mov r8, rbx
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
mov r9d, 0x514
lea rdx, str._DATA_
mov r8, rbx
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140094180
lea rdx, str.LEGDVDIR
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140092e40
mov rdi, rax
test rax, rax
jne 0x1400940fd
lea rdx, str.LEGDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140092e40
mov rdi, rax
mov r9d, 0x400
lea rdx, str._DVDIR_
mov r8, rdi
lea rcx, str.HOME_ROOT__nTEMP_TEMP__nDV_DVDIR__nLOG_DATA_log_nBIN_DATA__bin_nLOCK_DATA__nEXE_DRIVER__nDLL_DRIVER__nDLLALT_SYSTEM_IntelDPTF_n_nDPTF_ROOT_ui_nDSP_ROOT_dsp_nCMD_ROOT_cmd_nUI_ROOT_ui_n
call fcn.140094180
test rsi, rsi
je 0x140094126
mov rcx, rsi
call fcn.1400b45d4
mov rsi, qword [rsp + 0x908]
test rbx, rbx
je 0x14009413b
mov rcx, rbx
call fcn.1400b45d4
mov rbx, qword [rsp + 0x900]
test rdi, rdi
je 0x140094150
mov rcx, rdi
call fcn.1400b45d4
mov rdi, qword [rsp + 0x910]
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x8f0
pop rbp
ret
call fcn.1400a5814
int3