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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [r11 - 0x148]
sub rsp, 0x220
mov rax, qword [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
mov qword [r11 + 0x18], rsi
xorps xmm1, xmm1
mov qword [r11 + 0x20], r12
xor r12d, r12d
lea r15, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
lea r13, str.EsifApp_Load
mov rsi, rcx
mov r14d, 1
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
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x80], xmm1
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
cmp byte [rcx + 0x36c0], r12b
je 0x14005a520
mov edi, 0x4b9
jmp 0x14005acc8
cmp dword [0x14027edf0], 4
mov qword [rsp + 0x258], rbx
jl 0x14005a53d
test byte [0x14027ee6c], 0x20
mov ebx, r14d
jne 0x14005a540
mov ebx, r12d
mov edx, 4
lea ecx, [rdx + 0x1c]
call fcn.1400e8cc0
mov edx, eax
test ebx, ebx
jne 0x14005a557
test eax, eax
je 0x14005a59e
mov rax, qword [rsi + 0xa8]
mov r9d, 4
mov qword [rsp + 0x48], rax
mov ecx, ebx
mov rax, qword [rsi + 0x88]
mov qword [rsp + 0x40], rax
lea rax, str.name_s_lib_s_n
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x1c]
mov dword [rsp + 0x30], 0x425
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
call fcn.1400bfc30
mov r9, qword [rsi + 0xa8]
lea rdi, [0x1401845f4]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea rcx, [rbp - 0x70]
lea r8d, [rdx - 0x79]
call fcn.140049e50
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov edx, 0x80
lea rcx, [rbp + 0x90]
lea r8d, [r9 + 7]
call fcn.140049e50
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005a620
bt eax, 0xa
jae 0x14005a620
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005a613
test al, 0x10
je 0x14005a613
lea rcx, [rbp - 0x70]
call fcn.1401338c4
jmp 0x14005a61c
lea rcx, [rbp - 0x70]
call fcn.14011868c
test eax, eax
jne 0x14005a65e
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x14005a65e
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 dword [rbx + 8], eax
jmp 0x14005a661
mov rbx, r12
mov qword [rsi + 0xb0], rbx
test rbx, rbx
je 0x14005a676
cmp qword [rbx], r12
jne 0x14005a911
mov r9, qword [rsi + 0xa8]
lea rcx, [rbp + 0x10]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140049e50
lea rax, [rbp + 0x10]
lea r8, [rbp - 0x70]
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14005a6b3
inc rax
test ecx, ecx
jne 0x14005a6a0
lea rbx, [0x140186a6c]
mov qword [rsp + 0x68], rbx
test edx, edx
je 0x14005a8de
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov edx, 0x80
lea rcx, [rbp + 0x90]
lea r8d, [r9 + 8]
call fcn.140049e50
mov rcx, qword [rsi + 0xb0]
call fcn.14005bd10
cmp dword [0x14027edf0], 2
mov dword [rsp + 0x60], eax
jl 0x14005a709
test byte [0x14027ee3c], 0x20
mov r15d, r14d
jne 0x14005a70c
mov r15d, r12d
mov edx, 2
lea ecx, [rdx + 0x1e]
call fcn.1400e8cc0
mov r13d, eax
test r15d, r15d
jne 0x14005a729
test eax, eax
je 0x14005a807
mov rdi, qword [rsi + 0xb0]
mov r12, rbx
test rdi, rdi
je 0x14005a79e
cmp dword [rdi + 8], 0
je 0x14005a79e
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 r12, rax
mov r8d, dword [rsp + 0x60]
mov ecx, r8d
call fcn.14005c080
mov qword [rsp + 0x58], r12
mov r9d, 2
mov dword [rsp + 0x50], r8d
mov edx, r13d
mov qword [rsp + 0x48], rax
mov ecx, r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea r8d, [r9 + 0x1e]
lea rax, str.esif_ccb_library_load____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea rax, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov dword [rsp + 0x30], 0x433
mov qword [rsp + 0x28], rax
lea rax, str.EsifApp_Load
mov qword [rsp + 0x20], rax
call fcn.1400bfc30
xor r12d, r12d
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x14005a83f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005a821
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 + 0x10]
mov qword [rsi + 0xb0], r12
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005a886
bt eax, 0xa
jae 0x14005a886
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14005a879
test al, 0x10
je 0x14005a879
lea rcx, [rbp + 0x10]
call fcn.1401338c4
jmp 0x14005a882
lea rcx, [rbp + 0x10]
call fcn.14011868c
test eax, eax
jne 0x14005a8c4
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x14005a8c4
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 0x14005a8c7
mov rbx, r12
mov qword [rsi + 0xb0], rbx
lea r15, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
lea r13, str.EsifApp_Load
jmp 0x14005a8e5
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x14005ab36
cmp qword [rbx], 0
je 0x14005ab36
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x10]
mov edx, 0x80
lea rcx, [rbp - 0x70]
call fcn.140115e08
lea rcx, [rsi + 0xb9]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x90]
mov edx, 0x104
call fcn.140115e08
cmp dword [0x14027edf0], 4
jl 0x14005a945
test byte [0x14027ee6c], 0x20
mov ebx, r14d
jne 0x14005a948
mov ebx, r12d
mov edx, 4
lea ecx, [rdx + 0x1c]
call fcn.1400e8cc0
test ebx, ebx
jne 0x14005a95d
test eax, eax
je 0x14005a997
lea rcx, [rbp - 0x70]
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
mov ecx, ebx
mov dword [rsp + 0x30], 0x445
lea r8d, [r9 + 0x1c]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
call fcn.1400bfc30
mov rbx, qword [rsi + 0xb0]
lea r13, str.GetApplicationInterfaceV2
mov rcx, rbx
test rbx, rbx
je 0x14005a9dd
mov rax, qword [rbx]
test rax, rax
je 0x14005a9dd
mov rdx, r13
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x14005aa86
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [rsi + 0xb0]
call fcn.14005bd10
cmp dword [0x14027edf0], 4
mov edi, eax
jl 0x14005a9f9
test byte [0x14027ee6c], 0x20
mov ebx, r14d
jne 0x14005a9fc
mov ebx, r12d
mov edx, 4
lea ecx, [rdx + 0x1c]
call fcn.1400e8cc0
mov r15d, eax
test ebx, ebx
jne 0x14005aa18
test eax, eax
je 0x14005ac60
mov rcx, qword [rsi + 0xb0]
call fcn.14005be50
mov ecx, edi
mov r8, rax
call fcn.14005c080
mov qword [rsp + 0x58], r8
mov r9d, 4
mov dword [rsp + 0x50], edi
mov edx, r15d
mov qword [rsp + 0x48], rax
mov ecx, ebx
mov qword [rsp + 0x40], r13
lea rax, str.esif_ccb_library_get_func____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea r13, str.EsifApp_Load
lea rax, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov dword [rsp + 0x30], 0x44a
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 0x1c]
mov qword [rsp + 0x20], r13
call fcn.1400bfc30
jmp 0x14005ac67
cmp dword [0x14027edf0], 4
jl 0x14005aa9b
test byte [0x14027ee6c], 0x20
mov ebx, r14d
jne 0x14005aa9e
mov ebx, r12d
mov edx, 4
lea ecx, [rdx + 0x1c]
call fcn.1400e8cc0
test ebx, ebx
jne 0x14005aab3
test eax, eax
je 0x14005aaf2
mov qword [rsp + 0x40], r13
lea rcx, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x38], rcx
lea r13, str.EsifApp_Load
mov r9d, 4
mov dword [rsp + 0x30], 0x44e
mov qword [rsp + 0x28], r15
mov edx, eax
mov ecx, ebx
mov qword [rsp + 0x20], r13
lea r8d, [r9 + 0x1c]
call fcn.1400bfc30
jmp 0x14005aaf9
lea r13, str.EsifApp_Load
mov rdx, rdi
mov rcx, rsi
call fcn.140057c80
mov edi, eax
test eax, eax
jne 0x14005ac72
lock inc qword [0x140287ac8]
mov edx, 0x4e41
lea r8d, [rax + 0x42]
xor r9d, r9d
mov rcx, r14
call fcn.1400780e0
mov byte [rsi + 0x36e0], r14b
jmp 0x14005acc0
mov rcx, rbx
call fcn.14005bd10
cmp dword [0x14027edf0], r14d
mov edi, eax
jl 0x14005ab55
test byte [0x14027ee24], 0x20
je 0x14005ab55
mov r12d, r14d
mov edx, r14d
mov ecx, 0x20
call fcn.1400e8cc0
mov r13d, eax
test r12d, r12d
jne 0x14005ab72
test eax, eax
je 0x14005ac54
mov r15, qword [rsi + 0xb0]
test r15, r15
je 0x14005abf1
cmp dword [r15 + 8], 0
je 0x14005abf1
mov rcx, qword [r15 + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [r15 + 0x10]
lea rax, [0x14018443b]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.DLL_LocalFree]
mov r8d, dword [r15 + 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]
lea rcx, [0x140186a6c]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x68], rcx
mov ecx, edi
call fcn.14005c080
mov rcx, qword [rsp + 0x68]
lea r15, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov qword [rsp + 0x58], rcx
mov r9d, r14d
mov dword [rsp + 0x50], edi
mov r8d, 0x20
mov qword [rsp + 0x48], rax
mov edx, r13d
lea rax, [rbp + 0x10]
mov ecx, r12d
mov qword [rsp + 0x40], rax
lea rax, str.esif_ccb_library_load____s_failed___s___d__:__s_n
mov qword [rsp + 0x38], rax
lea rax, str.EsifApp_Load
mov dword [rsp + 0x30], 0x43c
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.1400bfc30
xor r12d, r12d
lea r13, str.EsifApp_Load
jmp 0x14005ac6e
lea r13, str.EsifApp_Load
lea r15, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
test edi, edi
je 0x14005acc0
cmp edi, 0x4b9
je 0x14005acb9
mov rbx, qword [rsi + 0xb0]
test rbx, rbx
je 0x14005acb2
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005ac94
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
mov qword [rsi + 0xb0], r12
lea r13, str.EsifApp_Load
mov rbx, qword [rsp + 0x258]
cmp dword [0x14027edf0], 3
mov rsi, qword [rsp + 0x260]
jl 0x14005ace5
test dword [0x14027ee54], 0x400000
jne 0x14005ace8
mov r14d, r12d
mov edx, 3
mov ecx, 0x400000
call fcn.1400e8cc0
mov r12, qword [rsp + 0x268]
test r14d, r14d
jne 0x14005ad08
test eax, eax
je 0x14005ad40
mov dword [rsp + 0x40], edi
lea rcx, str.Exiting_function:_Exit_code__0x_08X...
mov qword [rsp + 0x38], rcx
mov r9d, 3
mov dword [rsp + 0x30], 0x45c
mov r8d, 0x400000
mov qword [rsp + 0x28], r15
mov edx, eax
mov ecx, r14d
mov qword [rsp + 0x20], r13
call fcn.1400bfc30
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140106650
add rsp, 0x220
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret