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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, r8
mov r13, rdx
lea rdx, [0x140106190]
mov eax, 5
mov r12d, dword [rbp + 0xe0]
mov rcx, qword [0x140106190]
cmp rcx, rdx
je 0x14005e0f8
test byte [rcx + 0x1c], 1
je 0x14005e0f8
cmp byte [rcx + 0x19], al
jb 0x14005e0f8
mov rax, qword [rbp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov r8, qword [rbp + 0xd0]
mov qword [rsp + 0x40], r8
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r9
mov r9d, dword [rbx + 0x10]
mov rcx, qword [rcx + 0x10]
call fcn.140050e8c
xor edi, edi
xor eax, eax
mov dword [rsp + 0x5c], eax
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [rsp + 0x58], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
and qword [rbp - 0x68], rdi
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov dword [rbp - 0x50], 0xa
mov rbx, qword [rbx]
lea r14d, [rdi + 2]
test rbx, rbx
je 0x14005e7f2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3a98
ja 0x14005e79a
and qword [rsp + 0x68], 0
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rsp + 0x78], rbx
sub rcx, 0x18
call fcn.140004c20
lea rsi, [rax + 0x18]
mov qword [rsp + 0x70], rsi
and qword [rsp + 0x50], 0
xor ebx, ebx
cmp qword [r13 + 0x60], rbx
jbe 0x14005e21c
cmp rbx, qword [r13 + 0x60]
jae 0x14005e78f
mov rax, qword [r13 + 0x58]
mov rdx, rsi
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14005e1ad
inc rbx
cmp rbx, qword [r13 + 0x60]
jb 0x14005e18d
jmp 0x14005e21c
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14005e1e6
test byte [rcx + 0x1c], r14b
je 0x14005e1e6
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x14005e1e6
lea edx, [rax + 0x6a]
mov r9, rsi
lea r8, [0x1400e0360]
mov rcx, qword [rcx + 0x10]
call fcn.140003598
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [r13 + 0x50], rax
cmp rbx, qword [r13 + 0x80]
jae 0x14005e784
mov rcx, qword [r13 + 0x78]
mov rcx, qword [rcx + rbx*8]
mov qword [rsp + 0x50], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
jmp 0x14005e58d
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, qword [rbp + 0xa0]
call fcn.14006eea4
mov edi, eax
test eax, eax
js 0x14005e58d
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x28], 1
mov rax, qword [rbp + 0xf8]
mov r8, qword [rax]
mov rax, qword [rbp + 0xf0]
mov rdx, qword [rax]
lea rcx, [rbp - 0x28]
call fcn.1400579bc
mov edi, eax
test eax, eax
js 0x14005e583
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xb8]
mov rdi, qword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140075920
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.140075994
test eax, eax
jns 0x14005e3fd
xor edi, edi
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14005e33a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e363
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e38a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005e3ad
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e3d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
mov rbx, qword [rsp + 0x78]
mov esi, dword [rsp + 0x58]
je 0x14005e131
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
jmp 0x14005e131
mov rax, qword [rdi]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov rbx, qword [rbp - 0x80]
mov r8, rbx
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [case.0x14006e230.0]
test eax, eax
js 0x14005e4b0
mov r8, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, r13
call fcn.140058210
mov edi, eax
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14005e45b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e480
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e4a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov rsi, qword [rsp + 0x70]
jmp 0x14005e583
mov dword [rsp + 0x5c], eax
xor edi, edi
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14005e4cd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e4f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e519
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005e53c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14005e563
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov rbx, qword [rsp + 0x78]
mov esi, dword [rsp + 0x58]
jmp 0x14005e131
mov rcx, qword [rbp - 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
js 0x14005e71b
lea rax, [0x1400d77f0]
mov qword [rbp], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 8], rax
and dword [rbp + 0x10], 0
lea rdx, [rbp]
mov rcx, qword [rsp + 0x50]
call fcn.14006e280
mov edi, eax
test eax, eax
js 0x14005e71b
mov rcx, qword [rsp + 0x50]
mov r14, qword [rcx + 0x48]
add r14, qword [rcx + 0x28]
add r15d, r14d
mov dword [rbp + 0xb0], r15d
cmp dword [rbp + 0xd8], 0
jne 0x14005e69f
mov eax, r12d
cmp rax, r14
jbe 0x14005e5fb
sub r12d, r14d
jmp 0x14005e729
xor r15d, r15d
test r14, r14
je 0x14005e722
cmp dword [rbp + 0xe8], 0
jbe 0x14005e722
test r12d, r12d
je 0x14005e61e
dec r12d
jmp 0x14005e68b
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov dword [rbp - 0x40], r15d
test rcx, rcx
je 0x14005e641
mov rbx, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov qword [rbp - 0x48], rbx
xor r9d, r9d
mov r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.140064d30
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14005e663
mov qword [rcx], rax
jmp 0x14005e667
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
dec dword [rbp + 0xe8]
test rbx, rbx
je 0x14005e686
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov rcx, qword [rsp + 0x50]
inc r15d
mov eax, r15d
cmp rax, r14
jb 0x14005e607
jmp 0x14005e722
xor r15d, r15d
test r14, r14
je 0x14005e722
xor ebx, ebx
mov qword [rbp - 0x38], rbx
mov dword [rbp - 0x30], r15d
test rcx, rcx
je 0x14005e6ca
mov rbx, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
mov qword [rbp - 0x38], rbx
xor r9d, r9d
mov r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.140064d30
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14005e6ec
mov qword [rcx], rax
jmp 0x14005e6f0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
test rbx, rbx
je 0x14005e709
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
inc r15d
mov eax, r15d
mov rcx, qword [rsp + 0x50]
cmp rax, r14
jb 0x14005e6a7
jmp 0x14005e722
mov rcx, qword [rsp + 0x50]
jmp 0x14005e72f
mov r15d, dword [rbp + 0xb0]
mov r14d, 2
test rcx, rcx
je 0x14005e742
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
nop
lea rdx, [rsi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005e764
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005e77b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
test edi, edi
js 0x14005e7f2
jmp 0x14005e575
mov ecx, 0x80070057
call fcn.14000507c
int3
mov ecx, 0x80070057
call fcn.14000507c
nop
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14005e7ed
test byte [rcx + 0x1c], r14b
je 0x14005e7ed
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x14005e7ed
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, VarDecRound
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400e0360]
mov rcx, qword [0x140106190]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
mov rcx, qword [0x140106190]
xor r15d, r15d
jmp 0x14005e7fe
mov rcx, qword [0x140106190]
test r15d, r15d
jne 0x14005e807
mov esi, dword [rsp + 0x5c]
test esi, esi
cmovs edi, esi
mov rbx, qword [rbp + 0x108]
mov rsi, qword [rbp + 0x100]
test edi, edi
js 0x14005e873
mov eax, dword [rbp + 0xd8]
test eax, eax
je 0x14005e854
lea r9, [rbp - 0x78]
mov r8, qword [rbp + 0xd0]
mov edx, eax
mov rcx, qword [rbp + 0xf8]
call fcn.14005e8ec
mov edi, eax
test eax, eax
js 0x14005e86c
lea r8, [rbp - 0x78]
mov edx, dword [rbp + 0xe8]
mov ecx, r12d
call fcn.14005ed94
mov r8, rbx
mov rdx, qword [rbp + 0xf8]
lea rcx, [rbp - 0x78]
call fcn.140056268
mov edi, eax
mov dword [rsi], r15d
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x14005e8c0
test byte [rcx + 0x1c], 1
je 0x14005e8c0
movzx eax, byte [rcx + 0x19]
test edi, edi
mov edx, 5
cmovns r14d, edx
cmp eax, r14d
jl 0x14005e8c0
mov edx, VarDecRound
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400e0360]
mov rcx, qword [rcx + 0x10]
call fcn.14000ac78
nop
lea rcx, [rbp - 0x78]
call fcn.140043ed8
mov eax, edi
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret