Function at 0x140098880
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.1400ad590
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.140097f00
mov rsi, rax
test rax, rax
jne 0x1400988f0
lea rdx, [0x1401282d4]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
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.140097f00
mov rdi, rax
test rax, rax
jne 0x140098921
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 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.140097f00
mov r14, rax
test rax, rax
jne 0x140098952
lea rdx, [0x1401282e8]
lea rcx, str.LEGDRIVERDIR_SYSTEM_IntelDPTF_nDATADIR_DRVDATA_IntelDPTF_nLEGDATADIR_WINDOWS_ServiceProfilesLocalServiceAppDataLocalIntelDPTF_nSSDVDIR_DATA_dv_nLEGDVDIR_DATA__n
call fcn.140097f00
mov r14, rax
test rsi, rsi
je 0x140098c16
test rdi, rdi
je 0x140098c0e
test r14, r14
je 0x140098c0e
mov rcx, rsi
call fcn.1400979b0
test eax, eax
jne 0x140098c0e
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.140097c00
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.140097c00
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096c40
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.140097c00
mov r9, rsi
mov qword [rsp + 0x20], rbx
lea r8, str._s_s
mov ecx, 0x104
lea rdx, [rbp + 0x290]
call fcn.140097c00
mov r8b, 1
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096c40
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, str..dv
call fcn.1400975d0
mov rbx, rax
test rax, rax
je 0x140098c06
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.140097c00
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.140097c00
xor r8d, r8d
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x3a0]
call fcn.140096c40
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x104
call fcn.1400ad590
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x140098bbd
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.140097c00
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140098bb1
bt eax, 0xa
jae 0x140098bb1
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140098ba0
bt eax, 0xa
jae 0x140098ba0
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140098b94
test al, 0x10
je 0x140098b94
lea rcx, [rbp + 0x180]
call fcn.1400d8df4
jmp 0x140098ba0
lea rcx, [rbp + 0x180]
call fcn.1400bdbbc
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x140
call fcn.1400ad590
cmp byte [rbp + 0x6c], 0
je 0x140098b00
jmp 0x140098bc1
test eax, eax
je 0x140098be0
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x6c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1400bb338
jmp 0x140098a70
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x5c0]
cmp rcx, 0xffffffffffffffff
je 0x140098bfe
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bb254
mov rbx, qword [rsp + 0x5e0]
mov rcx, rsi
call fcn.1400bb254
mov rsi, qword [rsp + 0x5e8]
test rdi, rdi
je 0x140098c2b
mov rcx, rdi
call fcn.1400bb254
mov rdi, qword [rsp + 0x5f0]
test r14, r14
je 0x140098c40
mov rcx, r14
call fcn.1400bb254
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x5c8
pop r14
pop rbp
ret