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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x140156408]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov r14d, ecx
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [r11 - 0xf8], r15
lea r12, str.IsInGroup
mov qword [r11 - 0xf0], r12
lea r13, str.SECSECRC
mov qword [r11 - 0xe8], r13
mov dword [rsp + 0x118], 0xdd
mov dword [rsp + 0x11c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x120], 0xff
xor esi, esi
mov dword [r11 - 0x58], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [r11 - 0xd0]
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]
nop dword [rax + rax]
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]
nop dword [rax + rax]
test eax, eax
js 0x1400258fa
lea rcx, [rsp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x1400258fa
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xf0], rax
test rax, rax
je 0x140025907
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xc0], eax
mov ebx, dword [rsp + 0xc8]
cmp ebx, 0xff
jne 0x140012afd
mov ebx, 0xa0
mov edi, dword [rsp + 0xb4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140025913
cmp byte [rsp + 0x1a3], sil
je 0x140012b46
lea rbx, [rsp + 0x128]
mov edi, 0xf
nop
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400259a2
add rbx, 8
sub rdi, 1
jne 0x140012b30
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rbx, [0x1400f91e0]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x1c0], 0
mov word [rsp + 0x1c4], 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 + 0x1c0]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x1400259b6
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
jne 0x140025a48
mov qword [rsp + 0x80], 0xffffffffffffffff
lea r8, [rsp + 0x80]
xor edx, edx
mov cl, 1
call fcn.1400053f0
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
test al, al
je 0x140025a5a
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x140025a61
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140012c38
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
nop dword [rax + rax]
cmp dword [rsp + 0x98], 0
jl 0x140025b01
cmp dword [rsp + 0x60], 0
je 0x140025b0f
mov dil, 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.14000a3f0
nop
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x80]
cmp rcx, 0xffffffffffffffff
je 0x140012ca1
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x80], 0xffffffffffffffff
lea rax, [0x1400f91d0]
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]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0xd0], rsi
inc rbx
cmp rbx, 4
jl 0x140012cbc
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
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 0x140012d77
mov r8d, 0xa0
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.14000a3f0
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
movzx eax, dil
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400161f0
lea r11, [rsp + 0x1d0]
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 0x140012ad4
mov dword [rsp + 0xc0], esi
jmp 0x140012ae9
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140012b18
lea rcx, [rsp + 0x90]
call fcn.1400c73b0
cmp dword [rsp + 0x90], esi
je 0x140012b18
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 dword [rax + rax]
nop
jmp 0x140012b18
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x140012b3c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1400259d1
movzx ebx, ax
or ebx, 0x80070000
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x110], r13
mov dword [rsp + 0x118], 0xf9
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
lea r9, [0x1401182c0]
mov r8d, ebx
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400c5d34
nop
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
jmp 0x140012bd7
xor ecx, ecx
jmp 0x140012c0e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140025a7c
movzx ebx, ax
or ebx, 0x80070000
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x110], r13
mov dword [rsp + 0x118], 0x119
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
lea r9, [0x140132f28]
mov r8d, ebx
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x90]
call fcn.1400c5d34
nop
lea rbx, [0x1400f91e0]
xor esi, esi
jmp 0x140012c22
lea rcx, [rsp + 0x90]
call fcn.1400c5030
int3
xor dil, dil
lea rax, str.FALSE
jmp 0x140012c5b