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

Disassembly:
sub rsp, 0x28
cmp dword [0x1402cf360], 0
je 0x14001d13b
xor edx, edx
lea rcx, [0x14003c9a0]
call fcn.140011a30
mov eax, dword [0x1402cf348]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402cc507], 0
cmp eax, 1
je 0x14001d3a1
cmp qword [0x1402cf320], 0
je 0x14001d1ac
mov rcx, qword [0x1402cc730]
mov r8, qword [0x1402cf368]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d381
add rdx, r8
xor r8d, r8d
call fcn.14002fd50
test eax, eax
je 0x14001d381
cmp byte [0x1402cc507], 0
jne 0x14001d381
mov eax, dword [0x1402cf348]
test eax, eax
jne 0x14001d378
cmp dword [0x1402cf360], eax
jne 0x14001d378
cmp qword [0x1402cf328], 0
je 0x14001d378
xor edi, edi
mov dword [0x1402cca40], 1
mov qword [0x1402cf378], rdi
call fcn.14002bf70
test eax, eax
jne 0x14001d248
mov rbx, qword [0x1402c2f18]
test rbx, rbx
je 0x14001d23e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x1402cf370]
sub rax, rdx
cmp rax, rcx
jb 0x14001d231
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fd50
test eax, eax
je 0x14001d381
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d200
test edi, edi
jne 0x14001d248
mov dword [0x1402cca40], 2
cmp byte [0x1402cc507], 0
jne 0x14001d381
mov eax, dword [0x1402cf348]
test eax, eax
jne 0x14001d378
cmp dword [0x1402cca40], 2
jne 0x14001d34d
mov rcx, qword [0x1402ccb70]
xor edx, edx
mov r8, qword [0x1402cf370]
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.14002eda0
mov rbx, rax
test rax, rax
je 0x14001d339
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1402cb0c8]
sub rdi, rsi
cmp eax, 4
jl 0x14001d2ff
mov eax, dword [0x1402cb0c0]
test al, 1
je 0x14001d2ff
call fcn.14000a5f0
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.14003f970
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005f30
mov eax, dword [0x1402cf348]
mov rsi, qword [rsp + 0x38]
mov qword [0x1402cf378], rbx
test eax, eax
je 0x14001d354
jmp 0x14001d378
mov eax, 1
mov qword [0x1402cf378], rbx
mov dword [0x1402cf348], eax
jmp 0x14001d378
mov rbx, qword [0x1402cf378]
test rbx, rbx
je 0x14001d378
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x1402cf370]
mov rcx, rbx
call fcn.14002fd50
test eax, eax
je 0x14001d381
mov eax, dword [0x1402cf348]
cmp byte [0x1402cc507], 0
je 0x14001d3a1
mov dword [0x1402cf348], 1
mov byte [0x1402cc507], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d3ee
cmp qword [0x1402cf328], 0
je 0x14001d3c4
mov rcx, qword [0x1402cf370]
mov qword [0x1402cf5e0], rcx
mov qword [0x1402cf5e8], rcx
cmp qword [0x1402cf320], 0
je 0x14001d3e3
mov rax, qword [0x1402cf368]
mov qword [0x1402cf3d0], rax
mov qword [0x1402cf3d8], rax
mov qword [0x1402cf330], 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, [0x14002c760]
mov r14d, dword [0x1402d0bf0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1402cf318], r12
mov qword [rax - 0x30], r12
call fcn.140011a30
mov rdx, qword [0x1402cc730]
mov rax, qword [0x1402cc728]
mov qword [rdx], rax
cmp dword [0x1402d0bf0], 4
jne 0x14002cc86
cmp dword [0x1402cf360], r12d
je 0x14002cc86
call fcn.14002b790
test eax, eax
jne 0x14002cc6b
mov dword [0x1402cf348], r15d
mov dword [0x1402d0bb8], 2
call fcn.140040910
inc qword [0x1402cf958]
jmp 0x14002d3b0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030d60
mov rdi, qword [0x1402cc9e0]
mov eax, dword [0x1402c30f8]
mov dword [0x1402d0bec], eax
mov qword [0x1402ccc08], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002ccd3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14005f68c
test rbx, rbx
jne 0x14002ccc0
mov qword [rdi + 0x18], r12
mov rax, qword [0x1402cc9c0]
cmp qword [0x1402cb0e0], rax
je 0x14002ccec
call fcn.140027db0
call fcn.14003ac20
mov rbx, qword [0x1402c2f08]
test rbx, rbx
je 0x14002cd12
test byte [rbx + 0x28], r15b
je 0x14002cd12
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cd12
test byte [rbx + 0x28], r15b
jne 0x14002cd03
mov rsi, r12
test rbx, rbx
je 0x14002cd4f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cd44
call fcn.140017770
movzx edx, al
mov rcx, rbx
call fcn.140029320
mov qword [rsi + 0x30], rdi
jmp 0x14002cd47
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cd20
mov rbx, qword [0x1402c3018]
test rbx, rbx
je 0x14002cd70
test byte [rbx + 0x28], r15b
je 0x14002cd70
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cd70
test byte [rbx + 0x28], r15b
jne 0x14002cd61
mov rsi, r12
test rbx, rbx
je 0x14002cdaf
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cda4
call fcn.140017770
movzx edx, al
mov rcx, rbx
call fcn.140029320
mov qword [rsi + 0x30], rdi
jmp 0x14002cda7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cd80
mov eax, dword [0x1402d0398]
test eax, eax
jne 0x14002cdbe
call fcn.14003aa40
xor r9d, r9d
lea r8, [0x1402cf970]
lea rdx, [0x1402cfd60]
mov ecx, ebp
call fcn.14002e150
mov ecx, dword [0x1402cfd60]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x1402cf970]
mov edx, ebp
mov dword [0x1402d0bb8], eax
call fcn.140032310
cmp dword [0x1402ca704], 4
mov dword [0x1402d0bb8], eax
jb 0x14002ce27
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000ed30
mov eax, dword [0x1402d0bb8]
cmp qword [0x1402cf330], r12
mov ecx, dword [0x1402d0bec]
je 0x14002ce53
inc qword [0x1402cf338]
cmp ecx, 0x11
ja 0x14002ce53
mov edx, 0x22e86
bt edx, ecx
jae 0x14002ce53
inc qword [0x1402cf340]
cmp eax, r15d
jle 0x14002ce5f
mov dword [0x1402d0bbc], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140005f30
mov ecx, dword [0x1402d0bb8]
cmp ecx, 2
jne 0x14002cedf
cmp dword [rsp + 0x68], r12d
jne 0x14002cedf
cmp byte [0x1402cc504], r12b
je 0x14002cedf
cmp byte [0x1402cc505], r12b
jne 0x14002cedf
mov eax, dword [0x1402d0bf0]
dec eax
test eax, 0xfffffffd
jne 0x14002cedf
mov eax, r15d
mov dword [0x1402cd18c], r15d
xchg dword [0x1402d0bcc], eax
movups xmm0, xmmword [0x1402cca58]
mov ecx, dword [0x1402d0bb8]
movups xmm1, xmmword [0x1402cca68]
movups xmmword [0x1402ccf70], xmm0
movups xmm0, xmmword [0x1402cca78]
movups xmmword [0x1402ccf80], xmm1
movups xmmword [0x1402ccf90], xmm0
mov edx, dword [0x1402cf428]
inc edx
mov qword [0x1402d0bb0], rdx
mov edx, 2
call fcn.14000a900
call fcn.14002a960
lea rcx, str.BEGIN
call fcn.140029580
call fcn.140017730
test r15b, al
je 0x14002cf24
call fcn.140017730
test al, 0x40
jne 0x14002cf24
mov ecx, r15d
call fcn.140040d10
call fcn.140017730
cmp dword [0x1402d0bcc], r12d
je 0x14002d379
movaps xmm0, xmmword [0x1402d0bb0]
lea rcx, [0x1402cd198]
movaps xmmword [0x1402d0680], xmm0
movaps xmm0, xmmword [0x1402d0bd0]
movaps xmmword [0x1402d06a0], xmm0
movaps xmm0, xmmword [0x1402d0bf0]
mov dword [0x1402d0bc0], r12d
movaps xmm1, xmmword [0x1402d0bc0]
movaps xmmword [0x1402d0690], xmm1
movaps xmm1, xmmword [0x1402d0be0]
movaps xmmword [0x1402d06c0], xmm0
movsd xmm0, qword [0x1402d0c10]
movaps xmmword [0x1402d06b0], xmm1
movaps xmm1, xmmword [0x1402d0c00]
movsd qword [0x1402d06e0], xmm0
movaps xmmword [0x1402d06d0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1402cd188], r12d
jne 0x14002d017
cmp qword [0x1402cd190], r12
jne 0x14002d017
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023c50]
call fcn.14000a2b0
movzx eax, al
mov dword [0x1402cd188], eax
test eax, eax
je 0x14002d017
lea rcx, [0x1402cd198]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1402cb0c8]
cmp eax, 4
jl 0x14002d023
mov eax, dword [0x1402cb0c0]
test r15b, al
je 0x14002d023
call fcn.14000a5f0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d023
lea rcx, [0x1402cd198]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1402cd190], r12
mov dword [0x1402cd1c4], r15d
mov dword [0x1402cd1c0], r12d
je 0x14002d21b
lea rdi, [0x1402c2df8]
lea rsi, [0x1402c3128]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d150
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d088
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d150
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d070
test rbx, rbx
je 0x14002d150
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d143
test r15b, al
je 0x14002d113
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x1402ccb90]
mov r8, qword [0x1402ccb98]
cmp rcx, rax
jb 0x14002d0e8
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002d0e3
mov r8, qword [0x1402cc9d0]
mov rdx, r9
call fcn.140026610
test eax, eax
je 0x14002d21b
or qword [rbx + 0x28], 0x40
jmp 0x14002d143
cmp rax, rcx
jbe 0x14002d0eb
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1402cc9d0]
call fcn.140026610
test eax, eax
je 0x14002d21b
or qword [rbx + 0x28], 0x80
jmp 0x14002d143
mov r8, qword [0x1402cc9d0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026610
test eax, eax
je 0x14002d21b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d13b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d091
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d050
mov rax, qword [0x1402ccb90]
mov ebx, 0xffffffff
cmp dword [0x1402d0bec], 5
mov qword [0x1402cf2a8], rax
mov rax, qword [0x1402ccb98]
cmove ebx, r15d
mov qword [0x1402cf2b0], rax
mov dword [0x1402cd1c4], r15d
mov dword [0x1402d0578], r15d
je 0x14002d1c2
mov ecx, r12d
lea rdx, [0x1402cf3d0]
cmp qword [rdx], r12
jg 0x14002d1c2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d1a6
mov dword [0x1402cc724], r15d
cmp ebx, 0xffffffff
jne 0x14002d1db
xorps xmm0, xmm0
movdqa xmmword [0x1402c2ba0], xmm0
jmp 0x14002d20b
lea rcx, [0x1402d0bb0]
mov dword [0x1402cd1c0], r15d
call fcn.140030d00
mov rax, qword [0x1402cf428]
add rax, 2
mov dword [0x1402d0bb8], ebx
mov qword [0x1402d0bb0], rax
call fcn.14002a960
cmp dword [0x1402cd1c0], r12d
jne 0x14002d232
call fcn.140029ec0
jmp 0x14002d232
mov eax, r12d
mov dword [0x1402cd1c4], r12d
mov dword [0x1402d0bc0], r15d
xchg dword [0x1402d0bcc], eax
cmp dword [0x1402cd1c4], r12d
je 0x14002d379
lea rcx, [0x1402ccfa0]
mov edx, 3
lea rax, [0x1402cf740]
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 0x14002d252
cmp dword [0x1402cd1c0], 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 0x14002d37e
mov dword [0x1402cca10], r12d
mov dword [0x1402cca14], 0x8000
mov dword [0x1402cf908], r12d
mov dword [0x1402cf90c], 0x8000
call fcn.14002d3e0
movaps xmm0, xmmword [0x1402d0680]
movaps xmm1, xmmword [0x1402d0690]
movaps xmmword [0x1402d0bb0], xmm0
movaps xmm0, xmmword [0x1402d06a0]
movaps xmmword [0x1402d0bd0], xmm0
movaps xmm0, xmmword [0x1402d06c0]
movaps xmmword [0x1402d0bc0], xmm1
movaps xmm1, xmmword [0x1402d06b0]
movaps xmmword [0x1402d0bf0], xmm0
movsd xmm0, qword [0x1402d06e0]
movaps xmmword [0x1402d0be0], xmm1
movaps xmm1, xmmword [0x1402d06d0]
movsd qword [0x1402d0c10], xmm0
movaps xmmword [0x1402d0c00], xmm1
call fcn.140029ec0
jmp 0x14002d37e
call fcn.14002d3e0
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 [0x1402cca48], rax
mov rax, qword [0x1402cf3d0]
mov qword [0x1402cca50], rax
mov qword [0x1402cc9f0], 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 0x14002d3d3
add rsp, 0x58
jmp 0x14001d120
add rsp, 0x58
ret