Function at 0x1400521f0
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 [0x1400eb380]
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, 0x1f8
call fcn.140086140
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.140084538
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.140086140
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.14005cb00
nop
lea rbp, [rdi + 0x128]
mov rcx, rbp
call fcn.14005a590
nop
mov qword [rdi + 0x230], rsi
mov dword [rdi + 0x1ec], 0x4cbebc20
mov dword [rdi + 0x1dc], 0x4cbebc20
mov dword [rdi + 0x1d8], 0x4cbebc20
mov dword [rdi + 0x1d4], 0x4cbebc20
mov dword [rdi + 0x1d0], 0x4cbebc20
mov dword [rdi + 0x1cc], 0x4cbebc20
mov dword [rdi + 0x1c8], 0x4cbebc20
mov dword [rdi + 0x1e8], 0x4cbebc20
mov dword [rdi + 0x1e4], 0x4cbebc20
mov dword [rdi + 0x1e0], 0x4cbebc20
mov qword [rdi + 0x208], rsi
mov qword [rdi + 0x200], rsi
mov qword [rdi + 0x1f8], rsi
mov qword [rdi + 0x1f0], rsi
mov qword [rdi + 0x228], rsi
mov qword [rdi + 0x220], rsi
mov qword [rdi + 0x218], rsi
mov qword [rdi + 0x210], rsi
lea rcx, [rdi + 0x238]
call fcn.140052090
nop
lea rcx, [rdi + 0x278]
call fcn.14005f470
nop
mov word [rdi + 0x320], 1
mov qword [rdi + 0x328], rsi
mov dword [rdi + 0x330], 0xffffffff
xorps xmm0, xmm0
movups xmmword [rdi + 0x338], xmm0
mov qword [rdi + 0x348], rsi
mov qword [rdi + 0x350], 7
mov word [rdi + 0x338], si
movups xmmword [rdi + 0x358], xmm0
mov qword [rdi + 0x368], rsi
mov qword [rdi + 0x370], 7
mov word [rdi + 0x358], si
movups xmmword [rdi + 0x378], xmm0
mov qword [rdi + 0x388], rsi
mov qword [rdi + 0x390], 7
mov word [rdi + 0x378], si
lea rsi, [rdi + 0x398]
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 + 0x3b8], xmm0
mov qword [rdi + 0x3c8], rbx
mov qword [rdi + 0x3d0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x3b8], bl
lea rcx, [rdi + 0x3d8]
call fcn.14002cc30
nop
mov qword [0x1400edd70], rdi
mov rcx, rdi
call fcn.14006f230
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x1400ed688]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
mov edx, 0x28
call rbx
test eax, eax
je 0x1400524dd
mov rax, qword [0x1400ed690]
lea r8, [rsp + 0x40]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rax
xor ebx, ebx
test eax, eax
je 0x1400524d0
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 [0x1400ed698]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400524df
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rdi + 0x328], rax
cmp qword [rsi + 0x18], 7
jb 0x14005251b
jbe 0x1400524f8
mov rsi, qword [rsi]
mov qword [r13], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NOT_SET
mov rcx, rsi
call fcn.1400adb50
mov word [rsi + 0xe], bx
jmp 0x140052535
lea r9, str.NOT_SET
movzx r8d, byte [rsp + 0x30]
mov edx, 7
mov rcx, rsi
call fcn.140004c30
lea r8, [rdi + 0x358]
lea rdx, [rdi + 0x338]
lea rcx, [rdi + 0x70]
call fcn.14005e6e0
lea rdx, [rdi + 0x70]
mov rcx, rbp
call fcn.14005c7d0
mov qword [rdi + 0x230], rbp
mov rdx, rbp
lea rcx, [rdi + 0x278]
call fcn.14005f460
mov rdx, rbp
lea rcx, [rdi + 0x3d8]
call fcn.1400328c0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400865f0
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