Function at 0x14002fdc0
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 [0x14021a328]
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.1400ae310
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x104
call fcn.1400ae310
lea rbx, [0x140127b80]
mov r9d, 0x80000000
mov rdx, rbx
lea ecx, [r12 + 0x24]
xor r8d, r8d
call fcn.14000d970
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov r14, rax
lea ecx, [rdx + 0x24]
call fcn.14000d970
xor edx, edx
xor r9d, r9d
mov r8d, 0xffffffff
mov rdi, rax
lea ecx, [rdx + 0x24]
call fcn.14000d970
cmp dword [0x140213620], 4
mov rsi, rax
mov qword [rsp + 0x40], r12
jl 0x14002fece
test dword [0x14021369c], 0x100
je 0x14002fece
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.140079050
lea r13, str.Fail_to_allocate_esif_ccb_file_n
test r14, r14
je 0x140030035
test rdi, rdi
je 0x140030035
test rsi, rsi
je 0x140030035
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.14000b870
mov r15d, eax
test eax, eax
jne 0x140030035
nop
mov eax, dword [rdi + 0x10]
cmp eax, 5
jb 0x14002ff87
mov ecx, eax
lea rdx, [0x14012dd44]
mov rax, qword [rdi + 4]
add rax, 0xfffffffffffffffb
add rcx, rax
call fcn.1400d53d8
test eax, eax
jne 0x14002ff87
mov ecx, 0x104
call fcn.1400bb768
mov rbx, rax
test rax, rax
je 0x14002ffdb
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ae310
mov r8, qword [rdi + 4]
mov r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.1400bb838
mov rcx, rbx
call fcn.14002ec40
test eax, eax
je 0x14002ff87
mov rcx, rbx
call fcn.1400bb754
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, 0xffffffff
mov rcx, rdi
lea edx, [r8 + 0x24]
call fcn.14000e5c0
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, 0xffffffff
mov rcx, rsi
lea edx, [r8 + 0x24]
call fcn.14000e5c0
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.14000b880
mov r15d, eax
test eax, eax
je 0x14002ff10
jmp 0x140030020
cmp dword [0x140213620], 1
jl 0x14003001a
test dword [0x140213654], 0x100
je 0x14003001a
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.140079050
mov r15d, 0x708
lea rcx, [rsp + 0x40]
call fcn.14000b840
cmp r15d, 0x3ed
cmove r15d, r12d
mov rcx, r14
call fcn.14000dd50
mov rcx, rdi
call fcn.14000dd50
mov rcx, rsi
call fcn.14000dd50
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
lea r8d, [r9 + 0xa]
call fcn.140013c70
mov r9, 0xffffffffffffffff
lea r8, str..edp
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.1400bb838
cmp dword [0x140213620], 4
jl 0x1400300e7
test dword [0x14021369c], 0x100
je 0x1400300e7
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.140079050
mov ecx, 0x104
call fcn.1400bb768
mov rbx, rax
test rax, rax
je 0x140030109
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ae310
test rbx, rbx
jne 0x140030155
cmp dword [0x140213620], 1
jl 0x14003014b
test dword [0x140213654], 0x100
je 0x14003014b
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.140079050
mov eax, 0x708
jmp 0x140030315
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x2b0]
call fcn.14002e770
mov rdi, rax
test rax, rax
jne 0x14003017e
mov r15d, 0x3eb
jmp 0x140030305
lea rsi, [0x1401277ec]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [0x140127b80]
call fcn.140003f20
test al, al
jne 0x1400301d9
mov rcx, rbx
call fcn.14002ec40
test eax, eax
je 0x1400301b7
mov rcx, rbx
call fcn.1400bb754
mov ecx, 0x104
call fcn.1400bb768
mov rbx, rax
test rax, rax
je 0x1400301d9
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ae310
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ae310
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x104
call fcn.1400ae310
nop
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x1400302c1
lea rax, [rsp + 0x7c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x1401277f0]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x90]
call fcn.14002e9c0
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400302b4
bt eax, 0xa
jae 0x1400302b4
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400302a2
bt eax, 0xa
jae 0x1400302a2
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140030296
test al, 0x10
je 0x140030296
lea rcx, [rbp + 0x90]
call fcn.1400d95ec
jmp 0x1400302a2
lea rcx, [rbp + 0x90]
call fcn.1400bd14c
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ae310
cmp byte [rsp + 0x7c], r12b
je 0x140030200
jmp 0x1400302c5
test eax, eax
je 0x1400302e7
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x7c]
mov edx, 0x104
mov rcx, rbx
call fcn.1400bb838
test rbx, rbx
jne 0x140030190
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1400302fd
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bb754
test rbx, rbx
je 0x140030312
mov rcx, rbx
call fcn.1400bb754
mov eax, r15d
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ac830
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