Function at 0x14001e200
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 0x14001e295
test byte [0x14020e4ac], 0x10
je 0x14001e295
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.140078130
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.140013cb0
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e2f7
bt eax, 0xa
jae 0x14001e2f7
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e2ea
test al, 0x10
je 0x14001e2ea
lea rcx, [rbp - 0x10]
call fcn.1400d89e4
jmp 0x14001e2f3
lea rcx, [rbp - 0x10]
call fcn.1400bd7ac
test eax, eax
jne 0x14001e335
mov ecx, 0x18
call fcn.1400bae58
mov rbx, rax
test rax, rax
je 0x14001e335
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 0x14001e337
xor ebx, ebx
mov qword [rsp + 0x1c0], r12
mov qword [rsi + 0x20], rbx
test rbx, rbx
je 0x14001e352
cmp qword [rbx], 0
jne 0x14001e513
mov r9, qword [rsi + 0x18]
lea rcx, [rsp + 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140013cb0
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 0x14001e393
inc rax
test ecx, ecx
jne 0x14001e380
lea r12, str.esif_ccb_library_load____s_failed___s___d__:__s_n
test edx, edx
je 0x14001e4e2
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f510
cmp dword [0x14020e430], 2
mov edi, eax
mov rbx, r9
jl 0x14001e41a
test byte [0x14020e47c], 0x10
je 0x14001e41a
mov rcx, r9
call fcn.14001f650
mov ecx, edi
mov r8, rax
call fcn.14001f880
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.140078130
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14001e44b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e42d
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.1400bae44
lea rcx, [rsp + 0x70]
mov qword [rsi + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e497
bt eax, 0xa
jae 0x14001e497
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e489
test al, 0x10
je 0x14001e489
lea rcx, [rsp + 0x70]
call fcn.1400d89e4
jmp 0x14001e493
lea rcx, [rsp + 0x70]
call fcn.1400bd7ac
test eax, eax
jne 0x14001e4da
mov ecx, 0x18
call fcn.1400bae58
mov rdi, rax
test rax, rax
je 0x14001e4da
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 0x14001e4e6
xor edi, edi
mov qword [rsi + 0x20], rdi
jmp 0x14001e4e6
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x14001e66d
cmp qword [rdi], 0
je 0x14001e66d
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x70]
mov edx, 0x80
lea rcx, [rbp - 0x10]
call fcn.1400baf28
cmp dword [0x14020e430], 4
jl 0x14001e55d
test byte [0x14020e4ac], 0x10
je 0x14001e55d
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.140078130
mov rbx, qword [rsi + 0x20]
mov r9, rbx
test rbx, rbx
je 0x14001e59a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e59a
lea r12, str.GetActionInterface
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14001e61d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f510
cmp dword [0x14020e430], 1
mov ebx, eax
jl 0x14001e757
test byte [0x14020e464], 0x10
je 0x14001e757
mov rcx, r9
call fcn.14001f650
mov ecx, ebx
mov r8, rax
call fcn.14001f880
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.140078130
mov eax, ebx
jmp 0x14001e757
cmp dword [0x14020e430], 4
jl 0x14001e663
test byte [0x14020e4ac], 0x10
je 0x14001e663
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.140078130
mov qword [r14], rdi
xor eax, eax
jmp 0x14001e757
mov rcx, rdi
call fcn.14001f510
cmp dword [0x14020e430], 1
mov r14d, eax
jl 0x14001e754
test byte [0x14020e464], 0x10
je 0x14001e754
lea rsi, [0x140128798]
test rdi, rdi
je 0x14001e70b
cmp dword [rdi + 8], 0
je 0x14001e70b
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.14001f880
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.140078130
mov eax, r14d
mov r12, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400ab870
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret