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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm7
mov rax, qword [0x2e3f09580]
pxor xmm7, xmm7
pxor xmm5, xmm5
cvtsd2ss xmm7, qword [rax + 0x8a0]
comiss xmm7, xmm5
movd xmm6, ecx
movd xmm4, edx
punpckldq xmm6, xmm4
cvtdq2ps xmm6, xmm6
jne 0x2e3c91248
mov ebx, 0x37
mov esi, 0x29
mov edi, 0xffffffe6
call fcn.2e3d751f0
lea rcx, [0x2e3ed973b]
mov edx, eax
call fcn.2e3c88090
mov ecx, esi
movzx edx, bl
mov r9, rax
xor eax, eax
shl edx, 0x10
mov al, dil
mov ah, cl
and eax, 0xff00ffff
or eax, edx
mov rdx, qword [0x2e3f0b1c0]
or eax, 0xff000000
mov ecx, dword [rdx + 0xc]
test ecx, ecx
jne 0x2e3c91320
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
ret
mov rbx, qword [0x2e3f0b050]
mov r11d, dword [rbx]
test r11d, r11d
je 0x2e3c91400
mov r10d, dword [rbx + 0x1670]
test r10d, r10d
jne 0x2e3c91510
call qword [rbx + 0x24a8]
mov eax, eax
sub rax, qword [rbx + 0x1668]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
js 0x2e3c913e0
mov rax, qword [rbx + 0x1678]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
js 0x2e3c913c0
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtss2sd xmm1, dword [0x2e3f38d00]
subsd xmm0, xmm1
comisd xmm0, xmmword [0x2e3ed9960]
ja 0x2e3c91418
movss xmm0, dword [0x2e3f38cf8]
movss xmm1, dword [0x2e3ed9900]
movss xmm2, dword [0x2e3ed9850]
divss xmm1, xmm0
movss xmm0, dword [0x2e3ed996c]
andps xmm2, xmm1
orps xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
lea edx, [rax - 0xf]
cmp edx, 0xe
jbe 0x2e3c913a8
cmp eax, 0xe
jle 0x2e3c911d5
mov ebx, 0x2f
mov esi, 0xffffff9e
xor edi, edi
jmp 0x2e3c911e4
mov rsi, qword [rdx]
mov rdi, qword [rdx + 8]
movq r8, xmm6
mov r10, qword [rdx + 0x10]
mov r11, qword [rdx + 0x18]
mov rcx, qword [rdx + 0x20]
mov rbx, qword [rdx + 0x28]
mov dword [rsp + 0x28], eax
mov rdx, r9
mov dword [rsp + 0x20], 0x40000000
movss xmm3, dword [0x2e3ed9970]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x58], rbx
call fcn.2e3c90da0
jmp 0x2e3c91227
xor ebx, ebx
mov esi, 0xffffffa1
mov edi, 0xffffffff
jmp 0x2e3c911e4
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x2e3c912a2
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x2e3c91289
xor edx, edx
mov ecx, 0x10001
call fcn.2e3c320f0
pxor xmm0, xmm0
jmp 0x2e3c912a6
mov r9d, dword [rbx]
test r9d, r9d
je 0x2e3c91528
mov r8d, dword [rbx + 0x1670]
test r8d, r8d
jne 0x2e3c91540
call qword [rbx + 0x24a8]
mov eax, eax
sub rax, qword [rbx + 0x1668]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jns 0x2e3c91467
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
mov rax, qword [rbx + 0x1678]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x2e3c91495
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
divsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
mov eax, dword [0x2e3f38cfc]
mulss xmm7, dword [0x2e3ed9968]
movss dword [0x2e3f38d00], xmm0
movss xmm0, dword [0x2e3f38cf8]
lea edx, [rax + 1]
movsxd rax, edx
mov ecx, edx
imul rax, rax, 0xffffffff88888889
sar ecx, 0x1f
addss xmm0, xmm7
shr rax, 0x20
add eax, edx
sar eax, 4
sub eax, ecx
imul ecx, eax, 0x1e
mov eax, edx
lea rdx, [0x2e3f38c80]
sub eax, ecx
mov dword [0x2e3f38cfc], eax
cdqe
movss xmm1, dword [rdx + rax*4]
movss dword [rdx + rax*4], xmm7
subss xmm0, xmm1
movss dword [0x2e3f38cf8], xmm0
jmp 0x2e3c912cc
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
jmp 0x2e3c91273
xor edx, edx
mov ecx, 0x10001
call fcn.2e3c320f0
pxor xmm0, xmm0
jmp 0x2e3c9149d
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
jmp 0x2e3c9143c