Function at 0x140002450
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x14002e010]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
mov edi, eax
lea ecx, [rdx + 2]
call qword [sym.imp.api_ms_win_core_toolhelp_l1_1_0.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000272c
mov qword [rsp + 0x598], rbx
lea rcx, [rbp + 0x14]
xor edx, edx
mov qword [rsp + 0x5a0], r15
mov r8d, 0x234
call fcn.1400087b0
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x238
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_toolhelp_l1_1_0.dll_Process32FirstW]
xor r15d, r15d
lea rbx, str.explorer.exe
nop dword [rax + rax]
lea rdx, [rbp + 0x3c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbx + rax*2 + 2]
jne 0x14000252f
add rax, 2
cmp rax, 0xd
je 0x140002512
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbx + rax*2]
je 0x1400024f0
jmp 0x14000252f
mov ecx, dword [rbp + 0x18]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ProcessIdToSessionId]
test eax, eax
je 0x14000252f
cmp dword [rsp + 0x60], edi
je 0x140002545
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_toolhelp_l1_1_0.dll_Process32NextW]
test eax, eax
jne 0x1400024e0
jmp 0x140002713
mov ebx, dword [rbp + 0x18]
test ebx, ebx
je 0x140002713
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], r15
mov ecx, edi
mov qword [rsp + 0x60], r15
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x140002713
mov r8d, ebx
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002708
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], r15
mov edx, 0x201eb
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x1400026ff
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x2000000
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_DuplicateTokenEx]
test eax, eax
je 0x1400026f4
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov ebx, 0x30
mov qword [rsp + 0x68], r15
lea r8d, [rbx - 0x2f]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ecx, 0x430
mov r8d, 0x208
test eax, eax
cmovne ebx, ecx
xor edx, edx
lea rcx, [rbp + 0x250]
call fcn.1400087b0
mov r8, r14
lea rcx, [rbp + 0x250]
mov edx, 0x104
call fcn.14000d8fc
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 0x250]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp], rax
xor r9d, r9d
lea rax, str.winsta0default
xor edx, edx
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x28], r15d
movups xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x20], r15
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x24], 1
movups xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400026ca
lea rdx, [rbp + 0x250]
lea rcx, str.AsusPTPService::excute__s_n
call fcn.140005650
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r15, qword [rsp + 0x5a0]
mov rbx, qword [rsp + 0x598]
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140006750
mov rsi, qword [rsp + 0x5a8]
add rsp, 0x570
pop r14
pop rdi
pop rbp
ret