Function at 0x1800280e0
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
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180154010]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
mov ecx, 0x42ea
mov qword [rsp + 0x58], rbx
mov esi, ebx
mov edi, ebx
call fcn.180028c10
test eax, eax
je 0x1800281a6
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x20a
call fcn.18006cd10
lea rcx, [rbp - 0x80]
call fcn.180027720
cmp bx, word [rbp - 0x80]
je 0x1800281a6
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800281a6
test al, 0x10
je 0x1800281a6
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], si
jne 0x180028167
inc rbx
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1800281da
lea r8, [rbp - 0x80]
mov rdx, rbx
mov rcx, rax
call fcn.180021d10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
jmp 0x1800281dc
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x60], 0x20
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x1770
call fcn.180028c10
test eax, eax
jne 0x180028204
lea ecx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18003f930
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rax, qword [0x18015b708]
test rax, rax
jne 0x180028228
lea rcx, str.Setupapi.dll
call fcn.180022970
mov qword [0x18015b708], rax
test rax, rax
je 0x1800281da
cmp qword [0x18015b748], rbx
jne 0x180028254
lea rdx, str.SetupDiGetDevicePropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18015b748], rax
test rax, rax
je 0x1800281da
mov rax, qword [0x18015b708]
cmp qword [0x18015b7b0], rbx
jne 0x180028284
lea rdx, str.SetupGetInfDriverStoreLocationW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18015b7b0], rax
test rax, rax
je 0x1800281da
mov rax, qword [0x18015b708]
cmp qword [0x18015b7a0], rbx
jne 0x1800282ad
lea rdx, [0x180125248]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18015b7a0], rax
test rax, rax
je 0x1800281da
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
call fcn.180028fc0
test eax, eax
je 0x1800281da
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x54]
mov rax, qword [0x18015b748]
lea r8, [0x1801231b8]
mov qword [rsp + 0x2b0], r14
lea rdx, [rsp + 0x60]
mov r14, qword [rsp + 0x58]
mov dword [rsp + 0x28], ebx
mov rcx, r14
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ebx
call qword [case.0x18002b58a.0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180028414
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x180028414
mov ecx, dword [rsp + 0x50]
lea r9, [rsp + 0x54]
mov dword [rsp + 0x38], ebx
lea r8, [0x1801231b8]
mov qword [rsp + 0x30], rbx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov rax, qword [0x18015b748]
call qword [case.0x18002b58a.0]
test eax, eax
je 0x180028414
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rax, qword [0x18015b7b0]
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], ebx
call qword [case.0x18002b58a.0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x180028414
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x180028414
mov ecx, dword [rsp + 0x50]
mov r9, rax
mov rax, qword [0x18015b7b0]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [case.0x18002b58a.0]
test eax, eax
je 0x180028414
mov edx, 0x5c
mov rcx, rdi
call fcn.18006c85c
lea rdx, [rax + 2]
test rax, rax
jne 0x180028400
mov rdx, rdi
sub rdx, rdi
mov rcx, rdi
sar rdx, 1
dec rdx
call fcn.180028870
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r14, r14
je 0x18002843b
mov rax, qword [0x18015b7a0]
mov rcx, r14
call qword [case.0x18002b58a.0]
mov r14, qword [rsp + 0x2b0]
test rbx, rbx
je 0x180028450
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x1800281dc