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

Disassembly:
sub rsp, 0x28
cmp dword [0x14040ae80], 0
je 0x14001f3fb
xor edx, edx
lea rcx, [0x14003ec60]
call fcn.140012fb0
mov eax, dword [0x14040ae68]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140408027], 0
cmp eax, 1
je 0x14001f661
cmp qword [0x14040ae40], 0
je 0x14001f46c
mov rcx, qword [0x140408250]
mov r8, qword [0x14040ae88]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001f641
add rdx, r8
xor r8d, r8d
call fcn.140032010
test eax, eax
je 0x14001f641
cmp byte [0x140408027], 0
jne 0x14001f641
mov eax, dword [0x14040ae68]
test eax, eax
jne 0x14001f638
cmp dword [0x14040ae80], eax
jne 0x14001f638
cmp qword [0x14040ae48], 0
je 0x14001f638
xor edi, edi
mov dword [0x140408560], 1
mov qword [0x14040ae98], rdi
call fcn.14002e230
test eax, eax
jne 0x14001f508
mov rbx, qword [0x1403ff508]
test rbx, rbx
je 0x14001f4fe
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14040ae90]
sub rax, rdx
cmp rax, rcx
jb 0x14001f4f1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140032010
test eax, eax
je 0x14001f641
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001f4c0
test edi, edi
jne 0x14001f508
mov dword [0x140408560], 2
cmp byte [0x140408027], 0
jne 0x14001f641
mov eax, dword [0x14040ae68]
test eax, eax
jne 0x14001f638
cmp dword [0x140408560], 2
jne 0x14001f60d
mov rcx, qword [0x140408690]
xor edx, edx
mov r8, qword [0x14040ae90]
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.140031060
mov rbx, rax
test rax, rax
je 0x14001f5f9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140406be8]
sub rdi, rsi
cmp eax, 4
jl 0x14001f5bf
mov eax, dword [0x140406be0]
test al, 1
je 0x14001f5bf
call fcn.14000a930
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.140041c30
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.14000a5e0
mov eax, dword [0x14040ae68]
mov rsi, qword [rsp + 0x38]
mov qword [0x14040ae98], rbx
test eax, eax
je 0x14001f614
jmp 0x14001f638
mov eax, 1
mov qword [0x14040ae98], rbx
mov dword [0x14040ae68], eax
jmp 0x14001f638
mov rbx, qword [0x14040ae98]
test rbx, rbx
je 0x14001f638
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14040ae90]
mov rcx, rbx
call fcn.140032010
test eax, eax
je 0x14001f641
mov eax, dword [0x14040ae68]
cmp byte [0x140408027], 0
je 0x14001f661
mov dword [0x14040ae68], 1
mov byte [0x140408027], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001f6ae
cmp qword [0x14040ae48], 0
je 0x14001f684
mov rcx, qword [0x14040ae90]
mov qword [0x14040b100], rcx
mov qword [0x14040b108], rcx
cmp qword [0x14040ae40], 0
je 0x14001f6a3
mov rax, qword [0x14040ae88]
mov qword [0x14040aef0], rax
mov qword [0x14040aef8], rax
mov qword [0x14040ae50], 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, [0x14002ea20]
mov r14d, dword [0x14040c710]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14040ae38], r12
mov qword [rax - 0x30], r12
call fcn.140012fb0
mov rdx, qword [0x140408250]
mov rax, qword [0x140408248]
mov qword [rdx], rax
cmp dword [0x14040c710], 4
jne 0x14002ef46
cmp dword [0x14040ae80], r12d
je 0x14002ef46
call fcn.14002da50
test eax, eax
jne 0x14002ef2b
mov dword [0x14040ae68], r15d
mov dword [0x14040c6d8], 2
call fcn.140042bd0
inc qword [0x14040b478]
jmp 0x14002f670
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140033020
mov rdi, qword [0x140408500]
mov eax, dword [0x1403ff6e8]
mov dword [0x14040c70c], eax
mov qword [0x140408728], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002ef93
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006c520
test rbx, rbx
jne 0x14002ef80
mov qword [rdi + 0x18], r12
mov rax, qword [0x1404084e0]
cmp qword [0x140406f10], rax
je 0x14002efac
call fcn.14002a070
call fcn.14003cee0
mov rbx, qword [0x1403ff4f8]
test rbx, rbx
je 0x14002efd2
test byte [rbx + 0x28], r15b
je 0x14002efd2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002efd2
test byte [rbx + 0x28], r15b
jne 0x14002efc3
mov rsi, r12
test rbx, rbx
je 0x14002f00f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002f004
call fcn.1400173f0
movzx edx, al
mov rcx, rbx
call fcn.14002b5e0
mov qword [rsi + 0x30], rdi
jmp 0x14002f007
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002efe0
mov rbx, qword [0x1403ff608]
test rbx, rbx
je 0x14002f030
test byte [rbx + 0x28], r15b
je 0x14002f030
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002f030
test byte [rbx + 0x28], r15b
jne 0x14002f021
mov rsi, r12
test rbx, rbx
je 0x14002f06f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002f064
call fcn.1400173f0
movzx edx, al
mov rcx, rbx
call fcn.14002b5e0
mov qword [rsi + 0x30], rdi
jmp 0x14002f067
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002f040
mov eax, dword [0x14040beb8]
test eax, eax
jne 0x14002f07e
call fcn.14003cd00
xor r9d, r9d
lea r8, [0x14040b490]
lea rdx, [0x14040b880]
mov ecx, ebp
call fcn.140030410
mov ecx, dword [0x14040b880]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14040b490]
mov edx, ebp
mov dword [0x14040c6d8], eax
call fcn.1400345d0
cmp dword [0x140406204], 4
mov dword [0x14040c6d8], eax
jb 0x14002f0e7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.140010660
mov eax, dword [0x14040c6d8]
cmp qword [0x14040ae50], r12
mov ecx, dword [0x14040c70c]
je 0x14002f113
inc qword [0x14040ae58]
cmp ecx, 0x11
ja 0x14002f113
mov edx, 0x22e86
bt edx, ecx
jae 0x14002f113
inc qword [0x14040ae60]
cmp eax, r15d
jle 0x14002f11f
mov dword [0x14040c6dc], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.14000a5e0
mov ecx, dword [0x14040c6d8]
cmp ecx, 2
jne 0x14002f19f
cmp dword [rsp + 0x68], r12d
jne 0x14002f19f
cmp byte [0x140408024], r12b
je 0x14002f19f
cmp byte [0x140408025], r12b
jne 0x14002f19f
mov eax, dword [0x14040c710]
dec eax
test eax, 0xfffffffd
jne 0x14002f19f
mov eax, r15d
mov dword [0x140408cac], r15d
xchg dword [0x14040c6ec], eax
movups xmm0, xmmword [0x140408578]
mov ecx, dword [0x14040c6d8]
movups xmm1, xmmword [0x140408588]
movups xmmword [0x140408a90], xmm0
movups xmm0, xmmword [0x140408598]
movups xmmword [0x140408aa0], xmm1
movups xmmword [0x140408ab0], xmm0
mov edx, dword [0x14040af48]
inc edx
mov qword [0x14040c6d0], rdx
mov edx, 2
call fcn.14000ac40
call fcn.14002cc20
lea rcx, str.BEGIN
call fcn.14002b840
call fcn.1400173b0
test r15b, al
je 0x14002f1e4
call fcn.1400173b0
test al, 0x40
jne 0x14002f1e4
mov ecx, r15d
call fcn.140042fd0
call fcn.1400173b0
cmp dword [0x14040c6ec], r12d
je 0x14002f639
movaps xmm0, xmmword [0x14040c6d0]
lea rcx, [0x140408cb8]
movaps xmmword [0x14040c1a0], xmm0
movaps xmm0, xmmword [0x14040c6f0]
movaps xmmword [0x14040c1c0], xmm0
movaps xmm0, xmmword [0x14040c710]
mov dword [0x14040c6e0], r12d
movaps xmm1, xmmword [0x14040c6e0]
movaps xmmword [0x14040c1b0], xmm1
movaps xmm1, xmmword [0x14040c700]
movaps xmmword [0x14040c1e0], xmm0
movsd xmm0, qword [0x14040c730]
movaps xmmword [0x14040c1d0], xmm1
movaps xmm1, xmmword [0x14040c720]
movsd qword [0x14040c200], xmm0
movaps xmmword [0x14040c1f0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140408ca8], r12d
jne 0x14002f2d7
cmp qword [0x140408cb0], r12
jne 0x14002f2d7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140025f10]
call fcn.14000a5f0
movzx eax, al
mov dword [0x140408ca8], eax
test eax, eax
je 0x14002f2d7
lea rcx, [0x140408cb8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140406be8]
cmp eax, 4
jl 0x14002f2e3
mov eax, dword [0x140406be0]
test r15b, al
je 0x14002f2e3
call fcn.14000a930
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002f2e3
lea rcx, [0x140408cb8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140408cb0], r12
mov dword [0x140408ce4], r15d
mov dword [0x140408ce0], r12d
je 0x14002f4db
lea rdi, [0x1403ff3e8]
lea rsi, [0x1403ff718]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002f410
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002f348
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002f410
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002f330
test rbx, rbx
je 0x14002f410
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002f403
test r15b, al
je 0x14002f3d3
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x1404086b0]
mov r8, qword [0x1404086b8]
cmp rcx, rax
jb 0x14002f3a8
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002f3a3
mov r8, qword [0x1404084f0]
mov rdx, r9
call fcn.1400288d0
test eax, eax
je 0x14002f4db
or qword [rbx + 0x28], 0x40
jmp 0x14002f403
cmp rax, rcx
jbe 0x14002f3ab
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1404084f0]
call fcn.1400288d0
test eax, eax
je 0x14002f4db
or qword [rbx + 0x28], 0x80
jmp 0x14002f403
mov r8, qword [0x1404084f0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.1400288d0
test eax, eax
je 0x14002f4db
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002f3fb
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002f351
add rdi, 0x110
cmp rdi, rsi
jl 0x14002f310
mov rax, qword [0x1404086b0]
mov ebx, 0xffffffff
cmp dword [0x14040c70c], 5
mov qword [0x14040adc8], rax
mov rax, qword [0x1404086b8]
cmove ebx, r15d
mov qword [0x14040add0], rax
mov dword [0x140408ce4], r15d
mov dword [0x14040c098], r15d
je 0x14002f482
mov ecx, r12d
lea rdx, [0x14040aef0]
cmp qword [rdx], r12
jg 0x14002f482
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002f466
mov dword [0x140408244], r15d
cmp ebx, 0xffffffff
jne 0x14002f49b
xorps xmm0, xmm0
movdqa xmmword [0x1403ff190], xmm0
jmp 0x14002f4cb
lea rcx, [0x14040c6d0]
mov dword [0x140408ce0], r15d
call fcn.140032fc0
mov rax, qword [0x14040af48]
add rax, 2
mov dword [0x14040c6d8], ebx
mov qword [0x14040c6d0], rax
call fcn.14002cc20
cmp dword [0x140408ce0], r12d
jne 0x14002f4f2
call fcn.14002c180
jmp 0x14002f4f2
mov eax, r12d
mov dword [0x140408ce4], r12d
mov dword [0x14040c6e0], r15d
xchg dword [0x14040c6ec], eax
cmp dword [0x140408ce4], r12d
je 0x14002f639
lea rcx, [0x140408ac0]
mov edx, 3
lea rax, [0x14040b260]
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 0x14002f512
cmp dword [0x140408ce0], 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 0x14002f63e
mov dword [0x140408530], r12d
mov dword [0x140408534], 0x8000
mov dword [0x14040b428], r12d
mov dword [0x14040b42c], 0x8000
call fcn.14002f6a0
movaps xmm0, xmmword [0x14040c1a0]
movaps xmm1, xmmword [0x14040c1b0]
movaps xmmword [0x14040c6d0], xmm0
movaps xmm0, xmmword [0x14040c1c0]
movaps xmmword [0x14040c6f0], xmm0
movaps xmm0, xmmword [0x14040c1e0]
movaps xmmword [0x14040c6e0], xmm1
movaps xmm1, xmmword [0x14040c1d0]
movaps xmmword [0x14040c710], xmm0
movsd xmm0, qword [0x14040c200]
movaps xmmword [0x14040c700], xmm1
movaps xmm1, xmmword [0x14040c1f0]
movsd qword [0x14040c730], xmm0
movaps xmmword [0x14040c720], xmm1
call fcn.14002c180
jmp 0x14002f63e
call fcn.14002f6a0
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 [0x140408568], rax
mov rax, qword [0x14040aef0]
mov qword [0x140408570], rax
mov qword [0x140408510], 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 0x14002f693
add rsp, 0x58
jmp 0x14001f3e0
add rsp, 0x58
ret