Function at 0x14002fe10
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.1400ad180
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x104
call fcn.1400ad180
lea rbx, [0x140127b30]
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 [0x14020e430], 4
mov rsi, rax
mov qword [rsp + 0x40], r12
jl 0x14002ff1e
test dword [0x14020e4ac], 0x100
je 0x14002ff1e
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.140078130
lea r13, str.Fail_to_allocate_esif_ccb_file_n
test r14, r14
je 0x140030085
test rdi, rdi
je 0x140030085
test rsi, rsi
je 0x140030085
lea r9, [rsp + 0x40]
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.14000b850
mov r15d, eax
test eax, eax
jne 0x140030085
nop
mov eax, dword [rdi + 0x10]
cmp eax, 5
jb 0x14002ffd7
mov ecx, eax
lea rdx, [0x14012dcf4]
mov rax, qword [rdi + 4]
add rax, 0xfffffffffffffffb
add rcx, rax
call fcn.1400d4a48
test eax, eax
jne 0x14002ffd7
mov ecx, 0x104
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x14003002b
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad180
mov r8, qword [rdi + 4]
mov r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.1400baf28
mov rcx, rbx
call fcn.14002ec80
test eax, eax
je 0x14002ffd7
mov rcx, rbx
call fcn.1400bae44
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.14000b860
mov r15d, eax
test eax, eax
je 0x14002ff60
jmp 0x140030070
cmp dword [0x14020e430], 1
jl 0x14003006a
test dword [0x14020e464], 0x100
je 0x14003006a
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.140078130
mov r15d, 0x708
lea rcx, [rsp + 0x40]
call fcn.14000b820
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.140013cb0
mov r9, 0xffffffffffffffff
lea r8, str..edp
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.1400baf28
cmp dword [0x14020e430], 4
jl 0x140030137
test dword [0x14020e4ac], 0x100
je 0x140030137
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.140078130
mov ecx, 0x104
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x140030159
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad180
test rbx, rbx
jne 0x1400301a5
cmp dword [0x14020e430], 1
jl 0x14003019b
test dword [0x14020e464], 0x100
je 0x14003019b
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.140078130
mov eax, 0x708
jmp 0x140030365
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x2b0]
call fcn.14002e7b0
mov rdi, rax
test rax, rax
jne 0x1400301ce
mov r15d, 0x3eb
jmp 0x140030355
lea rsi, [0x14012779c]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [0x140127b30]
call fcn.140003f00
test al, al
jne 0x140030229
mov rcx, rbx
call fcn.14002ec80
test eax, eax
je 0x140030207
mov rcx, rbx
call fcn.1400bae44
mov ecx, 0x104
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x140030229
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.1400ad180
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ad180
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x104
call fcn.1400ad180
nop
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x140030311
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.14002ea00
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140030304
bt eax, 0xa
jae 0x140030304
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400302f2
bt eax, 0xa
jae 0x1400302f2
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400302e6
test al, 0x10
je 0x1400302e6
lea rcx, [rbp + 0x90]
call fcn.1400d89e4
jmp 0x1400302f2
lea rcx, [rbp + 0x90]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rsp + 0x7c], r12b
je 0x140030250
jmp 0x140030315
test eax, eax
je 0x140030337
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x7c]
mov edx, 0x104
mov rcx, rbx
call fcn.1400baf28
test rbx, rbx
jne 0x1400301e0
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14003034d
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bae44
test rbx, rbx
je 0x140030362
mov rcx, rbx
call fcn.1400bae44
mov eax, r15d
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ab870
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