Function at 0x14006e190
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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14027df48]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor esi, esi
lea rcx, [rbp + 0x2c0]
xor edx, edx
mov r8d, 0x104
mov r12d, esi
call fcn.140104310
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x104
call fcn.140104310
mov r9d, 0x80000000
lea rdx, [0x14017f990]
xor r8d, r8d
lea ecx, [rsi + 0x24]
call fcn.140041e80
xor r9d, r9d
lea ecx, [rsi + 0x24]
xor edx, edx
mov r8d, 0xffffffff
mov r15, rax
call fcn.140041e80
xor r9d, r9d
lea ecx, [rsi + 0x24]
xor edx, edx
mov r8d, 0xffffffff
mov rdi, rax
call fcn.140041e80
cmp dword [0x140277860], 4
mov r14, rax
mov qword [rsp + 0x50], rsi
jl 0x14006e259
test dword [0x1402778dc], 0x100
lea ebx, [rsi + 1]
jne 0x14006e25b
mov ebx, esi
mov edx, 4
mov ecx, 0x100
call fcn.1400e3b80
lea r13, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_UFSourcesesif_uf_dspmgr.c
lea rdx, str.esif_dsp_file_scan
test ebx, ebx
jne 0x14006e280
test eax, eax
je 0x14006e2cb
lea rcx, [rbp + 0x1b0]
mov r9d, 4
mov qword [rsp + 0x48], rcx
mov r8d, 0x100
lea rcx, [0x14017f990]
mov qword [rsp + 0x40], rcx
lea rcx, str.SCAN_CONFIG_For_DSP_Files_NameSpace___s__Pattern__s
mov qword [rsp + 0x38], rcx
mov ecx, ebx
mov dword [rsp + 0x30], 0x363
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdx
mov edx, eax
call fcn.1400bb960
test r15, r15
je 0x14006e455
test rdi, rdi
je 0x14006e455
test r14, r14
je 0x14006e455
lea r9, [rsp + 0x50]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14003f900
mov r12d, eax
test eax, eax
jne 0x14006e455
mov eax, dword [rdi + 0x10]
cmp eax, 5
jb 0x14006e37b
mov ecx, eax
lea rdx, [0x140185184]
mov rax, qword [rdi + 4]
add rax, 0xfffffffffffffffb
add rcx, rax
call fcn.14012bcd8
test eax, eax
jne 0x14006e37b
mov ecx, 0x104
call fcn.1401120e8
mov rbx, rax
test rax, rax
je 0x14006e3cd
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.140104310
mov r8, qword [rdi + 4]
mov r9, 0xffffffffffffffff
mov edx, 0x104
mov rcx, rbx
call fcn.1401121b8
mov rcx, rbx
call fcn.14006cc00
test eax, eax
je 0x14006e37b
mov rcx, rbx
call fcn.1401120d4
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, 0xffffffff
mov rcx, rdi
lea edx, [r8 + 0x24]
call fcn.140042b40
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, 0xffffffff
mov rcx, r14
lea edx, [r8 + 0x24]
call fcn.140042b40
lea r9, [rsp + 0x50]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.14003f910
mov r12d, eax
test eax, eax
je 0x14006e304
jmp 0x14006e440
cmp dword [0x140277860], 1
jl 0x14006e3e7
test dword [0x140277894], 0x100
mov ebx, 1
jne 0x14006e3e9
mov ebx, esi
mov edx, 1
mov ecx, 0x100
call fcn.1400e3b80
test ebx, ebx
jne 0x14006e400
test eax, eax
je 0x14006e43a
lea rcx, str.Fail_to_allocate_esif_ccb_file_n
mov r9d, 1
mov qword [rsp + 0x38], rcx
mov r8d, 0x100
lea rcx, str.esif_dsp_file_scan
mov dword [rsp + 0x30], 0x36b
mov qword [rsp + 0x28], r13
mov edx, eax
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400bb960
mov r12d, 0x708
lea rcx, [rsp + 0x50]
call fcn.14003f8d0
cmp r12d, 0x3ed
cmove r12d, esi
mov rcx, r15
call fcn.1400422f0
mov rcx, rdi
call fcn.1400422f0
mov rcx, r14
call fcn.1400422f0
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
lea r8d, [r9 + 9]
call fcn.140047820
mov r9, 0xffffffffffffffff
lea r8, str..edp
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.1401121b8
cmp dword [0x140277860], 4
jl 0x14006e4c3
test dword [0x1402778dc], 0x100
mov ebx, 1
jne 0x14006e4c5
mov ebx, esi
mov edx, 4
mov ecx, 0x100
call fcn.1400e3b80
test ebx, ebx
jne 0x14006e4dc
test eax, eax
je 0x14006e530
lea rcx, [rbp + 0x1b0]
mov r9d, 4
mov qword [rsp + 0x48], rcx
lea rdi, str.esif_dsp_file_scan
lea rcx, [rbp + 0x2c0]
mov r8d, 0x100
mov qword [rsp + 0x40], rcx
mov edx, eax
lea rcx, str.SCAN_File_System_For_DSP_Files_Path___s__Pattern__s
mov qword [rsp + 0x38], rcx
mov ecx, ebx
mov dword [rsp + 0x30], 0x385
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
call fcn.1400bb960
jmp 0x14006e537
lea rdi, str.esif_dsp_file_scan
mov ecx, 0x104
call fcn.1401120e8
mov rbx, rax
test rax, rax
je 0x14006e559
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.140104310
test rbx, rbx
jne 0x14006e5ca
cmp dword [0x140277860], 1
jl 0x14006e576
test dword [0x140277894], 0x100
je 0x14006e576
lea esi, [rbx + 1]
mov edx, 1
mov ecx, 0x100
call fcn.1400e3b80
test esi, esi
jne 0x14006e58d
test eax, eax
je 0x14006e5c0
lea rcx, str.Fail_to_allocate_esif_ccb_file_n
mov r9d, 1
mov qword [rsp + 0x38], rcx
mov r8d, 0x100
mov dword [rsp + 0x30], 0x389
mov edx, eax
mov qword [rsp + 0x28], r13
mov ecx, esi
mov qword [rsp + 0x20], rdi
call fcn.1400bb960
mov eax, 0x708
jmp 0x14006e782
mov r8, rbx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x2c0]
call fcn.14006c930
mov rdi, rax
test rax, rax
jne 0x14006e5f3
mov r12d, 0x3eb
jmp 0x14006e772
lea rsi, [0x14017f5f4]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [0x14017f990]
call fcn.140037e50
test al, al
jne 0x14006e649
mov rcx, rbx
call fcn.14006cc00
test eax, eax
je 0x14006e627
mov rcx, rbx
call fcn.1401120d4
mov ecx, 0x104
call fcn.1401120e8
mov rbx, rax
test rax, rax
je 0x14006e649
xor edx, edx
mov r8d, 0x104
mov rcx, rax
call fcn.140104310
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x140
call fcn.140104310
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x104
call fcn.140104310
nop
mov rcx, qword [rdi]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x14006e72f
lea rax, [rbp - 0x74]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x14017f5f8]
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0xa0]
call fcn.14006cb80
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006e723
bt eax, 0xa
jae 0x14006e723
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006e711
bt eax, 0xa
jae 0x14006e711
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006e705
test al, 0x10
je 0x14006e705
lea rcx, [rbp + 0xa0]
call fcn.14012fc74
jmp 0x14006e711
lea rcx, [rbp + 0xa0]
call fcn.140114a3c
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x140
call fcn.140104310
cmp byte [rbp - 0x74], 0
je 0x14006e670
jmp 0x14006e733
test eax, eax
je 0x14006e754
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x74]
mov edx, 0x104
mov rcx, rbx
call fcn.1401121b8
test rbx, rbx
jne 0x14006e600
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x14006e76a
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1401120d4
test rbx, rbx
je 0x14006e77f
mov rcx, rbx
call fcn.1401120d4
mov eax, r12d
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140102a00
lea r11, [rsp + 0x4e0]
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