Function at 0x14003a0a0
Capabilities:
Check for debugger via api
Get token membership

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400ac2c0]
xor rax, rsp
mov qword [rbp + 8], rax
xor r14d, r14d
mov edi, r9d
mov dword [rbp - 0x10], r14d
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp - 0x10], r14d
jne 0x14003a314
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14003a314
call fcn.1400165d0
test al, al
jne 0x14003a314
call fcn.1400169c0
test al, al
jne 0x14003a314
lea rax, [rsp + 0x60]
mov dword [rbp - 0x10], r14d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0xc]
mov dword [rsp + 0x48], r14d
mov r9d, 0x220
mov dword [rsp + 0x40], r14d
mov r8d, 0x20
mov dword [rsp + 0x38], r14d
mov dl, 2
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x60], r14
mov dword [rbp - 0xc], r14d
mov word [rbp - 8], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14003a190
mov rdx, qword [rsp + 0x60]
lea r8, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x14003a185
mov dword [rbp - 0x10], r14d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x10], 1
mov rcx, qword [0x1400afde0]
jne 0x14003a31b
mov qword [rsp + 0x138], rsi
test rcx, rcx
je 0x14003a1c2
xor r9d, r9d
mov edx, 0x402
mov r8d, 0x19
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x64
lea r8, [0x1400afd10]
mov edx, 0x67
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rsi, [0x1400af9f0]
mov r9d, 0x64
mov r8, rsi
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x14003ad70]
mov dword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov dword [rsp + 0x74], 3
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rbx
call qword [sym.imp.USER32.dll_LoadCursorW]
xor ecx, ecx
mov qword [rbp - 0x68], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, 2
mov qword [rbp - 0x58], r14
mov rcx, rbx
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x50], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x6c
mov rcx, rbx
mov qword [rbp - 0x70], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, edi
mov rcx, rbx
call fcn.14003a380
mov rsi, qword [rsp + 0x138]
test eax, eax
je 0x14003a354
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
lea rcx, [rbp]
mov dword [rbp], 8
mov rbx, rax
mov dword [rbp + 4], 1
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14003a30f
nop dword [rax]
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14003a2f9
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14003a2d0
mov eax, dword [rbp - 0x30]
jmp 0x14003a356
mov rcx, qword [0x1400afde0]
test rcx, rcx
je 0x14003a34c
xor r9d, r9d
mov r8d, 0x64
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1400afde0]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140062690
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r14
pop rdi
pop rbp
ret