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

Disassembly:
sub rsp, 0x28
cmp dword [0x1402d2ff0], 0
je 0x14001d0ab
xor edx, edx
lea rcx, [0x14003c9b0]
call fcn.140011a00
mov eax, dword [0x1402d2fd8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402d0197], 0
cmp eax, 1
je 0x14001d311
cmp qword [0x1402d2fb0], 0
je 0x14001d11c
mov rcx, qword [0x1402d03c0]
mov r8, qword [0x1402d2ff8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d2f1
add rdx, r8
xor r8d, r8d
call fcn.14002fe10
test eax, eax
je 0x14001d2f1
cmp byte [0x1402d0197], 0
jne 0x14001d2f1
mov eax, dword [0x1402d2fd8]
test eax, eax
jne 0x14001d2e8
cmp dword [0x1402d2ff0], eax
jne 0x14001d2e8
cmp qword [0x1402d2fb8], 0
je 0x14001d2e8
xor edi, edi
mov dword [0x1402d06d0], 1
mov qword [0x1402d3008], rdi
call fcn.14002c010
test eax, eax
jne 0x14001d1b8
mov rbx, qword [0x1402c7388]
test rbx, rbx
je 0x14001d1ae
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x1402d3000]
sub rax, rdx
cmp rax, rcx
jb 0x14001d1a1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fe10
test eax, eax
je 0x14001d2f1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d170
test edi, edi
jne 0x14001d1b8
mov dword [0x1402d06d0], 2
cmp byte [0x1402d0197], 0
jne 0x14001d2f1
mov eax, dword [0x1402d2fd8]
test eax, eax
jne 0x14001d2e8
cmp dword [0x1402d06d0], 2
jne 0x14001d2bd
mov rcx, qword [0x1402d0800]
xor edx, edx
mov r8, qword [0x1402d3000]
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.14002ee60
mov rbx, rax
test rax, rax
je 0x14001d2a9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1402ced58]
sub rdi, rsi
cmp eax, 4
jl 0x14001d26f
mov eax, dword [0x1402ced50]
test al, 1
je 0x14001d26f
call fcn.14000a5c0
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.14003f940
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004430
mov eax, dword [0x1402d2fd8]
mov rsi, qword [rsp + 0x38]
mov qword [0x1402d3008], rbx
test eax, eax
je 0x14001d2c4
jmp 0x14001d2e8
mov eax, 1
mov qword [0x1402d3008], rbx
mov dword [0x1402d2fd8], eax
jmp 0x14001d2e8
mov rbx, qword [0x1402d3008]
test rbx, rbx
je 0x14001d2e8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x1402d3000]
mov rcx, rbx
call fcn.14002fe10
test eax, eax
je 0x14001d2f1
mov eax, dword [0x1402d2fd8]
cmp byte [0x1402d0197], 0
je 0x14001d311
mov dword [0x1402d2fd8], 1
mov byte [0x1402d0197], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d35e
cmp qword [0x1402d2fb8], 0
je 0x14001d334
mov rcx, qword [0x1402d3000]
mov qword [0x1402d3270], rcx
mov qword [0x1402d3278], rcx
cmp qword [0x1402d2fb0], 0
je 0x14001d353
mov rax, qword [0x1402d2ff8]
mov qword [0x1402d3060], rax
mov qword [0x1402d3068], rax
mov qword [0x1402d2fc0], 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, [0x14002c810]
mov r14d, dword [0x1402d4880]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1402d2fa8], r12
mov qword [rax - 0x30], r12
call fcn.140011a00
mov rdx, qword [0x1402d03c0]
mov rax, qword [0x1402d03b8]
mov qword [rdx], rax
cmp dword [0x1402d4880], 4
jne 0x14002cd36
cmp dword [0x1402d2ff0], r12d
je 0x14002cd36
call fcn.14002b830
test eax, eax
jne 0x14002cd1b
mov dword [0x1402d2fd8], r15d
mov dword [0x1402d4848], 2
call fcn.140040900
inc qword [0x1402d35e8]
jmp 0x14002d45e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030e20
mov rdi, qword [0x1402d0670]
mov eax, dword [0x1402c7568]
mov dword [0x1402d487c], eax
mov qword [0x1402d0898], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cd83
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a148
test rbx, rbx
jne 0x14002cd70
mov qword [rdi + 0x18], r12
mov rax, qword [0x1402d0650]
cmp qword [0x1402cf080], rax
je 0x14002cd9c
call fcn.140027dd0
call fcn.14003ac70
mov rbx, qword [0x1402c7378]
test rbx, rbx
je 0x14002cdc2
test byte [rbx + 0x28], r15b
je 0x14002cdc2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cdc2
test byte [rbx + 0x28], r15b
jne 0x14002cdb3
mov rsi, r12
test rbx, rbx
je 0x14002cdff
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cdf4
call fcn.140015100
movzx edx, al
mov rcx, rbx
call fcn.1400293c0
mov qword [rsi + 0x30], rdi
jmp 0x14002cdf7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cdd0
mov rbx, qword [0x1402c7488]
test rbx, rbx
je 0x14002ce20
test byte [rbx + 0x28], r15b
je 0x14002ce20
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002ce20
test byte [rbx + 0x28], r15b
jne 0x14002ce11
mov rsi, r12
test rbx, rbx
je 0x14002ce5f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002ce54
call fcn.140015100
movzx edx, al
mov rcx, rbx
call fcn.1400293c0
mov qword [rsi + 0x30], rdi
jmp 0x14002ce57
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ce30
mov eax, dword [0x1402d4028]
test eax, eax
jne 0x14002ce6e
call fcn.14003aa90
xor r9d, r9d
lea r8, [0x1402d3600]
lea rdx, [0x1402d39f0]
mov ecx, ebp
call fcn.14002e210
mov ecx, dword [0x1402d39f0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x1402d3600]
mov edx, ebp
mov dword [0x1402d4848], eax
call fcn.1400323c0
cmp dword [0x1402cecd4], 4
mov dword [0x1402d4848], eax
jb 0x14002ced7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f3e0
mov eax, dword [0x1402d4848]
cmp qword [0x1402d2fc0], r12
mov ecx, dword [0x1402d487c]
je 0x14002cf03
inc qword [0x1402d2fc8]
cmp ecx, 0x11
ja 0x14002cf03
mov edx, 0x22e86
bt edx, ecx
jae 0x14002cf03
inc qword [0x1402d2fd0]
cmp eax, r15d
jle 0x14002cf0f
mov dword [0x1402d484c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004430
mov ecx, dword [0x1402d4848]
cmp ecx, 2
jne 0x14002cf8f
cmp dword [rsp + 0x68], r12d
jne 0x14002cf8f
cmp byte [0x1402d0194], r12b
je 0x14002cf8f
cmp byte [0x1402d0195], r12b
jne 0x14002cf8f
mov eax, dword [0x1402d4880]
dec eax
test eax, 0xfffffffd
jne 0x14002cf8f
mov eax, r15d
mov dword [0x1402d0e1c], r15d
xchg dword [0x1402d485c], eax
movups xmm0, xmmword [0x1402d06e8]
mov ecx, dword [0x1402d4848]
movups xmm1, xmmword [0x1402d06f8]
movups xmmword [0x1402d0c00], xmm0
movups xmm0, xmmword [0x1402d0708]
movups xmmword [0x1402d0c10], xmm1
movups xmmword [0x1402d0c20], xmm0
mov edx, dword [0x1402d30b8]
inc edx
mov qword [0x1402d4840], rdx
mov edx, 2
call fcn.14000a8d0
call fcn.14002aa00
lea rcx, str.BEGIN
call fcn.140029620
call fcn.1400150c0
test r15b, al
je 0x14002cfd4
call fcn.1400150c0
test al, 0x40
jne 0x14002cfd4
mov ecx, r15d
call fcn.140040c30
call fcn.1400150c0
cmp dword [0x1402d485c], r12d
je 0x14002d427
movaps xmm0, xmmword [0x1402d4840]
lea rcx, [0x1402d0e28]
movaps xmmword [0x1402d4310], xmm0
movaps xmm0, xmmword [0x1402d4860]
movaps xmmword [0x1402d4330], xmm0
movaps xmm0, xmmword [0x1402d4880]
mov dword [0x1402d4850], r12d
movaps xmm1, xmmword [0x1402d4850]
movaps xmmword [0x1402d4320], xmm1
movaps xmm1, xmmword [0x1402d4870]
movaps xmmword [0x1402d4350], xmm0
movsd xmm0, qword [0x1402d48a0]
movaps xmmword [0x1402d4340], xmm1
movaps xmm1, xmmword [0x1402d4890]
movsd qword [0x1402d4370], xmm0
movaps xmmword [0x1402d4360], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1402d0e18], r12d
jne 0x14002d0c7
cmp qword [0x1402d0e20], r12
jne 0x14002d0c7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023b80]
call fcn.14000a280
movzx eax, al
mov dword [0x1402d0e18], eax
test eax, eax
je 0x14002d0c7
lea rcx, [0x1402d0e28]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1402ced58]
cmp eax, 4
jl 0x14002d0d3
mov eax, dword [0x1402ced50]
test r15b, al
je 0x14002d0d3
call fcn.14000a5c0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d0d3
lea rcx, [0x1402d0e28]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1402d0e20], r12
mov dword [0x1402d0e54], r15d
mov dword [0x1402d0e50], r12d
je 0x14002d2c6
lea rdi, [0x1402c7268]
lea rsi, [0x1402c7598]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d1fb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d138
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d1fb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d120
test rbx, rbx
je 0x14002d1fb
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d1ee
test r15b, al
je 0x14002d1be
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x1402d0820]
mov r8, qword [0x1402d0828]
cmp rcx, rax
jb 0x14002d192
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d18d
mov r8, qword [0x1402d0660]
call fcn.140026610
test eax, eax
je 0x14002d2c6
or qword [rbx + 0x28], 0x40
jmp 0x14002d1ee
cmp rax, rcx
jbe 0x14002d195
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1402d0660]
call fcn.140026610
test eax, eax
je 0x14002d2c6
or qword [rbx + 0x28], 0x80
jmp 0x14002d1ee
mov r8, qword [0x1402d0660]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026610
test eax, eax
je 0x14002d2c6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d1e6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d141
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d100
mov rax, qword [0x1402d0820]
mov ebx, 0xffffffff
cmp dword [0x1402d487c], 5
mov qword [0x1402d2f38], rax
mov rax, qword [0x1402d0828]
cmove ebx, r15d
mov qword [0x1402d2f40], rax
mov dword [0x1402d0e54], r15d
mov dword [0x1402d4208], r15d
je 0x14002d26d
mov ecx, r12d
lea rdx, [0x1402d3060]
cmp qword [rdx], r12
jg 0x14002d26d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d251
mov dword [0x1402d03b4], r15d
cmp ebx, 0xffffffff
jne 0x14002d286
xorps xmm0, xmm0
movdqa xmmword [0x1402c7010], xmm0
jmp 0x14002d2b6
lea rcx, [0x1402d4840]
mov dword [0x1402d0e50], r15d
call fcn.140030dc0
mov rax, qword [0x1402d30b8]
add rax, 2
mov dword [0x1402d4848], ebx
mov qword [0x1402d4840], rax
call fcn.14002aa00
cmp dword [0x1402d0e50], r12d
jne 0x14002d2dd
call fcn.140029f60
jmp 0x14002d2dd
mov eax, r12d
mov dword [0x1402d0e54], r12d
mov dword [0x1402d4850], r15d
xchg dword [0x1402d485c], eax
cmp dword [0x1402d0e54], r12d
je 0x14002d427
lea rcx, [0x1402d0c30]
mov edx, 3
lea rax, [0x1402d33d0]
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 0x14002d300
cmp dword [0x1402d0e50], 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 0x14002d42c
mov dword [0x1402d06a0], r12d
mov dword [0x1402d06a4], 0x8000
mov dword [0x1402d3598], r12d
mov dword [0x1402d359c], 0x8000
call fcn.14002d490
movaps xmm0, xmmword [0x1402d4310]
movaps xmm1, xmmword [0x1402d4320]
movaps xmmword [0x1402d4840], xmm0
movaps xmm0, xmmword [0x1402d4330]
movaps xmmword [0x1402d4860], xmm0
movaps xmm0, xmmword [0x1402d4350]
movaps xmmword [0x1402d4850], xmm1
movaps xmm1, xmmword [0x1402d4340]
movaps xmmword [0x1402d4880], xmm0
movsd xmm0, qword [0x1402d4370]
movaps xmmword [0x1402d4870], xmm1
movaps xmm1, xmmword [0x1402d4360]
movsd qword [0x1402d48a0], xmm0
movaps xmmword [0x1402d4890], xmm1
call fcn.140029f60
jmp 0x14002d42c
call fcn.14002d490
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 [0x1402d06d8], rax
mov rax, qword [0x1402d3060]
mov qword [0x1402d06e0], rax
mov qword [0x1402d0680], 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 0x14002d481
add rsp, 0x58
jmp 0x14001d090
add rsp, 0x58
ret