Function at 0x140094610
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 [0x140210ef8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
xor edx, edx
lea rcx, [rbp + 0x4b0]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x290]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x6d0]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.1400a7d00
xor edx, edx
lea rcx, [rbp + 0x5c0]
mov r8d, 0x104
call fcn.1400a7d00
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 0x14009470d
mov r9, 0xffffffffffffffff
lea r8, str.C:Windows
mov edx, 0x104
lea rcx, [rbp + 0x4b0]
call fcn.1400b5228
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x14009473c
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsSystem32
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.1400b5228
lea rdx, [rbp + 0x180]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, eax
cmp rax, 1
jbe 0x14009476f
dec rax
cmp rax, 0x104
jae 0x140094ca0
mov byte [rbp + rax + 0x180], 0
jmp 0x14009478e
mov r9, 0xffffffffffffffff
lea r8, str.C:WindowsTemp
mov edx, 0x104
lea rcx, [rbp + 0x180]
call fcn.1400b5228
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 0x1400947f9
mov r8d, 0x104
lea rdx, [rbp + 0x290]
lea rcx, str.ProgramFiles
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x1400947f9
mov r9, 0xffffffffffffffff
lea r8, str.C:Program_Files
mov edx, 0x104
lea rcx, [rbp + 0x290]
call fcn.1400b5228
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverDataIntelDPTF
lea rdx, [rbp + 0x6d0]
call fcn.140093610
lea r8, [rsp + 0x20]
mov ecx, 6
lea rdx, [fcn.140094610]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x140094865
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x3a0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140094865
mov edx, 0x5c
lea rcx, [rbp + 0x3a0]
call fcn.1400a8408
test rax, rax
je 0x140094865
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.140094cb0
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.140094cb0
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.140094cb0
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.140094cb0
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.140094cb0
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.140094cb0
mov r8d, 0x104
lea rdx, [rbp + 0x5c0]
lea rcx, str.DriverData
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140094959
lea r9, [rbp + 0x70]
mov ecx, 0x104
lea r8, str._sdriversDriverData
lea rdx, [rbp + 0x5c0]
call fcn.140093610
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.140094cb0
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
call fcn.1400a7d00
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400b5228
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400cf7a8
cmp rax, 0x104
jne 0x1400949c5
mov byte [rbp + 0x63], 0
jmp 0x1400949e2
mov r9, 0xffffffffffffffff
lea r8, [0x1401d6dd8]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.1400e6528
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140094a2a
bt eax, 0xa
jae 0x140094a2a
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140094a18
test al, 0x10
je 0x140094a18
lea rcx, [rsp + 0x60]
call fcn.1400d2fdc
jmp 0x140094a22
lea rcx, [rsp + 0x60]
call fcn.1400b6b3c
test eax, eax
jne 0x140094b3e
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400d2a94
test eax, eax
jne 0x140094b3e
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.140094cb0
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.140093910
mov rbx, rax
test rax, rax
jne 0x140094a92
lea rdx, str.DATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140093910
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.140094cb0
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.140094cb0
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.140093910
mov rdi, rax
test rax, rax
jne 0x140094afb
lea rdx, str.SSDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140093910
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.140094cb0
mov ecx, dword [0x1402173b8]
lea eax, [rcx - 2]
test eax, 0xfffffffc
jne 0x140094c5e
cmp ecx, 3
je 0x140094c5e
call fcn.140094290
jmp 0x140094c5e
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.140093910
mov rsi, rax
test rax, rax
jne 0x140094b77
lea rdx, str.LEGDRIVERDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140093910
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.140094cb0
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.140093910
mov rbx, rax
test rax, rax
jne 0x140094bc4
lea rdx, str.LEGDATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140093910
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.140094cb0
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.140094cb0
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.140093910
mov rdi, rax
test rax, rax
jne 0x140094c2d
lea rdx, str.LEGDVDIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140093910
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.140094cb0
test rsi, rsi
je 0x140094c56
mov rcx, rsi
call fcn.1400b5144
mov rsi, qword [rsp + 0x908]
test rbx, rbx
je 0x140094c6b
mov rcx, rbx
call fcn.1400b5144
mov rbx, qword [rsp + 0x900]
test rdi, rdi
je 0x140094c80
mov rcx, rdi
call fcn.1400b5144
mov rdi, qword [rsp + 0x910]
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x8f0
pop rbp
ret
call fcn.1400a6384
int3