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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
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 r14, rcx
mov esi, 1
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
jl 0x140064b29
test byte [0x14027488c], 0x40
je 0x140064b29
mov ebx, esi
jmp 0x140064b2b
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e1c40
lea r13, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_conjure.c
lea r15, str.EsifConjureStart
test ebx, ebx
jne 0x140064b4e
test eax, eax
je 0x140064b8b
mov rdx, qword [r14 + 0xa8]
lea rcx, str.Name_s_n
mov qword [rsp + 0x40], rdx
mov r9d, 4
mov qword [rsp + 0x38], rcx
mov edx, eax
mov dword [rsp + 0x30], 0xd2
mov ecx, ebx
mov qword [rsp + 0x28], r13
lea r8d, [r9 + 0x3c]
mov qword [rsp + 0x20], r15
call fcn.1400ba210
mov r9, qword [r14 + 0xa8]
lea rdi, [0x14017dc74]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
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 0x140064bf0
bt eax, 0xa
jae 0x140064bf0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140064be3
test al, 0x10
je 0x140064be3
lea rcx, [rbp + 0x10]
call fcn.14012db94
jmp 0x140064bec
lea rcx, [rbp + 0x10]
call fcn.14011295c
test eax, eax
jne 0x140064c2e
mov ecx, 0x18
call fcn.140110008
mov rbx, rax
test rax, rax
je 0x140064c2e
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 0x140064c30
xor ebx, ebx
mov qword [r14 + 0xb0], rbx
lea r12, [0x14017f61c]
mov qword [rsp + 0x60], r12
test rbx, rbx
je 0x140064c52
cmp qword [rbx], 0
jne 0x140064ec6
mov r9, qword [r14 + 0xa8]
lea rcx, [rbp - 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140047820
lea rax, [rbp - 0x70]
lea r8, [rbp + 0x10]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140064c93
inc rax
test ecx, ecx
jne 0x140064c80
test edx, edx
je 0x140064e93
mov rcx, qword [r14 + 0xb0]
call fcn.140065a80
cmp dword [0x140274810], 2
mov ebx, eax
mov dword [rsp + 0x68], eax
jl 0x140064cc4
test byte [0x14027485c], 0x40
je 0x140064cc4
mov r15d, esi
jmp 0x140064cc7
xor r15d, r15d
mov edx, 2
lea ecx, [rdx + 0x3e]
call fcn.1400e1c40
mov r13d, eax
test r15d, r15d
jne 0x140064ce4
test eax, eax
je 0x140064db9
mov rdi, qword [r14 + 0xb0]
test rdi, rdi
je 0x140064d5a
cmp dword [rdi + 8], 0
je 0x140064d5a
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]
mov ebx, dword [rsp + 0x68]
test rax, rax
cmovne r12, rax
mov ecx, ebx
call fcn.140065d30
mov qword [rsp + 0x58], r12
mov r9d, 2
mov dword [rsp + 0x50], ebx
mov edx, r13d
mov qword [rsp + 0x48], rax
mov ecx, r15d
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea r8d, [r9 + 0x3e]
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_conjure.c
mov dword [rsp + 0x30], 0xdc
mov qword [rsp + 0x28], rax
lea rax, str.EsifConjureStart
mov qword [rsp + 0x20], rax
call fcn.1400ba210
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x140064df1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140064dd3
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 [r14 + 0xb0], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140064e3c
bt eax, 0xa
jae 0x140064e3c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140064e2f
test al, 0x10
je 0x140064e2f
lea rcx, [rbp - 0x70]
call fcn.14012db94
jmp 0x140064e38
lea rcx, [rbp - 0x70]
call fcn.14011295c
test eax, eax
jne 0x140064e7a
mov ecx, 0x18
call fcn.140110008
mov rbx, rax
test rax, rax
je 0x140064e7a
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 0x140064e7c
xor ebx, ebx
mov qword [r14 + 0xb0], rbx
lea r13, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_conjure.c
lea r15, str.EsifConjureStart
jmp 0x140064e9a
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x1400651be
cmp qword [rbx], 0
je 0x1400651be
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x80
lea rcx, [rbp + 0x10]
call fcn.1401100d8
cmp dword [0x140274810], 4
jl 0x140064edc
test byte [0x14027488c], 0x40
je 0x140064edc
mov ebx, esi
jmp 0x140064ede
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e1c40
test ebx, ebx
jne 0x140064ef3
test eax, eax
je 0x140064f2d
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
mov ecx, ebx
mov dword [rsp + 0x30], 0xeb
lea r8d, [r9 + 0x3c]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
call fcn.1400ba210
mov rbx, qword [r14 + 0xb0]
lea r15, str.GetConjureInterface
mov rcx, rbx
test rbx, rbx
je 0x140064f6f
mov rax, qword [rbx]
test rax, rax
je 0x140064f6f
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140064f97
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [r14 + 0xb0]
call fcn.140065a80
cmp dword [0x140274810], esi
mov edi, eax
jl 0x1400650e1
test byte [0x140274844], 0x40
je 0x1400650e1
mov r12d, esi
jmp 0x1400650e4
cmp dword [0x140274810], 4
jl 0x140064fad
test byte [0x14027488c], 0x40
je 0x140064fad
mov ebx, esi
jmp 0x140064faf
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e1c40
test ebx, ebx
jne 0x140064fc4
test eax, eax
je 0x140065003
mov qword [rsp + 0x40], r15
lea rcx, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x38], rcx
lea r15, str.EsifConjureStart
mov r9d, 4
mov dword [rsp + 0x30], 0xf4
mov qword [rsp + 0x28], r13
mov edx, eax
mov ecx, ebx
mov qword [rsp + 0x20], r15
lea r8d, [r9 + 0x3c]
call fcn.1400ba210
jmp 0x14006500a
lea r15, str.EsifConjureStart
mov rdx, rdi
mov rcx, r14
call fcn.140064850
mov edi, eax
test eax, eax
je 0x14006507e
cmp dword [0x140274810], 4
jl 0x14006502d
test byte [0x14027488c], 0x40
jne 0x14006502f
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e1c40
test esi, esi
jne 0x140065048
test eax, eax
je 0x1400652df
lea rcx, str.ConjureCreate_failed._n
mov r9d, 4
mov qword [rsp + 0x38], rcx
mov edx, eax
mov dword [rsp + 0x30], 0xf7
mov ecx, esi
mov qword [rsp + 0x28], r13
lea r8d, [r9 + 0x3c]
mov qword [rsp + 0x20], r15
call fcn.1400ba210
jmp 0x1400652df
cmp dword [0x140274810], 4
jl 0x140065090
test byte [0x14027488c], 0x40
jne 0x140065092
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e1c40
test esi, esi
jne 0x1400650ab
test eax, eax
je 0x140065324
lea rcx, str.ConjureCreate_completed._n
mov r9d, 4
mov qword [rsp + 0x38], rcx
mov edx, eax
mov dword [rsp + 0x30], 0xfa
mov ecx, esi
mov qword [rsp + 0x28], r13
lea r8d, [r9 + 0x3c]
mov qword [rsp + 0x20], r15
call fcn.1400ba210
jmp 0x140065324
xor r12d, r12d
mov edx, esi
mov ecx, 0x40
call fcn.1400e1c40
mov r13d, eax
test r12d, r12d
jne 0x140065100
test eax, eax
je 0x1400652df
mov r15, qword [r14 + 0xb0]
test r15, r15
je 0x14006517f
cmp dword [r15 + 8], 0
je 0x14006517f
mov rcx, qword [r15 + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [r15 + 0x10]
lea rax, [0x14017dabb]
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, [0x14017f61c]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x60], rcx
mov ecx, edi
call fcn.140065d30
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x48], rax
lea rax, str.GetConjureInterface
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], 0xf0
jmp 0x1400652b3
mov rcx, rbx
call fcn.140065a80
cmp dword [0x140274810], esi
mov edi, eax
jl 0x1400651de
test byte [0x140274844], 0x40
je 0x1400651de
mov r12d, esi
jmp 0x1400651e1
xor r12d, r12d
mov edx, esi
mov ecx, 0x40
call fcn.1400e1c40
mov r13d, eax
test r12d, r12d
jne 0x1400651fd
test eax, eax
je 0x1400652df
mov r15, qword [r14 + 0xb0]
test r15, r15
je 0x14006527c
cmp dword [r15 + 8], 0
je 0x14006527c
mov rcx, qword [r15 + 0x10]
lea rax, str.Library
mov qword [rsp + 0x70], rax
lea rbx, [r15 + 0x10]
lea rax, [0x14017dabb]
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, [0x14017f61c]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x60], rcx
mov ecx, edi
call fcn.140065d30
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], edi
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], 0xe4
lea rax, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_conjure.c
mov r9d, esi
mov qword [rsp + 0x28], rax
mov r8d, 0x40
lea rax, str.EsifConjureStart
mov edx, r13d
mov ecx, r12d
mov qword [rsp + 0x20], rax
call fcn.1400ba210
test edi, edi
je 0x140065324
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x14006531b
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400652fd
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
xor ecx, ecx
mov qword [r14 + 0xb0], rcx
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140100920
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret