Function at 0x140001000
Capabilities:
Copy file
Get common file path

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov rax, qword [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov r15, rdx
mov ebx, ecx
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.140002430
xor edx, edx
lea rcx, [rbp + 0x580]
mov r8d, 0x410
call fcn.140002430
cmp ebx, 3
jl 0x1400013b6
lea rax, [rbp + 0x160]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8025
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400013b6
mov qword [rsp + 0xad0], rsi
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0xaa8], r12
xor edx, edx
mov r8d, 0x110
mov qword [rsp + 0xaa0], r14
call fcn.140002430
mov r8b, 1
mov dword [rsp + 0x50], 0x11c
mov edx, 2
mov dword [rsp + 0x54], 5
xor ecx, ecx
mov dword [rsp + 0x58], 2
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edx, 3
lea rcx, [rsp + 0x50]
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
cmp eax, 1
jne 0x14000130b
mov rcx, qword [r15 + 8]
lea rdx, str.AdobePDFPortMonitor64Bit
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000130b
xor edx, edx
lea rcx, [rbp + 0x370]
mov r8d, 0x208
call fcn.140002430
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140002430
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.AdobePDF64.dll
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [r15 + 0x10]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 0x5c
lea rcx, [rbp + 0x370]
call fcn.140002060
test rax, rax
je 0x14000119b
lea rdx, str.AMD64AdobePDF64.dll
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000130b
mov ebx, 0x12c
xor r14d, r14d
mov ecx, ebx
call fcn.1400032a8
lea r12, str.Adobe_PDF
mov rsi, rax
test rax, rax
je 0x14000120c
lea rax, [rsp + 0x30]
mov r9d, ebx
mov qword [rsp + 0x28], rax
lea edx, [r14 + 1]
lea rax, [rsp + 0x34]
mov r8, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINSPOOL.DRV_EnumMonitorsW]
test eax, eax
jne 0x14000123a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
jmp 0x140001210
mov eax, dword [rsp + 0x30]
cmp eax, 0x7a
jne 0x14000123a
mov ebx, dword [rsp + 0x34]
mov rcx, rsi
mov edx, ebx
call fcn.1400032b0
test rax, rax
jne 0x140001235
mov rcx, rsi
call fcn.1400032b8
jmp 0x1400012be
mov rsi, rax
jmp 0x140001243
test rsi, rsi
je 0x1400012be
lea rax, [rsp + 0x30]
mov r9d, ebx
mov qword [rsp + 0x28], rax
mov r8, rsi
lea rax, [rsp + 0x34]
mov edx, 1
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINSPOOL.DRV_EnumMonitorsW]
test eax, eax
je 0x1400012ad
mov ebx, r14d
mov qword [rsp + 0xae0], rdi
mov rdi, rsi
cmp dword [rsp + 0x30], ebx
jbe 0x1400012a5
mov rcx, qword [rdi]
mov rdx, r12
call fcn.1400033a8
test eax, eax
je 0x14000129f
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x30]
jb 0x140001282
jmp 0x1400012a5
mov r14d, 1
mov rdi, qword [rsp + 0xae0]
mov rcx, rsi
call fcn.1400032b8
test r14d, r14d
jne 0x140001381
lea rax, str.Windows_x64
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
lea rax, [rsp + 0x50]
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x48], rax
call qword [sym.imp.WINSPOOL.DRV_AddMonitorW]
test eax, eax
jne 0x140001381
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x703
je 0x140001381
cmp eax, 0xb7
je 0x140001381
lea rdx, str.SetupAPI.dll
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9, qword [r15 + 0x10]
lea rdx, str._s_128__s
mov r8, qword [r15 + 8]
lea rcx, [rbp + 0x580]
call fcn.1400013c0
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140001381
lea rdx, str.InstallHinfSectionW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001378
xor r9d, r9d
lea r8, [rbp + 0x580]
xor edx, edx
xor ecx, ecx
call qword [0x140012290]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r12, qword [rsp + 0xaa8]
xor eax, eax
mov rsi, qword [rsp + 0xad0]
mov r14, qword [rsp + 0xaa0]
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.140001440
add rsp, 0xab0
pop r15
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x14000139b