Function at 0x140017b30
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xd0]
call fcn.1400198c0
test rax, rax
jbe 0x140017b61
xor eax, eax
jmp 0x140017e33
call qword [0x140067ce8]
mov dword [rsp + 0x28], eax
call qword [0x140067cf0]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, qword [rsp + 0x20]
call qword [0x140067c98]
test eax, eax
jne 0x140017ba0
xor eax, eax
jmp 0x140017e33
mov r8d, 1
lea rdx, str.SeDebugPrivilege
mov rcx, qword [rsp + 0x30]
call fcn.1400177b0
test eax, eax
jne 0x140017bcd
mov rcx, qword [rsp + 0x30]
call qword [0x140067cf8]
xor eax, eax
jmp 0x140017e33
mov rcx, qword [rsp + 0x30]
call qword [0x140067cf8]
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x38], 0
xor eax, eax
cmp eax, 1
je 0x140017d66
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x38], 0
xor edx, edx
mov ecx, 4
call qword [0x140067d00]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140017d57
mov dword [rsp + 0x40], 0x1c
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call qword [0x140067d08]
cmp eax, 1
jne 0x140017d38
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x4c], eax
je 0x140017c51
jmp 0x140017cfd
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x48], eax
jne 0x140017c60
jmp 0x140017cfd
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
call fcn.140017e50
cmp eax, 1
jne 0x140017c7b
jmp 0x140017cfd
mov r8d, dword [rsp + 0x48]
mov edx, 1
mov ecx, 0x1fffff
call qword [0x140067d10]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140017ca7
mov dword [rsp + 0x38], 1
jmp 0x140017cfd
mov rcx, qword [rsp + 0x70]
call qword [0x140067d18]
cmp eax, 0xffffffff
jne 0x140017ccc
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x70]
call qword [0x140067cf8]
jmp 0x140017cfd
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xd0]
call fcn.1400198e0
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
jmp 0x140017d01
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call qword [0x140067d28]
test eax, eax
jne 0x140017c42
mov rcx, qword [rsp + 0x68]
call qword [0x140067cf8]
mov qword [rsp + 0x68], 0xffffffffffffffff
cmp dword [rsp + 0x64], 0
jne 0x140017d36
jmp 0x140017d66
jmp 0x140017d42
mov dword [rsp + 0x38], 1
jmp 0x140017d66
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140017d55
mov rcx, qword [rsp + 0x68]
call qword [0x140067cf8]
jmp 0x140017d61
mov dword [rsp + 0x38], 1
jmp 0x140017d66
jmp 0x140017be8
cmp dword [rsp + 0x38], 0
je 0x140017e2e
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xd0]
call fcn.140019860
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xd0]
call fcn.140019890
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140019b60
movzx eax, al
test eax, eax
je 0x140017e1d
lea rcx, [rsp + 0x90]
call fcn.140019b20
mov rcx, qword [rax + 8]
call qword [0x140067d20]
lea rcx, [rsp + 0x90]
call fcn.140019b20
mov rcx, qword [rax + 8]
call qword [0x140067cf8]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xd0]
call fcn.140019a30
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x140017d86
mov rcx, qword [rsp + 0xd0]
call fcn.140019ac0
xor eax, eax
jmp 0x140017e33
mov eax, 1
add rsp, 0xc8
ret