Function at 0x140019330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15d, r8d
mov r12, rdx
mov r14, rcx
lea rsi, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x58], rsi
lea rax, str.CVssSidCollection::AddSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5ae
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
xor r13d, r13d
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov dword [rbp + 8], r13d
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x18], rax
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x20], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp + 0x24], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rbp + 0x34], eax
mov dword [rbp + 4], 0xffffffff
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x38], eax
mov dword [rbp], r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x70], r13
lea rcx, [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140039b46
lea rcx, [rbp]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140039b46
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x140039b4f
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x30], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x38], 0xff
cmovne ebx, dword [rbp + 0x38]
mov edi, dword [rbp + 0x24]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140039b58
cmp byte [rbp - 5], r13b
je 0x1400194b6
lea rbx, [rbp - 0x80]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140039bbc
add rbx, 8
sub rdi, 1
jne 0x1400194a0
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_IsValidSid]
test eax, eax
je 0x140039bca
mov ebx, dword [rbp + 0x24]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140039c31
lea rdi, str.CVssSidCollection::AddSid
test r15d, r15d
je 0x140039d02
lea eax, [r15 - 2]
cmp eax, 1
ja 0x14001963b
mov rdi, qword [r14 + 0x40]
mov dword [rbp + 0x94], r13d
test rdi, rdi
je 0x14001951f
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetLengthSid]
mov ebx, dword [rbp + 0x94]
add ebx, 0x10
add ebx, eax
movsxd rcx, ebx
lea rdx, [0x14015452c]
call fcn.14002016c
mov rsi, rax
test rax, rax
je 0x140039e5c
mov r8d, 2
mov edx, ebx
mov rcx, rax
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_InitializeAcl]
test eax, eax
je 0x140039e66
test rdi, rdi
je 0x1400195e4
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
test eax, eax
je 0x140039e7c
mov ebx, r13d
cmp dword [rbp + 0x80], r13d
jbe 0x1400195e4
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAce]
test eax, eax
je 0x140039e8a
mov r9, qword [rsp + 0x50]
movzx eax, word [r9 + 2]
mov dword [rsp + 0x20], eax
or r8d, 0xffffffff
mov edx, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAce]
test eax, eax
je 0x140039e7c
inc ebx
cmp ebx, dword [rbp + 0x80]
jb 0x14001959a
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAccessAllowedAceEx]
test eax, eax
je 0x140039eb1
mov qword [r14 + 0x40], rsi
test rdi, rdi
je 0x140019618
mov rcx, rdi
call fcn.14001fa98
mov ebx, r13d
xor r9d, r9d
mov r8, qword [r14 + 0x40]
lea edx, [r9 + 1]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_SetSecurityDescriptorDacl]
mov dword [rbp + 8], ebx
test ebx, ebx
js 0x140039edb
lea eax, [r15 - 1]
test eax, 0xfffffffd
jne 0x140019790
mov rdi, qword [r14 + 0x20]
mov dword [rbp + 0x84], r13d
test rdi, rdi
je 0x140019674
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetLengthSid]
mov ebx, dword [rbp + 0x84]
add ebx, 0x10
add ebx, eax
movsxd rcx, ebx
lea rdx, [0x14015452c]
call fcn.14002016c
mov rsi, rax
test rax, rax
je 0x140039f46
mov r8d, 2
mov edx, ebx
mov rcx, rax
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_InitializeAcl]
test eax, eax
je 0x140039f50
test rdi, rdi
je 0x140019739
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
test eax, eax
je 0x140039f66
mov ebx, r13d
cmp dword [rbp + 0x90], r13d
jbe 0x140019739
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAce]
test eax, eax
je 0x140039f74
mov r9, qword [rsp + 0x50]
movzx eax, word [r9 + 2]
mov dword [rsp + 0x20], eax
or r8d, 0xffffffff
mov edx, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAce]
test eax, eax
je 0x140039f66
inc ebx
cmp ebx, dword [rbp + 0x90]
jb 0x1400196ef
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAccessAllowedAceEx]
test eax, eax
je 0x140039f9b
mov qword [r14 + 0x20], rsi
test rdi, rdi
je 0x14001976d
mov rcx, rdi
call fcn.14001fa98
mov ebx, r13d
xor r9d, r9d
mov r8, qword [r14 + 0x20]
lea edx, [r9 + 1]
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_SetSecurityDescriptorDacl]
mov dword [rbp + 8], ebx
test ebx, ebx
js 0x140039fc5
mov rdi, qword [r14 + 0x60]
mov dword [rbp + 0x84], r13d
test rdi, rdi
je 0x1400197ba
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetLengthSid]
mov ebx, dword [rbp + 0x84]
add ebx, 0x10
add ebx, eax
movsxd rcx, ebx
lea rdx, [0x14015452c]
call fcn.14002016c
mov rsi, rax
test rax, rax
je 0x14003a030
mov r8d, 2
mov edx, ebx
mov rcx, rax
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_InitializeAcl]
test eax, eax
je 0x14003a03a
test rdi, rdi
je 0x14001987f
mov r9d, 2
lea r8d, [r9 + 0xa]
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAclInformation]
test eax, eax
je 0x14003a050
mov ebx, r13d
cmp dword [rbp + 0x90], r13d
jbe 0x14001987f
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetAce]
test eax, eax
je 0x14003a05e
mov r9, qword [rsp + 0x50]
movzx eax, word [r9 + 2]
mov dword [rsp + 0x20], eax
or r8d, 0xffffffff
mov edx, 2
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAce]
test eax, eax
je 0x14003a050
inc ebx
cmp ebx, dword [rbp + 0x90]
jb 0x140019835
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_AddAccessAllowedAceEx]
test eax, eax
je 0x14003a085
mov qword [r14 + 0x60], rsi
test rdi, rdi
je 0x1400198b3
mov rcx, rdi
call fcn.14001fa98
mov ebx, r13d
xor r9d, r9d
mov r8, qword [r14 + 0x60]
lea edx, [r9 + 1]
mov rcx, qword [r14 + 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_SetSecurityDescriptorDacl]
mov dword [rbp + 8], ebx
test ebx, ebx
js 0x14003a0af
mov rbx, r13
mov rcx, qword [rbp + rbx*8 + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 + 0x40], r13
inc rbx
cmp rbx, 4
jl 0x1400198d9
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp + 0x34]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, 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 ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rbp + 0x38]
cmp r8d, 0xff
jne 0x14001997a
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 8]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rbp]
call fcn.1400035a0
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14001ff30
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x60]
jmp 0x140019456
mov dword [rbp + 0x30], r13d
jmp 0x140019467
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140019488
lea rcx, [rbp]
call fcn.1400ba0d8
cmp dword [rbp], r13d
je 0x140019488
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x30]
mov r8d, dword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140019488
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r13
jmp 0x1400194ac
mov qword [rsp + 0x58], rsi
lea rax, str.CVssSidCollection::AddSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5b6
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.Invalid_SID_passed_to_AddSid
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8238
int3
mov ecx, ebx
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x1400194d8
lea rcx, [rbp]
call fcn.1400ba0d8
cmp dword [rbp], 0
je 0x1400194d8
mov qword [rbp + 0x88], r13
lea rax, [0x1400e53d8]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x80]
call fcn.14003ea08
lea rdx, [rbp + 0x88]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertSidToStringSidW]
lea rdi, str.CVssSidCollection::AddSid
test eax, eax
je 0x140039cf0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5c1
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
mov r9, qword [rbp + 0x88]
lea r8, str.Adding_SID__s_...
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400037d0
lea rcx, [rbp + 0x80]
call fcn.14003e9d8
nop
jmp 0x1400194df
lea rcx, [r14 + 0x28]
mov rdx, r12
call fcn.1400bcc00
mov ebx, eax
mov dword [rbp + 8], eax
test eax, eax
jns 0x140039d74
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5cf
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDRequestors.Deny_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3
lea rcx, [r14 + 8]
mov rdx, r12
call fcn.1400bcc00
mov ebx, eax
mov dword [rbp + 8], eax
test eax, eax
jns 0x140039de6
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5d9
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDWriters.Deny_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3
lea rcx, [r14 + 0x48]
mov rdx, r12
call fcn.1400bcc00
mov ebx, eax
mov dword [rbp + 8], eax
test eax, eax
jns 0x1400198d6
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5e3
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDBoth.Deny_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3
mov ebx, 0x8007000e
mov dword [rbp + 8], ebx
jmp 0x140039edb
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x140039ec5
jmp 0x140039ece
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x140039e96
jmp 0x140039e9f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140039e9f
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1400195e4
mov rcx, rsi
call fcn.14001fa98
jmp 0x140039ece
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140039ece
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140019630
jmp 0x14001961b
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x58], rax
lea rax, str.CVssSidCollection::AddSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5f1
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDRequestors.Allow_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3
mov ebx, 0x8007000e
mov dword [rbp + 8], ebx
jmp 0x140039fc5
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x140039faf
jmp 0x140039fb8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x140039f80
jmp 0x140039f89
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140039f89
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x140019739
mov rcx, rsi
call fcn.14001fa98
jmp 0x140039fb8
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x140039fb8
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140019785
jmp 0x140019770
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x58], rax
lea rax, str.CVssSidCollection::AddSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x5fe
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDWriters.Allow_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3
mov ebx, 0x8007000e
mov dword [rbp + 8], ebx
jmp 0x14003a0af
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x14003a099
jmp 0x14003a0a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jg 0x14003a06a
jmp 0x14003a073
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003a073
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x14001987f
mov rcx, rsi
call fcn.14001fa98
jmp 0x14003a0a2
mov rcx, rsi
call fcn.14001fa98
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14003a0a2
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x1400198cb
jmp 0x1400198b6
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x58], rax
lea rax, str.CVssSidCollection::AddSid
mov qword [rsp + 0x60], rax
lea rax, str.SECSECRC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x609
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x78], 0xff
mov dword [rbp - 8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x80]
call sub.msvcrt.dll_memset
lea r9, str.m_SDBoth.Allow_..._
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp]
call fcn.1400b8b90
int3