Function at 0x140028690
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rcx
lea rbx, [rcx + 0x60]
mov qword [rbp - 0x78], rbx
mov rcx, rbx
call qword [0x1401f2060]
nop
lea r12, [rdi + 0x68]
cmp qword [r12], 0
je 0x1400286e9
xor edi, edi
jmp 0x14002890e
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x140028909
mov ecx, dword [rdi + 0x54]
test ecx, ecx
je 0x140028909
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r9, str.BaseNamedObjectsNODCOMM_08XTo_08XCommPortAlpc
mov edx, 0x40
lea r8, [rdx - 0x41]
lea rcx, [rbp + 0x90]
call fcn.140023c60
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x70]
call qword [0x1401f2248]
xor edi, edi
mov qword [rbp - 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x80]
lea edx, [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, 1
mov r14d, esi
test eax, eax
je 0x140028822
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
mov dword [rbp + 0x80], eax
mov dword [rsp + 0x70], edi
mov r15d, esi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x54]
lea r8, [rbp + 0x30]
mov edx, esi
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140028815
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x60], edi
mov word [rbp - 0x5c], 0x500
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8d, [rdi + 0x12]
movzx edx, sil
lea rcx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140028815
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14002880a
mov r15d, edi
mov r14d, edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x80]
call qword [0x1401f2070]
mov esi, r15d
mov dword [rsp + 0x60], reloc.WS2_32.dll_inet_ntoa
lea eax, [rsi + 1]
mov dword [rsp + 0x64], eax
mov word [rsp + 0x68], 1
mov qword [rbp - 8], rdi
mov qword [rbp + 0x20], rdi
shl r14d, 0x10
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x10], 0xffff
mov qword [rbp + 0x10], 0xffffffffffffffff
mov qword [rbp + 0x18], 0xffffffffffffffff
mov qword [rbp], 0xffffffffffffffff
mov qword [rbp + 8], 0xffffffffffffffff
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x1c], xmm0
mov eax, dword [rsp + 0x68]
mov dword [rbp - 0x14], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x54], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x44], xmm1
mov dword [rbp - 0x34], edi
mov dword [rbp - 0x58], 0x380010
mov eax, reloc.WS2_32.dll_getservbyport
mov dword [rbp - 0x30], 0x43646f4e
mov dword [rbp - 0x2c], 0x206d6d6f
mov dword [rbp - 0x28], 2
mov dword [rbp - 0x24], 0xffcf
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x20000
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [0x1401f2200]
test eax, eax
jns 0x14002890e
mov edi, 4
mov rcx, rbx
call qword [0x1401f20f0]
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140160900
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret