Function at 0x14004a3e0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [0x14021e038]
add rsp, 0x28
jmp 0x14004a3e0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, qword [rbp + 0x2a0]
xor r12d, r12d
mov dword [rsp + 0x40], r12d
cmp byte [rbx + 0x278], r12b
je 0x14004a455
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140049da0
cmp qword [rax], r12
setne bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004a6ef
jmp 0x14004a6e9
lea rcx, [0x14021e150]
call fcn.14007bb40
cmp qword [0x14021e180], 0xffffffffffffffff
jne 0x14004a6d6
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140049da0
mov rbx, qword [rax]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004a48f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14004a49b
mov al, 1
jmp 0x14004a6f2
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x48]
call fcn.1400258d0
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.14004faf0
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], r12
mov dword [rsp + 0x40], 2
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x14004a71d
mov dword [rbp + 0x20], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x24]
call fcn.140176680
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004a579
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x30], eax
mov rdx, qword [rbp - 0x20]
cmp rdx, qword [rbp - 0x18]
je 0x14004a55a
mov dword [rdx], eax
add qword [rbp - 0x20], 4
jmp 0x14004a568
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400632b0
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a540
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
cmp rdi, rsi
je 0x14004a6b3
mov r14d, 4
mov rax, qword gs:[0x58]
add r14, qword [rax]
nop word [rax + rax]
mov ebx, dword [rdi]
mov eax, dword [r14]
cmp dword [0x14021ccd8], eax
jle 0x14004a5ea
lea rcx, [0x14021ccd8]
call fcn.140133a50
cmp dword [0x14021ccd8], 0xffffffff
jne 0x14004a5ea
call fcn.140130b28
mov qword [0x14021cce0], rax
lea rcx, [0x14021ccd8]
call fcn.1401339e4
mov r15, qword [0x14021cce0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8d, 0xa
lea rdx, str.instup.exe
lea rcx, [rsp + 0x48]
call fcn.1400258d0
nop
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rax, qword [rsp + 0x48]
mov qword [rbp - 0x10], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 8], rax
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.140061f80
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14004a652
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x80], xmm1
mov r9, r15
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140024d40
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140025e80
nop
lea rcx, [rsp + 0x48]
call fcn.140025e80
test ebx, ebx
je 0x14004a6c9
add rdi, 4
cmp rdi, rsi
jne 0x14004a5b0
lea rcx, [rbp - 0x28]
call fcn.14004cd10
xor bl, bl
lea rcx, [rbp]
call fcn.140067480
jmp 0x14004a6ef
lea rcx, [rbp - 0x28]
call fcn.14004cd10
mov bl, 1
jmp 0x14004a6be
call fcn.14007c8a0
test rax, rax
setne bl
test rax, rax
je 0x14004a6ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.Unable_to_take_a_snapshot_of_the_running_processes_
lea rcx, [rbp - 0x50]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x50]
call fcn.140135f84
int3