Function at 0x1800eb9a0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter
Get system information on windows

Disassembly:
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r8, qword [rcx]
movabs rax, 0x7fffffffffffffff
mov r14, rdx
mov r15, rcx
cmp qword [rdx], rax
jne 0x1800eb9eb
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], r8
call fcn.1800eb770
mov al, 1
jmp 0x1800ebbc0
mov eax, dword [r8]
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r12
test eax, eax
je 0x1800eba32
nop word [rax + rax]
lea ecx, [rax - 1]
lock cmpxchg dword [r8], ecx
je 0x1800ebc19
test eax, eax
jne 0x1800eba20
xor ebp, ebp
lea rcx, [rsp + 0x30]
mov ebx, ebp
mov edi, ebp
mov dword [rsp + 0x44], ebx
mov esi, ebp
call fcn.1800ecfc0
mov rcx, qword [r14]
cmp qword [rax], rcx
jge 0x1800ebb96
movabs r12, 0x38d7ea4c67fff
nop
mov rdx, qword [r15]
mov eax, dword [rdx]
test eax, eax
je 0x1800eba81
nop dword [rax]
lea ecx, [rax - 1]
lock cmpxchg dword [rdx], ecx
je 0x1800ebc19
test eax, eax
jne 0x1800eba70
test ebx, ebx
jne 0x1800ebab0
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800ebaa1
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x90]
cmp eax, 1
mov ebx, 0x20
cmova ebx, ebp
mov dword [rsp + 0x44], ebx
cmp ebx, 8
jb 0x1800ebb7a
cmp ebx, 0x20
jae 0x1800ebac5
pause
jmp 0x1800ebb7a
jne 0x1800ebb53
mov ecx, 7
call fcn.1800e98c0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x64]
call rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x1800ebb09
mov ecx, dword [rsp + 0x48]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800ebb2b
mov eax, dword [rsp + 0x48]
imul r8, rax, 0x5f5e100
mov rax, r12
cqo
idiv qword [rsp + 0x68]
lea rcx, [rax + 1]
lea rax, [r8 - 1]
cqo
idiv rcx
lea rcx, [rsp + 0x50]
lea esi, [rax + 1]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ebb4c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rsp + 0x50], rdi
jmp 0x1800ebb7a
mov rdi, qword [rsp + 0x50]
jmp 0x1800ebb7a
test esi, esi
jne 0x1800ebbdc
movzx eax, byte [rsp + 0x44]
and al, 1
je 0x1800ebc0f
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800ebb7a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x44], ebx
call fcn.1800ecfc0
mov rcx, qword [r14]
cmp qword [rax], rcx
jl 0x1800eba60
xor al, al
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1801e68c0
add rsp, 0xc8
pop r15
pop r14
ret
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ebbfa
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x58], rcx
jmp 0x1800ebbff
mov rcx, qword [rsp + 0x58]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800ebb68
mov esi, ebp
mov ecx, 1
jmp 0x1800ebb74
mov al, 1
jmp 0x1800ebb98