Function at 0x140001620
Capabilities:
Create process on windows
Enumerate processes
Impersonate user

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x270], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov r15d, ebx
mov qword [rbp - 0x70], rbx
mov esi, 0xf
mov qword [rbp - 0x68], rsi
mov byte [rbp - 0x80], bl
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x60], bl
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001d90
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], rsi
cmova rdi, qword [rsp + 0x60]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r14, 0xffffffffffffffff
mov r9d, r14d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovb rax, r14
mov rcx, rax
call fcn.1400023e4
mov r13, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000197e
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14000197e
mov rbx, qword [rbp - 0x80]
nop word [rax + rax]
mov r14d, dword [rbp + 0x38]
mov edx, r14d
lea rcx, [rbp - 0x60]
call fcn.140001290
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x1400017ed
cmp rsi, 0xf
jbe 0x1400017b3
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400017ab
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001977
mov rcx, rbx
call fcn.1400023a0
movups xmm2, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm2
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rsi, xmm0
movq r15, xmm1
movq rbx, xmm2
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140001828
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001977
call fcn.1400023a0
test r15, r15
je 0x14000185a
lea rcx, [rbp - 0x80]
cmp rsi, 0xf
cmova rcx, rbx
cmp r15, 0x13
jne 0x140001960
mov r8, r15
lea rdx, str.NT_AUTHORITY_SYSTEM
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001960
mov qword [rsp + 0x50], 0
mov r8d, r14d
mov edx, 1
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400018a7
lea r8, [rsp + 0x50]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000189e
mov qword [rsp + 0x50], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140001960
xor r14d, r14d
mov qword [rsp + 0x58], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
mov dword [rbp + 0x24], eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x40], 0x68
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov edi, eax
test eax, eax
je 0x14000195c
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, r13
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov edi, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x140001982
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001760
jmp 0x140001982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call fcn.1400023a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400019d4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400023a0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp rsi, 0xf
jbe 0x140001a25
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001a1d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a1d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400023a0
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140002380
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret