Function at 0x1400121b0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x240
mov qword [rax - 0x100], 0xfffffffffffffffe
lea r15, str.base_stor_vssmoduleswriters_asrwriter.cxx
mov qword [rax - 0x1b0], r15
lea r12, str.CVssAsrWriterBackup::CreateWriter
mov qword [rax - 0x1a8], r12
lea r13, str.WRTASRWC
mov qword [rax - 0x1a0], r13
mov dword [rax - 0x198], 0x2ae
mov dword [rax - 0x194], 4
mov dword [rax - 0x190], 0xff
xor r14d, r14d
mov dword [rax - 0x110], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rax - 0x188]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], r14d
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0xb0], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x288], r14
lea rcx, [rsp + 0x288]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140022fce
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140022fce
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140022fdb
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x80], eax
mov ebx, dword [rsp + 0x88]
cmp ebx, 0xff
jne 0x14001232b
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x140022fe8
mov edi, 0xf
cmp byte [rsp + 0x16b], r14b
je 0x140012376
lea rbx, [rsp + 0xf0]
mov esi, edi
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140023057
add rbx, 8
sub rsi, 1
jne 0x140012360
mov dword [rsp + 0x280], r14d
cmp qword [0x140156e60], 0
jne 0x140023065
lea rdx, [0x1400f37b0]
mov ecx, 0x20
call fcn.1400145d8
mov qword [rsp + 0x290], rax
test rax, rax
je 0x140023076
mov qword [rax + 8], r14
lea rcx, str._h_f_
mov qword [rax], rcx
mov qword [rax + 0x10], r14
mov dword [rax + 0x18], r14d
mov qword [0x140156e60], rax
test rax, rax
je 0x14002307e
lea rdx, [rax + 0x10]
call fcn.140012610
mov ebx, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r13
mov dword [rsp + 0xe0], 0x2c4
mov dword [rsp + 0xe4], 4
mov dword [rsp + 0xe8], 0xff
mov dword [rsp + 0x168], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x290], rax
test ebx, ebx
js 0x1400230f5
cmp byte [rsp + 0x16b], 0
je 0x14001247a
lea rbx, [rsp + 0xf0]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140023145
add rbx, 8
sub rdi, 1
jne 0x140012464
lea rax, [rsp + 0x280]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140011a90]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140023153
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x140156e68]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jl 0x1400231dc
mov edi, dword [rsp + 0x58]
mov rbx, r14
mov rcx, qword [rsp + rbx*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + rbx*8 + 0x90], r14
inc rbx
cmp rbx, 4
jl 0x1400124e2
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rsp + 0x84]
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 + 0x88]
cmp r8d, 0xff
jne 0x140012591
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x58]
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 + 0x50]
call fcn.14000bfc0
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov eax, edi
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0xb0]
jmp 0x140012302
mov dword [rsp + 0x80], r14d
jmp 0x140012317
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001233d
lea rcx, [rsp + 0x50]
call fcn.1400bf350
cmp dword [rsp + 0x50], r14d
je 0x14001233d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14001233d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r14
jmp 0x14001236c
lea rcx, [rsp + 0x50]
call fcn.14000f940
xor eax, eax
jmp 0x1400125d8
mov rax, r14
jmp 0x1400123c4
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r13
mov dword [rsp + 0xe0], 0x2c0
mov dword [rsp + 0xe4], 4
mov dword [rsp + 0xe8], 0xff
mov dword [rsp + 0x168], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_memset
lea r9, str.Allocation_of_CVssAsrWriterBackup_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.1400bd424
nop
cmp ebx, 0x8000ffff
jne 0x140023118
mov dword [rsp + 0xc0], ebx
lea rdx, [0x140151ca0]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll__CxxThrowException
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x190]
call fcn.140003e50
lea r9, str.CVssAsrAPIBackup::CreateObject
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bdc8c
nop
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], r14
jmp 0x140012470
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], r13
mov dword [rsp + 0xe0], 0x2ca
mov dword [rsp + 0xe4], 4
mov dword [rsp + 0xe8], 0xff
mov dword [rsp + 0x168], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.CreateThread_failed_with_error__d
mov r8d, 0x8000ffff
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.1400bd424
nop
xor r14d, r14d
jmp 0x1400124d0
mov rcx, qword [0x140156e60]
test rcx, rcx
je 0x1400124db
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x1400f0e70]
mov qword [0x140156e60], r14
jmp 0x1400124db