Function at 0x1400ff110
Capabilities:
Check if file exists
Copy file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
lea rax, str.CUpgradeDowngradeHelper::CopyCabToDriversDirectory.
mov qword [r11 - 0x40], rax
xor ebp, ebp
mov qword [r11 - 0x48], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x50]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov qword [rsp + 0x50], rbp
mov rdx, qword [0x140464910]
lea rcx, [rsp + 0x50]
call fcn.14011df20
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyCabToDriversDirectory__strTargetCabFile___s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x54]
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
setne bl
lea edi, [rbp - 1]
test eax, eax
jne 0x1400ff3aa
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyCabToDriversDirectory__strTargetCabFile___s_not_present_on_disk.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x5b]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov rbx, qword [rsp + 0x50]
lea rax, str.CUpgradeDowngradeHelper::CopyBackedUpCabToDriversDirectory.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x70]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov qword [rsp + 0x48], rbp
mov rdx, qword [0x140464910]
lea rcx, [rsp + 0x48]
call fcn.14011e210
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyBackedUpCabToDriversDirectory_____s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x74]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400ff307
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, str.CUpgradeDowngradeHelper::CopyBackedUpCabToDriversDirectory____Copying__s_to__s.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
lea r8, [0x1404675c0]
lea edx, [rbp + 0x78]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ff32e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
jmp 0x1400ff32e
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ff32c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
xor bl, bl
movzx eax, bl
mov dword [rsp + 0x30], eax
lea rax, str.CUpgradeDowngradeHelper::CopyCabToDriversDirectory__CopyBackedUpCabToDriversDirectory_____d.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 2
lea r8, [0x1404675c0]
lea edx, [r9 + 0x5e]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
test bl, bl
jne 0x1400ff3aa
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1400ff400
movzx ebx, al
mov dword [rsp + 0x30], ebx
lea rax, str.CUpgradeDowngradeHelper::CopyCabToDriversDirectory__CopyLatestCabToDriversDirectory_____d.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9d, 2
lea r8, [0x1404675c0]
lea edx, [r9 + 0x65]
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_sharedupgradedowngradehelper.cpp
call fcn.140039f30
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400ff3cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
movzx eax, bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret