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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14015da88]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], eax
xor esi, esi
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.1400b510c
mov edi, eax
mov ecx, eax
shr ecx, 0x1f
test cl, cl
je 0x1400a0433
mov r9d, eax
jmp 0x1400a05dc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
mov r14d, dword [rbp - 0x24]
cmp dword [rbp - 0x34], 4
je 0x1400a05f5
mov ecx, 0x2710
lea r8, [0x140158280]
mov eax, 0xcccccccd
mul dword [rbp - 0x20]
mov ebx, edx
shr ebx, 3
cmp ebx, 0x7d0
jae 0x1400a0472
mov ebx, 0x7d0
jmp 0x1400a0477
cmp ebx, ecx
cmova ebx, ecx
mov rcx, qword [0x140158280]
cmp rcx, r8
je 0x1400a04a6
test byte [rcx + 0x1c], 2
je 0x1400a04a6
mov edx, 0xa
or dword [rsp + 0x20], 0xffffffff
mov r9d, ebx
lea r8, [0x140136270]
mov rcx, qword [rcx + 0x10]
call fcn.14009f920
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add esi, ebx
mov rdx, r12
lea rcx, [rbp - 0x38]
call fcn.1400b510c
mov edi, eax
shr eax, 0x1f
test al, al
jne 0x1400a05d9
mov r8d, dword [rbp - 0x34]
cmp r8d, 4
je 0x1400a05f5
mov rcx, qword [0x140158280]
lea rbx, [0x140158280]
cmp rcx, rbx
je 0x1400a0515
test byte [rcx + 0x1c], 2
je 0x1400a0515
mov edx, 0xb
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea r9d, [rdx - 7]
lea r8, [0x140136270]
mov rcx, qword [rcx + 0x10]
call fcn.14009f964
cmp dword [rbp - 0x24], r14d
jbe 0x1400a052a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
mov r14d, dword [rbp - 0x24]
jmp 0x1400a0567
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
mov r9d, dword [rbp - 0x20]
cmp eax, r9d
jbe 0x1400a0567
mov rcx, qword [0x140158280]
cmp rcx, rbx
je 0x1400a0567
test byte [rcx + 0x1c], 4
je 0x1400a0567
mov edx, 0xd
mov dword [rsp + 0x20], eax
lea r8, [0x140136270]
mov rcx, qword [rcx + 0x10]
call fcn.140005734
and dword [rbp - 0x40], 0
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0x839537915cdcb870
lea rcx, [rbp - 0x40]
mov rax, qword [rax + 0x98]
call qword [case.0x1400bdf0e.0]
nop
cmp dword [rbp - 0x40], 0
je 0x1400a05a1
cmp esi, 0x1b7740
jbe 0x1400a05a1
call qword [sym.imp.KERNEL32.dll_DebugBreak]
cmp dword [rbp - 0x34], 4
lea r8, [0x140158280]
mov ecx, 0x2710
jne 0x1400a0456
test esi, esi
je 0x1400a05f5
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x1400a05d2
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400a05f7
mov ebx, 0x800705b4
jmp 0x1400a05f7
mov r9d, edi
lea r8, str.HrQueryServiceStatus
lea rdx, str._S_failed__code__lx
xor ecx, ecx
call fcn.1400a0b8c
mov ebx, edi
jmp 0x1400a05f7
xor ebx, ebx
test edi, edi
jns 0x1400a0613
mov r9d, edi
lea r8, str.UtilWaitForServiceOp
lea rdx, str._S_failed__code__lx
xor ecx, ecx
call fcn.1400a0b8c
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400e9450
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret