Function at 0x140100da0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402ba030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov edx, 0x748
mov ecx, 1
call qword [case.0x1400fa348.1]
mov rbx, rax
test rax, rax
je 0x140101253
lea rax, str._no_protocol_
mov qword [rsp + 0x68], rbp
mov qword [rbx + 0x328], rax
mov qword [rbx + 0x1a8], 0xffffffffffffffff
mov qword [rbx + 0x1b0], 0xffffffffffffffff
cmp byte [rbx + 0x30e], 1
mov qword [rsp + 0x70], rsi
mov dword [rbx + 0x48], 0xffffffff
mov qword [rbx + 0x72c], 0xffffffffffffffff
je 0x140100e28
mov byte [rbx + 0x30e], 1
cmp byte [0x1402bcc60], 0
je 0x140100e6b
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
mov r8, qword [0x1402bcc58]
mov rax, rcx
cqo
idiv r8
mov qword [rsp + 0x30], rax
mov rax, rcx
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140100e96
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x30], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
cmp byte [0x1402bcc60], 0
mov dword [rsp + 0x38], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x188], xmm0
je 0x140100ee8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x1402bcc58]
mov rax, qword [rsp + 0x30]
cqo
idiv r8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140100f13
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x20], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x28], eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x338], xmm0
movzx ecx, byte [rdi + 0x6aa]
mov byte [rbx + 0x10c], cl
mov byte [rbx + 0xd4], 4
mov rax, qword [rdi + 0x7c8]
test rax, rax
je 0x1401010ea
cmp byte [rax], 0
je 0x1401010ea
lea rax, [rbx + 0x30d]
mov dl, 1
mov byte [rax], dl
test cl, cl
je 0x140100f6c
cmp cl, dl
je 0x140100f6c
cmp cl, 2
jne 0x1401010f5
mov byte [rbx + 0x308], dl
xor cl, cl
mov byte [rbx + 0x309], cl
mov rcx, qword [rdi + 0x7d0]
test rcx, rcx
je 0x140100f95
cmp byte [rcx], 0
je 0x140100f95
mov byte [rax], 1
mov byte [rbx + 0x309], 1
cmp qword [rdi + 0x12c0], 0
lea rsi, [rbx + 0x3b8]
setne al
xor ebp, ebp
mov byte [rbx + 0x30a], al
movzx eax, byte [rdi + 0xa92]
mov byte [rbx + 0x30b], al
movzx eax, byte [rdi + 0xa97]
mov byte [rbx + 0x319], al
movzx eax, byte [rdi + 0xa98]
mov byte [rbx + 0x31a], al
movzx eax, byte [rdi + 0x59b]
mov byte [rbx + 0x293], al
movzx eax, byte [rdi + 0x599]
mov byte [rbx + 0x291], al
movzx eax, byte [rdi + 0x59a]
mov byte [rbx + 0x292], al
movzx eax, byte [rdi + 0x590]
mov byte [rbx + 0x288], al
movzx eax, byte [rdi + 0x653]
mov byte [rbx + 0x303], al
movzx eax, byte [rdi + 0x651]
mov byte [rbx + 0x301], al
movzx eax, byte [rdi + 0x652]
mov byte [rbx + 0x302], al
movzx eax, byte [rdi + 0x648]
mov byte [rbx + 0x2f8], al
movzx eax, byte [rdi + 0x6e0]
mov byte [rbx + 0x73e], al
movzx eax, byte [rdi + 0xa89]
mov byte [rbx + 0x740], al
mov byte [rbx + 0x73d], 3
mov qword [rsi + 0x18], rbp
mov qword [rsi + 0x10], rbp
mov qword [rsi], rbp
mov qword [rsi + 8], rbp
mov rcx, qword [rdi + 0x760]
test rcx, rcx
je 0x140101197
call qword [case.0x1400fa348.0]
mov qword [rbx + 0x710], rax
test rax, rax
jne 0x140101197
test rsi, rsi
je 0x14010117a
mov rax, qword [rbx + 0x3d0]
test rax, rax
je 0x14010117a
nop dword [rax]
mov rcx, qword [rbx + 0x3c0]
test rcx, rcx
je 0x14010116a
test rax, rax
je 0x14010116a
lea rdx, [rcx + 0x10]
cmp rcx, qword [rsi]
jne 0x140101118
mov rax, qword [rdx]
mov qword [rsi], rax
test rax, rax
jne 0x14010110b
mov qword [rbx + 0x3c0], rbp
lea r8, [rcx + 8]
jmp 0x140101144
xor dl, dl
lea rax, [rbx + 0x30d]
mov byte [rax], dl
mov byte [rbx + 0x308], 0
test dl, dl
je 0x140100f72
mov cl, 1
jmp 0x140100f74
mov rax, qword [rdx]
lea r8, [rcx + 8]
mov qword [rax + 8], rbp
jmp 0x140101144
mov r9, qword [rcx + 8]
lea r8, [rcx + 8]
test r9, r9
je 0x14010112c
mov rax, qword [rdx]
mov qword [r9 + 0x10], rax
mov rax, qword [rdx]
mov r9, qword [r8]
test rax, rax
jne 0x140101140
mov qword [rbx + 0x3c0], r9
jmp 0x140101144
mov qword [rax + 8], r9
mov r9, qword [rcx]
mov qword [rcx], rbp
mov qword [r8], rbp
mov qword [rdx], rbp
dec qword [rbx + 0x3d0]
mov rax, qword [rbx + 0x3c8]
test rax, rax
je 0x14010116a
mov rdx, r9
xor ecx, ecx
call rax
mov rax, qword [rbx + 0x3d0]
test rax, rax
jne 0x1401010b0
mov rcx, qword [rbx + 0x710]
call qword [0x1402ba0c8]
mov rcx, rbx
call qword [0x1402ba0c8]
xor eax, eax
jmp 0x140101249
cmp byte [0x1402bcc60], bpl
movzx eax, word [rdi + 0x22a]
mov word [rbx + 0x718], ax
movzx eax, word [rdi + 0x228]
mov word [rbx + 0x738], ax
mov rax, qword [rdi + 0x290]
mov qword [rbx + 0x38], rax
mov rax, qword [rdi + 0x298]
mov qword [rbx + 0x40], rax
je 0x14010120b
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r8, qword [0x1402bcc58]
mov rax, qword [rsp + 0x30]
cqo
idiv r8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
cqo
idiv r8
imul rax, rdx, 0xf4240
cqo
idiv r8
jmp 0x140101236
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov ecx, edx
mov qword [rsp + 0x20], rcx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x28], eax
mov rax, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x198], xmm0
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401526c0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret