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

Disassembly:
sub rsp, 0x28
cmp dword [0x14027b820], 0
je 0x14001cfcb
xor edx, edx
lea rcx, [0x14003c8d0]
call fcn.140011920
mov eax, dword [0x14027b808]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402789c7], 0
cmp eax, 1
je 0x14001d231
cmp qword [0x14027b7e0], 0
je 0x14001d03c
mov rcx, qword [0x140278bf0]
mov r8, qword [0x14027b828]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d211
add rdx, r8
xor r8d, r8d
call fcn.14002fd30
test eax, eax
je 0x14001d211
cmp byte [0x1402789c7], 0
jne 0x14001d211
mov eax, dword [0x14027b808]
test eax, eax
jne 0x14001d208
cmp dword [0x14027b820], eax
jne 0x14001d208
cmp qword [0x14027b7e8], 0
je 0x14001d208
xor edi, edi
mov dword [0x140278f00], 1
mov qword [0x14027b838], rdi
call fcn.14002bf30
test eax, eax
jne 0x14001d0d8
mov rbx, qword [0x14026f748]
test rbx, rbx
je 0x14001d0ce
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14027b830]
sub rax, rdx
cmp rax, rcx
jb 0x14001d0c1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fd30
test eax, eax
je 0x14001d211
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d090
test edi, edi
jne 0x14001d0d8
mov dword [0x140278f00], 2
cmp byte [0x1402789c7], 0
jne 0x14001d211
mov eax, dword [0x14027b808]
test eax, eax
jne 0x14001d208
cmp dword [0x140278f00], 2
jne 0x14001d1dd
mov rcx, qword [0x140279030]
xor edx, edx
mov r8, qword [0x14027b830]
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.14002ed80
mov rbx, rax
test rax, rax
je 0x14001d1c9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140277588]
sub rdi, rsi
cmp eax, 4
jl 0x14001d18f
mov eax, dword [0x140277580]
test al, 1
je 0x14001d18f
call fcn.14000a670
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.14003f860
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.1400063a0
mov eax, dword [0x14027b808]
mov rsi, qword [rsp + 0x38]
mov qword [0x14027b838], rbx
test eax, eax
je 0x14001d1e4
jmp 0x14001d208
mov eax, 1
mov qword [0x14027b838], rbx
mov dword [0x14027b808], eax
jmp 0x14001d208
mov rbx, qword [0x14027b838]
test rbx, rbx
je 0x14001d208
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14027b830]
mov rcx, rbx
call fcn.14002fd30
test eax, eax
je 0x14001d211
mov eax, dword [0x14027b808]
cmp byte [0x1402789c7], 0
je 0x14001d231
mov dword [0x14027b808], 1
mov byte [0x1402789c7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d27e
cmp qword [0x14027b7e8], 0
je 0x14001d254
mov rcx, qword [0x14027b830]
mov qword [0x14027baa0], rcx
mov qword [0x14027baa8], rcx
cmp qword [0x14027b7e0], 0
je 0x14001d273
mov rax, qword [0x14027b828]
mov qword [0x14027b890], rax
mov qword [0x14027b898], rax
mov qword [0x14027b7f0], 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, [0x14002c730]
mov r14d, dword [0x14027d0b0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14027b7d8], r12
mov qword [rax - 0x30], r12
call fcn.140011920
mov rdx, qword [0x140278bf0]
mov rax, qword [0x140278be8]
mov qword [rdx], rax
cmp dword [0x14027d0b0], 4
jne 0x14002cc56
cmp dword [0x14027b820], r12d
je 0x14002cc56
call fcn.14002b750
test eax, eax
jne 0x14002cc3b
mov dword [0x14027b808], r15d
mov dword [0x14027d078], 2
call fcn.140040820
inc qword [0x14027be18]
jmp 0x14002d37e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030d40
mov rdi, qword [0x140278ea0]
mov eax, dword [0x14026f928]
mov dword [0x14027d0ac], eax
mov qword [0x1402790c8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cca3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a088
test rbx, rbx
jne 0x14002cc90
mov qword [rdi + 0x18], r12
mov rax, qword [0x140278e80]
cmp qword [0x1402778b0], rax
je 0x14002ccbc
call fcn.140027cf0
call fcn.14003ab90
mov rbx, qword [0x14026f738]
test rbx, rbx
je 0x14002cce2
test byte [rbx + 0x28], r15b
je 0x14002cce2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cce2
test byte [rbx + 0x28], r15b
jne 0x14002ccd3
mov rsi, r12
test rbx, rbx
je 0x14002cd1f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cd14
call fcn.140015020
movzx edx, al
mov rcx, rbx
call fcn.1400292e0
mov qword [rsi + 0x30], rdi
jmp 0x14002cd17
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ccf0
mov rbx, qword [0x14026f848]
test rbx, rbx
je 0x14002cd40
test byte [rbx + 0x28], r15b
je 0x14002cd40
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cd40
test byte [rbx + 0x28], r15b
jne 0x14002cd31
mov rsi, r12
test rbx, rbx
je 0x14002cd7f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cd74
call fcn.140015020
movzx edx, al
mov rcx, rbx
call fcn.1400292e0
mov qword [rsi + 0x30], rdi
jmp 0x14002cd77
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cd50
mov eax, dword [0x14027c858]
test eax, eax
jne 0x14002cd8e
call fcn.14003a9b0
xor r9d, r9d
lea r8, [0x14027be30]
lea rdx, [0x14027c220]
mov ecx, ebp
call fcn.14002e130
mov ecx, dword [0x14027c220]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14027be30]
mov edx, ebp
mov dword [0x14027d078], eax
call fcn.1400322e0
cmp dword [0x140277504], 4
mov dword [0x14027d078], eax
jb 0x14002cdf7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f300
mov eax, dword [0x14027d078]
cmp qword [0x14027b7f0], r12
mov ecx, dword [0x14027d0ac]
je 0x14002ce23
inc qword [0x14027b7f8]
cmp ecx, 0x11
ja 0x14002ce23
mov edx, 0x22e86
bt edx, ecx
jae 0x14002ce23
inc qword [0x14027b800]
cmp eax, r15d
jle 0x14002ce2f
mov dword [0x14027d07c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.1400063a0
mov ecx, dword [0x14027d078]
cmp ecx, 2
jne 0x14002ceaf
cmp dword [rsp + 0x68], r12d
jne 0x14002ceaf
cmp byte [0x1402789c4], r12b
je 0x14002ceaf
cmp byte [0x1402789c5], r12b
jne 0x14002ceaf
mov eax, dword [0x14027d0b0]
dec eax
test eax, 0xfffffffd
jne 0x14002ceaf
mov eax, r15d
mov dword [0x14027964c], r15d
xchg dword [0x14027d08c], eax
movups xmm0, xmmword [0x140278f18]
mov ecx, dword [0x14027d078]
movups xmm1, xmmword [0x140278f28]
movups xmmword [0x140279430], xmm0
movups xmm0, xmmword [0x140278f38]
movups xmmword [0x140279440], xmm1
movups xmmword [0x140279450], xmm0
mov edx, dword [0x14027b8e8]
inc edx
mov qword [0x14027d070], rdx
mov edx, 2
call fcn.14000a980
call fcn.14002a920
lea rcx, str.BEGIN
call fcn.140029540
call fcn.140014fe0
test r15b, al
je 0x14002cef4
call fcn.140014fe0
test al, 0x40
jne 0x14002cef4
mov ecx, r15d
call fcn.140040b50
call fcn.140014fe0
cmp dword [0x14027d08c], r12d
je 0x14002d347
movaps xmm0, xmmword [0x14027d070]
lea rcx, [0x140279658]
movaps xmmword [0x14027cb40], xmm0
movaps xmm0, xmmword [0x14027d090]
movaps xmmword [0x14027cb60], xmm0
movaps xmm0, xmmword [0x14027d0b0]
mov dword [0x14027d080], r12d
movaps xmm1, xmmword [0x14027d080]
movaps xmmword [0x14027cb50], xmm1
movaps xmm1, xmmword [0x14027d0a0]
movaps xmmword [0x14027cb80], xmm0
movsd xmm0, qword [0x14027d0d0]
movaps xmmword [0x14027cb70], xmm1
movaps xmm1, xmmword [0x14027d0c0]
movsd qword [0x14027cba0], xmm0
movaps xmmword [0x14027cb90], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140279648], r12d
jne 0x14002cfe7
cmp qword [0x140279650], r12
jne 0x14002cfe7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023aa0]
call fcn.14000a330
movzx eax, al
mov dword [0x140279648], eax
test eax, eax
je 0x14002cfe7
lea rcx, [0x140279658]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140277588]
cmp eax, 4
jl 0x14002cff3
mov eax, dword [0x140277580]
test r15b, al
je 0x14002cff3
call fcn.14000a670
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002cff3
lea rcx, [0x140279658]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140279650], r12
mov dword [0x140279684], r15d
mov dword [0x140279680], r12d
je 0x14002d1e6
lea rdi, [0x14026f628]
lea rsi, [0x14026f958]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d11b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d058
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d11b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d040
test rbx, rbx
je 0x14002d11b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d10e
test r15b, al
je 0x14002d0de
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140279050]
mov r8, qword [0x140279058]
cmp rcx, rax
jb 0x14002d0b2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d0ad
mov r8, qword [0x140278e90]
call fcn.140026530
test eax, eax
je 0x14002d1e6
or qword [rbx + 0x28], 0x40
jmp 0x14002d10e
cmp rax, rcx
jbe 0x14002d0b5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140278e90]
call fcn.140026530
test eax, eax
je 0x14002d1e6
or qword [rbx + 0x28], 0x80
jmp 0x14002d10e
mov r8, qword [0x140278e90]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026530
test eax, eax
je 0x14002d1e6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d106
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d061
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d020
mov rax, qword [0x140279050]
mov ebx, 0xffffffff
cmp dword [0x14027d0ac], 5
mov qword [0x14027b768], rax
mov rax, qword [0x140279058]
cmove ebx, r15d
mov qword [0x14027b770], rax
mov dword [0x140279684], r15d
mov dword [0x14027ca38], r15d
je 0x14002d18d
mov ecx, r12d
lea rdx, [0x14027b890]
cmp qword [rdx], r12
jg 0x14002d18d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d171
mov dword [0x140278be4], r15d
cmp ebx, 0xffffffff
jne 0x14002d1a6
xorps xmm0, xmm0
movdqa xmmword [0x14026f3d0], xmm0
jmp 0x14002d1d6
lea rcx, [0x14027d070]
mov dword [0x140279680], r15d
call fcn.140030ce0
mov rax, qword [0x14027b8e8]
add rax, 2
mov dword [0x14027d078], ebx
mov qword [0x14027d070], rax
call fcn.14002a920
cmp dword [0x140279680], r12d
jne 0x14002d1fd
call fcn.140029e80
jmp 0x14002d1fd
mov eax, r12d
mov dword [0x140279684], r12d
mov dword [0x14027d080], r15d
xchg dword [0x14027d08c], eax
cmp dword [0x140279684], r12d
je 0x14002d347
lea rcx, [0x140279460]
mov edx, 3
lea rax, [0x14027bc00]
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 0x14002d220
cmp dword [0x140279680], 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 0x14002d34c
mov dword [0x140278ed0], r12d
mov dword [0x140278ed4], 0x8000
mov dword [0x14027bdc8], r12d
mov dword [0x14027bdcc], 0x8000
call fcn.14002d3b0
movaps xmm0, xmmword [0x14027cb40]
movaps xmm1, xmmword [0x14027cb50]
movaps xmmword [0x14027d070], xmm0
movaps xmm0, xmmword [0x14027cb60]
movaps xmmword [0x14027d090], xmm0
movaps xmm0, xmmword [0x14027cb80]
movaps xmmword [0x14027d080], xmm1
movaps xmm1, xmmword [0x14027cb70]
movaps xmmword [0x14027d0b0], xmm0
movsd xmm0, qword [0x14027cba0]
movaps xmmword [0x14027d0a0], xmm1
movaps xmm1, xmmword [0x14027cb90]
movsd qword [0x14027d0d0], xmm0
movaps xmmword [0x14027d0c0], xmm1
call fcn.140029e80
jmp 0x14002d34c
call fcn.14002d3b0
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 [0x140278f08], rax
mov rax, qword [0x14027b890]
mov qword [0x140278f10], rax
mov qword [0x140278eb0], 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 0x14002d3a1
add rsp, 0x58
jmp 0x14001cfb0
add rsp, 0x58
ret