Function at 0x140011870
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 rdi, rdx
mov esi, ecx
mov rcx, qword [0x14008fc30]
test rcx, rcx
jne 0x1400118af
call fcn.140012450
test al, al
je 0x140011a5f
mov rcx, qword [0x14008fc30]
xor bl, bl
xor r14d, r14d
mov qword [rbp - 0x49], r14
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + 0x68]
test eax, eax
js 0x140011a4c
mov qword [rbp + 0x7f], r14
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140011b4a
mov qword [rbp + 0x7f], r14
mov rax, qword [rcx]
lea r8, [rbp + 0x7f]
lea rdx, [0x14006c080]
call qword [rax]
test eax, eax
js 0x140011b24
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r14
lea r8, [rbp - 0x41]
mov rdx, rdi
mov ecx, esi
call fcn.1400113a0
mov rsi, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x41]
sub rsi, rcx
test esi, esi
je 0x140011af1
mov dword [rbp - 0x25], r14d
mov dword [rbp - 0x29], esi
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 0x1400119f4
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x1400119f4
movsxd r8, esi
mov rdx, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x21]
call fcn.140062c40
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
je 0x140011b39
mov rcx, qword [0x14008fc38]
test rcx, rcx
je 0x140011996
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [0x14008fc38], r14
mov rax, qword [rbx]
lea r8, [0x14008fc38]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x168]
test eax, eax
js 0x1400119f4
mov qword [rbp + 0x77], r14
mov rcx, qword [0x14008fc38]
test rcx, rcx
je 0x140011b5b
mov qword [rbp + 0x77], r14
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
call qword [rax + 0x80]
test eax, eax
jns 0x140011a77
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1400119f4
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140011a3a
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011a29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b55
call fcn.14003d438
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140011a4a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor bl, bl
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140011a5c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movzx eax, bl
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 edi, eax
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140011b5b
movups xmm0, xmmword [rbp - 0x19]
movaps xmmword [rbp + 7], xmm0
movsd xmm1, qword [rbp - 9]
movsd qword [rbp + 0x17], xmm1
mov r10, qword [rcx]
lea r9, [rbp + 0x27]
xor r8d, r8d
lea rdx, [rbp + 7]
call qword [r10 + 0x128]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
mov dword [0x14008c010], eax
shr ebx, 0x1f
xor bl, 1
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140011aed
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140011b24
mov rdx, qword [rbp - 0x31]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011b1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011b44
call fcn.14003d438
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140011b34
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x140011a4c
mov ecx, 0x80004003
call fcn.14003b840
nop
call fcn.14004442c
int3
mov ecx, 0x80004003
call fcn.14003b840
int3
call fcn.14004442c
nop
mov ecx, 0x80004003
call fcn.14003b840
int3