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

Disassembly:
sub rsp, 0x28
cmp dword [0x140321740], 0
je 0x14001d8db
xor edx, edx
lea rcx, [0x14003d1e0]
call fcn.140012230
mov eax, dword [0x140321728]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x14031e8e7], 0
cmp eax, 1
je 0x14001db41
cmp qword [0x140321700], 0
je 0x14001d94c
mov rcx, qword [0x14031eb10]
mov r8, qword [0x140321748]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001db21
add rdx, r8
xor r8d, r8d
call fcn.140030640
test eax, eax
je 0x14001db21
cmp byte [0x14031e8e7], 0
jne 0x14001db21
mov eax, dword [0x140321728]
test eax, eax
jne 0x14001db18
cmp dword [0x140321740], eax
jne 0x14001db18
cmp qword [0x140321708], 0
je 0x14001db18
xor edi, edi
mov dword [0x14031ee20], 1
mov qword [0x140321758], rdi
call fcn.14002c840
test eax, eax
jne 0x14001d9e8
mov rbx, qword [0x140314628]
test rbx, rbx
je 0x14001d9de
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140321750]
sub rax, rdx
cmp rax, rcx
jb 0x14001d9d1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140030640
test eax, eax
je 0x14001db21
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d9a0
test edi, edi
jne 0x14001d9e8
mov dword [0x14031ee20], 2
cmp byte [0x14031e8e7], 0
jne 0x14001db21
mov eax, dword [0x140321728]
test eax, eax
jne 0x14001db18
cmp dword [0x14031ee20], 2
jne 0x14001daed
mov rcx, qword [0x14031ef50]
xor edx, edx
mov r8, qword [0x140321750]
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.14002f690
mov rbx, rax
test rax, rax
je 0x14001dad9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x14031d4a0]
sub rdi, rsi
cmp eax, 4
jl 0x14001da9f
mov eax, dword [0x14031d498]
test al, 1
je 0x14001da9f
call fcn.14000adf0
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.140040170
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140007070
mov eax, dword [0x140321728]
mov rsi, qword [rsp + 0x38]
mov qword [0x140321758], rbx
test eax, eax
je 0x14001daf4
jmp 0x14001db18
mov eax, 1
mov qword [0x140321758], rbx
mov dword [0x140321728], eax
jmp 0x14001db18
mov rbx, qword [0x140321758]
test rbx, rbx
je 0x14001db18
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140321750]
mov rcx, rbx
call fcn.140030640
test eax, eax
je 0x14001db21
mov eax, dword [0x140321728]
cmp byte [0x14031e8e7], 0
je 0x14001db41
mov dword [0x140321728], 1
mov byte [0x14031e8e7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001db8e
cmp qword [0x140321708], 0
je 0x14001db64
mov rcx, qword [0x140321750]
mov qword [0x1403219c0], rcx
mov qword [0x1403219c8], rcx
cmp qword [0x140321700], 0
je 0x14001db83
mov rax, qword [0x140321748]
mov qword [0x1403217b0], rax
mov qword [0x1403217b8], rax
mov qword [0x140321710], 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, [0x14002d040]
mov r14d, dword [0x140322fd0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1403216f8], r12
mov qword [rax - 0x30], r12
call fcn.140012230
mov rdx, qword [0x14031eb10]
mov rax, qword [0x14031eb08]
mov qword [rdx], rax
cmp dword [0x140322fd0], 4
jne 0x14002d566
cmp dword [0x140321740], r12d
je 0x14002d566
call fcn.14002c060
test eax, eax
jne 0x14002d54b
mov dword [0x140321728], r15d
mov dword [0x140322f98], 2
call fcn.140041130
inc qword [0x140321d38]
jmp 0x14002dc8e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140031650
mov rdi, qword [0x14031edc0]
mov eax, dword [0x140314808]
mov dword [0x140322fcc], eax
mov qword [0x14031efe8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002d5b3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006ab3c
test rbx, rbx
jne 0x14002d5a0
mov qword [rdi + 0x18], r12
mov rax, qword [0x14031eda0]
cmp qword [0x14031d7d0], rax
je 0x14002d5cc
call fcn.140028600
call fcn.14003b4a0
mov rbx, qword [0x140314618]
test rbx, rbx
je 0x14002d5f2
test byte [rbx + 0x28], r15b
je 0x14002d5f2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d5f2
test byte [rbx + 0x28], r15b
jne 0x14002d5e3
mov rsi, r12
test rbx, rbx
je 0x14002d62f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d624
call fcn.140015930
movzx edx, al
mov rcx, rbx
call fcn.140029bf0
mov qword [rsi + 0x30], rdi
jmp 0x14002d627
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d600
mov rbx, qword [0x140314728]
test rbx, rbx
je 0x14002d650
test byte [rbx + 0x28], r15b
je 0x14002d650
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d650
test byte [rbx + 0x28], r15b
jne 0x14002d641
mov rsi, r12
test rbx, rbx
je 0x14002d68f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d684
call fcn.140015930
movzx edx, al
mov rcx, rbx
call fcn.140029bf0
mov qword [rsi + 0x30], rdi
jmp 0x14002d687
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d660
mov eax, dword [0x140322778]
test eax, eax
jne 0x14002d69e
call fcn.14003b2c0
xor r9d, r9d
lea r8, [0x140321d50]
lea rdx, [0x140322140]
mov ecx, ebp
call fcn.14002ea40
mov ecx, dword [0x140322140]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140321d50]
mov edx, ebp
mov dword [0x140322f98], eax
call fcn.140032bf0
cmp dword [0x14031cad4], 4
mov dword [0x140322f98], eax
jb 0x14002d707
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f550
mov eax, dword [0x140322f98]
cmp qword [0x140321710], r12
mov ecx, dword [0x140322fcc]
je 0x14002d733
inc qword [0x140321718]
cmp ecx, 0x11
ja 0x14002d733
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d733
inc qword [0x140321720]
cmp eax, r15d
jle 0x14002d73f
mov dword [0x140322f9c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140007070
mov ecx, dword [0x140322f98]
cmp ecx, 2
jne 0x14002d7bf
cmp dword [rsp + 0x68], r12d
jne 0x14002d7bf
cmp byte [0x14031e8e4], r12b
je 0x14002d7bf
cmp byte [0x14031e8e5], r12b
jne 0x14002d7bf
mov eax, dword [0x140322fd0]
dec eax
test eax, 0xfffffffd
jne 0x14002d7bf
mov eax, r15d
mov dword [0x14031f56c], r15d
xchg dword [0x140322fac], eax
movups xmm0, xmmword [0x14031ee38]
mov ecx, dword [0x140322f98]
movups xmm1, xmmword [0x14031ee48]
movups xmmword [0x14031f350], xmm0
movups xmm0, xmmword [0x14031ee58]
movups xmmword [0x14031f360], xmm1
movups xmmword [0x14031f370], xmm0
mov edx, dword [0x140321808]
inc edx
mov qword [0x140322f90], rdx
mov edx, 2
call fcn.14000b100
call fcn.14002b230
lea rcx, str.BEGIN
call fcn.140029e50
call fcn.1400158f0
test r15b, al
je 0x14002d804
call fcn.1400158f0
test al, 0x40
jne 0x14002d804
mov ecx, r15d
call fcn.140041460
call fcn.1400158f0
cmp dword [0x140322fac], r12d
je 0x14002dc57
movaps xmm0, xmmword [0x140322f90]
lea rcx, [0x14031f578]
movaps xmmword [0x140322a60], xmm0
movaps xmm0, xmmword [0x140322fb0]
movaps xmmword [0x140322a80], xmm0
movaps xmm0, xmmword [0x140322fd0]
mov dword [0x140322fa0], r12d
movaps xmm1, xmmword [0x140322fa0]
movaps xmmword [0x140322a70], xmm1
movaps xmm1, xmmword [0x140322fc0]
movaps xmmword [0x140322aa0], xmm0
movsd xmm0, qword [0x140322ff0]
movaps xmmword [0x140322a90], xmm1
movaps xmm1, xmmword [0x140322fe0]
movsd qword [0x140322ac0], xmm0
movaps xmmword [0x140322ab0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14031f568], r12d
jne 0x14002d8f7
cmp qword [0x14031f570], r12
jne 0x14002d8f7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x1400243b0]
call fcn.14000aab0
movzx eax, al
mov dword [0x14031f568], eax
test eax, eax
je 0x14002d8f7
lea rcx, [0x14031f578]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x14031d4a0]
cmp eax, 4
jl 0x14002d903
mov eax, dword [0x14031d498]
test r15b, al
je 0x14002d903
call fcn.14000adf0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d903
lea rcx, [0x14031f578]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14031f570], r12
mov dword [0x14031f5a4], r15d
mov dword [0x14031f5a0], r12d
je 0x14002daf6
lea rdi, [0x140314508]
lea rsi, [0x140314838]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002da2b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d968
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002da2b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d950
test rbx, rbx
je 0x14002da2b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002da1e
test r15b, al
je 0x14002d9ee
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x14031ef70]
mov r8, qword [0x14031ef78]
cmp rcx, rax
jb 0x14002d9c2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d9bd
mov r8, qword [0x14031edb0]
call fcn.140026e40
test eax, eax
je 0x14002daf6
or qword [rbx + 0x28], 0x40
jmp 0x14002da1e
cmp rax, rcx
jbe 0x14002d9c5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x14031edb0]
call fcn.140026e40
test eax, eax
je 0x14002daf6
or qword [rbx + 0x28], 0x80
jmp 0x14002da1e
mov r8, qword [0x14031edb0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026e40
test eax, eax
je 0x14002daf6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002da16
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d971
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d930
mov rax, qword [0x14031ef70]
mov ebx, 0xffffffff
cmp dword [0x140322fcc], 5
mov qword [0x140321688], rax
mov rax, qword [0x14031ef78]
cmove ebx, r15d
mov qword [0x140321690], rax
mov dword [0x14031f5a4], r15d
mov dword [0x140322958], r15d
je 0x14002da9d
mov ecx, r12d
lea rdx, [0x1403217b0]
cmp qword [rdx], r12
jg 0x14002da9d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002da81
mov dword [0x14031eb04], r15d
cmp ebx, 0xffffffff
jne 0x14002dab6
xorps xmm0, xmm0
movdqa xmmword [0x1403142b0], xmm0
jmp 0x14002dae6
lea rcx, [0x140322f90]
mov dword [0x14031f5a0], r15d
call fcn.1400315f0
mov rax, qword [0x140321808]
add rax, 2
mov dword [0x140322f98], ebx
mov qword [0x140322f90], rax
call fcn.14002b230
cmp dword [0x14031f5a0], r12d
jne 0x14002db0d
call fcn.14002a790
jmp 0x14002db0d
mov eax, r12d
mov dword [0x14031f5a4], r12d
mov dword [0x140322fa0], r15d
xchg dword [0x140322fac], eax
cmp dword [0x14031f5a4], r12d
je 0x14002dc57
lea rcx, [0x14031f380]
mov edx, 3
lea rax, [0x140321b20]
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 0x14002db30
cmp dword [0x14031f5a0], 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 0x14002dc5c
mov dword [0x14031edf0], r12d
mov dword [0x14031edf4], 0x8000
mov dword [0x140321ce8], r12d
mov dword [0x140321cec], 0x8000
call fcn.14002dcc0
movaps xmm0, xmmword [0x140322a60]
movaps xmm1, xmmword [0x140322a70]
movaps xmmword [0x140322f90], xmm0
movaps xmm0, xmmword [0x140322a80]
movaps xmmword [0x140322fb0], xmm0
movaps xmm0, xmmword [0x140322aa0]
movaps xmmword [0x140322fa0], xmm1
movaps xmm1, xmmword [0x140322a90]
movaps xmmword [0x140322fd0], xmm0
movsd xmm0, qword [0x140322ac0]
movaps xmmword [0x140322fc0], xmm1
movaps xmm1, xmmword [0x140322ab0]
movsd qword [0x140322ff0], xmm0
movaps xmmword [0x140322fe0], xmm1
call fcn.14002a790
jmp 0x14002dc5c
call fcn.14002dcc0
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 [0x14031ee28], rax
mov rax, qword [0x1403217b0]
mov qword [0x14031ee30], rax
mov qword [0x14031edd0], 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 0x14002dcb1
add rsp, 0x58
jmp 0x14001d8c0
add rsp, 0x58
ret