Function at 0x1400220b0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140085040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov ecx, pe_nt_image_headers64
call fcn.140036bf8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
call fcn.1400349c0
nop
lea rcx, [rdi + 0xa8]
call fcn.1400322b0
nop
mov qword [rdi + 0x188], r14
mov dword [rdi + 0x144], 0x4cbebc20
mov dword [rdi + 0x134], 0x4cbebc20
mov dword [rdi + 0x130], 0x4cbebc20
mov dword [rdi + 0x12c], 0x4cbebc20
mov dword [rdi + 0x128], 0x4cbebc20
mov dword [rdi + 0x124], 0x4cbebc20
mov dword [rdi + 0x120], 0x4cbebc20
mov dword [rdi + 0x140], 0x4cbebc20
mov dword [rdi + 0x13c], 0x4cbebc20
mov dword [rdi + 0x138], 0x4cbebc20
mov qword [rdi + 0x160], r14
mov qword [rdi + 0x158], r14
mov qword [rdi + 0x150], r14
mov qword [rdi + 0x148], r14
mov qword [rdi + 0x180], r14
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x170], r14
mov qword [rdi + 0x168], r14
lea rcx, [rdi + 0x190]
call fcn.1400218a0
nop
lea rcx, [rdi + 0x1c8]
call fcn.140036450
nop
mov dword [rdi + 0x270], 0xffffffff
lea rsi, [rdi + 0x278]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
lea rbx, [rdi + 0x298]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
movups xmmword [rdi + 0x2b8], xmm0
mov qword [rdi + 0x2c8], r14
mov qword [rdi + 0x2d0], 7
mov word [rdi + 0x2b8], r14w
movups xmmword [rdi + 0x2d8], xmm0
mov qword [rdi + 0x2e8], r14
mov qword [rdi + 0x2f0], 7
mov word [rdi + 0x2d8], r14w
cmp qword [rsi + 0x18], 7
jb 0x14002228b
mov rbp, rsi
jbe 0x140022267
mov rbp, qword [rsi]
mov qword [rsi + 0x10], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NMS.exe
mov rcx, rbp
call fcn.14005d9c0
mov word [rbp + 0xe], r14w
jmp 0x1400222a5
lea r9, str.NMS.exe
movzx r8d, byte [rsp + 0x30]
mov edx, 7
mov rcx, rsi
call fcn.140001d30
cmp rbx, rsi
je 0x1400222fb
mov rdx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x1400222b8
mov rsi, qword [rsi]
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x1400222ea
mov rbp, rbx
cmp rax, 7
jbe 0x1400222cd
mov rbp, qword [rbx]
mov qword [rbx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14005d9c0
mov word [rbx + rbp], r14w
jmp 0x1400222fb
mov r9, rsi
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
call fcn.140001d30
mov qword [rsp + 0x38], r14
mov rbx, qword [0x140086738]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
mov edx, 0x28
call rbx
test eax, eax
je 0x140022388
mov rax, qword [0x140086740]
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
test eax, eax
je 0x14002237d
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [0x140086748]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x2d8]
cmp qword [rcx + 0x18], 7
jb 0x1400223c2
mov rbx, rcx
jbe 0x14002239e
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NOT_SET
mov rcx, rbx
call fcn.14005d9c0
mov word [rbx + 0xe], r14w
jmp 0x1400223d9
lea r9, str.NOT_SET
movzx r8d, byte [rsp + 0x30]
mov edx, 7
call fcn.140001d30
lea rcx, [rdi + 0x10]
lea r8, [rdi + 0x298]
lea rdx, [rdi + 0x278]
call fcn.1400359f0
lea rcx, [rdi + 0xa8]
lea rdx, [rdi + 0x10]
call fcn.140034680
lea rcx, [rdi + 0xa8]
mov qword [rdi + 0x188], rcx
lea rcx, [rdi + 0x1c8]
lea rdx, [rdi + 0xa8]
call fcn.140036440
nop
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140036d50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret