Function at 0x140018910
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 [0x1401543b0]
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_2_1.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
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x68]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140039894
lea rcx, [rsp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140039894
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
test rax, rax
je 0x1400398a1
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xc0], eax
mov ebx, dword [rsp + 0xc8]
cmp ebx, 0xff
jne 0x140018abb
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0xb4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x1400398ad
cmp byte [rsp + 0x1a3], sil
je 0x140018b06
lea rbx, [rsp + 0x128]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140039930
add rbx, 8
sub rdi, 1
jne 0x140018af0
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rbx, [0x1400e53a0]
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_2_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14003993e
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
jne 0x1400399c7
mov qword [rsp + 0x80], 0xffffffffffffffff
lea r8, [rsp + 0x80]
xor edx, edx
mov cl, 1
call fcn.1400172f0
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
test al, al
je 0x1400399d3
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_CheckTokenMembership]
test eax, eax
je 0x1400399da
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140018be6
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_FreeSid]
cmp dword [rsp + 0x98], 0
jl 0x140039a71
cmp dword [rsp + 0x60], 0
je 0x140018d8f
mov r14b, 1
lea rax, str.TRUE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x90]
call fcn.1400035a0
nop
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
je 0x140018c49
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rax, [0x1400e53a8]
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_1.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0xd0], rsi
inc rbx
cmp rbx, 4
jl 0x140018c64
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.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 edi, r9d
sub edi, 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 0x140018d13
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x98]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], edi
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.1400035a0
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
movzx eax, r14b
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14001ff30
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
xor r14b, r14b
lea rax, str.FALSE
jmp 0x140018c09
mov rax, qword [rsp + 0xf0]
jmp 0x140018a92
mov dword [rsp + 0xc0], esi
jmp 0x140018aa7
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140018ad0
lea rcx, [rsp + 0x90]
call fcn.1400ba0d8
cmp dword [rsp + 0x90], esi
je 0x140018ad0
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 0x140018ad0
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x140018afc
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_1.dll_GetLastError]
test eax, eax
jle 0x1400399a7
movzx eax, ax
or eax, 0x80070000
lea r9, [0x140109570]
mov r8d, eax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400b8a0c
nop
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
jmp 0x140018b91
xor ecx, ecx
jmp 0x140018bc8
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_1.dll_GetLastError]
test eax, eax
jle 0x140039a43
movzx eax, ax
or eax, 0x80070000
lea r9, [0x140122f18]
mov r8d, eax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400b8a0c
nop
lea rbx, [0x1400e53a0]
xor esi, esi
jmp 0x140018bd6
lea rcx, [rsp + 0x90]
call fcn.1400b7e04
int3