Function at 0x140001eb0
Capabilities:
Acquire debug privileges
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rbp - 8], rax
xor r15d, r15d
lea rax, str.SeImpersonatePrivilege
lea r14, str.SeDebugPrivilege
mov qword [rbp - 0x18], r15
mov ebx, r15d
mov dword [rbp - 0x30], r15d
mov dword [rbp - 0x10], r15d
mov r12d, r15d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x18]
lea edx, [r15 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140001f29
lea ebx, [rax + 1]
jmp 0x140001f69
mov edi, r15d
lea rsi, [rbp - 0x28]
mov rdx, qword [rsi]
xor r8d, r8d
mov rcx, qword [rbp - 0x18]
call fcn.140004140
test eax, eax
jne 0x140001f54
inc ebx
lea rcx, str.____A_privilege_is_missing:__ws_n
mov rdx, r14
call fcn.140001010
inc edi
add rsi, 8
cmp edi, 2
jb 0x140001f30
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x30]
call fcn.140002350
cmp dword [rbp - 0x30], r12d
jne 0x14000208e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov qword [rbp - 0x28], r15
mov r8d, eax
mov dword [rbp - 0x30], r15d
mov ecx, 0x400
mov r14d, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000204c
lea r8, [rbp - 0x28]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000204c
mov r9d, dword [rbp - 0x30]
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x19]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000204c
mov edx, dword [rbp - 0x30]
lea ecx, [rax - 0x3a]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x14000204c
mov r9d, dword [rbp - 0x30]
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
mov r8, rdi
mov edx, 0x19
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140002043
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov rcx, qword [rdi]
movzx edx, byte [rax]
dec edx
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov r14d, 1
mov r12d, dword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000205b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140002069
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140002077
lea rcx, str.____Failed_to_get_process_integrity_level_n
jmp 0x140002087
cmp r12d, 0x3000
jae 0x14000208e
lea rcx, str.____Insufficient_process_integrity_level_n
inc ebx
call fcn.140001010
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140001130
test al, al
jne 0x1400020ad
inc ebx
lea rcx, str.____This_version_of_Windows_is_not_supported_n
call fcn.140001010
mov rcx, qword [0x14000b680]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400020d4
mov rdx, qword [0x14000b680]
lea rcx, str.____The_target_dump_file__ws_already_exists_n
inc ebx
call fcn.140001010
mov rcx, qword [0x14000b690]
test rcx, rcx
je 0x1400020f4
lea rdx, [rbp - 0x10]
call fcn.140003da0
mov esi, dword [rbp - 0x10]
test eax, eax
jne 0x140002102
inc ebx
jmp 0x140002102
mov esi, dword [0x14000b67c]
test esi, esi
je 0x14000231b
test esi, esi
je 0x14000231b
mov r8d, esi
mov dword [rbp - 0x10], r15d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140002145
lea rcx, [0x1400081d8]
call fcn.1400038f0
mov edx, esi
lea rcx, str.____Failed_to_get_the_protection_level_of_process_with_PID__d_n
call fcn.140001010
jmp 0x14000231d
mov r9d, 4
lea r8, [rbp - 0x10]
mov rcx, rdi
lea edx, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_GetProcessInformation]
test eax, eax
jne 0x140002188
lea rcx, [0x1400081f0]
call fcn.1400038f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, esi
lea rcx, str.____Failed_to_get_the_protection_level_of_process_with_PID__d_n
call fcn.140001010
jmp 0x14000231d
mov r14d, dword [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
mov dword [rbp - 0x10], r15d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
jne 0x1400021c5
lea rcx, [0x1400081d8]
call fcn.1400038f0
xor r8d, r8d
jmp 0x1400022eb
mov r9d, 4
lea r8, [rbp - 0x10]
mov rcx, r12
lea edx, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_GetProcessInformation]
test eax, eax
jne 0x1400021fd
lea rcx, [0x1400081f0]
call fcn.1400038f0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
jmp 0x1400022eb
mov edi, dword [rbp - 0x10]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x80
lea ecx, [rdx - 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r12, rax
test rax, rax
je 0x1400022e8
cmp edi, 5
ja 0x140002278
je 0x14000226f
test edi, edi
je 0x140002266
sub edi, 1
je 0x14000225d
sub edi, 1
je 0x140002254
sub edi, 1
je 0x14000224b
cmp edi, 1
jne 0x14000228c
lea r9, str.PsProtectedSignerLsa_Light
jmp 0x1400022b7
lea r9, str.PsProtectedSignerAntimalware_Light
jmp 0x1400022b7
lea r9, str.PsProtectedSignerWindows_Light
jmp 0x1400022b7
lea r9, str.PsProtectedSignerWindows
jmp 0x1400022b7
lea r9, str.PsProtectedSignerWinTcb_Light
jmp 0x1400022b7
lea r9, str.PsProtectedSignerWinTcb
jmp 0x1400022b7
cmp edi, 6
je 0x1400022b0
cmp edi, 7
je 0x1400022a7
cmp edi, 8
je 0x14000229e
cmp edi, 0xfffffffe
je 0x140002295
lea r9, str.Unknown
jmp 0x1400022b7
lea r9, str.None
jmp 0x1400022b7
lea r9, str.PsProtectedSignerPplApp
jmp 0x1400022b7
lea r9, str.PsProtectedSignerAuthenticode
jmp 0x1400022b7
lea r9, str.PsProtectedSignerCodegen_Light
lea r8, [0x140007518]
mov edx, 0x40
mov rcx, r12
call fcn.140001070
mov r8, r12
lea rcx, str.Target_process_protection_level:__d____ws_n
mov edx, r14d
call fcn.140003c10
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400022fa
mov r8, r12
mov edx, r14d
lea rcx, str.Target_process_protection_level:__d____ws_n
call fcn.140003c10
cmp r14d, 8
ja 0x14000230b
mov eax, 0x15d
bt eax, r14d
jb 0x14000231d
mov edx, esi
lea rcx, str.____Process_with_ID__d_is_not_a_PPL_n
call fcn.140001010
jmp 0x14000231d
inc ebx
test ebx, ebx
sete r15b
mov eax, r15d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400043a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret