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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x14021a328]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
mov ebx, 0x8fc
test rcx, rcx
mov qword [rsp + 0x70], rsi
mov r12, rcx
mov r15d, esi
cmovne ebx, esi
mov edi, esi
je 0x14000d79f
mov r13, qword [rcx + 4]
mov word [rsp + 0x78], 0x5d
test r13, r13
je 0x14000d482
cmp dword [rcx + 0x10], 0xd
jbe 0x14000d482
movzx eax, word [r13]
cmp ax, word [rsp + 0x78]
je 0x14000d79f
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.1400ae310
mov edi, dword [r12 + 0x10]
lea rax, str..dll
lea r9, str.esif_cmp
mov qword [rsp + 0x20], rax
mov edx, 0x104
mov qword [rsp + 0x60], rdi
mov r8d, 7
lea rcx, [rsp + 0x80]
call fcn.140013c70
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d520
bt eax, 0xa
jae 0x14000d520
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d50b
test al, 0x10
je 0x14000d50b
lea rcx, [rsp + 0x80]
call fcn.1400d95ec
jmp 0x14000d518
lea rcx, [rsp + 0x80]
call fcn.1400bd14c
test eax, eax
jne 0x14000d8ae
mov ecx, 0x18
call fcn.1400bb768
mov r14, rax
test rax, rax
je 0x14000d8ae
xorps xmm0, xmm0
lea rcx, [rsp + 0x80]
xor eax, eax
xor edx, edx
movups xmmword [r14], xmm0
mov r8d, 0x1000
mov qword [r14 + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [r14], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 8], eax
mov rcx, qword [r14]
test rcx, rcx
jne 0x14000d585
mov rcx, r14
call fcn.14000ebb0
cmp eax, 0xbb8
mov ebx, esi
cmovne ebx, eax
jmp 0x14000d772
lea rdx, str.EsifCompress
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000d5b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 8], eax
mov ebx, 0xd49
jmp 0x14000d772
mov r9, rdi
lea rdx, [rsp + 0x70]
mov r8, r13
xor ecx, ecx
call qword [case.0x140023ef7.0]
mov r15d, eax
test eax, eax
je 0x14000d5d4
mov ebx, 0x517
jmp 0x14000d772
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x7ffffffe
jbe 0x14000d5ec
mov ebx, 0x8fd
jmp 0x14000d772
test rcx, rcx
je 0x14000d772
call fcn.14000ede0
mov rsi, rax
test rax, rax
jne 0x14000d60c
mov ebx, 0x708
jmp 0x14000d772
mov rdi, qword [rsp + 0x70]
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x1f8], rbp
mov ebp, 3
movaps xmmword [rsp + 0x1b0], xmm6
movsd xmm6, qword [0x140128058]
movaps xmmword [rsp + 0x1a0], xmm7
movsd xmm7, qword [0x140128040]
cmp r15d, 7
jne 0x14000d6c5
xorps xmm0, xmm0
test rdi, rdi
js 0x14000d65d
cvtsi2sd xmm0, rdi
jmp 0x14000d672
mov rax, rdi
and edi, 1
shr rax, 1
or rax, rdi
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm7
xor eax, eax
comisd xmm0, xmm6
jb 0x14000d68b
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000d68b
mov rax, rcx
cvttsd2si rdi, xmm0
mov rcx, rsi
add rdi, rax
mov rdx, rdi
call fcn.1400d5384
mov rbx, rax
test rsi, rsi
jne 0x14000d6b8
test rax, rax
je 0x14000d709
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400ae310
test rbx, rbx
je 0x14000d709
mov rsi, rbx
mov qword [rsp + 0x70], rdi
mov r9, qword [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov r8, r13
mov rcx, rsi
call qword [case.0x140023ef7.0]
mov r15d, eax
cmp eax, 7
jne 0x14000d705
mov eax, ebp
movabs rcx, 0x8000000000000000
dec ebp
test eax, eax
jg 0x14000d648
mov ebx, 0x517
jmp 0x14000d748
test eax, eax
je 0x14000d710
mov ebx, 0x517
jmp 0x14000d748
mov rax, qword [rsp + 0x70]
xor ebp, ebp
mov ebx, ebp
cmp rax, rdi
jae 0x14000d83e
lfence
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
mov ebx, 0x708
call fcn.14000ee60
test rax, rax
mov rsi, rax
cmovne ebx, ebp
test ebx, ebx
je 0x14000d839
test rsi, rsi
je 0x14000d755
mov rcx, rsi
call fcn.1400bb754
mov rdi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x1b0]
mov rbp, qword [rsp + 0x1f8]
movaps xmm7, xmmword [rsp + 0x1a0]
mov rcx, qword [r14]
test rcx, rcx
je 0x14000d780
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov rcx, r14
mov qword [r14 + 0x10], rax
call fcn.1400bb754
test ebx, ebx
je 0x14000d80a
cmp dword [0x140213620], 1
jl 0x14000d80a
test byte [0x140213654], 1
je 0x14000d80a
mov ecx, ebx
call fcn.14000ef30
mov r10, rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
mov rax, qword [rsp + 0x70]
lea r8, str.EsifData_Compress
mov qword [rsp + 0x50], rax
mov edx, 1
mov qword [rsp + 0x48], rdi
lea rax, str.EsifCmp_Compress_Error:__s___d___result_d__original_zd__compressed_zd__n
mov dword [rsp + 0x40], r15d
mov ecx, edx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x37b
call fcn.140079050
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400ac830
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0x70]
cmp dword [0x140213620], 3
mov rdi, qword [rsp + 0x60]
jl 0x14000d893
test byte [0x140213684], 1
je 0x14000d893
mov qword [rsp + 0x38], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
mov edx, 3
mov qword [rsp + 0x30], rdi
lea rax, str.EsifCmp_Compressed:__u____zd_bytes_n
mov qword [rsp + 0x28], rax
lea r8, str.EsifData_Compress
mov dword [rsp + 0x20], 0x366
lea ecx, [rdx - 2]
call fcn.140079050
mov rax, qword [rsp + 0x70]
mov edx, dword [r12]
mov r9d, eax
mov r8, rsi
mov dword [rsp + 0x20], eax
mov rcx, r12
call fcn.14000e5c0
jmp 0x14000d75a
mov ebx, 0x708
jmp 0x14000d7a3