Function at 0x1800ec0f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
sub rsp, 0x38
cmp byte [0x1802e3d69], 0
jne 0x1800ec3b1
mov rcx, qword [0x1802e3d70]
test rcx, rcx
je 0x1800ec3b1
cmp qword [0x1802e3d98], 0
je 0x1800ec3b1
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r14
mov qword [rax - 0x18], r15
call fcn.18004bef0
mov rcx, qword [0x1802e3d98]
call fcn.18004cdd0
mov r14d, eax
cmp eax, 2
jle 0x1800ec382
mov ebx, 2
mov rcx, qword [0x1802e3d98]
mov edx, ebx
call fcn.18004cc10
mov rdi, rax
test rax, rax
je 0x1800ec183
cmp dword [rax + 0xa4], 0
je 0x1800ec28f
inc ebx
cmp ebx, r14d
jl 0x1800ec160
xor ebp, ebp
xor r15d, r15d
mov r12d, 1
xor edi, edi
mov ebx, r12d
lea esi, [rbp + 0xa]
nop dword [rax]
mov rcx, qword [0x1802e3d98]
mov edx, ebx
call fcn.18004cc10
test rax, rax
je 0x1800ec1fe
movsxd r8, dword [rax + 0xa4]
cmp r8d, 0xa
jge 0x1800ec1ca
cmp r8d, esi
jge 0x1800ec1ca
mov esi, r8d
mov ebp, ebx
xor ecx, ecx
xor edx, edx
mov r9, r8
test r8d, r8d
jle 0x1800ec1f5
lea r8, [rax + 0xa8]
nop dword [rax]
cmp byte [r8 + rdx], 0
lea eax, [rcx + 1]
cmove eax, ecx
inc rdx
mov ecx, eax
cmp rdx, r9
jl 0x1800ec1e0
cmp ecx, edi
jle 0x1800ec1fe
mov edi, ecx
mov r15d, ebx
inc ebx
cmp ebx, r14d
jl 0x1800ec1a0
test ebp, ebp
mov edi, 0x50
mov eax, 0x5a
cmovle edi, eax
cmp dword [0x1802e3da0], 0
jne 0x1800ec228
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e3da0], eax
call fcn.1800582f0
mov ebx, eax
imul ebx, dword [0x1802e3da0]
call fcn.180058300
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov dword [0x1802e3da0], edx
mov eax, edx
test edx, edx
jne 0x1800ec25a
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e3da0], eax
mov r8d, 0x64
mov edx, r12d
mov ecx, eax
call fcn.180058680
mov ebx, eax
cmp eax, edi
jg 0x1800ec2a7
mov rcx, qword [0x1802e3d98]
mov edx, r15d
call fcn.18004cc10
mov rdi, rax
test rax, rax
je 0x1800ec2a7
mov edx, r15d
jmp 0x1800ec364
mov rcx, qword [0x1802e3d98]
mov edx, ebx
call fcn.18004d8a0
mov edx, 1
jmp 0x1800ec373
test ebp, ebp
jle 0x1800ec2cd
cmp ebx, 0x5a
jg 0x1800ec2cd
mov rcx, qword [0x1802e3d98]
mov edx, ebp
call fcn.18004cc10
mov rdi, rax
test rax, rax
je 0x1800ec2cd
mov edx, ebp
jmp 0x1800ec364
lea edi, [r14 - 1]
mov ecx, r12d
mov edx, edi
call fcn.1800ebc10
mov ebp, eax
cmp eax, r12d
jge 0x1800ec2e7
mov ebp, r12d
jmp 0x1800ec2ed
cmp ebp, r14d
cmovge ebp, edi
cmp ebx, 0x5f
mov ebx, ebp
setg r15b
xor esi, esi
nop dword [rax + rax]
mov rcx, qword [0x1802e3d98]
mov edx, ebx
call fcn.18004cc10
mov rdi, rax
test rax, rax
je 0x1800ec34c
test r15b, r15b
jne 0x1800ec362
movsxd r8, dword [rax + 0xa4]
xor edx, edx
xor ecx, ecx
test r8, r8
jle 0x1800ec34c
nop dword [rax + rax]
cmp byte [rdi + rcx + 0xa8], 0
lea eax, [rdx + 1]
cmove eax, edx
inc rcx
mov edx, eax
cmp rcx, r8
jl 0x1800ec330
test eax, eax
jg 0x1800ec362
inc ebx
cmp ebx, r14d
cmove ebx, r12d
cmp ebx, ebp
je 0x1800ec382
inc esi
cmp esi, 0x64
jl 0x1800ec300
jmp 0x1800ec382
mov edx, ebx
mov rcx, qword [0x1802e3d98]
call fcn.18004d8a0
mov edx, r12d
mov rcx, qword [0x1802e3d98]
mov r8, rdi
call fcn.18004d040
mov rcx, qword [0x1802e3d70]
call fcn.18004bf30
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
ret