Function at 0x14000d450
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 [0x140214ec8]
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 0x14000d7df
mov r13, qword [rcx + 4]
mov word [rsp + 0x78], 0x5d
test r13, r13
je 0x14000d4c2
cmp dword [rcx + 0x10], 0xd
jbe 0x14000d4c2
movzx eax, word [r13]
cmp ax, word [rsp + 0x78]
je 0x14000d7df
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.1400ad590
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.140013cf0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d560
bt eax, 0xa
jae 0x14000d560
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000d54b
test al, 0x10
je 0x14000d54b
lea rcx, [rsp + 0x80]
call fcn.1400d8df4
jmp 0x14000d558
lea rcx, [rsp + 0x80]
call fcn.1400bdbbc
test eax, eax
jne 0x14000d8ee
mov ecx, 0x18
call fcn.1400bb268
mov r14, rax
test rax, rax
je 0x14000d8ee
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 0x14000d5c5
mov rcx, r14
call fcn.14000ebf0
cmp eax, 0xbb8
mov ebx, esi
cmovne ebx, eax
jmp 0x14000d7b2
lea rdx, str.EsifCompress
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000d5f0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [r14 + 8], eax
mov ebx, 0xd49
jmp 0x14000d7b2
mov r9, rdi
lea rdx, [rsp + 0x70]
mov r8, r13
xor ecx, ecx
call qword [case.0x140023f87.0]
mov r15d, eax
test eax, eax
je 0x14000d614
mov ebx, 0x517
jmp 0x14000d7b2
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x7ffffffe
jbe 0x14000d62c
mov ebx, 0x8fd
jmp 0x14000d7b2
test rcx, rcx
je 0x14000d7b2
call fcn.14000ee20
mov rsi, rax
test rax, rax
jne 0x14000d64c
mov ebx, 0x708
jmp 0x14000d7b2
mov rdi, qword [rsp + 0x70]
movabs rcx, 0x8000000000000000
mov qword [rsp + 0x1f8], rbp
mov ebp, 3
movaps xmmword [rsp + 0x1b0], xmm6
movsd xmm6, qword [0x140128008]
movaps xmmword [rsp + 0x1a0], xmm7
movsd xmm7, qword [0x140127ff0]
cmp r15d, 7
jne 0x14000d705
xorps xmm0, xmm0
test rdi, rdi
js 0x14000d69d
cvtsi2sd xmm0, rdi
jmp 0x14000d6b2
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 0x14000d6cb
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000d6cb
mov rax, rcx
cvttsd2si rdi, xmm0
mov rcx, rsi
add rdi, rax
mov rdx, rdi
call fcn.1400d4e04
mov rbx, rax
test rsi, rsi
jne 0x14000d6f8
test rax, rax
je 0x14000d749
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400ad590
test rbx, rbx
je 0x14000d749
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.0x140023f87.0]
mov r15d, eax
cmp eax, 7
jne 0x14000d745
mov eax, ebp
movabs rcx, 0x8000000000000000
dec ebp
test eax, eax
jg 0x14000d688
mov ebx, 0x517
jmp 0x14000d788
test eax, eax
je 0x14000d750
mov ebx, 0x517
jmp 0x14000d788
mov rax, qword [rsp + 0x70]
xor ebp, ebp
mov ebx, ebp
cmp rax, rdi
jae 0x14000d87e
lfence
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
mov ebx, 0x708
call fcn.14000eea0
test rax, rax
mov rsi, rax
cmovne ebx, ebp
test ebx, ebx
je 0x14000d879
test rsi, rsi
je 0x14000d795
mov rcx, rsi
call fcn.1400bb254
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 0x14000d7c0
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.1400bb254
test ebx, ebx
je 0x14000d84a
cmp dword [0x14020e430], 1
jl 0x14000d84a
test byte [0x14020e464], 1
je 0x14000d84a
mov ecx, ebx
call fcn.14000ef70
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.140078180
mov eax, ebx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400abc80
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 [0x14020e430], 3
mov rdi, qword [rsp + 0x60]
jl 0x14000d8d3
test byte [0x14020e494], 1
je 0x14000d8d3
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.140078180
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.14000e600
jmp 0x14000d79a
mov ebx, 0x708
jmp 0x14000d7e3