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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor r12d, r12d
lea rcx, [rbp + 0x2b0]
xor edx, edx
mov r8d, 0x104
mov r15d, r12d
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x104
call fcn.1400ad590
lea rbx, [0x140127b30]
mov r9d, 0x80000000
mov rdx, rbx
lea ecx, [r12 + 0x24]
xor r8d, r8d
call fcn.14000d9b0
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov r14, rax
lea ecx, [rdx + 0x24]
call fcn.14000d9b0
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov rdi, rax
lea ecx, [rdx + 0x24]
call fcn.14000d9b0
cmp dword [0x14020e430], 4
mov rsi, rax
mov qword [rsp + 0x40], r12
jl 0x14002ff6e
test dword [0x14020e4ac], 0x100
je 0x14002ff6e
lea rax, [rbp + 0x1a0]
mov ecx, 0x100
mov qword [rsp + 0x38], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea rax, str.SCAN_CONFIG_For_DSP_Files_NameSpace___s__Pattern__s
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
lea r8, str.esif_dsp_file_scan
lea edx, [r12 + 4]
mov dword [rsp + 0x20], 0x363
call fcn.140078180
lea r13, str.Fail_to_allocate_esif_ccb_file_n
test r14, r14
je 0x1400300d5
test rdi, rdi
je 0x1400300d5
test rsi, rsi
je 0x1400300d5
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.14000b890
mov r15d, eax
test eax, eax
jne 0x1400300d5
nop
mov eax, dword [rdi + 0x10]
cmp eax, 5
jb 0x140030027
mov ecx, eax
lea rdx, [0x14012dcf4]
mov rax, qword [rdi + 4]
add rax, 0xfffffffffffffffb
add rcx, rax
call fcn.1400d4e58
test eax, eax
jne 0x140030027
mov ecx, 0x104
call fcn.1400bb268
mov rbx, rax
test rax, rax
je 0x14003007b
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad590
mov r8, qword [rdi + 4]
mov r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.1400bb338
mov rcx, rbx
call fcn.14002ecd0
test eax, eax
je 0x140030027
mov rcx, rbx
call fcn.1400bb254
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, 0xffffffff
mov rcx, rdi
lea edx, [r8 + 0x24]
call fcn.14000e600
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, 0xffffffff
mov rcx, rsi
lea edx, [r8 + 0x24]
call fcn.14000e600
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.14000b8a0
mov r15d, eax
test eax, eax
je 0x14002ffb0
jmp 0x1400300c0
cmp dword [0x14020e430], 1
jl 0x1400300ba
test dword [0x14020e464], 0x100
je 0x1400300ba
mov qword [rsp + 0x28], r13
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea r8, str.esif_dsp_file_scan
mov dword [rsp + 0x20], 0x36b
mov edx, 1
mov ecx, 0x100
call fcn.140078180
mov r15d, 0x708
lea rcx, [rsp + 0x40]
call fcn.14000b860
cmp r15d, 0x3ed
cmove r15d, r12d
mov rcx, r14
call fcn.14000dd90
mov rcx, rdi
call fcn.14000dd90
mov rcx, rsi
call fcn.14000dd90
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
lea r8d, [r9 + 0xa]
call fcn.140013cf0
mov r9, 0xffffffffffffffff
lea r8, str..edp
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.1400bb338
cmp dword [0x14020e430], 4
jl 0x140030187
test dword [0x14020e4ac], 0x100
je 0x140030187
lea rax, [rbp + 0x1a0]
mov edx, 4
mov qword [rsp + 0x38], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea rax, [rbp + 0x2b0]
mov ecx, 0x100
mov qword [rsp + 0x30], rax
lea r8, str.esif_dsp_file_scan
lea rax, str.SCAN_File_System_For_DSP_Files_Path___s__Pattern__s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x385
call fcn.140078180
mov ecx, 0x104
call fcn.1400bb268
mov rbx, rax
test rax, rax
je 0x1400301a9
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad590
test rbx, rbx
jne 0x1400301f5
cmp dword [0x14020e430], 1
jl 0x1400301eb
test dword [0x14020e464], 0x100
je 0x1400301eb
mov qword [rsp + 0x28], r13
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea r8, str.esif_dsp_file_scan
mov dword [rsp + 0x20], 0x389
lea edx, [rbx + 1]
mov ecx, 0x100
call fcn.140078180
mov eax, 0x708
jmp 0x1400303b5
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x2b0]
call fcn.14002e800
mov rdi, rax
test rax, rax
jne 0x14003021e
mov r15d, 0x3eb
jmp 0x1400303a5
lea rsi, [0x14012779c]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [0x140127b30]
call fcn.140003f40
test al, al
jne 0x140030279
mov rcx, rbx
call fcn.14002ecd0
test eax, eax
je 0x140030257
mov rcx, rbx
call fcn.1400bb254
mov ecx, 0x104
call fcn.1400bb268
mov rbx, rax
test rax, rax
je 0x140030279
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad590
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ad590
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x104
call fcn.1400ad590
nop
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x140030361
lea rax, [rsp + 0x7c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x90]
call fcn.14002ea50
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140030354
bt eax, 0xa
jae 0x140030354
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140030342
bt eax, 0xa
jae 0x140030342
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140030336
test al, 0x10
je 0x140030336
lea rcx, [rbp + 0x90]
call fcn.1400d8df4
jmp 0x140030342
lea rcx, [rbp + 0x90]
call fcn.1400bdbbc
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ad590
cmp byte [rsp + 0x7c], r12b
je 0x1400302a0
jmp 0x140030365
test eax, eax
je 0x140030387
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x7c]
mov edx, 0x104
mov rcx, rbx
call fcn.1400bb338
test rbx, rbx
jne 0x140030230
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14003039d
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bb254
test rbx, rbx
je 0x1400303b2
mov rcx, rbx
call fcn.1400bb254
mov eax, r15d
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400abc80
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret