Function at 0x14001e1c0
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 [0x14021a328]
xor rax, rsp
mov qword [rbp + 0x70], rax
cmp dword [0x140213620], 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 0x14001e255
test byte [0x14021369c], 0x10
je 0x14001e255
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.140079050
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.140013c70
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e2b7
bt eax, 0xa
jae 0x14001e2b7
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e2aa
test al, 0x10
je 0x14001e2aa
lea rcx, [rbp - 0x10]
call fcn.1400d95ec
jmp 0x14001e2b3
lea rcx, [rbp - 0x10]
call fcn.1400bd14c
test eax, eax
jne 0x14001e2f5
mov ecx, 0x18
call fcn.1400bb768
mov rbx, rax
test rax, rax
je 0x14001e2f5
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 0x14001e2f7
xor ebx, ebx
mov qword [rsp + 0x1c0], r12
mov qword [rsi + 0x20], rbx
test rbx, rbx
je 0x14001e312
cmp qword [rbx], 0
jne 0x14001e4d3
mov r9, qword [rsi + 0x18]
lea rcx, [rsp + 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140013c70
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 0x14001e353
inc rax
test ecx, ecx
jne 0x14001e340
lea r12, str.esif_ccb_library_load____s_failed___s___d__:__s_n
test edx, edx
je 0x14001e4a2
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f4d0
cmp dword [0x140213620], 2
mov edi, eax
mov rbx, r9
jl 0x14001e3da
test byte [0x14021366c], 0x10
je 0x14001e3da
mov rcx, r9
call fcn.14001f610
mov ecx, edi
mov r8, rax
call fcn.14001f840
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.140079050
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14001e40b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e3ed
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.1400bb754
lea rcx, [rsp + 0x70]
mov qword [rsi + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e457
bt eax, 0xa
jae 0x14001e457
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001e449
test al, 0x10
je 0x14001e449
lea rcx, [rsp + 0x70]
call fcn.1400d95ec
jmp 0x14001e453
lea rcx, [rsp + 0x70]
call fcn.1400bd14c
test eax, eax
jne 0x14001e49a
mov ecx, 0x18
call fcn.1400bb768
mov rdi, rax
test rax, rax
je 0x14001e49a
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 0x14001e4a6
xor edi, edi
mov qword [rsi + 0x20], rdi
jmp 0x14001e4a6
mov rdi, qword [rsi + 0x20]
test rdi, rdi
je 0x14001e62d
cmp qword [rdi], 0
je 0x14001e62d
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x70]
mov edx, 0x80
lea rcx, [rbp - 0x10]
call fcn.1400bb838
cmp dword [0x140213620], 4
jl 0x14001e51d
test byte [0x14021369c], 0x10
je 0x14001e51d
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.140079050
mov rbx, qword [rsi + 0x20]
mov r9, rbx
test rbx, rbx
je 0x14001e55a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001e55a
lea r12, str.GetActionInterface
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14001e5dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov r9, qword [rsi + 0x20]
mov rcx, r9
call fcn.14001f4d0
cmp dword [0x140213620], 1
mov ebx, eax
jl 0x14001e717
test byte [0x140213654], 0x10
je 0x14001e717
mov rcx, r9
call fcn.14001f610
mov ecx, ebx
mov r8, rax
call fcn.14001f840
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.140079050
mov eax, ebx
jmp 0x14001e717
cmp dword [0x140213620], 4
jl 0x14001e623
test byte [0x14021369c], 0x10
je 0x14001e623
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.140079050
mov qword [r14], rdi
xor eax, eax
jmp 0x14001e717
mov rcx, rdi
call fcn.14001f4d0
cmp dword [0x140213620], 1
mov r14d, eax
jl 0x14001e714
test byte [0x140213654], 0x10
je 0x14001e714
lea rsi, [0x1401287e8]
test rdi, rdi
je 0x14001e6cb
cmp dword [rdi + 8], 0
je 0x14001e6cb
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x50], rax
lea rbx, [rdi + 0x10]
lea rax, [0x140127ccb]
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.14001f840
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.140079050
mov eax, r14d
mov r12, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400ac830
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret