Function at 0x14004e7c0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400eb3c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov ecx, 0x1e8
call fcn.140080ec0
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]
mov dword [rcx], esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rsi
lea edx, [rsi + 2]
call fcn.14007f2b8
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x40], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
lea ecx, [rsi + 0x48]
call fcn.140080ec0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
lea rcx, [rdi + 0x70]
call fcn.140058700
nop
lea rbp, [rdi + 0x128]
mov rcx, rbp
call fcn.1400566f0
nop
mov qword [rdi + 0x220], rsi
mov dword [rdi + 0x1dc], 0x4cbebc20
mov dword [rdi + 0x1cc], 0x4cbebc20
mov dword [rdi + 0x1c8], 0x4cbebc20
mov dword [rdi + 0x1c4], 0x4cbebc20
mov dword [rdi + 0x1c0], 0x4cbebc20
mov dword [rdi + 0x1bc], 0x4cbebc20
mov dword [rdi + 0x1b8], 0x4cbebc20
mov dword [rdi + 0x1d8], 0x4cbebc20
mov dword [rdi + 0x1d4], 0x4cbebc20
mov dword [rdi + 0x1d0], 0x4cbebc20
mov qword [rdi + 0x1f8], rsi
mov qword [rdi + 0x1f0], rsi
mov qword [rdi + 0x1e8], rsi
mov qword [rdi + 0x1e0], rsi
mov qword [rdi + 0x218], rsi
mov qword [rdi + 0x210], rsi
mov qword [rdi + 0x208], rsi
mov qword [rdi + 0x200], rsi
lea rcx, [rdi + 0x228]
call fcn.14004e660
nop
lea rcx, [rdi + 0x268]
call fcn.14005af80
nop
mov word [rdi + 0x310], 1
mov qword [rdi + 0x318], rsi
mov dword [rdi + 0x320], 0xffffffff
xorps xmm0, xmm0
movups xmmword [rdi + 0x328], xmm0
mov qword [rdi + 0x338], rsi
mov qword [rdi + 0x340], 7
mov word [rdi + 0x328], si
movups xmmword [rdi + 0x348], xmm0
mov qword [rdi + 0x358], rsi
mov qword [rdi + 0x360], 7
mov word [rdi + 0x348], si
movups xmmword [rdi + 0x368], xmm0
mov qword [rdi + 0x378], rsi
mov qword [rdi + 0x380], 7
mov word [rdi + 0x368], si
lea rsi, [rdi + 0x388]
movups xmmword [rsi], xmm0
lea r13, [rsi + 0x10]
xor ebx, ebx
mov qword [r13], rbx
mov qword [rsi + 0x18], 7
mov word [rsi], bx
movups xmmword [rdi + 0x3a8], xmm0
mov qword [rdi + 0x3b8], rbx
mov qword [rdi + 0x3c0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x3a8], bl
lea rcx, [rdi + 0x3c8]
call fcn.14002c010
nop
mov qword [0x1400edd60], rdi
mov rcx, rdi
call fcn.140069f70
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1400ed678]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
mov edx, 0x28
call rbx
test eax, eax
je 0x14004eaad
mov rax, qword [0x1400ed680]
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
xor ebx, ebx
test eax, eax
je 0x14004eaa0
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x54], rax
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x10]
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [0x1400ed688]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004eaaf
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rdi + 0x318], rax
cmp qword [rsi + 0x18], 7
jb 0x14004eaeb
jbe 0x14004eac8
mov rsi, qword [rsi]
mov qword [r13], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NOT_SET
mov rcx, rsi
call fcn.1400a8810
mov word [rsi + 0xe], bx
jmp 0x14004eb05
lea r9, str.NOT_SET
movzx r8d, byte [rsp + 0x30]
mov edx, 7
mov rcx, rsi
call fcn.140005ba0
lea r8, [rdi + 0x348]
lea rdx, [rdi + 0x328]
lea rcx, [rdi + 0x70]
call fcn.14005a1c0
lea rdx, [rdi + 0x70]
mov rcx, rbp
call fcn.1400583d0
mov qword [rdi + 0x220], rbp
mov rdx, rbp
lea rcx, [rdi + 0x268]
call fcn.14005af40
lea rcx, [rdi + 0x3f0]
mov rdx, rbp
call fcn.14005af40
nop
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081370
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret