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

Disassembly:
sub rsp, 0x28
cmp dword [0x14035ad40], 0
je 0x14001d70b
xor edx, edx
lea rcx, [0x14003d010]
call fcn.140012060
mov eax, dword [0x14035ad28]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140357ee7], 0
cmp eax, 1
je 0x14001d971
cmp qword [0x14035ad00], 0
je 0x14001d77c
mov rcx, qword [0x140358110]
mov r8, qword [0x14035ad48]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d951
add rdx, r8
xor r8d, r8d
call fcn.140030470
test eax, eax
je 0x14001d951
cmp byte [0x140357ee7], 0
jne 0x14001d951
mov eax, dword [0x14035ad28]
test eax, eax
jne 0x14001d948
cmp dword [0x14035ad40], eax
jne 0x14001d948
cmp qword [0x14035ad08], 0
je 0x14001d948
xor edi, edi
mov dword [0x140358420], 1
mov qword [0x14035ad58], rdi
call fcn.14002c670
test eax, eax
jne 0x14001d818
mov rbx, qword [0x14034d848]
test rbx, rbx
je 0x14001d80e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14035ad50]
sub rax, rdx
cmp rax, rcx
jb 0x14001d801
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140030470
test eax, eax
je 0x14001d951
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d7d0
test edi, edi
jne 0x14001d818
mov dword [0x140358420], 2
cmp byte [0x140357ee7], 0
jne 0x14001d951
mov eax, dword [0x14035ad28]
test eax, eax
jne 0x14001d948
cmp dword [0x140358420], 2
jne 0x14001d91d
mov rcx, qword [0x140358550]
xor edx, edx
mov r8, qword [0x14035ad50]
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.14002f4c0
mov rbx, rax
test rax, rax
je 0x14001d909
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140356aa8]
sub rdi, rsi
cmp eax, 4
jl 0x14001d8cf
mov eax, dword [0x140356aa0]
test al, 1
je 0x14001d8cf
call fcn.14000ac20
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.14003ffa0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004a20
mov eax, dword [0x14035ad28]
mov rsi, qword [rsp + 0x38]
mov qword [0x14035ad58], rbx
test eax, eax
je 0x14001d924
jmp 0x14001d948
mov eax, 1
mov qword [0x14035ad58], rbx
mov dword [0x14035ad28], eax
jmp 0x14001d948
mov rbx, qword [0x14035ad58]
test rbx, rbx
je 0x14001d948
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14035ad50]
mov rcx, rbx
call fcn.140030470
test eax, eax
je 0x14001d951
mov eax, dword [0x14035ad28]
cmp byte [0x140357ee7], 0
je 0x14001d971
mov dword [0x14035ad28], 1
mov byte [0x140357ee7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d9be
cmp qword [0x14035ad08], 0
je 0x14001d994
mov rcx, qword [0x14035ad50]
mov qword [0x14035afc0], rcx
mov qword [0x14035afc8], rcx
cmp qword [0x14035ad00], 0
je 0x14001d9b3
mov rax, qword [0x14035ad48]
mov qword [0x14035adb0], rax
mov qword [0x14035adb8], rax
mov qword [0x14035ad10], 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, [0x14002ce70]
mov r14d, dword [0x14035c5d0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14035acf8], r12
mov qword [rax - 0x30], r12
call fcn.140012060
mov rdx, qword [0x140358110]
mov rax, qword [0x140358108]
mov qword [rdx], rax
cmp dword [0x14035c5d0], 4
jne 0x14002d396
cmp dword [0x14035ad40], r12d
je 0x14002d396
call fcn.14002be90
test eax, eax
jne 0x14002d37b
mov dword [0x14035ad28], r15d
mov dword [0x14035c598], 2
call fcn.140040f60
inc qword [0x14035b338]
jmp 0x14002dabe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140031480
mov rdi, qword [0x1403583c0]
mov eax, dword [0x14034da28]
mov dword [0x14035c5cc], eax
mov qword [0x1403585e8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002d3e3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a828
test rbx, rbx
jne 0x14002d3d0
mov qword [rdi + 0x18], r12
mov rax, qword [0x1403583a0]
cmp qword [0x140356dd0], rax
je 0x14002d3fc
call fcn.140028430
call fcn.14003b2d0
mov rbx, qword [0x14034d838]
test rbx, rbx
je 0x14002d422
test byte [rbx + 0x28], r15b
je 0x14002d422
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d422
test byte [rbx + 0x28], r15b
jne 0x14002d413
mov rsi, r12
test rbx, rbx
je 0x14002d45f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d454
call fcn.140015760
movzx edx, al
mov rcx, rbx
call fcn.140029a20
mov qword [rsi + 0x30], rdi
jmp 0x14002d457
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d430
mov rbx, qword [0x14034d948]
test rbx, rbx
je 0x14002d480
test byte [rbx + 0x28], r15b
je 0x14002d480
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d480
test byte [rbx + 0x28], r15b
jne 0x14002d471
mov rsi, r12
test rbx, rbx
je 0x14002d4bf
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d4b4
call fcn.140015760
movzx edx, al
mov rcx, rbx
call fcn.140029a20
mov qword [rsi + 0x30], rdi
jmp 0x14002d4b7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d490
mov eax, dword [0x14035bd78]
test eax, eax
jne 0x14002d4ce
call fcn.14003b0f0
xor r9d, r9d
lea r8, [0x14035b350]
lea rdx, [0x14035b740]
mov ecx, ebp
call fcn.14002e870
mov ecx, dword [0x14035b740]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14035b350]
mov edx, ebp
mov dword [0x14035c598], eax
call fcn.140032a20
cmp dword [0x140356a24], 4
mov dword [0x14035c598], eax
jb 0x14002d537
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000fa40
mov eax, dword [0x14035c598]
cmp qword [0x14035ad10], r12
mov ecx, dword [0x14035c5cc]
je 0x14002d563
inc qword [0x14035ad18]
cmp ecx, 0x11
ja 0x14002d563
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d563
inc qword [0x14035ad20]
cmp eax, r15d
jle 0x14002d56f
mov dword [0x14035c59c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004a20
mov ecx, dword [0x14035c598]
cmp ecx, 2
jne 0x14002d5ef
cmp dword [rsp + 0x68], r12d
jne 0x14002d5ef
cmp byte [0x140357ee4], r12b
je 0x14002d5ef
cmp byte [0x140357ee5], r12b
jne 0x14002d5ef
mov eax, dword [0x14035c5d0]
dec eax
test eax, 0xfffffffd
jne 0x14002d5ef
mov eax, r15d
mov dword [0x140358b6c], r15d
xchg dword [0x14035c5ac], eax
movups xmm0, xmmword [0x140358438]
mov ecx, dword [0x14035c598]
movups xmm1, xmmword [0x140358448]
movups xmmword [0x140358950], xmm0
movups xmm0, xmmword [0x140358458]
movups xmmword [0x140358960], xmm1
movups xmmword [0x140358970], xmm0
mov edx, dword [0x14035ae08]
inc edx
mov qword [0x14035c590], rdx
mov edx, 2
call fcn.14000af30
call fcn.14002b060
lea rcx, str.BEGIN
call fcn.140029c80
call fcn.140015720
test r15b, al
je 0x14002d634
call fcn.140015720
test al, 0x40
jne 0x14002d634
mov ecx, r15d
call fcn.140041290
call fcn.140015720
cmp dword [0x14035c5ac], r12d
je 0x14002da87
movaps xmm0, xmmword [0x14035c590]
lea rcx, [0x140358b78]
movaps xmmword [0x14035c060], xmm0
movaps xmm0, xmmword [0x14035c5b0]
movaps xmmword [0x14035c080], xmm0
movaps xmm0, xmmword [0x14035c5d0]
mov dword [0x14035c5a0], r12d
movaps xmm1, xmmword [0x14035c5a0]
movaps xmmword [0x14035c070], xmm1
movaps xmm1, xmmword [0x14035c5c0]
movaps xmmword [0x14035c0a0], xmm0
movsd xmm0, qword [0x14035c5f0]
movaps xmmword [0x14035c090], xmm1
movaps xmm1, xmmword [0x14035c5e0]
movsd qword [0x14035c0c0], xmm0
movaps xmmword [0x14035c0b0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140358b68], r12d
jne 0x14002d727
cmp qword [0x140358b70], r12
jne 0x14002d727
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x1400241e0]
call fcn.14000a8e0
movzx eax, al
mov dword [0x140358b68], eax
test eax, eax
je 0x14002d727
lea rcx, [0x140358b78]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140356aa8]
cmp eax, 4
jl 0x14002d733
mov eax, dword [0x140356aa0]
test r15b, al
je 0x14002d733
call fcn.14000ac20
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d733
lea rcx, [0x140358b78]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140358b70], r12
mov dword [0x140358ba4], r15d
mov dword [0x140358ba0], r12d
je 0x14002d926
lea rdi, [0x14034d728]
lea rsi, [0x14034da58]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d85b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d798
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d85b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d780
test rbx, rbx
je 0x14002d85b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d84e
test r15b, al
je 0x14002d81e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140358570]
mov r8, qword [0x140358578]
cmp rcx, rax
jb 0x14002d7f2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d7ed
mov r8, qword [0x1403583b0]
call fcn.140026c70
test eax, eax
je 0x14002d926
or qword [rbx + 0x28], 0x40
jmp 0x14002d84e
cmp rax, rcx
jbe 0x14002d7f5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1403583b0]
call fcn.140026c70
test eax, eax
je 0x14002d926
or qword [rbx + 0x28], 0x80
jmp 0x14002d84e
mov r8, qword [0x1403583b0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026c70
test eax, eax
je 0x14002d926
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d846
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d7a1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d760
mov rax, qword [0x140358570]
mov ebx, 0xffffffff
cmp dword [0x14035c5cc], 5
mov qword [0x14035ac88], rax
mov rax, qword [0x140358578]
cmove ebx, r15d
mov qword [0x14035ac90], rax
mov dword [0x140358ba4], r15d
mov dword [0x14035bf58], r15d
je 0x14002d8cd
mov ecx, r12d
lea rdx, [0x14035adb0]
cmp qword [rdx], r12
jg 0x14002d8cd
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d8b1
mov dword [0x140358104], r15d
cmp ebx, 0xffffffff
jne 0x14002d8e6
xorps xmm0, xmm0
movdqa xmmword [0x14034d4d0], xmm0
jmp 0x14002d916
lea rcx, [0x14035c590]
mov dword [0x140358ba0], r15d
call fcn.140031420
mov rax, qword [0x14035ae08]
add rax, 2
mov dword [0x14035c598], ebx
mov qword [0x14035c590], rax
call fcn.14002b060
cmp dword [0x140358ba0], r12d
jne 0x14002d93d
call fcn.14002a5c0
jmp 0x14002d93d
mov eax, r12d
mov dword [0x140358ba4], r12d
mov dword [0x14035c5a0], r15d
xchg dword [0x14035c5ac], eax
cmp dword [0x140358ba4], r12d
je 0x14002da87
lea rcx, [0x140358980]
mov edx, 3
lea rax, [0x14035b120]
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 0x14002d960
cmp dword [0x140358ba0], 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 0x14002da8c
mov dword [0x1403583f0], r12d
mov dword [0x1403583f4], 0x8000
mov dword [0x14035b2e8], r12d
mov dword [0x14035b2ec], 0x8000
call fcn.14002daf0
movaps xmm0, xmmword [0x14035c060]
movaps xmm1, xmmword [0x14035c070]
movaps xmmword [0x14035c590], xmm0
movaps xmm0, xmmword [0x14035c080]
movaps xmmword [0x14035c5b0], xmm0
movaps xmm0, xmmword [0x14035c0a0]
movaps xmmword [0x14035c5a0], xmm1
movaps xmm1, xmmword [0x14035c090]
movaps xmmword [0x14035c5d0], xmm0
movsd xmm0, qword [0x14035c0c0]
movaps xmmword [0x14035c5c0], xmm1
movaps xmm1, xmmword [0x14035c0b0]
movsd qword [0x14035c5f0], xmm0
movaps xmmword [0x14035c5e0], xmm1
call fcn.14002a5c0
jmp 0x14002da8c
call fcn.14002daf0
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 [0x140358428], rax
mov rax, qword [0x14035adb0]
mov qword [0x140358430], rax
mov qword [0x1403583d0], 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 0x14002dae1
add rsp, 0x58
jmp 0x14001d6f0
add rsp, 0x58
ret