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

Disassembly:
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x4d8]
sub rsp, 0x5c8
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov qword [r11 + 0x10], rsi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [r11 + 0x18], rdi
mov r8d, 0x104
call fcn.1400ad180
lea rdx, [0x1401282d4]
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.140097af0
mov rsi, rax
test rax, rax
jne 0x1400984e0
lea rdx, [0x1401282d4]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097af0
mov rsi, rax
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.140097af0
mov rdi, rax
test rax, rax
jne 0x140098511
lea rdx, str.LEGDATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097af0
mov rdi, rax
lea rdx, [0x1401282e8]
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.140097af0
mov r14, rax
test rax, rax
jne 0x140098542
lea rdx, [0x1401282e8]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097af0
mov r14, rax
test rsi, rsi
je 0x140098806
test rdi, rdi
je 0x1400987fe
test r14, r14
je 0x1400987fe
mov rcx, rsi
call fcn.1400975a0
test eax, eax
jne 0x1400987fe
mov qword [rsp + 0x5e0], rbx
lea r8, str._s_s
lea rbx, str.dsp.dv
mov r9, r14
lea rdx, [rbp + 0x3a0]
mov qword [rsp + 0x20], rbx
mov ecx, 0x104
call fcn.1400977f0
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.1400977f0
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096830
lea rbx, str.ppm.dv
mov r9, r14
lea r8, str._s_s
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x3a0]
mov ecx, 0x104
call fcn.1400977f0
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.1400977f0
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096830
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, str..dv
call fcn.1400971c0
mov rbx, rax
test rax, rax
je 0x1400987f6
mov qword [rsp + 0x5c0], r15
lea r15, [0x14012779c]
nop
lea rax, [rsp + 0x30]
mov r9, rdi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x3a0]
mov ecx, 0x104
call fcn.1400977f0
lea rax, [rsp + 0x30]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x290]
mov ecx, 0x104
call fcn.1400977f0
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096830
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ad180
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400ad180
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x1400987ad
lea rax, [rbp + 0x6c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x180]
call fcn.1400977f0
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400987a1
bt eax, 0xa
jae 0x1400987a1
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140098790
bt eax, 0xa
jae 0x140098790
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140098784
test al, 0x10
je 0x140098784
lea rcx, [rbp + 0x180]
call fcn.1400d89e4
jmp 0x140098790
lea rcx, [rbp + 0x180]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rbp + 0x6c], 0
je 0x1400986f0
jmp 0x1400987b1
test eax, eax
je 0x1400987d0
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x6c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400baf28
jmp 0x140098660
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x5c0]
cmp rcx, 0xffffffffffffffff
je 0x1400987ee
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bae44
mov rbx, qword [rsp + 0x5e0]
mov rcx, rsi
call fcn.1400bae44
mov rsi, qword [rsp + 0x5e8]
test rdi, rdi
je 0x14009881b
mov rcx, rdi
call fcn.1400bae44
mov rdi, qword [rsp + 0x5f0]
test r14, r14
je 0x140098830
mov rcx, r14
call fcn.1400bae44
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x5c8
pop r14
pop rbp
ret