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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14027aef8]
xor rax, rsp
mov qword [rbp + 0x90], rax
cmp dword [0x140274810], 4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov r15, rdx
mov qword [rsp + 0x68], rdx
movups xmmword [rbp - 0x60], xmm0
mov rdi, rcx
mov esi, 1
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
jl 0x140052849
test byte [0x14027488c], 0x10
je 0x140052849
mov ebx, esi
jmp 0x14005284b
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e1c40
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov edx, eax
lea rcx, str.EsifActMgr_LoadAction
test ebx, ebx
jne 0x140052870
test eax, eax
je 0x1400528a8
mov rax, qword [rdi + 0x18]
mov r9d, 4
mov qword [rsp + 0x40], rax
lea rax, str.Name_s_n
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x2fe
mov qword [rsp + 0x28], r12
lea r8d, [r9 + 0xc]
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400ba210
mov r9, qword [rdi + 0x18]
lea r14, [0x14017dc74]
mov edx, 0x80
mov qword [rsp + 0x20], r14
lea rcx, [rbp + 0x10]
lea r8d, [rdx - 0x79]
call fcn.140047820
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005290a
bt eax, 0xa
jae 0x14005290a
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400528fd
test al, 0x10
je 0x1400528fd
lea rcx, [rbp + 0x10]
call fcn.14012db94
jmp 0x140052906
lea rcx, [rbp + 0x10]
call fcn.14011295c
test eax, eax
jne 0x140052948
mov ecx, 0x18
call fcn.140110008
mov rbx, rax
test rax, rax
je 0x140052948
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 0x14005294a
xor ebx, ebx
mov qword [rdi + 0x20], rbx
lea r13, [0x14017f61c]
test rbx, rbx
je 0x140052964
cmp qword [rbx], 0
jne 0x140052bca
mov r9, qword [rdi + 0x18]
lea rcx, [rbp - 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], r14
lea r8d, [rdx - 0x78]
call fcn.140047820
lea rax, [rbp - 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 0x1400529a3
inc rax
test ecx, ecx
jne 0x140052990
test edx, edx
je 0x140052b9a
mov rcx, qword [rdi + 0x20]
call fcn.140053df0
cmp dword [0x140274810], 2
mov ebx, eax
mov dword [rsp + 0x60], eax
jl 0x1400529d1
test byte [0x14027485c], 0x10
je 0x1400529d1
mov r15d, esi
jmp 0x1400529d4
xor r15d, r15d
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1400e1c40
mov dword [rsp + 0x64], eax
test r15d, r15d
jne 0x1400529f2
test eax, eax
je 0x140052ac9
mov r14, qword [rdi + 0x20]
mov r12, r13
test r14, r14
je 0x140052a69
cmp dword [r14 + 8], 0
je 0x140052a69
mov rcx, qword [r14 + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [r14 + 0x10]
lea rax, [0x14017dabb]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.DLL_LocalFree]
mov r8d, dword [r14 + 8]
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov qword [rbx], rcx
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov rax, qword [rbx]
mov ebx, dword [rsp + 0x60]
test rax, rax
cmovne r12, rax
mov ecx, ebx
call fcn.1400540a0
mov edx, dword [rsp + 0x64]
mov r9d, 2
mov qword [rsp + 0x58], r12
mov ecx, r15d
mov dword [rsp + 0x50], ebx
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea r8d, [r9 + 0xe]
lea rax, str.esif_ccb_library_load____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea rax, str.EsifActMgr_LoadAction
mov dword [rsp + 0x30], 0x308
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400ba210
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140052afe
mov rcx, qword [rbx]
test rcx, rcx
je 0x140052ae0
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.14010fff4
lea rcx, [rbp - 0x70]
mov qword [rdi + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140052b46
bt eax, 0xa
jae 0x140052b46
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140052b39
test al, 0x10
je 0x140052b39
lea rcx, [rbp - 0x70]
call fcn.14012db94
jmp 0x140052b42
lea rcx, [rbp - 0x70]
call fcn.14011295c
test eax, eax
jne 0x140052b8d
mov ecx, 0x18
call fcn.140110008
mov rbx, rax
test rax, rax
je 0x140052b8d
xorps xmm0, xmm0
lea rcx, [rbp - 0x70]
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 r15, qword [rsp + 0x68]
mov dword [rbx + 8], eax
mov qword [rdi + 0x20], rbx
jmp 0x140052b9e
mov r15, qword [rsp + 0x68]
xor ebx, ebx
mov qword [rdi + 0x20], rbx
jmp 0x140052b9e
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140052dd4
cmp qword [rbx], 0
je 0x140052dd4
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x80
lea rcx, [rbp + 0x10]
call fcn.1401100d8
cmp dword [0x140274810], 4
jl 0x140052be0
test byte [0x14027488c], 0x10
je 0x140052be0
mov ebx, esi
jmp 0x140052be2
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e1c40
test ebx, ebx
jne 0x140052bf7
test eax, eax
je 0x140052c38
lea rcx, [rbp + 0x10]
mov r9d, 4
mov qword [rsp + 0x40], rcx
mov edx, eax
lea rcx, str.esif_ccb_library_load____s_completed._n
mov qword [rsp + 0x38], rcx
lea rcx, str.EsifActMgr_LoadAction
mov dword [rsp + 0x30], 0x317
lea r8d, [r9 + 0xc]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400ba210
mov rbx, qword [rdi + 0x20]
mov rcx, rbx
test rbx, rbx
je 0x140052c74
mov rax, qword [rbx]
test rax, rax
je 0x140052c74
lea r12, str.GetActionInterface
mov rcx, rax
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140052c96
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [rdi + 0x20]
call fcn.140053df0
cmp dword [0x140274810], esi
mov r14d, eax
jl 0x140052d0d
test byte [0x140274844], 0x10
je 0x140052d0d
mov r15d, esi
jmp 0x140052d10
cmp dword [0x140274810], 4
jl 0x140052ca8
test byte [0x14027488c], 0x10
jne 0x140052caa
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e1c40
test esi, esi
jne 0x140052cbf
test eax, eax
je 0x140052d03
mov qword [rsp + 0x40], r12
lea rcx, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x38], rcx
mov r9d, 4
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov dword [rsp + 0x30], 0x31f
mov qword [rsp + 0x28], rcx
mov edx, eax
lea rcx, str.EsifActMgr_LoadAction
mov qword [rsp + 0x20], rcx
lea r8d, [r9 + 0xc]
mov ecx, esi
call fcn.1400ba210
mov qword [r15], r14
xor eax, eax
jmp 0x140052ee6
xor r15d, r15d
mov edx, esi
mov ecx, 0x10
call fcn.1400e1c40
mov r12d, eax
test r15d, r15d
jne 0x140052d2c
test eax, eax
je 0x140052ee3
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x140052d9b
cmp dword [rdi + 8], 0
je 0x140052d9b
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [rdi + 0x10]
lea rax, [0x14017dabb]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.DLL_LocalFree]
mov r8d, dword [rdi + 8]
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov qword [rbx], rcx
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov rax, qword [rbx]
test rax, rax
cmovne r13, rax
mov ecx, r14d
call fcn.1400540a0
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, str.esif_ccb_library_get_func____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x31c
jmp 0x140052eb7
mov rcx, rbx
call fcn.140053df0
cmp dword [0x140274810], esi
mov r14d, eax
jl 0x140052df5
test byte [0x140274844], 0x10
je 0x140052df5
mov r15d, esi
jmp 0x140052df8
xor r15d, r15d
mov edx, esi
mov ecx, 0x10
call fcn.1400e1c40
mov r12d, eax
test r15d, r15d
jne 0x140052e14
test eax, eax
je 0x140052ee3
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x140052e83
cmp dword [rdi + 8], 0
je 0x140052e83
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [rdi + 0x10]
lea rax, [0x14017dabb]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.DLL_LocalFree]
mov r8d, dword [rdi + 8]
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
xor r9d, r9d
mov qword [rbx], rcx
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov rax, qword [rbx]
test rax, rax
cmovne r13, rax
mov ecx, r14d
call fcn.1400540a0
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, str.esif_ccb_library_load____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x310
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov r9d, esi
mov qword [rsp + 0x28], rcx
lea rax, str.EsifActMgr_LoadAction
mov ecx, r15d
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov edx, r12d
call fcn.1400ba210
mov eax, r14d
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140100920
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret