Function at 0x14000bb10
Capabilities:
Check for time delay via queryperformancecounter
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov byte [rbp - 0x40], 0
lea rax, str.dll_dirs_F67BB3AD_7B5E_4C2D_A22B_747BC163AB78
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bb8c
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000bb8c
mov ecx, 0x1000
call qword [case.0x14001cf03.0]
lea rcx, [rbp + 0x60]
call fcn.14000b2c0
xor esi, esi
cmp byte [rax + 0x20], sil
je 0x14000bbd5
cmp byte [rbp - 0x40], sil
je 0x14000bbb1
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000e1c0
jmp 0x14000bc2f
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov byte [rbp - 0x40], 1
jmp 0x14000bc2f
cmp byte [rbp - 0x40], sil
je 0x14000bc2f
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000bc1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bc19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ef00
movdqa xmm0, xmmword [0x140024ef0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
lea rcx, [rbp + 0x60]
call fcn.14000d140
call fcn.14000b900
mov byte [rbp + 0x28], sil
cmp byte [rax + 0x20], sil
je 0x14000bc66
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14000e260
mov byte [rbp + 0x28], 1
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x30]
call fcn.14000aa90
jmp 0x14000bc6a
mov byte [rbp + 0x50], sil
lea rcx, [rbp + 8]
call fcn.14000d140
lea rcx, [rbp + 0x30]
call fcn.14000b980
mov byte [rbp + 0x58], al
test al, al
jne 0x14000bc8d
mov edi, 8
jmp 0x14000c10e
call fcn.14000b900
mov byte [rbp], sil
cmp byte [rax + 0x20], sil
je 0x14000c100
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000e260
mov byte [rbp], 1
lea rcx, [0x140022c1c]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
lea rcx, [rsp + 0x70]
call fcn.140008220
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14000bde7
lea rdx, str.bd::process_broker::client::this_process_should_be_started_by_broker
lea rcx, [rbp + 0x1d0]
call fcn.140005290
call fcn.1400083f0
test al, al
jne 0x14000bd19
lea rcx, [rbp + 0x1d0]
call fcn.1400053a0
xor dil, dil
jmp 0x14000bdd8
mov dword [rbp + 0x88], 0
mov word [rbp + 0x8c], 0x500
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000bdb8
mov dword [rsp + 0x60], esi
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rsp + 0x60]
test eax, eax
cmove ecx, esi
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
jne 0x14000bdb8
lea rcx, [rbp + 0x1d0]
call fcn.1400053a0
xor dil, dil
jmp 0x14000bdd8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.140007de0
test al, al
sete dil
lea rcx, [rbp + 0x1d0]
call fcn.1400053a0
nop
test dil, dil
je 0x14000bde7
mov edi, 8
jmp 0x14000c0e4
lea rcx, [rbp + 0x130]
call fcn.1400088a0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140004670
lea rcx, [rbp + 0x188]
call fcn.140004ec0
lea rcx, [rbp + 0x170]
call fcn.14000f150
lea rcx, [rbp + 0x158]
call fcn.14000f1e0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x14000be6a
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ef00
mov byte [rbp + 0x130], 0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
lea rcx, [rsp + 0x78]
call fcn.14001d230
mov edi, eax
test eax, eax
jne 0x14000bffe
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x78]
call fcn.14001d860
mov edi, eax
lea rcx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000bee9
mov qword [rbp - 0x68], rsi
mov edx, 0x10
call fcn.14001ef00
mov qword [rbp - 0x70], rsi
mov qword [rbp + 0xa0], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], 0xf
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
lfence
mov ecx, 0x10
call fcn.14001ef3c
mov qword [rax + 8], rsi
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
mov qword [rax], rcx
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xe0]
call fcn.1400031c0
nop
lea rcx, [rbp + 0x90]
call fcn.140003310
lea rcx, [rbp + 0xb8]
call fcn.14000ef80
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0xb8], rsi
mov edx, 0x10
call fcn.14001ef00
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x14000bfce
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bfc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bfc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ef00
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x14000bff9
call fcn.14000f0c0
nop
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000c027
mov rax, rcx
mov rcx, rsi
mov qword [rbp - 0x68], rcx
test rax, rax
je 0x14000c027
mov edx, 0x10
mov rcx, rax
call fcn.14001ef00
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x70], rsi
test rcx, rcx
je 0x14000c03a
mov edx, 0x10
call fcn.14001ef00
lea rcx, [rsp + 0x78]
call fcn.14000d9f0
nop
lea rcx, [rbp + 0xe0]
call fcn.140003310
lea rcx, [rbp + 0x108]
call fcn.14000ef80
mov rcx, qword [rbp + 0x108]
mov qword [rbp + 0x108], rsi
mov edx, 0x10
call fcn.14001ef00
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x14000c0b9
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ef00
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 0xf
mov byte [rbp + 0xe8], 0
mov rdx, qword [rbp + 0xe0]
test rdx, rdx
je 0x14000c0e4
call fcn.14000f0c0
nop
test rbx, rbx
je 0x14000c105
mov rcx, rbx
call fcn.140003120
mov edx, 0x50
mov rcx, rbx
call fcn.14001ef00
jmp 0x14000c105
mov edi, 3
lea rcx, [rbp - 0x20]
call fcn.14000d140
cmp byte [rbp + 0x50], 0
je 0x14000c11d
lea rcx, [rbp + 0x30]
call fcn.14000b180
lea rcx, [rbp - 0x60]
call fcn.14000d140
mov eax, edi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.14001eee0
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret