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

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x140210ef8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
cmp byte [rcx + 0x36a8], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x208], rsi
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
je 0x140023389
mov ebx, 0x4b9
jmp 0x140023901
cmp dword [0x14020a150], 4
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x1e0], r15
jl 0x1400233f2
test byte [0x14020a1cc], 0x20
je 0x1400233f2
mov rax, qword [rcx + 0x90]
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov qword [rsp + 0x38], rax
lea r8, str.EsifApp_Load
mov rax, qword [rcx + 0x88]
mov edx, 4
mov qword [rsp + 0x30], rax
lea rax, str.name_s_lib_s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x403
lea ecx, [rdx + 0x1c]
call fcn.140077c20
mov r9, qword [rsi + 0x90]
lea rdi, str..dll
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r8d, [rdx - 0x79]
call fcn.140014740
xor r15d, r15d
lea rcx, [rbp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov edx, 0x80
lea r8d, [r15 + 7]
call fcn.140014740
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140023479
bt eax, 0xa
jae 0x140023479
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002346b
test al, 0x10
je 0x14002346b
lea rcx, [rsp + 0x50]
call fcn.1400d2fdc
jmp 0x140023475
lea rcx, [rsp + 0x50]
call fcn.1400b6b3c
test eax, eax
jne 0x1400234b8
mov ecx, 0x18
call fcn.1400b5158
mov rbx, rax
test rax, rax
je 0x1400234b8
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
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 0x1400234bb
mov rbx, r15
mov qword [rsp + 0x218], r14
mov qword [rsi + 0x98], rbx
test rbx, rbx
je 0x1400234d8
cmp qword [rbx], r15
jne 0x14002369f
mov r9, qword [rsi + 0x90]
lea rcx, [rbp - 0x30]
mov edx, 0x80
mov qword [rsp + 0x20], rdi
lea r8d, [rdx - 0x78]
call fcn.140014740
lea rax, [rbp - 0x30]
lea r8, [rsp + 0x50]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140023515
inc rax
test ecx, ecx
jne 0x140023502
lea r14, str.esif_ccb_library_load____s_failed___s___d__:__s_n
test edx, edx
je 0x140023686
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov edx, 0x80
lea rcx, [rbp + 0x50]
lea r8d, [r9 + 8]
call fcn.140014740
mov r9, qword [rsi + 0x98]
mov rcx, r9
call fcn.1400246d0
cmp dword [0x14020a150], 2
mov edi, eax
mov rbx, r9
jl 0x1400235bd
test byte [0x14020a19c], 0x20
je 0x1400235bd
mov rcx, r9
call fcn.140024810
mov ecx, edi
mov r8, rax
call fcn.140024b00
mov qword [rsp + 0x48], r8
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov dword [rsp + 0x40], edi
lea r8, str.EsifApp_Load
mov qword [rsp + 0x38], rax
mov edx, 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
lea ecx, [rdx + 0x1e]
mov dword [rsp + 0x20], 0x411
call fcn.140077c20
mov rbx, qword [rsi + 0x98]
test rbx, rbx
je 0x1400235ee
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400235d0
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.1400b5144
lea rcx, [rbp - 0x30]
mov qword [rsi + 0x98], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140023635
bt eax, 0xa
jae 0x140023635
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140023628
test al, 0x10
je 0x140023628
lea rcx, [rbp - 0x30]
call fcn.1400d2fdc
jmp 0x140023631
lea rcx, [rbp - 0x30]
call fcn.1400b6b3c
test eax, eax
jne 0x14002367a
mov ecx, 0x18
call fcn.1400b5158
mov rdi, rax
test rax, rax
je 0x14002367a
xorps xmm0, xmm0
lea rcx, [rbp - 0x30]
xor eax, eax
xor edx, edx
movups xmmword [rdi], xmm0
mov r8d, 0x1000
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
mov qword [rsi + 0x98], rdi
jmp 0x14002368d
mov rdi, r15
mov qword [rsi + 0x98], r15
jmp 0x14002368d
mov rdi, qword [rsi + 0x98]
test rdi, rdi
je 0x14002382f
cmp qword [rdi], r15
je 0x14002382f
lea rcx, [rsi + 0xa1]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x50]
mov edx, 0x104
call fcn.1400b5228
cmp dword [0x14020a150], 4
jl 0x140023706
test byte [0x14020a1cc], 0x20
je 0x140023706
lea rax, [rsp + 0x50]
mov edx, 4
mov qword [rsp + 0x30], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
lea rax, str.esif_ccb_library_load____s_completed._n
mov qword [rsp + 0x28], rax
lea r8, str.EsifApp_Load
lea ecx, [rdx + 0x1c]
mov dword [rsp + 0x20], 0x421
call fcn.140077c20
mov rbx, qword [rsi + 0x98]
lea r14, str.GetApplicationInterfaceV2
mov r9, rbx
test rbx, rbx
je 0x140023745
mov rcx, qword [rbx]
test rcx, rcx
je 0x140023745
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x1400237ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 8], eax
mov r9, qword [rsi + 0x98]
mov rcx, r9
call fcn.1400246d0
cmp dword [0x14020a150], 4
mov ebx, eax
jl 0x14002389e
test byte [0x14020a1cc], 0x20
je 0x14002389e
mov rcx, r9
call fcn.140024810
mov ecx, ebx
mov r8, rax
call fcn.140024b00
mov qword [rsp + 0x48], r8
mov edx, 4
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x38], rax
lea rax, str.esif_ccb_library_get_func____s_failed___s___d__:__s_n
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x426
jmp 0x140023886
cmp dword [0x14020a150], 4
jl 0x1400237f2
test byte [0x14020a1cc], 0x20
je 0x1400237f2
mov edx, 4
mov qword [rsp + 0x30], r14
lea rax, str.esif_ccb_library_get_func____s_completed._n
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
lea r8, str.EsifApp_Load
mov dword [rsp + 0x20], 0x42a
lea ecx, [rdx + 0x1c]
call fcn.140077c20
mov rdx, rdi
mov rcx, rsi
call fcn.1400212d0
mov ebx, eax
test eax, eax
jne 0x1400238a2
lock inc qword [0x140213a30]
mov edx, 0x4e41
lea ecx, [rax + 1]
xor r9d, r9d
lea r8d, [rax + 0x42]
call fcn.1400357a0
mov byte [rsi + 0x36c8], 1
jmp 0x1400238e9
mov rcx, rdi
call fcn.1400246d0
cmp dword [0x14020a150], 1
mov ebx, eax
jl 0x14002389e
test byte [0x14020a184], 0x20
je 0x14002389e
mov rcx, rdi
call fcn.140024810
mov ecx, ebx
mov r8, rax
call fcn.140024b00
mov qword [rsp + 0x48], r8
mov edx, 1
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x41a
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
mov ecx, 0x20
lea r8, str.EsifApp_Load
call fcn.140077c20
test ebx, ebx
je 0x1400238e9
cmp ebx, 0x4b9
je 0x1400238e9
mov rdi, qword [rsi + 0x98]
test rdi, rdi
je 0x1400238e2
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400238c4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rax
call fcn.1400b5144
mov qword [rsi + 0x98], r15
mov r14, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x210]
mov r15, qword [rsp + 0x1e0]
cmp dword [0x14020a150], 3
mov rsi, qword [rsp + 0x208]
jl 0x140023953
test dword [0x14020a1b4], 0x400000
je 0x140023953
lea rax, str.Exiting_function:_Exit_code__0x_08X...
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf_app.c
lea r8, str.EsifApp_Load
mov dword [rsp + 0x20], 0x438
mov edx, 3
mov ecx, 0x400000
call fcn.140077c20
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400a6220
add rsp, 0x1e8
pop rbx
pop rbp
ret