Function at 0x140067870
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 [0x1402854d8]
xor rax, rsp
mov qword [rbp + 0x90], rax
cmp dword [0x14027edf0], 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 0x1400678e9
test byte [0x14027ee6c], 0x40
je 0x1400678e9
mov ebx, esi
jmp 0x1400678eb
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e8cc0
lea r13, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_conjure.c
lea r15, str.EsifConjureStart
test ebx, ebx
jne 0x14006790e
test eax, eax
je 0x14006794b
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.1400bfc30
mov r9, qword [r14 + 0xa8]
lea rdi, [0x1401845f4]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
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 0x1400679b0
bt eax, 0xa
jae 0x1400679b0
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400679a3
test al, 0x10
je 0x1400679a3
lea rcx, [rbp + 0x10]
call fcn.1401338c4
jmp 0x1400679ac
lea rcx, [rbp + 0x10]
call fcn.14011868c
test eax, eax
jne 0x1400679ee
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x1400679ee
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 0x1400679f0
xor ebx, ebx
mov qword [r14 + 0xb0], rbx
lea r12, [0x140186a6c]
mov qword [rsp + 0x60], r12
test rbx, rbx
je 0x140067a12
cmp qword [rbx], 0
jne 0x140067c86
mov r9, qword [r14 + 0xa8]
lea rcx, [rbp - 0x70]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140049e50
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 0x140067a53
inc rax
test ecx, ecx
jne 0x140067a40
test edx, edx
je 0x140067c53
mov rcx, qword [r14 + 0xb0]
call fcn.140068840
cmp dword [0x14027edf0], 2
mov ebx, eax
mov dword [rsp + 0x68], eax
jl 0x140067a84
test byte [0x14027ee3c], 0x40
je 0x140067a84
mov r15d, esi
jmp 0x140067a87
xor r15d, r15d
mov edx, 2
lea ecx, [rdx + 0x3e]
call fcn.1400e8cc0
mov r13d, eax
test r15d, r15d
jne 0x140067aa4
test eax, eax
je 0x140067b79
mov rdi, qword [r14 + 0xb0]
test rdi, rdi
je 0x140067b1a
cmp dword [rdi + 8], 0
je 0x140067b1a
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]
mov ebx, dword [rsp + 0x68]
test rax, rax
cmovne r12, rax
mov ecx, ebx
call fcn.140068af0
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.1400bfc30
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x140067bb1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140067b93
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 [r14 + 0xb0], 0
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140067bfc
bt eax, 0xa
jae 0x140067bfc
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140067bef
test al, 0x10
je 0x140067bef
lea rcx, [rbp - 0x70]
call fcn.1401338c4
jmp 0x140067bf8
lea rcx, [rbp - 0x70]
call fcn.14011868c
test eax, eax
jne 0x140067c3a
mov ecx, 0x18
call fcn.140115d38
mov rbx, rax
test rax, rax
je 0x140067c3a
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 0x140067c3c
xor ebx, ebx
mov qword [r14 + 0xb0], rbx
lea r13, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_conjure.c
lea r15, str.EsifConjureStart
jmp 0x140067c5a
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x140067f7e
cmp qword [rbx], 0
je 0x140067f7e
mov r9, 0xffffffffffffffff
lea r8, [rbp - 0x70]
mov edx, 0x80
lea rcx, [rbp + 0x10]
call fcn.140115e08
cmp dword [0x14027edf0], 4
jl 0x140067c9c
test byte [0x14027ee6c], 0x40
je 0x140067c9c
mov ebx, esi
jmp 0x140067c9e
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e8cc0
test ebx, ebx
jne 0x140067cb3
test eax, eax
je 0x140067ced
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.1400bfc30
mov rbx, qword [r14 + 0xb0]
lea r15, str.GetConjureInterface
mov rcx, rbx
test rbx, rbx
je 0x140067d2f
mov rax, qword [rbx]
test rax, rax
je 0x140067d2f
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140067d57
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rcx, qword [r14 + 0xb0]
call fcn.140068840
cmp dword [0x14027edf0], esi
mov edi, eax
jl 0x140067ea1
test byte [0x14027ee24], 0x40
je 0x140067ea1
mov r12d, esi
jmp 0x140067ea4
cmp dword [0x14027edf0], 4
jl 0x140067d6d
test byte [0x14027ee6c], 0x40
je 0x140067d6d
mov ebx, esi
jmp 0x140067d6f
xor ebx, ebx
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e8cc0
test ebx, ebx
jne 0x140067d84
test eax, eax
je 0x140067dc3
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.1400bfc30
jmp 0x140067dca
lea r15, str.EsifConjureStart
mov rdx, rdi
mov rcx, r14
call fcn.140067610
mov edi, eax
test eax, eax
je 0x140067e3e
cmp dword [0x14027edf0], 4
jl 0x140067ded
test byte [0x14027ee6c], 0x40
jne 0x140067def
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e8cc0
test esi, esi
jne 0x140067e08
test eax, eax
je 0x14006809f
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.1400bfc30
jmp 0x14006809f
cmp dword [0x14027edf0], 4
jl 0x140067e50
test byte [0x14027ee6c], 0x40
jne 0x140067e52
xor esi, esi
mov edx, 4
lea ecx, [rdx + 0x3c]
call fcn.1400e8cc0
test esi, esi
jne 0x140067e6b
test eax, eax
je 0x1400680e4
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.1400bfc30
jmp 0x1400680e4
xor r12d, r12d
mov edx, esi
mov ecx, 0x40
call fcn.1400e8cc0
mov r13d, eax
test r12d, r12d
jne 0x140067ec0
test eax, eax
je 0x14006809f
mov r15, qword [r14 + 0xb0]
test r15, r15
je 0x140067f3f
cmp dword [r15 + 8], 0
je 0x140067f3f
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 + 0x60], rcx
mov ecx, edi
call fcn.140068af0
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 0x140068073
mov rcx, rbx
call fcn.140068840
cmp dword [0x14027edf0], esi
mov edi, eax
jl 0x140067f9e
test byte [0x14027ee24], 0x40
je 0x140067f9e
mov r12d, esi
jmp 0x140067fa1
xor r12d, r12d
mov edx, esi
mov ecx, 0x40
call fcn.1400e8cc0
mov r13d, eax
test r12d, r12d
jne 0x140067fbd
test eax, eax
je 0x14006809f
mov r15, qword [r14 + 0xb0]
test r15, r15
je 0x14006803c
cmp dword [r15 + 8], 0
je 0x14006803c
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 + 0x60], rcx
mov ecx, edi
call fcn.140068af0
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.1400bfc30
test edi, edi
je 0x1400680e4
mov rbx, qword [r14 + 0xb0]
test rbx, rbx
je 0x1400680db
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400680bd
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
xor ecx, ecx
mov qword [r14 + 0xb0], rcx
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140106650
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