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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rbx, rdx
mov esi, ecx
mov rcx, qword [0x140120978]
test rcx, rcx
jne 0x140043041
call fcn.1400439a8
test al, al
je 0x140043201
mov rcx, qword [0x140120978]
xor dil, dil
and qword [rbp - 0x49], 0
mov rax, qword [rcx]
and qword [rbp - 0x49], 0
lea rdx, [rbp - 0x49]
call qword [rax + 0x68]
test eax, eax
js 0x1400431ee
and qword [rbp + 0x7f], 0
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400432eb
mov rax, qword [rcx]
and qword [rbp + 0x7f], 0
lea r8, [rbp + 0x7f]
lea rdx, [0x1400be3b8]
call qword [rax]
test eax, eax
js 0x1400432c5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
and qword [rbp - 0x31], 0
lea r8, [rbp - 0x41]
mov rdx, rbx
mov ecx, esi
call fcn.140052d2c
mov rbx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
sub rbx, rcx
test ebx, ebx
je 0x140043292
and dword [rbp - 0x25], 0
mov dword [rbp - 0x29], ebx
mov ecx, 0x11
lea r8, [rbp - 0x29]
lea edx, [rcx - 0x10]
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov rdi, rax
test rax, rax
je 0x140043194
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x140043194
movsxd r8, ebx
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x21]
call fcn.1400afc40
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x1400432da
mov rax, qword [rbx]
mov rsi, qword [rax + 0x168]
mov rcx, qword [0x140120980]
test rcx, rcx
je 0x14004313a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
and qword [0x140120980], 0
lea r8, [0x140120980]
mov rdx, rdi
mov rcx, rbx
call rsi
test eax, eax
js 0x140043194
and qword [rbp + 0x77], 0
mov rcx, qword [0x140120980]
test rcx, rcx
je 0x1400432fc
mov rax, qword [rcx]
and qword [rbp + 0x77], 0
lea rdx, [rbp + 0x77]
call qword [rax + 0x80]
test eax, eax
jns 0x140043214
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140043194
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400431db
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400431c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400432f6
call fcn.140086ebc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
and qword [rbp - 0x31], 0
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400431eb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor dil, dil
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1400431fe
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov al, dil
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
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 0x1400432fc
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 [0x14010d364], eax
shr edi, 0x1f
xor dil, 1
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14004328e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400432c5
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400432bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400432e5
call fcn.140086ebc
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400432d5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x1400431ee
mov ecx, 0x80004003
call fcn.140084510
nop
call fcn.14008deb0
int3
mov ecx, 0x80004003
call fcn.140084510
int3
call fcn.14008deb0
nop
mov ecx, 0x80004003
call fcn.140084510
int3