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

Disassembly:
sub rsp, 0x28
cmp dword [0x140174f70], 0
je 0x14001f56b
xor edx, edx
lea rcx, [0x14003edd0]
call fcn.140013e60
mov eax, dword [0x140174f58]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140172117], 0
cmp eax, 1
je 0x14001f7d1
cmp qword [0x140174f30], 0
je 0x14001f5dc
mov rcx, qword [0x140172340]
mov r8, qword [0x140174f78]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001f7b1
add rdx, r8
xor r8d, r8d
call fcn.140032180
test eax, eax
je 0x14001f7b1
cmp byte [0x140172117], 0
jne 0x14001f7b1
mov eax, dword [0x140174f58]
test eax, eax
jne 0x14001f7a8
cmp dword [0x140174f70], eax
jne 0x14001f7a8
cmp qword [0x140174f38], 0
je 0x14001f7a8
xor edi, edi
mov dword [0x140172650], 1
mov qword [0x140174f88], rdi
call fcn.14002e3a0
test eax, eax
jne 0x14001f678
mov rbx, qword [0x14016c4d8]
test rbx, rbx
je 0x14001f66e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140174f80]
sub rax, rdx
cmp rax, rcx
jb 0x14001f661
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140032180
test eax, eax
je 0x14001f7b1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001f630
test edi, edi
jne 0x14001f678
mov dword [0x140172650], 2
cmp byte [0x140172117], 0
jne 0x14001f7b1
mov eax, dword [0x140174f58]
test eax, eax
jne 0x14001f7a8
cmp dword [0x140172650], 2
jne 0x14001f77d
mov rcx, qword [0x140172780]
xor edx, edx
mov r8, qword [0x140174f80]
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.1400311d0
mov rbx, rax
test rax, rax
je 0x14001f769
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140170cd8]
sub rdi, rsi
cmp eax, 4
jl 0x14001f72f
mov eax, dword [0x140170cd0]
test al, 1
je 0x14001f72f
call fcn.14000c9f0
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.140041da0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140007520
mov eax, dword [0x140174f58]
mov rsi, qword [rsp + 0x38]
mov qword [0x140174f88], rbx
test eax, eax
je 0x14001f784
jmp 0x14001f7a8
mov eax, 1
mov qword [0x140174f88], rbx
mov dword [0x140174f58], eax
jmp 0x14001f7a8
mov rbx, qword [0x140174f88]
test rbx, rbx
je 0x14001f7a8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140174f80]
mov rcx, rbx
call fcn.140032180
test eax, eax
je 0x14001f7b1
mov eax, dword [0x140174f58]
cmp byte [0x140172117], 0
je 0x14001f7d1
mov dword [0x140174f58], 1
mov byte [0x140172117], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001f81e
cmp qword [0x140174f38], 0
je 0x14001f7f4
mov rcx, qword [0x140174f80]
mov qword [0x1401751f0], rcx
mov qword [0x1401751f8], rcx
cmp qword [0x140174f30], 0
je 0x14001f813
mov rax, qword [0x140174f78]
mov qword [0x140174fe0], rax
mov qword [0x140174fe8], rax
mov qword [0x140174f40], 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, [0x14002eb90]
mov r14d, dword [0x140176800]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x140174f28], r12
mov qword [rax - 0x30], r12
call fcn.140013e60
mov rdx, qword [0x140172340]
mov rax, qword [0x140172338]
mov qword [rdx], rax
cmp dword [0x140176800], 4
jne 0x14002f0b6
cmp dword [0x140174f70], r12d
je 0x14002f0b6
call fcn.14002dbc0
test eax, eax
jne 0x14002f09b
mov dword [0x140174f58], r15d
mov dword [0x1401767c8], 2
call fcn.140042d40
inc qword [0x140175568]
jmp 0x14002f7e0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140033190
mov rdi, qword [0x1401725f0]
mov eax, dword [0x14016c6b8]
mov dword [0x1401767fc], eax
mov qword [0x140172818], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002f103
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006c594
test rbx, rbx
jne 0x14002f0f0
mov qword [rdi + 0x18], r12
mov rax, qword [0x1401725d0]
cmp qword [0x140171000], rax
je 0x14002f11c
call fcn.14002a1e0
call fcn.14003d050
mov rbx, qword [0x14016c4c8]
test rbx, rbx
je 0x14002f142
test byte [rbx + 0x28], r15b
je 0x14002f142
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002f142
test byte [rbx + 0x28], r15b
jne 0x14002f133
mov rsi, r12
test rbx, rbx
je 0x14002f17f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002f174
call fcn.140017560
movzx edx, al
mov rcx, rbx
call fcn.14002b750
mov qword [rsi + 0x30], rdi
jmp 0x14002f177
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002f150
mov rbx, qword [0x14016c5d8]
test rbx, rbx
je 0x14002f1a0
test byte [rbx + 0x28], r15b
je 0x14002f1a0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002f1a0
test byte [rbx + 0x28], r15b
jne 0x14002f191
mov rsi, r12
test rbx, rbx
je 0x14002f1df
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002f1d4
call fcn.140017560
movzx edx, al
mov rcx, rbx
call fcn.14002b750
mov qword [rsi + 0x30], rdi
jmp 0x14002f1d7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002f1b0
mov eax, dword [0x140175fa8]
test eax, eax
jne 0x14002f1ee
call fcn.14003ce70
xor r9d, r9d
lea r8, [0x140175580]
lea rdx, [0x140175970]
mov ecx, ebp
call fcn.140030580
mov ecx, dword [0x140175970]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140175580]
mov edx, ebp
mov dword [0x1401767c8], eax
call fcn.140034740
cmp dword [0x140170c54], 4
mov dword [0x1401767c8], eax
jb 0x14002f257
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.140011840
mov eax, dword [0x1401767c8]
cmp qword [0x140174f40], r12
mov ecx, dword [0x1401767fc]
je 0x14002f283
inc qword [0x140174f48]
cmp ecx, 0x11
ja 0x14002f283
mov edx, 0x22e86
bt edx, ecx
jae 0x14002f283
inc qword [0x140174f50]
cmp eax, r15d
jle 0x14002f28f
mov dword [0x1401767cc], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140007520
mov ecx, dword [0x1401767c8]
cmp ecx, 2
jne 0x14002f30f
cmp dword [rsp + 0x68], r12d
jne 0x14002f30f
cmp byte [0x140172114], r12b
je 0x14002f30f
cmp byte [0x140172115], r12b
jne 0x14002f30f
mov eax, dword [0x140176800]
dec eax
test eax, 0xfffffffd
jne 0x14002f30f
mov eax, r15d
mov dword [0x140172d9c], r15d
xchg dword [0x1401767dc], eax
movups xmm0, xmmword [0x140172668]
mov ecx, dword [0x1401767c8]
movups xmm1, xmmword [0x140172678]
movups xmmword [0x140172b80], xmm0
movups xmm0, xmmword [0x140172688]
movups xmmword [0x140172b90], xmm1
movups xmmword [0x140172ba0], xmm0
mov edx, dword [0x140175038]
inc edx
mov qword [0x1401767c0], rdx
mov edx, 2
call fcn.14000cd00
call fcn.14002cd90
lea rcx, str.BEGIN
call fcn.14002b9b0
call fcn.140017520
test r15b, al
je 0x14002f354
call fcn.140017520
test al, 0x40
jne 0x14002f354
mov ecx, r15d
call fcn.140043140
call fcn.140017520
cmp dword [0x1401767dc], r12d
je 0x14002f7a9
movaps xmm0, xmmword [0x1401767c0]
lea rcx, [0x140172da8]
movaps xmmword [0x140176290], xmm0
movaps xmm0, xmmword [0x1401767e0]
movaps xmmword [0x1401762b0], xmm0
movaps xmm0, xmmword [0x140176800]
mov dword [0x1401767d0], r12d
movaps xmm1, xmmword [0x1401767d0]
movaps xmmword [0x1401762a0], xmm1
movaps xmm1, xmmword [0x1401767f0]
movaps xmmword [0x1401762d0], xmm0
movsd xmm0, qword [0x140176820]
movaps xmmword [0x1401762c0], xmm1
movaps xmm1, xmmword [0x140176810]
movsd qword [0x1401762f0], xmm0
movaps xmmword [0x1401762e0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140172d98], r12d
jne 0x14002f447
cmp qword [0x140172da0], r12
jne 0x14002f447
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140026080]
call fcn.14000c6b0
movzx eax, al
mov dword [0x140172d98], eax
test eax, eax
je 0x14002f447
lea rcx, [0x140172da8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140170cd8]
cmp eax, 4
jl 0x14002f453
mov eax, dword [0x140170cd0]
test r15b, al
je 0x14002f453
call fcn.14000c9f0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002f453
lea rcx, [0x140172da8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140172da0], r12
mov dword [0x140172dd4], r15d
mov dword [0x140172dd0], r12d
je 0x14002f64b
lea rdi, [0x14016c3b8]
lea rsi, [0x14016c6e8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002f580
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002f4b8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002f580
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002f4a0
test rbx, rbx
je 0x14002f580
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002f573
test r15b, al
je 0x14002f543
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x1401727a0]
mov r8, qword [0x1401727a8]
cmp rcx, rax
jb 0x14002f518
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002f513
mov r8, qword [0x1401725e0]
mov rdx, r9
call fcn.140028a40
test eax, eax
je 0x14002f64b
or qword [rbx + 0x28], 0x40
jmp 0x14002f573
cmp rax, rcx
jbe 0x14002f51b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1401725e0]
call fcn.140028a40
test eax, eax
je 0x14002f64b
or qword [rbx + 0x28], 0x80
jmp 0x14002f573
mov r8, qword [0x1401725e0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140028a40
test eax, eax
je 0x14002f64b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002f56b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002f4c1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002f480
mov rax, qword [0x1401727a0]
mov ebx, 0xffffffff
cmp dword [0x1401767fc], 5
mov qword [0x140174eb8], rax
mov rax, qword [0x1401727a8]
cmove ebx, r15d
mov qword [0x140174ec0], rax
mov dword [0x140172dd4], r15d
mov dword [0x140176188], r15d
je 0x14002f5f2
mov ecx, r12d
lea rdx, [0x140174fe0]
cmp qword [rdx], r12
jg 0x14002f5f2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002f5d6
mov dword [0x140172334], r15d
cmp ebx, 0xffffffff
jne 0x14002f60b
xorps xmm0, xmm0
movdqa xmmword [0x14016c160], xmm0
jmp 0x14002f63b
lea rcx, [0x1401767c0]
mov dword [0x140172dd0], r15d
call fcn.140033130
mov rax, qword [0x140175038]
add rax, 2
mov dword [0x1401767c8], ebx
mov qword [0x1401767c0], rax
call fcn.14002cd90
cmp dword [0x140172dd0], r12d
jne 0x14002f662
call fcn.14002c2f0
jmp 0x14002f662
mov eax, r12d
mov dword [0x140172dd4], r12d
mov dword [0x1401767d0], r15d
xchg dword [0x1401767dc], eax
cmp dword [0x140172dd4], r12d
je 0x14002f7a9
lea rcx, [0x140172bb0]
mov edx, 3
lea rax, [0x140175350]
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 0x14002f682
cmp dword [0x140172dd0], 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 0x14002f7ae
mov dword [0x140172620], r12d
mov dword [0x140172624], 0x8000
mov dword [0x140175518], r12d
mov dword [0x14017551c], 0x8000
call fcn.14002f810
movaps xmm0, xmmword [0x140176290]
movaps xmm1, xmmword [0x1401762a0]
movaps xmmword [0x1401767c0], xmm0
movaps xmm0, xmmword [0x1401762b0]
movaps xmmword [0x1401767e0], xmm0
movaps xmm0, xmmword [0x1401762d0]
movaps xmmword [0x1401767d0], xmm1
movaps xmm1, xmmword [0x1401762c0]
movaps xmmword [0x140176800], xmm0
movsd xmm0, qword [0x1401762f0]
movaps xmmword [0x1401767f0], xmm1
movaps xmm1, xmmword [0x1401762e0]
movsd qword [0x140176820], xmm0
movaps xmmword [0x140176810], xmm1
call fcn.14002c2f0
jmp 0x14002f7ae
call fcn.14002f810
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 [0x140172658], rax
mov rax, qword [0x140174fe0]
mov qword [0x140172660], rax
mov qword [0x140172600], 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 0x14002f803
add rsp, 0x58
jmp 0x14001f550
add rsp, 0x58
ret