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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x4c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor ebp, ebp
lea rdx, str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov rdi, rcx
mov qword [rsp + 0x30], rbp
mov r8, rcx
mov qword [rsp + 0x28], rbp
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
mov bl, 1
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140013993
lea rdx, str.No_Registry_Entry_to_Unload
lea rcx, [0x140048c60]
call fcn.140008e30
xor al, al
jmp 0x140013b9f
xor edx, edx
mov qword [rsp + 0x4d8], rsi
mov r8d, 0x208
lea rcx, [rsp + 0x2a0]
call fcn.140017670
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x20c
call fcn.140017670
lea r8, [0x14002eae0]
mov edx, 0x106
lea rcx, [rsp + 0x90]
call fcn.14001df44
lea r8, [rsp + 0x2a0]
mov edx, 0x106
lea rcx, [rsp + 0x90]
call fcn.14001dec4
lea r8, str.unlodctr.exe_
mov edx, 0x106
lea rcx, [rsp + 0x90]
call fcn.14001dec4
xorps xmm0, xmm0
lea rsi, str.icea
mov rdx, rsi
mov rcx, rdi
movups xmmword [rsp + 0x48], xmm0
call fcn.140017c08
test rax, rax
jne 0x140013a5e
lea rsi, str.iavf
mov rcx, rdi
mov rdx, rsi
call fcn.140017c08
test rax, rax
je 0x140013af6
mov r8, rsi
lea rcx, [rsp + 0x48]
mov edx, 8
call fcn.14001dec4
xorps xmm0, xmm0
lea r8, str._p:_Intel_
mov edx, 0x18
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
call fcn.14001dec4
lea r8, [rsp + 0x48]
mov edx, 0x18
lea rcx, [rsp + 0x58]
call fcn.14001dec4
lea r8, [0x14002eae0]
mov edx, 0x18
lea rcx, [rsp + 0x58]
call fcn.14001dec4
lea r9, [rsp + 0x58]
mov dword [rsp + 0x28], ebp
lea r8, [rsp + 0x90]
mov qword [rsp + 0x20], rbp
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
jge 0x140013b0b
lea rdx, str.Failed_to_Unload_Manifest
jmp 0x140013afd
lea rdx, str.strEnvVarName_was_an_invalid_string
lea rcx, [0x140048c60]
call fcn.140008e30
xor bl, bl
lea rax, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rsi, qword [rsp + 0x4d8]
test eax, eax
jne 0x140013b87
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xbb8
lea r9, str.Environment
mov ecx, 0xffff
mov dword [rsp + 0x20], 2
lea edx, [r8 + 0x1a]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x140013b9c
lea rdx, str.Failed_to_open_Environment_Variables
lea rcx, [0x140048c60]
call fcn.140008e30
xor bl, bl
movzx eax, bl
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140015690
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret