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

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x14020fe28]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rcx, qword [0x140212798]
xor ebx, ebx
test rcx, rcx
je 0x140013ccb
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140212798]
cmp qword [0x1402125e0], rbx
jne 0x140014131
xor edx, edx
mov qword [rsp + 0x190], rdi
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400a7190
lea rdx, str.Loading_web_server_plugin..._n
mov ecx, 3
call fcn.140013260
mov rax, qword [0x140212910]
mov dil, 1
mov rcx, rbx
test rax, rax
je 0x140013d22
cmp dword [0x140212908], 7
jle 0x140013d22
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140013d67
movzx r9d, byte [rcx]
cmp r9b, 0x24
jne 0x140013d36
movzx r9d, byte [rcx + 1]
lea rax, [rcx + 1]
setne dil
cmovne rax, rcx
lea r8, [0x140120dfb]
cmp r9b, 0x23
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov r9, 0xffffffffffffffff
cmovne r8, rax
call fcn.1400b46b8
movzx eax, byte [rsp + 0x50]
test al, al
je 0x140013dc5
test dil, dil
je 0x140013d84
lea rcx, [rsp + 0x50]
call fcn.140014b70
movzx eax, byte [rsp + 0x50]
test al, al
je 0x140013dc5
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400cec38
cmp rax, 0x104
jne 0x140013da8
mov byte [rsp + 0x153], bl
jmp 0x140013dc5
mov r9, 0xffffffffffffffff
lea r8, [0x140120918]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400e59b8
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400cec38
cmp rax, 0x104
jne 0x140013de5
mov byte [rsp + 0x153], bl
jmp 0x140013e02
mov r9, 0xffffffffffffffff
lea r8, str.esif_ws
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400e59b8
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400cec38
cmp rax, 0x104
jne 0x140013e22
mov byte [rsp + 0x153], bl
jmp 0x140013e3f
mov r9, 0xffffffffffffffff
lea r8, str..dll
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400e59b8
mov qword [rsp + 0x180], rbp
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x188], rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140013e97
bt eax, 0xa
jae 0x140013e97
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140013e85
test al, 0x10
je 0x140013e85
lea rcx, [rsp + 0x50]
call fcn.1400d246c
jmp 0x140013e8f
lea rcx, [rsp + 0x50]
call fcn.1400b5fcc
test eax, eax
jne 0x14001407b
mov ecx, 0x18
call fcn.1400b45e8
mov rdi, rax
test rax, rax
je 0x14001407b
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
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 [0x1402125e0], rdi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140014085
lea rbp, str.GetWsInterface
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140013f75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 8], eax
mov r9, qword [0x1402125e0]
mov rcx, r9
call fcn.140014880
cmp dword [0x140209140], 1
mov ebx, eax
jl 0x1400140fa
test byte [0x140209174], 8
je 0x1400140fa
mov rcx, r9
call fcn.1400149c0
mov ecx, ebx
mov r8, rax
call fcn.140014e90
mov qword [rsp + 0x48], r8
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], rbp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x354
jmp 0x1400140df
movsxd rax, dword [0x140209140]
mov cl, 1
mov dword [0x1402125e8], 6
mov dword [0x1402125ec], 0x1b00004
xchg qword [0x1402125f0], rax
mov rax, qword [0x140212910]
test rax, rax
je 0x140013fb2
cmp dword [0x140212908], 0xc
jle 0x140013fb2
mov rbx, qword [rax + 0x60]
test rbx, rbx
je 0x140013ffa
movzx edi, byte [rbx]
movzx ecx, dil
cmp dil, 0x24
jne 0x140013fc8
movzx ecx, byte [rbx + 1]
lea rax, [rbx + 1]
mov edx, 0x104
cmovne rax, rbx
mov r9, 0xffffffffffffffff
cmp cl, 0x23
lea rcx, [0x1402125f8]
lea r8, [rax + 1]
cmovne r8, rax
call fcn.1400b46b8
cmp dil, 0x24
setne cl
cmp byte [0x1402125f8], 0
je 0x140014013
test cl, cl
je 0x140014013
lea rcx, [0x1402125f8]
call fcn.140014b70
lea rax, [0x140014550]
mov qword [0x140212718], rax
lea rcx, [0x1402125e8]
lea rax, [0x140014720]
mov qword [0x140212720], rax
lea rax, [0x140014570]
mov qword [0x140212730], rax
lea rax, [0x140014580]
mov qword [0x140212738], rax
lea rax, [0x1400146e0]
mov qword [0x140212740], rax
lea rax, [0x1400144d0]
mov qword [0x140212748], rax
mov rax, rsi
call qword [case.0x1400246b7.0]
mov ebx, eax
jmp 0x1400140fa
mov qword [0x1402125e0], rbx
mov rdi, rbx
mov rcx, rdi
call fcn.140014880
cmp dword [0x140209140], 1
mov ebx, eax
jl 0x1400140fa
test byte [0x140209174], 8
je 0x1400140fa
mov rcx, rdi
call fcn.1400149c0
mov ecx, ebx
mov r8, rax
call fcn.140014e90
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.esif_ccb_library_load____s_failed___s___d__:__s_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x34d
mov edx, 1
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourcesesif_uf.c
lea r8, str.EsifWebLoad
lea ecx, [rdx + 7]
call fcn.140077c20
mov rdi, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
mov rbp, qword [rsp + 0x180]
test ebx, ebx
jne 0x14001412a
mov rax, qword [0x140212768]
test rax, rax
je 0x14001412a
call qword [case.0x1400246b7.0]
mov ebx, eax
mov rcx, qword [0x140212798]
test rcx, rcx
je 0x14001413c
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
je 0x14001416d
cmp qword [0x1402125e0], 0
je 0x14001416d
mov ecx, ebx
call fcn.140014e90
mov r8, rax
lea rdx, [0x140121a80]
mov ecx, 3
mov r9d, ebx
call fcn.140013260
call fcn.140014370
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400a56b0
add rsp, 0x170
pop rbx
ret