Function at 0x14004d1a0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [0x14024d2d8]
add rsp, 0x28
jmp 0x14004d1a0
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 [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, qword [rbp + 0x2a0]
xor r12d, r12d
mov dword [rsp + 0x40], r12d
cmp byte [rbx + 0x260], r12b
je 0x14004d215
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004cb40
cmp qword [rax], r12
setne bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004d4af
jmp 0x14004d4a9
lea rcx, [0x14024d3f0]
call fcn.140083af0
cmp qword [0x14024d420], 0xffffffffffffffff
jne 0x14004d496
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004cb40
mov rbx, qword [rax]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004d24f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14004d25b
mov al, 1
jmp 0x14004d4b2
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.140025740
lea rdx, [rsp + 0x48]
lea rcx, [rbp]
call fcn.140053200
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], 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 0x14004d4dd
mov dword [rbp + 0x20], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x24]
call fcn.14019b380
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004d339
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x30], eax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x14004d31a
mov dword [rdx], eax
add qword [rbp - 0x28], 4
jmp 0x14004d328
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140067d20
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004d300
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdi, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
cmp rdi, rsi
je 0x14004d473
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 [0x14024be88], eax
jle 0x14004d3aa
lea rcx, [0x14024be88]
call fcn.140144780
cmp dword [0x14024be88], 0xffffffff
jne 0x14004d3aa
call fcn.14014190c
mov qword [0x14024be90], rax
lea rcx, [0x14024be88]
call fcn.140144710
mov r15, qword [0x14024be90]
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.140025740
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 - 0x50]
call fcn.1400668c0
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14004d412
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.140024e20
mov ebx, eax
lea rcx, [rbp - 0x50]
call fcn.140025f00
nop
lea rcx, [rsp + 0x48]
call fcn.140025f00
test ebx, ebx
je 0x14004d489
add rdi, 4
cmp rdi, rsi
jne 0x14004d370
lea rcx, [rbp - 0x30]
call fcn.14004fc30
xor bl, bl
lea rcx, [rbp]
call fcn.14006bf10
jmp 0x14004d4af
lea rcx, [rbp - 0x30]
call fcn.14004fc30
mov bl, 1
jmp 0x14004d47e
call fcn.140084850
test rax, rax
setne bl
test rax, rax
je 0x14004d4af
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140144310
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 - 0x70]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x70]
call fcn.14015a550
int3