Function at 0x1800eb8c0
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 0x1800eb90b
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], r8
call fcn.1800eb690
mov al, 1
jmp 0x1800ebae0
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 0x1800eb952
nop word [rax + rax]
lea ecx, [rax - 1]
lock cmpxchg dword [r8], ecx
je 0x1800ebb39
test eax, eax
jne 0x1800eb940
xor ebp, ebp
lea rcx, [rsp + 0x30]
mov ebx, ebp
mov edi, ebp
mov dword [rsp + 0x44], ebx
mov esi, ebp
call fcn.1800ecee0
mov rcx, qword [r14]
cmp qword [rax], rcx
jge 0x1800ebab6
movabs r12, 0x38d7ea4c67fff
nop
mov rdx, qword [r15]
mov eax, dword [rdx]
test eax, eax
je 0x1800eb9a1
nop dword [rax]
lea ecx, [rax - 1]
lock cmpxchg dword [rdx], ecx
je 0x1800ebb39
test eax, eax
jne 0x1800eb990
test ebx, ebx
jne 0x1800eb9d0
mov eax, dword [0x1802b0580]
test eax, eax
jne 0x1800eb9c1
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 0x1800eba9a
cmp ebx, 0x20
jae 0x1800eb9e5
pause
jmp 0x1800eba9a
jne 0x1800eba73
mov ecx, 7
call fcn.1800e97e0
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 0x1800eba29
mov ecx, dword [rsp + 0x48]
mov eax, 0xd1b71759
dec ecx
mul ecx
mov eax, edx
shr eax, 0xd
jmp 0x1800eba4b
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 0x1800eba6c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov qword [rsp + 0x50], rdi
jmp 0x1800eba9a
mov rdi, qword [rsp + 0x50]
jmp 0x1800eba9a
test esi, esi
jne 0x1800ebafc
movzx eax, byte [rsp + 0x44]
and al, 1
je 0x1800ebb2f
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x1800eba9a
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x44], ebx
call fcn.1800ecee0
mov rcx, qword [r14]
cmp qword [rax], rcx
jl 0x1800eb980
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.1801e67e0
add rsp, 0xc8
pop r15
pop r14
ret
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1800ebb1a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov qword [rsp + 0x58], rcx
jmp 0x1800ebb1f
mov rcx, qword [rsp + 0x58]
sub rcx, rdi
mov eax, esi
cmp rcx, rax
jb 0x1800eba88
mov esi, ebp
mov ecx, 1
jmp 0x1800eba94
mov al, 1
jmp 0x1800ebab8