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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x70], rax
cmp dword [0x14020e430], 4
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov r14, rdx
mov rsi, rcx
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 0x14001e2d5
test byte [0x14020e4ac], 0x10
je 0x14001e2d5
mov rax, qword [rcx + 0x18]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov qword [rsp + 0x30], rax
lea r8, str.EsifActMgr_LoadAction
mov edx, 4
lea rax, str.Name_s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2fe
lea ecx, [rdx + 0xc]
call fcn.140078180
mov r9, qword [rsi + 0x18]
lea rdi, str..dll
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea rcx, [rbp - 0x10]
lea r8d, [rdx - 0x79]
call fcn.140013cf0
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e337
bt eax, 0xa
jae 0x14001e337
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e32a
test al, 0x10
je 0x14001e32a
lea rcx, [rbp - 0x10]
call fcn.1400d8df4
jmp 0x14001e333
lea rcx, [rbp - 0x10]
call fcn.1400bdbbc
test eax, eax
jne 0x14001e375
mov ecx, 0x18
call fcn.1400bb268
mov rbx, rax
test rax, rax
je 0x14001e375
xorps xmm0, xmm0
lea rcx, [rbp - 0x10]
xor eax, eax
xor edx, edx
movups xmmword [rbx], xmm0
mov r8d, 0x1000
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
jmp 0x14001e377
xor ebx, ebx
mov qword [rsp + 0x1c0], r12
mov qword [rsi + 0x20], rbx
test rbx, rbx
je 0x14001e392
cmp qword [rbx], 0
jne 0x14001e553
mov r9, qword [rsi + 0x18]
lea rcx, [rsp + 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140013cf0
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 0x14001e3d3
inc rax
test ecx, ecx
jne 0x14001e3c0
lea r12, str.esif_ccb_library_load____s_failed___s___d__:__s_n
test edx, edx
je 0x14001e522
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f550
cmp dword [0x14020e430], 2
mov edi, eax
mov rbx, r9
jl 0x14001e45a
test byte [0x14020e47c], 0x10
je 0x14001e45a
mov rcx, r9
call fcn.14001f690
mov ecx, edi
mov r8, rax
call fcn.14001f8c0
mov qword [rsp + 0x48], r8
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov dword [rsp + 0x40], edi
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], r12
lea ecx, [rdx + 0xe]
mov dword [rsp + 0x20], 0x308
call fcn.140078180
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14001e48b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e46d
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.1400bb254
lea rcx, [rsp + 0x70]
mov qword [rsi + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e4d7
bt eax, 0xa
jae 0x14001e4d7
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e4c9
test al, 0x10
je 0x14001e4c9
lea rcx, [rsp + 0x70]
call fcn.1400d8df4
jmp 0x14001e4d3
lea rcx, [rsp + 0x70]
call fcn.1400bdbbc
test eax, eax
jne 0x14001e51a
mov ecx, 0x18
call fcn.1400bb268
mov rdi, rax
test rax, rax
je 0x14001e51a
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 0x14001e526
xor edi, edi
mov qword [rsi + 0x20], rdi
jmp 0x14001e526
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x14001e6ad
cmp qword [rdi], 0
je 0x14001e6ad
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x70]
mov edx, 0x80
lea rcx, [rbp - 0x10]
call fcn.1400bb338
cmp dword [0x14020e430], 4
jl 0x14001e59d
test byte [0x14020e4ac], 0x10
je 0x14001e59d
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], 0x317
call fcn.140078180
mov rbx, qword [rsi + 0x20]
mov r9, rbx
test rbx, rbx
je 0x14001e5da
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e5da
lea r12, str.GetActionInterface
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14001e65d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f550
cmp dword [0x14020e430], 1
mov ebx, eax
jl 0x14001e797
test byte [0x14020e464], 0x10
je 0x14001e797
mov rcx, r9
call fcn.14001f690
mov ecx, ebx
mov r8, rax
call fcn.14001f8c0
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], 0x31c
call fcn.140078180
mov eax, ebx
jmp 0x14001e797
cmp dword [0x14020e430], 4
jl 0x14001e6a3
test byte [0x14020e4ac], 0x10
je 0x14001e6a3
mov edx, 4
mov qword [rsp + 0x30], r12
lea r10, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x28], r10
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
lea r8, str.EsifActMgr_LoadAction
mov dword [rsp + 0x20], 0x31f
lea ecx, [rdx + 0xc]
call fcn.140078180
mov qword [r14], rdi
xor eax, eax
jmp 0x14001e797
mov rcx, rdi
call fcn.14001f550
cmp dword [0x14020e430], 1
mov r14d, eax
jl 0x14001e794
test byte [0x14020e464], 0x10
je 0x14001e794
lea rsi, [0x140128798]
test rdi, rdi
je 0x14001e74b
cmp dword [rdi + 8], 0
je 0x14001e74b
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x50], rax
lea rbx, [rdi + 0x10]
lea rax, [0x140127c7b]
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], 0
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rbx
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov rax, qword [rbx]
test rax, rax
cmovne rsi, rax
mov ecx, r14d
call fcn.14001f8c0
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, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
lea ecx, [rdx + 0xf]
mov dword [rsp + 0x20], 0x310
call fcn.140078180
mov eax, r14d
mov r12, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400abc80
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret