Function at 0x140032c40
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 [0x140098280]
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 0x140032eb4
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140032eb4
call fcn.140012c50
test al, al
jne 0x140032eb4
call fcn.140013040
test al, al
jne 0x140032eb4
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 0x140032d30
mov rdx, qword [rsp + 0x60]
lea r8, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140032d25
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 [0x14009bd00]
jne 0x140032ebb
mov qword [rsp + 0x138], rsi
test rcx, rcx
je 0x140032d62
xor r9d, r9d
mov edx, 0x402
mov r8d, 0x19
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x64
lea r8, [0x14009bc30]
mov edx, 0x67
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rsi, [0x14009b910]
mov r9d, 0x64
mov r8, rsi
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [0x140033900]
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.140032f20
mov rsi, qword [rsp + 0x138]
test eax, eax
je 0x140032ef4
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 0x140032eaf
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 0x140032e99
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 0x140032e70
mov eax, dword [rbp - 0x30]
jmp 0x140032ef6
mov rcx, qword [0x14009bd00]
test rcx, rcx
je 0x140032eec
xor r9d, r9d
mov r8d, 0x64
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14009bd00]
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.1400529d0
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r14
pop rdi
pop rbp
ret