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

Disassembly:
sub rsp, 0x28
cmp dword [0x14046cfb0], 0
je 0x14001e4fb
xor edx, edx
lea rcx, [0x14003dd60]
call fcn.140012df0
mov eax, dword [0x14046cf98]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x14046a157], 0
cmp eax, 1
je 0x14001e761
cmp qword [0x14046cf70], 0
je 0x14001e56c
mov rcx, qword [0x14046a380]
mov r8, qword [0x14046cfb8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001e741
add rdx, r8
xor r8d, r8d
call fcn.140031110
test eax, eax
je 0x14001e741
cmp byte [0x14046a157], 0
jne 0x14001e741
mov eax, dword [0x14046cf98]
test eax, eax
jne 0x14001e738
cmp dword [0x14046cfb0], eax
jne 0x14001e738
cmp qword [0x14046cf78], 0
je 0x14001e738
xor edi, edi
mov dword [0x14046a690], 1
mov qword [0x14046cfc8], rdi
call fcn.14002d330
test eax, eax
jne 0x14001e608
mov rbx, qword [0x14045d498]
test rbx, rbx
je 0x14001e5fe
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14046cfc0]
sub rax, rdx
cmp rax, rcx
jb 0x14001e5f1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140031110
test eax, eax
je 0x14001e741
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001e5c0
test edi, edi
jne 0x14001e608
mov dword [0x14046a690], 2
cmp byte [0x14046a157], 0
jne 0x14001e741
mov eax, dword [0x14046cf98]
test eax, eax
jne 0x14001e738
cmp dword [0x14046a690], 2
jne 0x14001e70d
mov rcx, qword [0x14046a7c0]
xor edx, edx
mov r8, qword [0x14046cfc0]
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.140030160
mov rbx, rax
test rax, rax
je 0x14001e6f9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140468d10]
sub rdi, rsi
cmp eax, 4
jl 0x14001e6bf
mov eax, dword [0x140468d08]
test al, 1
je 0x14001e6bf
call fcn.14000b950
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.140040d30
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140008f40
mov eax, dword [0x14046cf98]
mov rsi, qword [rsp + 0x38]
mov qword [0x14046cfc8], rbx
test eax, eax
je 0x14001e714
jmp 0x14001e738
mov eax, 1
mov qword [0x14046cfc8], rbx
mov dword [0x14046cf98], eax
jmp 0x14001e738
mov rbx, qword [0x14046cfc8]
test rbx, rbx
je 0x14001e738
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14046cfc0]
mov rcx, rbx
call fcn.140031110
test eax, eax
je 0x14001e741
mov eax, dword [0x14046cf98]
cmp byte [0x14046a157], 0
je 0x14001e761
mov dword [0x14046cf98], 1
mov byte [0x14046a157], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001e7ae
cmp qword [0x14046cf78], 0
je 0x14001e784
mov rcx, qword [0x14046cfc0]
mov qword [0x14046d230], rcx
mov qword [0x14046d238], rcx
cmp qword [0x14046cf70], 0
je 0x14001e7a3
mov rax, qword [0x14046cfb8]
mov qword [0x14046d020], rax
mov qword [0x14046d028], rax
mov qword [0x14046cf80], 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, [0x14002db20]
mov r14d, dword [0x14046e840]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14046cf68], r12
mov qword [rax - 0x30], r12
call fcn.140012df0
mov rdx, qword [0x14046a380]
mov rax, qword [0x14046a378]
mov qword [rdx], rax
cmp dword [0x14046e840], 4
jne 0x14002e046
cmp dword [0x14046cfb0], r12d
je 0x14002e046
call fcn.14002cb50
test eax, eax
jne 0x14002e02b
mov dword [0x14046cf98], r15d
mov dword [0x14046e808], 2
call fcn.140041cd0
inc qword [0x14046d5a8]
jmp 0x14002e770
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140032120
mov rdi, qword [0x14046a630]
mov eax, dword [0x14045d678]
mov dword [0x14046e83c], eax
mov qword [0x14046a858], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002e093
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006b744
test rbx, rbx
jne 0x14002e080
mov qword [rdi + 0x18], r12
mov rax, qword [0x14046a610]
cmp qword [0x140468d30], rax
je 0x14002e0ac
call fcn.140029170
call fcn.14003bfe0
mov rbx, qword [0x14045d488]
test rbx, rbx
je 0x14002e0d2
test byte [rbx + 0x28], r15b
je 0x14002e0d2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e0d2
test byte [rbx + 0x28], r15b
jne 0x14002e0c3
mov rsi, r12
test rbx, rbx
je 0x14002e10f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002e104
call fcn.140018b30
movzx edx, al
mov rcx, rbx
call fcn.14002a6e0
mov qword [rsi + 0x30], rdi
jmp 0x14002e107
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002e0e0
mov rbx, qword [0x14045d598]
test rbx, rbx
je 0x14002e130
test byte [rbx + 0x28], r15b
je 0x14002e130
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e130
test byte [rbx + 0x28], r15b
jne 0x14002e121
mov rsi, r12
test rbx, rbx
je 0x14002e16f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002e164
call fcn.140018b30
movzx edx, al
mov rcx, rbx
call fcn.14002a6e0
mov qword [rsi + 0x30], rdi
jmp 0x14002e167
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002e140
mov eax, dword [0x14046dfe8]
test eax, eax
jne 0x14002e17e
call fcn.14003be00
xor r9d, r9d
lea r8, [0x14046d5c0]
lea rdx, [0x14046d9b0]
mov ecx, ebp
call fcn.14002f510
mov ecx, dword [0x14046d9b0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14046d5c0]
mov edx, ebp
mov dword [0x14046e808], eax
call fcn.1400336d0
cmp dword [0x140468344], 4
mov dword [0x14046e808], eax
jb 0x14002e1e7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.1400100f0
mov eax, dword [0x14046e808]
cmp qword [0x14046cf80], r12
mov ecx, dword [0x14046e83c]
je 0x14002e213
inc qword [0x14046cf88]
cmp ecx, 0x11
ja 0x14002e213
mov edx, 0x22e86
bt edx, ecx
jae 0x14002e213
inc qword [0x14046cf90]
cmp eax, r15d
jle 0x14002e21f
mov dword [0x14046e80c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140008f40
mov ecx, dword [0x14046e808]
cmp ecx, 2
jne 0x14002e29f
cmp dword [rsp + 0x68], r12d
jne 0x14002e29f
cmp byte [0x14046a154], r12b
je 0x14002e29f
cmp byte [0x14046a155], r12b
jne 0x14002e29f
mov eax, dword [0x14046e840]
dec eax
test eax, 0xfffffffd
jne 0x14002e29f
mov eax, r15d
mov dword [0x14046addc], r15d
xchg dword [0x14046e81c], eax
movups xmm0, xmmword [0x14046a6a8]
mov ecx, dword [0x14046e808]
movups xmm1, xmmword [0x14046a6b8]
movups xmmword [0x14046abc0], xmm0
movups xmm0, xmmword [0x14046a6c8]
movups xmmword [0x14046abd0], xmm1
movups xmmword [0x14046abe0], xmm0
mov edx, dword [0x14046d078]
inc edx
mov qword [0x14046e800], rdx
mov edx, 2
call fcn.14000bc60
call fcn.14002bd20
lea rcx, str.BEGIN
call fcn.14002a940
call fcn.140018af0
test r15b, al
je 0x14002e2e4
call fcn.140018af0
test al, 0x40
jne 0x14002e2e4
mov ecx, r15d
call fcn.1400420d0
call fcn.140018af0
cmp dword [0x14046e81c], r12d
je 0x14002e739
movaps xmm0, xmmword [0x14046e800]
lea rcx, [0x14046ade8]
movaps xmmword [0x14046e2d0], xmm0
movaps xmm0, xmmword [0x14046e820]
movaps xmmword [0x14046e2f0], xmm0
movaps xmm0, xmmword [0x14046e840]
mov dword [0x14046e810], r12d
movaps xmm1, xmmword [0x14046e810]
movaps xmmword [0x14046e2e0], xmm1
movaps xmm1, xmmword [0x14046e830]
movaps xmmword [0x14046e310], xmm0
movsd xmm0, qword [0x14046e860]
movaps xmmword [0x14046e300], xmm1
movaps xmm1, xmmword [0x14046e850]
movsd qword [0x14046e330], xmm0
movaps xmmword [0x14046e320], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14046add8], r12d
jne 0x14002e3d7
cmp qword [0x14046ade0], r12
jne 0x14002e3d7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140025010]
call fcn.14000b610
movzx eax, al
mov dword [0x14046add8], eax
test eax, eax
je 0x14002e3d7
lea rcx, [0x14046ade8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140468d10]
cmp eax, 4
jl 0x14002e3e3
mov eax, dword [0x140468d08]
test r15b, al
je 0x14002e3e3
call fcn.14000b950
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002e3e3
lea rcx, [0x14046ade8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14046ade0], r12
mov dword [0x14046ae14], r15d
mov dword [0x14046ae10], r12d
je 0x14002e5db
lea rdi, [0x14045d378]
lea rsi, [0x14045d6a8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002e510
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002e448
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e510
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002e430
test rbx, rbx
je 0x14002e510
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002e503
test r15b, al
je 0x14002e4d3
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x14046a7e0]
mov r8, qword [0x14046a7e8]
cmp rcx, rax
jb 0x14002e4a8
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002e4a3
mov r8, qword [0x14046a620]
mov rdx, r9
call fcn.1400279d0
test eax, eax
je 0x14002e5db
or qword [rbx + 0x28], 0x40
jmp 0x14002e503
cmp rax, rcx
jbe 0x14002e4ab
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x14046a620]
call fcn.1400279d0
test eax, eax
je 0x14002e5db
or qword [rbx + 0x28], 0x80
jmp 0x14002e503
mov r8, qword [0x14046a620]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.1400279d0
test eax, eax
je 0x14002e5db
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002e4fb
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002e451
add rdi, 0x110
cmp rdi, rsi
jl 0x14002e410
mov rax, qword [0x14046a7e0]
mov ebx, 0xffffffff
cmp dword [0x14046e83c], 5
mov qword [0x14046cef8], rax
mov rax, qword [0x14046a7e8]
cmove ebx, r15d
mov qword [0x14046cf00], rax
mov dword [0x14046ae14], r15d
mov dword [0x14046e1c8], r15d
je 0x14002e582
mov ecx, r12d
lea rdx, [0x14046d020]
cmp qword [rdx], r12
jg 0x14002e582
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002e566
mov dword [0x14046a374], r15d
cmp ebx, 0xffffffff
jne 0x14002e59b
xorps xmm0, xmm0
movdqa xmmword [0x14045d120], xmm0
jmp 0x14002e5cb
lea rcx, [0x14046e800]
mov dword [0x14046ae10], r15d
call fcn.1400320c0
mov rax, qword [0x14046d078]
add rax, 2
mov dword [0x14046e808], ebx
mov qword [0x14046e800], rax
call fcn.14002bd20
cmp dword [0x14046ae10], r12d
jne 0x14002e5f2
call fcn.14002b280
jmp 0x14002e5f2
mov eax, r12d
mov dword [0x14046ae14], r12d
mov dword [0x14046e810], r15d
xchg dword [0x14046e81c], eax
cmp dword [0x14046ae14], r12d
je 0x14002e739
lea rcx, [0x14046abf0]
mov edx, 3
lea rax, [0x14046d390]
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 0x14002e612
cmp dword [0x14046ae10], 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 0x14002e73e
mov dword [0x14046a660], r12d
mov dword [0x14046a664], 0x8000
mov dword [0x14046d558], r12d
mov dword [0x14046d55c], 0x8000
call fcn.14002e7a0
movaps xmm0, xmmword [0x14046e2d0]
movaps xmm1, xmmword [0x14046e2e0]
movaps xmmword [0x14046e800], xmm0
movaps xmm0, xmmword [0x14046e2f0]
movaps xmmword [0x14046e820], xmm0
movaps xmm0, xmmword [0x14046e310]
movaps xmmword [0x14046e810], xmm1
movaps xmm1, xmmword [0x14046e300]
movaps xmmword [0x14046e840], xmm0
movsd xmm0, qword [0x14046e330]
movaps xmmword [0x14046e830], xmm1
movaps xmm1, xmmword [0x14046e320]
movsd qword [0x14046e860], xmm0
movaps xmmword [0x14046e850], xmm1
call fcn.14002b280
jmp 0x14002e73e
call fcn.14002e7a0
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 [0x14046a698], rax
mov rax, qword [0x14046d020]
mov qword [0x14046a6a0], rax
mov qword [0x14046a640], 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 0x14002e793
add rsp, 0x58
jmp 0x14001e4e0
add rsp, 0x58
ret