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

Disassembly:
sub rsp, 0x28
cmp dword [0x14028c430], 0
je 0x14001d10b
xor edx, edx
lea rcx, [0x14003ca10]
call fcn.140011a60
mov eax, dword [0x14028c418]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402895d7], 0
cmp eax, 1
je 0x14001d371
cmp qword [0x14028c3f0], 0
je 0x14001d17c
mov rcx, qword [0x140289800]
mov r8, qword [0x14028c438]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d351
add rdx, r8
xor r8d, r8d
call fcn.14002fe70
test eax, eax
je 0x14001d351
cmp byte [0x1402895d7], 0
jne 0x14001d351
mov eax, dword [0x14028c418]
test eax, eax
jne 0x14001d348
cmp dword [0x14028c430], eax
jne 0x14001d348
cmp qword [0x14028c3f8], 0
je 0x14001d348
xor edi, edi
mov dword [0x140289b10], 1
mov qword [0x14028c448], rdi
call fcn.14002c070
test eax, eax
jne 0x14001d218
mov rbx, qword [0x140280248]
test rbx, rbx
je 0x14001d20e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14028c440]
sub rax, rdx
cmp rax, rcx
jb 0x14001d201
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fe70
test eax, eax
je 0x14001d351
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d1d0
test edi, edi
jne 0x14001d218
mov dword [0x140289b10], 2
cmp byte [0x1402895d7], 0
jne 0x14001d351
mov eax, dword [0x14028c418]
test eax, eax
jne 0x14001d348
cmp dword [0x140289b10], 2
jne 0x14001d31d
mov rcx, qword [0x140289c40]
xor edx, edx
mov r8, qword [0x14028c440]
add r8, 0x1030
add r8, rcx
mov rax, r8
div rcx
sub r8, rdx
mov edx, 1
cmp rcx, r8
cmovbe rcx, r8
add rcx, 0xfff
and rcx, 0xfffffffffffff000
call fcn.14002eec0
mov rbx, rax
test rax, rax
je 0x14001d309
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140288198]
sub rdi, rsi
cmp eax, 4
jl 0x14001d2cf
mov eax, dword [0x140288190]
test al, 1
je 0x14001d2cf
call fcn.14000a7b0
mov r9d, 1
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov r10, qword [rax]
call qword [r10 + 0x28]
mov rdx, rbx
mov ecx, 3
call fcn.14003f9a0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004710
mov eax, dword [0x14028c418]
mov rsi, qword [rsp + 0x38]
mov qword [0x14028c448], rbx
test eax, eax
je 0x14001d324
jmp 0x14001d348
mov eax, 1
mov qword [0x14028c448], rbx
mov dword [0x14028c418], eax
jmp 0x14001d348
mov rbx, qword [0x14028c448]
test rbx, rbx
je 0x14001d348
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14028c440]
mov rcx, rbx
call fcn.14002fe70
test eax, eax
je 0x14001d351
mov eax, dword [0x14028c418]
cmp byte [0x1402895d7], 0
je 0x14001d371
mov dword [0x14028c418], 1
mov byte [0x1402895d7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d3be
cmp qword [0x14028c3f8], 0
je 0x14001d394
mov rcx, qword [0x14028c440]
mov qword [0x14028c6b0], rcx
mov qword [0x14028c6b8], rcx
cmp qword [0x14028c3f0], 0
je 0x14001d3b3
mov rax, qword [0x14028c438]
mov qword [0x14028c4a0], rax
mov qword [0x14028c4a8], rax
mov qword [0x14028c400], 1
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rax, rsp
sub rsp, 0x58
mov qword [rax + 0x18], rbp
lea rdx, [rax - 0x38]
mov qword [rax - 0x18], r12
mov ebp, ecx
mov qword [rax - 0x20], r14
lea rcx, [0x14002c870]
mov r14d, dword [0x14028dcc0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14028c3e8], r12
mov qword [rax - 0x30], r12
call fcn.140011a60
mov rdx, qword [0x140289800]
mov rax, qword [0x1402897f8]
mov qword [rdx], rax
cmp dword [0x14028dcc0], 4
jne 0x14002cd96
cmp dword [0x14028c430], r12d
je 0x14002cd96
call fcn.14002b890
test eax, eax
jne 0x14002cd7b
mov dword [0x14028c418], r15d
mov dword [0x14028dc88], 2
call fcn.140040960
inc qword [0x14028ca28]
jmp 0x14002d4be
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030e80
mov rdi, qword [0x140289ab0]
mov eax, dword [0x140280428]
mov dword [0x14028dcbc], eax
mov qword [0x140289cd8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cde3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a1b0
test rbx, rbx
jne 0x14002cdd0
mov qword [rdi + 0x18], r12
mov rax, qword [0x140289a90]
cmp qword [0x1402884c0], rax
je 0x14002cdfc
call fcn.140027e30
call fcn.14003acd0
mov rbx, qword [0x140280238]
test rbx, rbx
je 0x14002ce22
test byte [rbx + 0x28], r15b
je 0x14002ce22
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002ce22
test byte [rbx + 0x28], r15b
jne 0x14002ce13
mov rsi, r12
test rbx, rbx
je 0x14002ce5f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002ce54
call fcn.140015160
movzx edx, al
mov rcx, rbx
call fcn.140029420
mov qword [rsi + 0x30], rdi
jmp 0x14002ce57
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ce30
mov rbx, qword [0x140280348]
test rbx, rbx
je 0x14002ce80
test byte [rbx + 0x28], r15b
je 0x14002ce80
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002ce80
test byte [rbx + 0x28], r15b
jne 0x14002ce71
mov rsi, r12
test rbx, rbx
je 0x14002cebf
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002ceb4
call fcn.140015160
movzx edx, al
mov rcx, rbx
call fcn.140029420
mov qword [rsi + 0x30], rdi
jmp 0x14002ceb7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ce90
mov eax, dword [0x14028d468]
test eax, eax
jne 0x14002cece
call fcn.14003aaf0
xor r9d, r9d
lea r8, [0x14028ca40]
lea rdx, [0x14028ce30]
mov ecx, ebp
call fcn.14002e270
mov ecx, dword [0x14028ce30]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14028ca40]
mov edx, ebp
mov dword [0x14028dc88], eax
call fcn.140032420
cmp dword [0x140288114], 4
mov dword [0x14028dc88], eax
jb 0x14002cf37
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f440
mov eax, dword [0x14028dc88]
cmp qword [0x14028c400], r12
mov ecx, dword [0x14028dcbc]
je 0x14002cf63
inc qword [0x14028c408]
cmp ecx, 0x11
ja 0x14002cf63
mov edx, 0x22e86
bt edx, ecx
jae 0x14002cf63
inc qword [0x14028c410]
cmp eax, r15d
jle 0x14002cf6f
mov dword [0x14028dc8c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004710
mov ecx, dword [0x14028dc88]
cmp ecx, 2
jne 0x14002cfef
cmp dword [rsp + 0x68], r12d
jne 0x14002cfef
cmp byte [0x1402895d4], r12b
je 0x14002cfef
cmp byte [0x1402895d5], r12b
jne 0x14002cfef
mov eax, dword [0x14028dcc0]
dec eax
test eax, 0xfffffffd
jne 0x14002cfef
mov eax, r15d
mov dword [0x14028a25c], r15d
xchg dword [0x14028dc9c], eax
movups xmm0, xmmword [0x140289b28]
mov ecx, dword [0x14028dc88]
movups xmm1, xmmword [0x140289b38]
movups xmmword [0x14028a040], xmm0
movups xmm0, xmmword [0x140289b48]
movups xmmword [0x14028a050], xmm1
movups xmmword [0x14028a060], xmm0
mov edx, dword [0x14028c4f8]
inc edx
mov qword [0x14028dc80], rdx
mov edx, 2
call fcn.14000aac0
call fcn.14002aa60
lea rcx, str.BEGIN
call fcn.140029680
call fcn.140015120
test r15b, al
je 0x14002d034
call fcn.140015120
test al, 0x40
jne 0x14002d034
mov ecx, r15d
call fcn.140040c90
call fcn.140015120
cmp dword [0x14028dc9c], r12d
je 0x14002d487
movaps xmm0, xmmword [0x14028dc80]
lea rcx, [0x14028a268]
movaps xmmword [0x14028d750], xmm0
movaps xmm0, xmmword [0x14028dca0]
movaps xmmword [0x14028d770], xmm0
movaps xmm0, xmmword [0x14028dcc0]
mov dword [0x14028dc90], r12d
movaps xmm1, xmmword [0x14028dc90]
movaps xmmword [0x14028d760], xmm1
movaps xmm1, xmmword [0x14028dcb0]
movaps xmmword [0x14028d790], xmm0
movsd xmm0, qword [0x14028dce0]
movaps xmmword [0x14028d780], xmm1
movaps xmm1, xmmword [0x14028dcd0]
movsd qword [0x14028d7b0], xmm0
movaps xmmword [0x14028d7a0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14028a258], r12d
jne 0x14002d127
cmp qword [0x14028a260], r12
jne 0x14002d127
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023be0]
call fcn.14000a470
movzx eax, al
mov dword [0x14028a258], eax
test eax, eax
je 0x14002d127
lea rcx, [0x14028a268]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140288198]
cmp eax, 4
jl 0x14002d133
mov eax, dword [0x140288190]
test r15b, al
je 0x14002d133
call fcn.14000a7b0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d133
lea rcx, [0x14028a268]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14028a260], r12
mov dword [0x14028a294], r15d
mov dword [0x14028a290], r12d
je 0x14002d326
lea rdi, [0x140280128]
lea rsi, [0x140280458]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d25b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d198
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d25b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d180
test rbx, rbx
je 0x14002d25b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d24e
test r15b, al
je 0x14002d21e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140289c60]
mov r8, qword [0x140289c68]
cmp rcx, rax
jb 0x14002d1f2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d1ed
mov r8, qword [0x140289aa0]
call fcn.140026670
test eax, eax
je 0x14002d326
or qword [rbx + 0x28], 0x40
jmp 0x14002d24e
cmp rax, rcx
jbe 0x14002d1f5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140289aa0]
call fcn.140026670
test eax, eax
je 0x14002d326
or qword [rbx + 0x28], 0x80
jmp 0x14002d24e
mov r8, qword [0x140289aa0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026670
test eax, eax
je 0x14002d326
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d246
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d1a1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d160
mov rax, qword [0x140289c60]
mov ebx, 0xffffffff
cmp dword [0x14028dcbc], 5
mov qword [0x14028c378], rax
mov rax, qword [0x140289c68]
cmove ebx, r15d
mov qword [0x14028c380], rax
mov dword [0x14028a294], r15d
mov dword [0x14028d648], r15d
je 0x14002d2cd
mov ecx, r12d
lea rdx, [0x14028c4a0]
cmp qword [rdx], r12
jg 0x14002d2cd
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d2b1
mov dword [0x1402897f4], r15d
cmp ebx, 0xffffffff
jne 0x14002d2e6
xorps xmm0, xmm0
movdqa xmmword [0x14027fed0], xmm0
jmp 0x14002d316
lea rcx, [0x14028dc80]
mov dword [0x14028a290], r15d
call fcn.140030e20
mov rax, qword [0x14028c4f8]
add rax, 2
mov dword [0x14028dc88], ebx
mov qword [0x14028dc80], rax
call fcn.14002aa60
cmp dword [0x14028a290], r12d
jne 0x14002d33d
call fcn.140029fc0
jmp 0x14002d33d
mov eax, r12d
mov dword [0x14028a294], r12d
mov dword [0x14028dc90], r15d
xchg dword [0x14028dc9c], eax
cmp dword [0x14028a294], r12d
je 0x14002d487
lea rcx, [0x14028a070]
mov edx, 3
lea rax, [0x14028c810]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, r15
jne 0x14002d360
cmp dword [0x14028a290], r12d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
mov rax, qword [rax + 0x60]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
mov qword [rcx + 0x60], rax
je 0x14002d48c
mov dword [0x140289ae0], r12d
mov dword [0x140289ae4], 0x8000
mov dword [0x14028c9d8], r12d
mov dword [0x14028c9dc], 0x8000
call fcn.14002d4f0
movaps xmm0, xmmword [0x14028d750]
movaps xmm1, xmmword [0x14028d760]
movaps xmmword [0x14028dc80], xmm0
movaps xmm0, xmmword [0x14028d770]
movaps xmmword [0x14028dca0], xmm0
movaps xmm0, xmmword [0x14028d790]
movaps xmmword [0x14028dc90], xmm1
movaps xmm1, xmmword [0x14028d780]
movaps xmmword [0x14028dcc0], xmm0
movsd xmm0, qword [0x14028d7b0]
movaps xmmword [0x14028dcb0], xmm1
movaps xmm1, xmmword [0x14028d7a0]
movsd qword [0x14028dce0], xmm0
movaps xmmword [0x14028dcd0], xmm1
call fcn.140029fc0
jmp 0x14002d48c
call fcn.14002d4f0
call sub.KERNEL32.dll_GetTickCount
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov eax, eax
mov qword [0x140289b18], rax
mov rax, qword [0x14028c4a0]
mov qword [0x140289b20], rax
mov qword [0x140289ac0], rax
mov r15, qword [rsp + 0x30]
cmp r14d, 4
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x70]
jne 0x14002d4e1
add rsp, 0x58
jmp 0x14001d0f0
add rsp, 0x58
ret