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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov esi, 1
lea r15, [0x1400021b0]
lea r12, [0x1400025c0]
lea r13, [0x140002198]
lea rcx, [rbp - 0x18]
lea r8d, [rsi + 0x77]
xor edx, edx
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x28], 0x38e
mov dword [rbp - 0x24], esi
mov dword [rbp - 0x20], 0xff
xor r14d, r14d
mov dword [rbp + 0x60], 0x1000000
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x38]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
lea rcx, [rbp + 0x1f0]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x54], 0xffffffff
mov dword [rsp + 0x50], r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp + 0x1f0], r14
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14005944c
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14005944c
mov rax, qword [rbp + 0x1f0]
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x14005943f
mov dword [rbp - 0x80], r14d
mov ebx, dword [rbp - 0x78]
cmp ebx, 0xff
jne 0x140059281
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14006b22c
cmp byte [rbp + 0x63], r14b
je 0x1400592b7
lea rbx, [rbp - 0x18]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14006b297
add rbx, 8
dec rdi
jne 0x1400592a2
movzx eax, byte [0x140154c80]
test al, al
jne 0x14005932e
xor edx, edx
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x68], r15
lea r8d, [rdx + 0x78]
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x80], 0x394
mov dword [rbp + 0x84], esi
mov dword [rbp + 0x88], 0xff
mov dword [rbp + 0x108], 0x1000000
call sub.msvcrt.dll_memset
lea r8, [0x1400025f0]
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1400510b0
mov rcx, qword [0x140154c78]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_CancelWaitableTimer]
test eax, eax
je 0x14006b2a5
lock xadd dword [0x140154b70], esi
mov rbx, r14
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x70], r14
inc rbx
cmp rbx, 4
jl 0x140059339
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r8d, dword [rbp - 0x78]
mov r9d, eax
mov eax, 0x10624dd3
sub r9d, dword [rbp - 0x7c]
mov edi, r9d
mul r9d
mov eax, 0x88888889
mov r10d, edx
shr r10d, 6
mul r10d
imul ecx, r10d, 0x3e8
shr edx, 5
sub edi, ecx
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov eax, 0x88888889
mov r11d, edx
shr r11d, 0xe
mul r11d
mov eax, 0x95217cb1
shr edx, 5
imul ecx, edx, 0x3c
mul r9d
mov eax, 0x88888889
mov ebx, edx
sub r11d, ecx
shr ebx, 0x15
mul ebx
shr edx, 5
imul eax, edx, 0x3c
sub ebx, eax
cmp r8d, 0xff
jne 0x1400593da
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x58]
lea rdx, [0x1400043d0]
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
lea r9, [0x1400043e0]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], ebx
call fcn.140051070
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea r11, [rsp + 0x2c0]
lea eax, [rsi + 1]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
jmp 0x140059271
mov rax, qword [rbp - 0x50]
jmp 0x140059264
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140059293
lea rcx, [rsp + 0x50]
call fcn.140103ce0
cmp dword [rsp + 0x50], r14d
je 0x140059293
mov r9d, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
lea rax, [0x1400043c0]
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
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140059293
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r14
jmp 0x1400592ae
xor edx, edx
lea rcx, [rbp + 0x138]
mov qword [rbp + 0x110], r15
lea r8d, [rdx + 0x78]
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r13
mov dword [rbp + 0x128], 0x398
mov dword [rbp + 0x12c], esi
mov dword [rbp + 0x130], 0xff
mov dword [rbp + 0x1b0], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, [0x140002630]
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x50]
mov r9d, eax
call fcn.1400510b0
nop
jmp 0x14005932e