Function at 0x140023400
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14007e080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov ecx, pe_nt_image_headers64
call fcn.14003787c
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], ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbp
lea edx, [rbp + 2]
call fcn.140036eec
nop
lea rcx, [rdi + 0x60]
call fcn.140033ba0
nop
lea rcx, [rdi + 0xf8]
call fcn.140031360
nop
mov qword [rdi + 0x1d8], rbp
mov dword [rdi + 0x194], 0x4cbebc20
mov dword [rdi + 0x184], 0x4cbebc20
mov dword [rdi + 0x180], 0x4cbebc20
mov dword [rdi + 0x17c], 0x4cbebc20
mov dword [rdi + 0x178], 0x4cbebc20
mov dword [rdi + 0x174], 0x4cbebc20
mov dword [rdi + 0x170], 0x4cbebc20
mov dword [rdi + 0x190], 0x4cbebc20
mov dword [rdi + 0x18c], 0x4cbebc20
mov dword [rdi + 0x188], 0x4cbebc20
mov qword [rdi + 0x1b0], rbp
mov qword [rdi + 0x1a8], rbp
mov qword [rdi + 0x1a0], rbp
mov qword [rdi + 0x198], rbp
mov qword [rdi + 0x1d0], rbp
mov qword [rdi + 0x1c8], rbp
mov qword [rdi + 0x1c0], rbp
mov qword [rdi + 0x1b8], rbp
lea rcx, [rdi + 0x1e0]
call fcn.140022300
nop
lea rcx, [rdi + 0x218]
call fcn.1400356b0
nop
mov dword [rdi + 0x2c0], 0xffffffff
lea rsi, [rdi + 0x2c8]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
lea r14, [rdi + 0x2e8]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], 7
mov word [r14], bp
movups xmmword [rdi + 0x308], xmm0
mov qword [rdi + 0x318], rbp
mov qword [rdi + 0x320], 7
mov word [rdi + 0x308], bp
movups xmmword [rdi + 0x328], xmm0
mov qword [rdi + 0x338], rbp
mov qword [rdi + 0x340], 7
mov word [rdi + 0x328], bp
mov dword [rdi + 0x348], ebp
cmp qword [rsi + 0x18], 0x15
jb 0x140023600
mov rbx, qword [rsi]
mov qword [rsi + 0x10], SafeArrayUnaccessData
lea r8d, [rbp + 0x2a]
lea rdx, str.AT_Win64_Shipping.exe
mov rcx, rbx
call fcn.14005a810
mov word [rbx + 0x2a], bp
jmp 0x140023616
lea r9, str.AT_Win64_Shipping.exe
xor r8d, r8d
lea edx, [r8 + 0x15]
mov rcx, rsi
call fcn.140001370
cmp r14, rsi
je 0x140023668
mov r9, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140023628
mov r9, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov rax, qword [r14 + 0x18]
cmp rdx, rax
ja 0x14002365d
mov rsi, r14
cmp rax, 7
jbe 0x140023641
mov rsi, qword [r14]
mov qword [r14 + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14005a810
mov word [rbx + rsi], bp
jmp 0x140023668
xor r8d, r8d
mov rcx, r14
call fcn.140001370
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call qword [0x14007f768]
test eax, eax
je 0x1400236ef
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [0x14007f770]
test eax, eax
je 0x1400236e4
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov r9d, 0x10
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [0x14007f778]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x328]
cmp qword [rcx + 0x18], 7
jb 0x140023728
mov rbx, rcx
jbe 0x140023705
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 7
mov r8d, SafeArrayDestroy
lea rdx, str.NOT_SET
mov rcx, rbx
call fcn.14005a810
mov word [rbx + 0xe], bp
jmp 0x14002373b
lea r9, str.NOT_SET
xor r8d, r8d
lea edx, [r8 + 7]
call fcn.140001370
lea r8, [rdi + 0x2e8]
lea rdx, [rdi + 0x2c8]
lea rcx, [rdi + 0x60]
call fcn.140034c60
lea rdx, [rdi + 0x60]
lea rcx, [rdi + 0xf8]
call fcn.140033870
lea rcx, [rdi + 0xf8]
mov qword [rdi + 0x1d8], rcx
lea rdx, [rdi + 0xf8]
lea rcx, [rdi + 0x218]
call fcn.1400356a0
nop
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400379d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret