Function at 0x140098c60
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 [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
xor edx, edx
lea rcx, [rbp + 0x4b0]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x290]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x6d0]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x5c0]
mov r8d, 0x104
call fcn.1400ad590
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 0x140098d5d
mov r9, 0xffffffffffffffff
lea r8, str.C:Windows
mov edx, 0x104
lea rcx, [rbp + 0x4b0]
call fcn.1400bb338
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
jne 0x140098d8c
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsSystem32
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400bb338
lea rdx, [rbp + 0x180]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov eax, eax
cmp rax, 1
jbe 0x140098dbf
dec rax
cmp rax, 0x104
jae 0x1400992f0
mov byte [rbp + rax + 0x180], 0
jmp 0x140098dde
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsTemp
mov edx, 0x104
lea rcx, [rbp + 0x180]
call fcn.1400bb338
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 0x140098e49
mov r8d, 0x104
lea rdx, [rbp + 0x290]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
jne 0x140098e49
mov r9, 0xffffffffffffffff
lea r8, str.C:Program_Files
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1400bb338
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverDataIntelDPTF
lea rdx, [rbp + 0x6d0]
call fcn.140097c00
lea r8, [rsp + 0x20]
mov ecx, 6
lea rdx, [fcn.140098c60]
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleExW]
test eax, eax
je 0x140098eb5
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x3a0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
je 0x140098eb5
mov edx, 0x5c
lea rcx, [rbp + 0x3a0]
call fcn.1400adc98
test rax, rax
je 0x140098eb5
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.140099300
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.140099300
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.140099300
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.140099300
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.140099300
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.140099300
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, str.DriverData
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableA]
test eax, eax
jne 0x140098fa9
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverData
lea rdx, [rbp + 0x5c0]
call fcn.140097c00
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.140099300
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
call fcn.1400ad590
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400bb338
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400d5838
cmp rax, 0x104
jne 0x140099015
mov byte [rbp + 0x63], 0
jmp 0x140099032
mov r9, 0xffffffffffffffff
lea r8, [0x1401da738]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400ec3c4
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14009907a
bt eax, 0xa
jae 0x14009907a
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140099068
test al, 0x10
je 0x140099068
lea rcx, [rsp + 0x60]
call fcn.1400d8df4
jmp 0x140099072
lea rcx, [rsp + 0x60]
call fcn.1400bdbbc
test eax, eax
jne 0x14009918e
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400d88ac
test eax, eax
jne 0x14009918e
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.140099300
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.140097f00
mov rbx, rax
test rax, rax
jne 0x1400990e2
lea rdx, str.DATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140099300
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.140099300
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.140097f00
mov rdi, rax
test rax, rax
jne 0x14009914b
lea rdx, str.SSDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140099300
mov ecx, dword [0x14021b698]
lea eax, [rcx - 2]
test eax, 0xfffffffc
jne 0x1400992ae
cmp ecx, 3
je 0x1400992ae
call fcn.140098880
jmp 0x1400992ae
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.140097f00
mov rsi, rax
test rax, rax
jne 0x1400991c7
lea rdx, str.LEGDRIVERDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140099300
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.140097f00
mov rbx, rax
test rax, rax
jne 0x140099214
lea rdx, str.LEGDATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140099300
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.140099300
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.140097f00
mov rdi, rax
test rax, rax
jne 0x14009927d
lea rdx, str.LEGDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140099300
test rsi, rsi
je 0x1400992a6
mov rcx, rsi
call fcn.1400bb254
mov rsi, qword [rsp + 0x908]
test rbx, rbx
je 0x1400992bb
mov rcx, rbx
call fcn.1400bb254
mov rbx, qword [rsp + 0x900]
test rdi, rdi
je 0x1400992d0
mov rcx, rdi
call fcn.1400bb254
mov rdi, qword [rsp + 0x910]
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x8f0
pop rbp
ret
call fcn.1400abde4
int3