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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rbx, rdx
mov esi, ecx
mov rcx, qword [0x14014dab8]
test rcx, rcx
jne 0x1400546ef
call fcn.1400551a0
test al, al
je 0x1400548a9
mov rcx, qword [0x14014dab8]
xor dil, dil
xor r14d, r14d
mov qword [rbp - 0x49], r14
mov rax, qword [rcx]
mov qword [rbp - 0x49], r14
lea rdx, [rbp - 0x49]
call qword [rax + 0x68]
test eax, eax
js 0x140054895
mov qword [rbp + 0x7f], r14
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140054998
mov rax, qword [rcx]
mov qword [rbp + 0x7f], r14
lea r8, [rbp + 0x7f]
lea rdx, [0x1400e26d8]
call qword [rax]
test eax, eax
js 0x140054972
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x41]
mov rdx, rbx
mov ecx, esi
call fcn.1400676d0
mov rbx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
sub rbx, rcx
test ebx, ebx
je 0x14005493f
mov dword [rbp - 0x25], r14d
mov dword [rbp - 0x29], ebx
lea ecx, [r14 + 0x11]
lea r8, [rbp - 0x29]
lea edx, [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov rdi, rax
test rax, rax
je 0x14005483c
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x14005483c
movsxd r8, ebx
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x21]
call fcn.1400d0330
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x140054987
mov rax, qword [rbx]
mov rsi, qword [rax + 0x168]
mov rcx, qword [0x14014dac0]
test rcx, rcx
je 0x1400547e5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [0x14014dac0], r14
lea r8, [0x14014dac0]
mov rdx, rdi
mov rcx, rbx
call rsi
test eax, eax
js 0x14005483c
mov qword [rbp + 0x77], r14
mov rcx, qword [0x14014dac0]
test rcx, rcx
je 0x1400549a9
mov rax, qword [rcx]
mov qword [rbp + 0x77], r14
lea rdx, [rbp + 0x77]
call qword [rax + 0x80]
test eax, eax
jns 0x1400548c1
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14005483c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140054882
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054871
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400549a3
call fcn.1400a75a8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140054892
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor dil, dil
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400548a5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movzx eax, dil
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1400549a9
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x128]
movups xmm0, xmmword [rbp - 0x19]
movaps xmmword [rbp + 7], xmm0
movsd xmm1, qword [rbp - 9]
movsd qword [rbp + 0x17], xmm1
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, [rbp + 7]
call r10
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov dword [0x14013a464], eax
shr edi, 0x1f
xor dil, 1
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14005493b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140054972
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005496c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054992
call fcn.1400a75a8
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140054982
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x140054895
mov ecx, 0x80004003
call fcn.1400a4690
nop
call fcn.1400ae5a0
int3
mov ecx, 0x80004003
call fcn.1400a4690
int3
call fcn.1400ae5a0
nop
mov ecx, 0x80004003
call fcn.1400a4690
int3