Function at 0x140004800
Capabilities:
Create process on windows
Create process suspended
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc50]
sub rsp, 0xd50
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0xc40], rax
movzx esi, cl
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov dword [rbp - 0x60], r14d
mov qword [rbp - 0x58], r14
mov r9d, 0x20106
lea r8, str.SoftwareOpenShellOpenShell
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x68]
call fcn.140004140
mov ebx, eax
mov dword [rsp + 0x50], eax
lea rax, str._r_n_r_n
lea rdi, [0x1400265b4]
test ebx, ebx
cmove rdi, rax
jne 0x140004a6b
mov eax, dword [0x14002ddf0]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 4]
xor r8d, r8d
lea rdx, str.WinVersion
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movaps xmm0, xmmword [str.regsvr32__s___windir_System32StartMenuHelper64.dll_]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm1, xmmword [0x1400265d0]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm0, xmmword [0x1400265e0]
movaps xmmword [rbp + 0x40], xmm0
movaps xmm1, xmmword [0x1400265f0]
movaps xmmword [rbp + 0x50], xmm1
movaps xmm0, xmmword [0x140026600]
movaps xmmword [rbp + 0x60], xmm0
movaps xmm1, xmmword [0x140026610]
movaps xmmword [rbp + 0x70], xmm1
movsd xmm0, qword [0x140026620]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [0x140026628]
mov dword [rbp + 0x88], eax
xor edx, edx
mov r8d, 0x19c
lea rcx, [rbp + 0x8c]
call fcn.14000a0b0
mov edx, 0x104
lea rcx, [rbp + 0x20]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
movups xmm0, xmmword [str._windir_System32_regsvr32.exe]
movaps xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [0x140026640]
movaps xmmword [rbp + 0x240], xmm1
movups xmm0, xmmword [0x140026650]
movaps xmmword [rbp + 0x250], xmm0
movsd xmm1, qword [0x140026660]
movsd qword [rbp + 0x260], xmm1
mov eax, dword [0x140026668]
mov dword [rbp + 0x268], eax
movzx eax, word [0x14002666c]
mov word [rbp + 0x26c], ax
xor edx, edx
mov r8d, 0x1ca
lea rcx, [rbp + 0x26e]
call fcn.14000a0b0
mov edx, 0x104
lea rcx, [rbp + 0x230]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x230]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140004a5f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x50]
jmp 0x140004a6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x50], eax
test sil, sil
jne 0x140004bb3
test ebx, ebx
je 0x140004b35
mov edx, 0xdf8
lea rcx, [rsp + 0x78]
call qword [sym.imp.StartMenuDLL.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_DllLoadStringEx_int_]
mov qword [rsp + 0x20], rdi
mov r9, qword [rax]
lea r8, str._s_s
mov edi, 0x400
mov edx, edi
lea rcx, [rbp + 0x440]
call fcn.140006420
movsxd rsi, eax
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140004ad8
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
sub edi, esi
lea rcx, [rbp + 0x440]
lea rcx, [rcx + rsi*2]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1200
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, 0xbb9
lea rcx, [rbp - 0x80]
call qword [sym.imp.StartMenuDLL.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_DllLoadStringEx_int_]
mov r9d, 0x10
mov r8, qword [rax]
lea rdx, [rbp + 0x440]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 0x80]
jmp 0x140004b95
mov edx, 0xbb9
lea rcx, [rbp - 0x70]
call qword [sym.imp.StartMenuDLL.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_DllLoadStringEx_int_]
nop
mov rbx, qword [rax]
mov edx, 0xdf9
lea rcx, [rbp - 0x78]
call qword [sym.imp.StartMenuDLL.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_DllLoadStringEx_int_]
mov r9d, 0x40
mov r8, rbx
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004b91
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140004baf
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140004bc2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0xc40]
xor rcx, rsp
call fcn.140007f60
lea r11, [rsp + 0xd50]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret