Function at 0x140016370
Capabilities:
Check for time delay via gettickcount
Get token membership

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r14d, ecx
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [r11 - 0x108], r15
lea r12, str.IsInGroup
mov qword [r11 - 0x100], r12
lea r13, str.SECSECRC
mov qword [r11 - 0xf8], r13
mov dword [rsp + 0x118], 0xdb
mov dword [rsp + 0x11c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x120], 0xff
xor esi, esi
mov dword [r11 - 0x68], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [r11 - 0xe0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x98], esi
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x11c]
mov dword [rsp + 0xb4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x94], 0xffffffff
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0x90], esi
mov qword [rsp + 0xf0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xe0], xmm1
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14004dba2
lea rcx, [rsp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14004dba2
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
test rax, rax
je 0x14004dbaf
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xc0], eax
mov ebx, dword [rsp + 0xc8]
cmp ebx, 0xff
jne 0x140016513
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0xb4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14004dbbb
cmp byte [rsp + 0x1a3], sil
je 0x140016556
lea rbx, [rsp + 0x128]
mov edi, 0xf
nop
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14004dc3e
add rbx, 8
sub rdi, 1
jne 0x140016540
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rbx, [0x1400f83d0]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x1c8], 0
mov word [rsp + 0x1cc], 0x500
lea rax, [rsp + 0x70]
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, r14d
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x1c8]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14004dc4c
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
jne 0x14004dcd5
mov qword [rsp + 0x80], 0xffffffffffffffff
lea r8, [rsp + 0x80]
xor edx, edx
mov cl, 1
call fcn.14001b8c0
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
test al, al
je 0x14004dce1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
test eax, eax
je 0x14004dce8
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140016636
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
cmp dword [rsp + 0x98], 0
jl 0x14004dd7f
cmp dword [rsp + 0x60], 0
setne dil
lea rcx, str.FALSE
lea rax, str.TRUE
test dil, dil
cmove rax, rcx
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x90]
call fcn.14001d380
nop
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
je 0x1400166a2
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rax, [0x1400f8090]
mov qword [rsp + 0x78], rax
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0xd0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0xd0], rsi
inc rbx
cmp rbx, 4
jl 0x1400166bd
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0xc4]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov esi, r9d
sub esi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ebx, edx
shr ebx, 0x15
mov eax, 0x88888889
mul ebx
shr edx, 5
imul eax, edx, 0x3c
sub ebx, eax
mov r8d, dword [rsp + 0xc8]
cmp r8d, 0xff
jne 0x14001676c
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rsp + 0x90]
call fcn.14001d380
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
movzx eax, dil
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400321c0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0xf0]
jmp 0x1400164ea
mov dword [rsp + 0xc0], esi
jmp 0x1400164ff
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140016528
lea rcx, [rsp + 0x90]
call fcn.1400dde58
cmp dword [rsp + 0x90], esi
je 0x140016528
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xc0]
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140016528
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x14001654c
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x110], r13
mov dword [rsp + 0x118], 0xf7
mov dword [rsp + 0x11c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x120], 0xff
mov dword [rsp + 0x1a0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x128]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x14004dcb5
movzx eax, ax
or eax, 0x80070000
lea r9, [0x14011e770]
mov r8d, eax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400dc9fc
nop
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
jmp 0x1400165e1
xor ecx, ecx
jmp 0x140016618
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x110], r13
mov dword [rsp + 0x118], 0x117
mov dword [rsp + 0x11c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x120], 0xff
mov dword [rsp + 0x1a0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x128]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x14004dd51
movzx eax, ax
or eax, 0x80070000
lea r9, [0x1401385f0]
mov r8d, eax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400dc9fc
nop
lea rbx, [0x1400f83d0]
xor esi, esi
jmp 0x140016626
lea rcx, [rsp + 0x90]
call fcn.1400dbdd0
int3