Function at 0x140003950
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa70]
sub rsp, 0xb70
mov rax, qword [0x1401f0b90]
xor rax, rsp
mov qword [rbp + 0xa60], rax
mov rax, qword [str.__Install]
lea rcx, [rbp + 0x850]
mov edx, 0x104
mov qword [rbp - 0x10], rax
mov rax, qword [0x1401b8fb0]
mov qword [rbp - 8], rax
mov eax, dword [0x1401b8fb8]
mov dword [rbp], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rbp + 0x850]
lea rdx, str._s_regsvr32.exe
lea rcx, [rbp + 0x640]
call fcn.140003d60
lea r11, [rsp + 0x70]
lea rdx, str.SOFTWAREWidcommInstall
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003a2d
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
lea rdx, str.INSTALLDIR
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x220]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x68], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp + 0x220]
lea rdx, str.__s___sBtwNamespaceExt.dll_
lea rcx, [rbp + 0x10]
call fcn.140003d60
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x640]
lea rcx, str.Executing__S__S_with__u_sec_timeout
mov r9d, 5
call fcn.1400052e0
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x640]
lea rdx, str.__s___s
lea rcx, [rbp + 0x430]
call fcn.140003d60
lea rdx, [rbp + 0x430]
lea rcx, [0x1401b9118]
call fcn.1400052e0
xor r11d, r11d
lea rcx, [rbp - 0x80]
lea r8d, [r11 + 0x68]
xor edx, edx
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
call fcn.140141d50
xor ebx, ebx
lea rax, [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
lea rcx, [rbp + 0x640]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x220]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rbp - 0x80], 0x68
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140003b37
mov rcx, qword [rsp + 0x50]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.RunExeAndWait_succeeded
call fcn.1400052e0
jmp 0x140003b4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.RunExeAndWait_failed:_error__u
mov edx, eax
call fcn.1400052e0
lea r8, [rbp + 0x220]
lea rdx, str._sbtsendto_explorer.exe
lea rcx, [rbp + 0x10]
call fcn.140003d60
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x10]
lea rcx, str.Executing__S__S_with__u_sec_timeout
mov r9d, 5
call fcn.1400052e0
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x10]
lea rdx, str.__s___s
lea rcx, [rbp + 0x430]
call fcn.140003d60
lea rdx, [rbp + 0x430]
lea rcx, [0x1401b9118]
call fcn.1400052e0
xor r11d, r11d
lea rcx, [rbp - 0x80]
lea r8d, [r11 + 0x68]
xor edx, edx
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
call fcn.140141d50
lea rax, [rsp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x220]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x80], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140003c4a
mov rcx, qword [rsp + 0x50]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.RunExeAndWait_succeeded
call fcn.1400052e0
jmp 0x140003c5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.RunExeAndWait_failed:_error__u
mov edx, eax
call fcn.1400052e0
call fcn.140002b90
mov rcx, qword [rbp + 0xa60]
xor rcx, rsp
call fcn.14013f9a0
mov rbx, qword [rsp + 0xb80]
add rsp, 0xb70
pop rbp
ret