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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3c0], rbx
mov rax, qword [0x1400b6088]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov edi, r9d
mov r14, r8
mov rsi, rdx
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14005d770
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
movdqa xmm0, xmmword [0x1400a07f0]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000a759
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000a759
lea rdx, [0x14009f528]
lea rcx, [rbp + 0x5c]
call fcn.140063f24
test eax, eax
jne 0x14000a526
mov dword [rsp + 0x60], r13d
lea rdx, [rsp + 0x60]
mov ecx, dword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x14000a526
cmp dword [rsp + 0x60], edi
je 0x14000a535
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000a4ed
xor edx, edx
mov r12d, 0x8000000
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14005d770
mov dword [rbp - 0x60], 0x68
lea rax, str.winsta0default
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
lea r8, [rsp + 0x78]
mov edx, 0x201eb
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000a730
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14000a730
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x514
je 0x14000a738
mov qword [rsp + 0x70], r13
mov r8d, 1
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14000a606
mov r12d, 0x8000400
jmp 0x14000a60b
mov qword [rsp + 0x70], r13
lea rax, [rbp + 0x10]
cmp rax, rsi
je 0x14000a62e
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000a621
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000aad0
mov r8d, 1
lea rdx, [0x14009f524]
lea rcx, [rbp + 0x10]
call fcn.140005500
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14000a651
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140005500
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000a673
add ebx, 2
cmp ebx, 0x1fff
ja 0x14000a738
mov ecx, 0x3ffe
call fcn.14003eabc
mov rdi, rax
xor edx, edx
mov r8d, 0x1fff
mov rcx, rax
call fcn.14005d770
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
mov edx, ebx
mov rcx, rdi
call fcn.1400640bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000a728
cmp byte [rbp + 0x2e0], 0
je 0x14000a728
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.14003e9b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a75e
mov edi, 0x3eb
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14000a79a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a795
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a7c6
call fcn.14003e9b0
mov eax, edi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14003e950
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140060238
int3