Function at 0x180025380
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 r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1800e10f8]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor edi, edi
mov qword [rsp + 0x58], rdi
mov r15d, edi
mov r14d, edi
test ecx, ecx
jne 0x1800254eb
mov ecx, 0x42ea
call fcn.1800226e0
test eax, eax
je 0x1800254b7
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x20a
call fcn.180059e80
lea rcx, [rbp - 0x80]
call fcn.180020930
cmp di, word [rbp - 0x80]
je 0x1800254b7
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800254b7
test al, 0x10
je 0x1800254b7
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], di
jne 0x180025425
inc rbx
mov ecx, 0x40
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1800254eb
lea rcx, [rbx - 1]
mov edx, 0x7ffffffe
cmp rcx, rdx
ja 0x1800254a2
sub rdx, rbx
lea r8, [rbp - 0x80]
sub r8, rax
mov rcx, rax
lea rax, [rdx + rbx]
test rax, rax
je 0x180025487
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180025487
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x180025467
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
xor ecx, ecx
mov word [rax], di
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x1800254ed
test rbx, rbx
je 0x1800254aa
mov word [rax], di
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x1800254ed
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.1800226e0
test eax, eax
jne 0x180025519
lea ecx, [rax + 0x78]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180057160
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [0x1800e3380]
test rax, rax
jne 0x18002553f
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.180022920
mov qword [0x1800e3380], rax
test rax, rax
je 0x1800254eb
cmp qword [0x1800e33a8], rdi
jne 0x18002556b
lea rdx, str.SetupDiGetDevicePropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800e33a8], rax
test rax, rax
je 0x1800254eb
mov rax, qword [0x1800e3380]
cmp qword [0x1800e33b8], rdi
jne 0x18002559b
lea rdx, str.SetupGetInfDriverStoreLocationW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800e33b8], rax
test rax, rax
je 0x1800254eb
mov rax, qword [0x1800e3380]
cmp qword [0x1800e33b0], rdi
jne 0x1800255c4
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800e33b0], rax
test rax, rax
je 0x1800254eb
lea r8, [rsp + 0x60]
xor ecx, ecx
lea rdx, [rsp + 0x58]
call fcn.180020580
test eax, eax
je 0x1800254eb
mov rbx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], edi
lea r9, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea r8, [0x1800bb548]
mov rax, qword [0x1800e33a8]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x28], edi
mov rcx, rbx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
call qword [case.0x1800152ca.0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800257e1
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x1800257e1
mov ecx, dword [rsp + 0x50]
lea r9, [rsp + 0x54]
mov dword [rsp + 0x38], edi
lea r8, [0x1800bb548]
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rax, qword [0x1800e33a8]
call qword [case.0x1800152ca.0]
test eax, eax
je 0x1800257e1
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rax, qword [0x1800e33b8]
xor edx, edx
mov rcx, r15
mov dword [rsp + 0x20], edi
call qword [case.0x1800152ca.0]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x1800257e1
mov edx, eax
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
je 0x1800257e1
mov ecx, dword [rsp + 0x50]
mov r9, rax
mov rax, qword [0x1800e33b8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov rcx, r15
call qword [case.0x1800152ca.0]
test eax, eax
je 0x1800257e1
mov edx, 0x5c
mov rcx, r14
call fcn.18005a020
lea rsi, [rax + 2]
test rax, rax
jne 0x18002571d
mov rsi, r14
sub rsi, r14
sar rsi, 1
sub rsi, 1
js 0x1800257e1
lfence
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [r14 + rbx*2], di
jne 0x180025740
cmp rsi, rbx
mov ecx, 0x40
cmovb rbx, rsi
inc rbx
lea rdx, [rbx + rbx]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r8, rax
test rax, rax
je 0x1800257dc
lea rax, [rbx - 1]
mov edx, 0x7ffffffe
cmp rax, rdx
ja 0x1800257c1
cmp rsi, rdx
ja 0x1800257c6
sub rsi, rbx
mov rdx, r14
sub rdx, r8
mov rcx, r8
nop word [rax + rax]
lea rax, [rsi + rbx]
test rax, rax
je 0x1800257af
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1800257af
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x180025790
test rbx, rbx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
jne 0x1800257d9
jmp 0x1800257ca
test rbx, rbx
je 0x1800257ca
mov word [r8], di
lfence
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r8, rdi
mov rdi, r8
mov rbx, qword [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x180025808
mov rax, qword [0x1800e33b0]
mov rcx, rbx
call qword [case.0x1800152ca.0]
test rdi, rdi
je 0x180025815
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
jmp 0x1800254ed