Function at 0x140003700
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x4d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1402be8f8]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rsi, rdx
mov qword [rsp + 0x40], rdx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.140004560
mov rcx, rax
lea rbp, [0x140276c30]
mov r9, rbp
lea r14, str.CHPSysInfoDlg::GetUsbCAppPath
mov r8, r14
xor edx, edx
call fcn.14000b7f0
nop
mov qword [rsp + 0x50], rbx
call fcn.140004560
cmp byte [rax + 0x64], bl
je 0x1400037c3
lea ecx, [rbx + 0x28]
call fcn.1400103f8
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400037be
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
call fcn.140004560
mov qword [rdi], rax
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], r14
lea rcx, [rdi + 8]
xor eax, eax
mov qword [rcx], rax
call qword [sym.imp.KERNEL32.dll_QueryUnbiasedInterruptTime]
mov rbx, rdi
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.HPHP_NotificationsHpUsbCConfiguration.exe
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.1401d9c90
nop
xor eax, eax
mov qword [rsi], rax
call fcn.140026830
mov rcx, rax
test rax, rax
jne 0x140003819
mov ecx, 0x80004005
call fcn.140002830
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x2b0]
or rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140003840
mov r8d, eax
lea rdx, [rsp + 0x2b0]
mov rcx, rsi
call fcn.140003f90
call fcn.140004560
mov rcx, rax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
lea r9, str.search_from_this_path___s
mov r8, r14
mov edx, 2
call fcn.14000b7f0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1400038a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140003969
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.Hewlett_PackardHP_NotificationsHpUsbCConfiguration.exe
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.1401d9c90
lea rcx, [rsp + 0x2b0]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400038e6
mov r8d, eax
lea rdx, [rsp + 0x2b0]
mov rcx, rsi
call fcn.140003f90
call fcn.140004560
mov rcx, rax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
lea r9, str.Try_again_to_search_from_this_path___s
mov r8, r14
mov edx, 2
call fcn.14000b7f0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140003950
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140003969
inc rdi
cmp word [rbp + rdi*2], 0
jne 0x140003950
mov r8d, edi
mov rdx, rbp
mov rcx, rsi
call fcn.140003f90
call fcn.140004560
mov rcx, rax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
lea r9, str.csExeName___s
mov r8, r14
mov edx, 1
call fcn.14000b7f0
nop
test rbx, rbx
je 0x1400039a9
mov rcx, rbx
call fcn.14000bbc0
mov edx, 0x28
mov rcx, rbx
call fcn.140002a00
nop
mov rax, rsi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.1401b6fe0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret