Function at 0x1400ff400
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rbp, rcx
lea rax, str.CUpgradeDowngradeHelper::CopyLatestCabToDriversDirectory.
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
lea r8, [0x1404675c0]
mov edx, 0x82
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140222790
xor r9d, r9d
lea r8d, [r14 + 0x25]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, str.DriverStoreFileRepository
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140242df8
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x1400ff639
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14003b370
lea rdi, [r14 - 1]
test al, al
jne 0x1400ff510
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400ff4f3
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14003beb0
nop
lea r9, [rsp + 0x58]
mov rbx, qword [rsp + 0x40]
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400ff7b0
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ff54b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyLatestCabToDriversDirectory_____s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x88
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ff5e9
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyLatestCabToDriversDirectory____Copying__s_to__s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
lea r8, [0x1404675c0]
mov edx, 0x8c
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
jmp 0x1400ff5eb
xor bl, bl
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400ff60e
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14004487d.0]
movzx eax, bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140039950
int3