Function at 0x140084b60
Capabilities:
Acquire debug privileges
Get process image filename

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x4b8]
sub rsp, 0x5a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x80]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rbp + 0x1f0]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
xor esi, esi
test eax, eax
je 0x140084c16
mov dword [rbp + 0x1d0], 1
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x1d4], rax
mov dword [rbp + 0x1dc], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp + 0x1d0]
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x70], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x6c]
call fcn.140159570
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_674cb20ab466033bb719f68a9cd1ba96___void___.0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x220]
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x258], rsi
lea rdx, [rbp + 0x220]
lea rcx, [rsp + 0x30]
call qword [vtable.std::_Func_impl_no_alloc_class__lambda_674cb20ab466033bb719f68a9cd1ba96___void___.0]
mov qword [rbp + 0x258], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140084cb5
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x68], rsi
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140084e1c
nop dword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140084cdd
mov rdx, qword [rbx]
lea rcx, [rbp - 0x44]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140084d03
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140084cd0
jmp 0x140084e1c
mov r8d, dword [rbp - 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x140084da1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call fcn.140159570
mov r8d, 0x104
lea rdx, [rbp + 0x260]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x1f8]
call fcn.1400853d0
movups xmm6, xmmword [rbp + 0x1f8]
movups xmmword [rbp + 0x1d0], xmm6
movups xmm7, xmmword [rbp + 0x208]
movdqu xmmword [rbp + 0x1e0], xmm7
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rbp + 0x208], xmm0
mov word [rbp + 0x1f8], si
lea rcx, [rbp + 0x1f8]
call fcn.14007dbb0
jmp 0x140084ddd
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rbp + 0x1e0], xmm0
mov word [rbp + 0x1d0], si
xor r8d, r8d
lea rdx, [0x1401f1958]
lea rcx, [rbp + 0x1d0]
call fcn.14007dc20
movdqu xmm7, xmmword [rbp + 0x1e0]
movups xmm6, xmmword [rbp + 0x1d0]
lea rax, [rbp + 0x1d0]
cmp rdi, rax
je 0x140084e0f
mov rcx, rdi
call fcn.14007dbb0
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rbp + 0x1e0], xmm0
mov word [rbp + 0x1d0], si
lea rcx, [rbp + 0x1d0]
call fcn.14007dbb0
nop
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x140084e81
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x258]
test rcx, rcx
je 0x140084e50
mov r8, qword [rcx]
lea rdx, [rbp + 0x220]
cmp rcx, rdx
setne dl
call qword [r8 + 0x20]
nop
mov eax, 1
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400c7300
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a6294
nop
int3