Function at 0x1400994f0
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 [0x14021a328]
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.1400ae310
lea rdx, [0x1401281e4]
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.140098b70
mov rsi, rax
test rax, rax
jne 0x140099560
lea rdx, [0x1401281e4]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140098b70
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.140098b70
mov rdi, rax
test rax, rax
jne 0x140099591
lea rdx, str.LEGDATADIR
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140098b70
mov rdi, rax
lea rdx, [0x1401281f8]
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.140098b70
mov r14, rax
test rax, rax
jne 0x1400995c2
lea rdx, [0x1401281f8]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140098b70
mov r14, rax
test rsi, rsi
je 0x140099886
test rdi, rdi
je 0x14009987e
test r14, r14
je 0x14009987e
mov rcx, rsi
call fcn.140098620
test eax, eax
jne 0x14009987e
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.140098870
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.140098870
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.1400978b0
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.140098870
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.140098870
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.1400978b0
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, str..dv
call fcn.140098240
mov rbx, rax
test rax, rax
je 0x140099876
mov qword [rsp + 0x5c0], r15
lea r15, [0x1401277ec]
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.140098870
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.140098870
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.1400978b0
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ae310
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400ae310
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x14009982d
lea rax, [rbp + 0x6c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x1401277f0]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x180]
call fcn.140098870
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140099821
bt eax, 0xa
jae 0x140099821
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140099810
bt eax, 0xa
jae 0x140099810
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140099804
test al, 0x10
je 0x140099804
lea rcx, [rbp + 0x180]
call fcn.1400d95ec
jmp 0x140099810
lea rcx, [rbp + 0x180]
call fcn.1400bd14c
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ae310
cmp byte [rbp + 0x6c], 0
je 0x140099770
jmp 0x140099831
test eax, eax
je 0x140099850
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x6c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400bb838
jmp 0x1400996e0
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x5c0]
cmp rcx, 0xffffffffffffffff
je 0x14009986e
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bb754
mov rbx, qword [rsp + 0x5e0]
mov rcx, rsi
call fcn.1400bb754
mov rsi, qword [rsp + 0x5e8]
test rdi, rdi
je 0x14009989b
mov rcx, rdi
call fcn.1400bb754
mov rdi, qword [rsp + 0x5f0]
test r14, r14
je 0x1400998b0
mov rcx, r14
call fcn.1400bb754
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400ac830
add rsp, 0x5c8
pop r14
pop rbp
ret