Function at 0x14005b380
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 - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov r14d, edx
mov rsi, rcx
lea r12, [0x1400052e0]
mov qword [rbp - 0x40], r12
lea r13, [0x140005378]
mov qword [rbp - 0x38], r13
lea rax, [0x140005298]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x356
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
xor r15d, r15d
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], r15d
mov rax, qword [rbp - 0x38]
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]
mov dword [rbp - 0x7c], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov qword [rbp + 0xd8], r15
lea rcx, [rbp + 0xd8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14005b67e
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14005b67e
mov rax, qword [rbp + 0xd8]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14005b687
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
mov ebx, dword [rbp - 0x78]
cmp ebx, 0xff
jne 0x14005b4b6
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14006c228
cmp byte [rbp + 0x63], r15b
je 0x14005b4f5
lea rbx, [rbp - 0x18]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14006c293
add rbx, 8
dec rdi
jne 0x14005b4e0
mov dword [rbp + 0xd0], r15d
lea r9, [rbp + 0xd0]
xor r8d, r8d
xor edx, edx
mov ecx, r14d
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_CreateWellKnownSid]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x7a
jne 0x14006c2a1
lea rdi, [0x140005298]
lea rax, [0x140001d20]
mov qword [rbp + 0x68], rax
mov edx, dword [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14006c30a
lea r9, [rbp + 0xd0]
mov r8, rax
xor edx, edx
mov ecx, r14d
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_CreateWellKnownSid]
test eax, eax
je 0x14006c328
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x14006c390
mov qword [rsi + 8], rbx
mov rbx, r15
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], r15
inc rbx
cmp rbx, 4
jl 0x14005b581
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
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 - 0x78]
cmp r8d, 0xff
jne 0x14005b622
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
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, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x50]
call fcn.140051070
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x50]
jmp 0x14005b495
mov dword [rbp - 0x80], r15d
jmp 0x14005b4a6
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14005b4c8
lea rcx, [rsp + 0x50]
call fcn.140103ce0
cmp dword [rsp + 0x50], r15d
je 0x14005b4c8
mov qword [rsp + 0x40], r15
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
mov r9d, dword [rbp - 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 0x14005b4c8
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r15
jmp 0x14005b4ec
test eax, eax
jle 0x14006c2ad
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x58], eax
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
lea rdi, [0x140005298]
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 0x363
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
lea r8, [0x14003d488]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14006dcc8
nop
jmp 0x14005b527
mov dword [rbp + 0xd8], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rbp + 0xd8]
call sub.msvcrt.dll__CxxThrowException
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x14006c33a
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x58], eax
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 0x36c
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
lea r8, [0x14003d488]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14006dcc8
nop
jmp 0x14005b56d
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x14005b57a