Function at 0x140055370
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 [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x90], rax
cmp dword [0x14027edf0], 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 0x1400553e9
test byte [0x14027ee6c], 0x10
je 0x1400553e9
mov ebx, esi
jmp 0x1400553eb
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e8cc0
lea r12, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_actmgr.c
mov edx, eax
lea rcx, str.EsifActMgr_LoadAction
test ebx, ebx
jne 0x140055410
test eax, eax
je 0x140055448
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.1400bfc30
mov r9, qword [rdi + 0x18]
lea r14, [0x1401845f4]
mov edx, 0x80
mov qword [rsp + 0x20], r14
lea rcx, [rbp + 0x10]
lea r8d, [rdx - 0x79]
call fcn.140049e50
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400554aa
bt eax, 0xa
jae 0x1400554aa
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005549d
test al, 0x10
je 0x14005549d
lea rcx, [rbp + 0x10]
call fcn.1401338c4
jmp 0x1400554a6
lea rcx, [rbp + 0x10]
call fcn.14011868c
test eax, eax
jne 0x1400554e8
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x1400554e8
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 0x1400554ea
xor ebx, ebx
mov qword [rdi + 0x20], rbx
lea r13, [0x140186a6c]
test rbx, rbx
je 0x140055504
cmp qword [rbx], 0
jne 0x14005576a
mov r9, qword [rdi + 0x18]
lea rcx, [rbp - 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], r14
lea r8d, [rdx - 0x78]
call fcn.140049e50
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 0x140055543
inc rax
test ecx, ecx
jne 0x140055530
test edx, edx
je 0x14005573a
mov rcx, qword [rdi + 0x20]
call fcn.140056990
cmp dword [0x14027edf0], 2
mov ebx, eax
mov dword [rsp + 0x60], eax
jl 0x140055571
test byte [0x14027ee3c], 0x10
je 0x140055571
mov r15d, esi
jmp 0x140055574
xor r15d, r15d
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.1400e8cc0
mov dword [rsp + 0x64], eax
test r15d, r15d
jne 0x140055592
test eax, eax
je 0x140055669
mov r14, qword [rdi + 0x20]
mov r12, r13
test r14, r14
je 0x140055609
cmp dword [r14 + 8], 0
je 0x140055609
mov rcx, qword [r14 + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [r14 + 0x10]
lea rax, [0x14018443b]
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.140056c40
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.1400bfc30
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14005569e
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055680
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.140115d24
lea rcx, [rbp - 0x70]
mov qword [rdi + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400556e6
bt eax, 0xa
jae 0x1400556e6
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400556d9
test al, 0x10
je 0x1400556d9
lea rcx, [rbp - 0x70]
call fcn.1401338c4
jmp 0x1400556e2
lea rcx, [rbp - 0x70]
call fcn.14011868c
test eax, eax
jne 0x14005572d
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x14005572d
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 0x14005573e
mov r15, qword [rsp + 0x68]
xor ebx, ebx
mov qword [rdi + 0x20], rbx
jmp 0x14005573e
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140055974
cmp qword [rbx], 0
je 0x140055974
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x80
lea rcx, [rbp + 0x10]
call fcn.140115e08
cmp dword [0x14027edf0], 4
jl 0x140055780
test byte [0x14027ee6c], 0x10
je 0x140055780
mov ebx, esi
jmp 0x140055782
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e8cc0
test ebx, ebx
jne 0x140055797
test eax, eax
je 0x1400557d8
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.1400bfc30
mov rbx, qword [rdi + 0x20]
mov rcx, rbx
test rbx, rbx
je 0x140055814
mov rax, qword [rbx]
test rax, rax
je 0x140055814
lea r12, str.GetActionInterface
mov rcx, rax
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140055836
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [rdi + 0x20]
call fcn.140056990
cmp dword [0x14027edf0], esi
mov r14d, eax
jl 0x1400558ad
test byte [0x14027ee24], 0x10
je 0x1400558ad
mov r15d, esi
jmp 0x1400558b0
cmp dword [0x14027edf0], 4
jl 0x140055848
test byte [0x14027ee6c], 0x10
jne 0x14005584a
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0xc]
call fcn.1400e8cc0
test esi, esi
jne 0x14005585f
test eax, eax
je 0x1400558a3
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.1400bfc30
mov qword [r15], r14
xor eax, eax
jmp 0x140055a86
xor r15d, r15d
mov edx, esi
mov ecx, 0x10
call fcn.1400e8cc0
mov r12d, eax
test r15d, r15d
jne 0x1400558cc
test eax, eax
je 0x140055a83
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x14005593b
cmp dword [rdi + 8], 0
je 0x14005593b
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [rdi + 0x10]
lea rax, [0x14018443b]
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.140056c40
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 0x140055a57
mov rcx, rbx
call fcn.140056990
cmp dword [0x14027edf0], esi
mov r14d, eax
jl 0x140055995
test byte [0x14027ee24], 0x10
je 0x140055995
mov r15d, esi
jmp 0x140055998
xor r15d, r15d
mov edx, esi
mov ecx, 0x10
call fcn.1400e8cc0
mov r12d, eax
test r15d, r15d
jne 0x1400559b4
test eax, eax
je 0x140055a83
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x140055a23
cmp dword [rdi + 8], 0
je 0x140055a23
mov rcx, qword [rdi + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [rdi + 0x10]
lea rax, [0x14018443b]
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.140056c40
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.1400bfc30
mov eax, r14d
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140106650
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret