Function at 0x1400872d0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rbp, r8
mov r14, rcx
lea rcx, [rsp + 0x40]
call fcn.140063500
nop
or r8d, 0xffffffff
lea rdx, [rsp + 0xa8]
lea rcx, str.svr
call fcn.140065780
xor sil, sil
mov byte [rsp + 0xb8], sil
movzx eax, byte [0x14019c661]
test al, 4
jne 0x140087359
mov sil, 1
mov byte [rsp + 0xb8], sil
or al, 4
mov byte [0x14019c661], al
mov edx, 2
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
mov rdx, qword [rsp + 0xa8]
movzx eax, word [rdx]
mov ecx, 0x40
cmp cx, ax
jne 0x140087403
cmp cx, word [rdx + 2]
jne 0x140087403
add rdx, 4
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14006d870
mov r11, qword [rsp + 0x40]
mov qword [rsp + 0xa8], r11
xor r15d, r15d
mov dword [rsp + 0xb8], r15d
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xa8]
call fcn.140066e40
movsxd rbx, dword [rsp + 0xb8]
test rbx, rbx
jne 0x14008775a
test sil, sil
je 0x1400873ef
and byte [0x14019c661], 0xfb
lea edx, [rbx + 4]
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 0x80070057
jmp 0x1400877bb
cmp cx, ax
jne 0x140087668
add rdx, 2
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14006d870
lea rcx, [rsp + 0xa8]
call fcn.140063500
nop
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rbx
xor r8d, r8d
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x48]
call fcn.140066780
xor r8d, r8d
lea rdx, [rsp + 0xa8]
mov rcx, r14
call fcn.14001c9cc
mov rdi, qword [rsp + 0xa8]
mov rdx, rdi
lea rcx, str.this
call fcn.14005c550
test al, al
je 0x140087492
lea rcx, [rsp + 0xa8]
call fcn.14005b520
jmp 0x140087690
cmp word [rdi], 0
jne 0x1400874aa
lea rcx, [rsp + 0xa8]
call fcn.14005b520
jmp 0x140087690
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r15d, r15d
mov rax, r15
nop
mov rbx, qword [r14 + 0x40]
test rbx, rbx
je 0x140087543
cmp rbx, rax
je 0x140087543
mov rdx, rdi
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400875b9
mov r12d, r15d
cmp dword [rbx + 0xb8], r15d
jle 0x140087543
mov rbp, r15
nop word [rax + rax]
mov rcx, qword [rbx + 0xb0]
mov r13, qword [rcx + rbp + 8]
mov rcx, qword [rcx + rbp]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140087533
mov rcx, qword [r13 + 0xa8]
test rcx, rcx
je 0x140087533
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140087558
inc r12d
add rbp, 0x18
cmp r12d, dword [rbx + 0xb8]
jl 0x140087500
mov r14, qword [r14 + 0x38]
mov rax, rbx
test r14, r14
je 0x14008761a
jmp 0x1400874c0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43c
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0xa8]
call fcn.14005b520
nop
test sil, sil
je 0x1400875a8
and byte [0x14019c661], 0xfb
mov edx, 4
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x1400877bb
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43c
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0xa8]
call fcn.14005b520
nop
test sil, sil
je 0x140087609
and byte [0x14019c661], 0xfb
mov edx, 4
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x1400877bb
lea rcx, [0x14019cf50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rsp + 0xa8]
call fcn.14005b520
nop
test sil, sil
je 0x140087654
and byte [0x14019c661], 0xfb
mov edx, 4
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
mov eax, 1
jmp 0x1400877bb
add rdx, 2
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.14006d870
mov rbx, qword [rsp + 0x40]
cmp word [rbx], 0
jne 0x140087735
test rbp, rbp
je 0x140087700
mov dword [rsp + 0x30], 0x97
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x43c
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_PostMessageW]
nop
test sil, sil
je 0x1400876ef
and byte [0x14019c661], 0xfb
lea edx, [r15 + 4]
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x1400877bb
cmp word [rbx], 0
jne 0x140087735
test sil, sil
je 0x140087724
and byte [0x14019c661], 0xfb
mov edx, 4
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
jmp 0x1400877bb
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140081880
mov rbx, rax
mov dword [rsp + 0x30], 0x97
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
test sil, sil
je 0x1400877af
and byte [0x14019c661], 0xfb
mov edx, 4
lea rcx, str.SeDebugPrivilege
call fcn.14002e788
nop
lea rcx, [rsp + 0x40]
call fcn.14005b520
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret