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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
xor r12d, r12d
cmp dword [0x14020a150], 4
mov r15, rdx
mov rsi, rcx
mov r14d, r12d
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
jl 0x14001ea2f
test byte [0x14020a1cc], 0x10
je 0x14001ea2f
mov rax, qword [rcx + 0x18]
lea edx, [r12 + 4]
mov qword [rsp + 0x30], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
lea rax, str.Name_s_n
mov qword [rsp + 0x28], rax
lea r8, str.EsifActMgr_LoadAction
lea ecx, [rdx + 0xc]
mov dword [rsp + 0x20], 0x2fe
call fcn.140077c20
mov r9, qword [rsi + 0x18]
lea rbx, str..dll
mov edx, 0x80
mov qword [rsp + 0x20], rbx
lea rcx, [rbp - 0x10]
lea r8d, [rdx - 0x79]
call fcn.140014740
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001ea91
bt eax, 0xa
jae 0x14001ea91
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001ea84
test al, 0x10
je 0x14001ea84
lea rcx, [rbp - 0x10]
call fcn.1400d2fdc
jmp 0x14001ea8d
lea rcx, [rbp - 0x10]
call fcn.1400b6b3c
test eax, eax
jne 0x14001eacf
mov ecx, 0x18
call fcn.1400b5158
mov rdi, rax
test rax, rax
je 0x14001eacf
xorps xmm0, xmm0
lea rcx, [rbp - 0x10]
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
jmp 0x14001ead2
mov rdi, r12
mov qword [rsp + 0x1d0], r13
mov qword [rsi + 0x20], rdi
test rdi, rdi
je 0x14001eaef
mov r9, rdi
cmp qword [rdi], r12
jne 0x14001ec9b
mov r9, qword [rsi + 0x18]
lea rcx, [rsp + 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rbx
lea r8d, [rdx - 0x78]
call fcn.140014740
lea rax, [rsp + 0x70]
lea r8, [rbp - 0x10]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14001eb33
inc rax
test ecx, ecx
jne 0x14001eb20
lea r13, str.esif_ccb_library_load____s_failed___s___d__:__s_n
test edx, edx
je 0x14001ec82
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001fc90
cmp dword [0x14020a150], 2
mov r14d, eax
mov rbx, r9
jl 0x14001ebbd
test byte [0x14020a19c], 0x10
je 0x14001ebbd
mov rcx, r9
call fcn.14001fdd0
mov ecx, r14d
mov r8, rax
call fcn.140020000
mov qword [rsp + 0x48], r8
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov dword [rsp + 0x40], r14d
lea r8, str.EsifActMgr_LoadAction
mov qword [rsp + 0x38], rax
mov edx, 2
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea ecx, [rdx + 0xe]
mov dword [rsp + 0x20], 0x308
call fcn.140077c20
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14001ebee
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001ebd0
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov rcx, rbx
mov qword [rbx + 0x10], rax
call fcn.1400b5144
lea rcx, [rsp + 0x70]
mov qword [rsi + 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001ec36
bt eax, 0xa
jae 0x14001ec36
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001ec28
test al, 0x10
je 0x14001ec28
lea rcx, [rsp + 0x70]
call fcn.1400d2fdc
jmp 0x14001ec32
lea rcx, [rsp + 0x70]
call fcn.1400b6b3c
test eax, eax
jne 0x14001ec79
mov ecx, 0x18
call fcn.1400b5158
mov rdi, rax
test rax, rax
je 0x14001ec79
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 qword [rsi + 0x20], rdi
jmp 0x14001ec86
mov rdi, r12
mov qword [rsi + 0x20], r12
jmp 0x14001ec86
mov rdi, qword [rsi + 0x20]
mov r9, rdi
test rdi, rdi
je 0x14001edf3
cmp qword [rdi], r12
je 0x14001edf3
cmp dword [0x14020a150], 4
jl 0x14001ecec
test byte [0x14020a1cc], 0x10
je 0x14001ecec
lea rax, [rbp - 0x10]
mov edx, 4
mov qword [rsp + 0x30], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
lea rax, str.esif_ccb_library_load____s_completed._n
mov qword [rsp + 0x28], rax
lea r8, str.EsifActMgr_LoadAction
lea ecx, [rdx + 0xc]
mov dword [rsp + 0x20], 0x315
call fcn.140077c20
mov rdi, qword [rsi + 0x20]
mov r9, rdi
test rdi, rdi
je 0x14001ed22
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001ed22
lea r12, str.GetActionInterface
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14001eda5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001fc90
cmp dword [0x14020a150], 1
mov ebx, eax
jl 0x14001eed5
test byte [0x14020a184], 0x10
je 0x14001eed5
mov rcx, r9
call fcn.14001fdd0
mov ecx, ebx
mov r8, rax
call fcn.140020000
mov qword [rsp + 0x48], r8
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov dword [rsp + 0x40], ebx
lea r8, str.EsifActMgr_LoadAction
mov qword [rsp + 0x38], rax
mov edx, 1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, str.esif_ccb_library_get_func____s_failed___s___d__:__s_n
mov qword [rsp + 0x28], rax
lea ecx, [rdx + 0xf]
mov dword [rsp + 0x20], 0x31a
call fcn.140077c20
mov eax, ebx
jmp 0x14001eed5
cmp dword [0x14020a150], 4
jl 0x14001edeb
test byte [0x14020a1cc], 0x10
je 0x14001edeb
mov edx, 4
mov qword [rsp + 0x30], r12
lea rax, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
lea r8, str.EsifActMgr_LoadAction
mov dword [rsp + 0x20], 0x31d
lea ecx, [rdx + 0xc]
call fcn.140077c20
mov qword [r15], rbx
jmp 0x14001eed2
mov rcx, rdi
call fcn.14001fc90
cmp dword [0x14020a150], 1
mov r14d, eax
jl 0x14001eed2
test byte [0x14020a184], 0x10
je 0x14001eed2
lea rsi, [0x140121808]
test rdi, rdi
je 0x14001ee8a
cmp dword [rdi + 8], r12d
je 0x14001ee8a
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x50], rax
lea rbx, [rdi + 0x10]
lea rax, [0x140120e2b]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8d, dword [rdi + 8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], r12d
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rbx
mov qword [rbx], r12
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rax, qword [rbx]
test rax, rax
cmovne rsi, rax
mov ecx, r14d
call fcn.140020000
mov qword [rsp + 0x48], rsi
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov dword [rsp + 0x40], r14d
lea r8, str.EsifActMgr_LoadAction
mov qword [rsp + 0x38], rax
mov edx, 1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
lea ecx, [rdx + 0xf]
mov dword [rsp + 0x20], 0x310
call fcn.140077c20
mov eax, r14d
mov r13, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x180
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret