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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x190
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rsp + 0x180], rax
xor eax, eax
mov ebx, 0x8fc
test rcx, rcx
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov r13d, eax
cmovne ebx, eax
mov r12d, eax
je 0x14000dcab
mov r14, qword [rcx + 4]
mov word [rsp + 0x68], 0x5d
test r14, r14
je 0x14000dcab
mov edi, dword [rcx + 0x10]
cmp edi, 0xd
jbe 0x14000dcab
movzx eax, word [r14]
cmp ax, word [rsp + 0x68]
jne 0x14000dcab
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x104
call fcn.1400ad180
lea rax, str..dll
mov edx, 0x104
lea r9, str.esif_cmp
mov qword [rsp + 0x20], rax
mov r8d, 7
lea rcx, [rsp + 0x70]
mov r12d, edi
call fcn.140013cb0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000daeb
bt eax, 0xa
jae 0x14000daeb
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000dad9
test al, 0x10
je 0x14000dad9
lea rcx, [rsp + 0x70]
call fcn.1400d89e4
jmp 0x14000dae3
lea rcx, [rsp + 0x70]
call fcn.1400bd7ac
test eax, eax
jne 0x14000dd3d
mov ecx, 0x18
call fcn.1400bae58
mov rdi, rax
test rax, rax
je 0x14000dd3d
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
xor eax, eax
xor edx, edx
movups xmmword [rdi], xmm0
mov r8d, 0x1000
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi + 8], eax
mov rcx, qword [rdi]
test rcx, rcx
jne 0x14000db43
mov rcx, rdi
call fcn.14000ebb0
mov ebx, eax
jmp 0x14000dc7f
lea rdx, str.EsifDecompress
mov qword [rsp + 0x1d0], r15
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x14000db73
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rdi + 8], eax
mov ebx, 0xd49
jmp 0x14000dc77
mov r9, r12
lea rdx, [rsp + 0x60]
mov r8, r14
xor ecx, ecx
call qword [case.0x140023f47.0]
mov r13d, eax
test eax, eax
je 0x14000db97
mov ebx, 0x517
jmp 0x14000dc77
mov rcx, qword [rsp + 0x60]
cmp rcx, 0x7ffffffe
jbe 0x14000dbaf
mov ebx, 0x8fd
jmp 0x14000dc77
test rcx, rcx
je 0x14000dc77
mov qword [rsp + 0x1c8], rbp
call fcn.14000ede0
mov rbp, rax
test rax, rax
jne 0x14000dbd7
mov ebx, 0x708
jmp 0x14000dc6f
mov r9, r12
lea rdx, [rsp + 0x60]
mov r8, r14
mov rcx, rbp
mov rax, r15
call qword [case.0x140023f47.0]
mov r13d, eax
test eax, eax
je 0x14000dc04
mov rcx, rbp
mov ebx, 0x517
call fcn.1400bae44
jmp 0x14000dc6f
cmp dword [0x14020e430], 3
jl 0x14000dc54
test byte [0x14020e494], 1
je 0x14000dc54
mov rax, qword [rsp + 0x60]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
mov qword [rsp + 0x38], rax
lea r8, str.EsifData_Decompress
mov edx, 3
mov qword [rsp + 0x30], r12
lea rax, str.EsifCmp_Decompressed:__u____zd_bytes_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3ca
lea ecx, [rdx - 2]
call fcn.140078130
mov rax, qword [rsp + 0x60]
mov r8, rbp
mov edx, dword [rsi]
mov r9d, eax
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14000e5c0
xor ebx, ebx
mov rbp, qword [rsp + 0x1c8]
mov r15, qword [rsp + 0x1d0]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000dc8d
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rax
call fcn.1400bae44
test ebx, ebx
je 0x14000dd13
cmp dword [0x14020e430], 1
jl 0x14000dd13
test byte [0x14020e464], 1
je 0x14000dd13
mov ecx, ebx
call fcn.14000ef30
mov rdx, qword [rsp + 0x60]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_esifdata.c
mov qword [rsp + 0x50], rdx
lea r8, str.EsifData_Decompress
mov qword [rsp + 0x48], r12
mov edx, 1
mov dword [rsp + 0x40], r13d
mov ecx, edx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
lea rax, str.EsifCmp_Decompress_Error:__s___d___result_d__compressed_zd__expanded_zd__n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x3e0
call fcn.140078130
mov eax, ebx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400ab870
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov ebx, 0x708
jmp 0x14000dcaf