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

Disassembly:
sub rsp, 0x28
cmp dword [0x140331510], 0
je 0x14001d75b
xor edx, edx
lea rcx, [0x14003d060]
call fcn.1400120b0
mov eax, dword [0x1403314f8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x14032e6b7], 0
cmp eax, 1
je 0x14001d9c1
cmp qword [0x1403314d0], 0
je 0x14001d7cc
mov rcx, qword [0x14032e8e0]
mov r8, qword [0x140331518]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d9a1
add rdx, r8
xor r8d, r8d
call fcn.1400304c0
test eax, eax
je 0x14001d9a1
cmp byte [0x14032e6b7], 0
jne 0x14001d9a1
mov eax, dword [0x1403314f8]
test eax, eax
jne 0x14001d998
cmp dword [0x140331510], eax
jne 0x14001d998
cmp qword [0x1403314d8], 0
je 0x14001d998
xor edi, edi
mov dword [0x14032ebf0], 1
mov qword [0x140331528], rdi
call fcn.14002c6c0
test eax, eax
jne 0x14001d868
mov rbx, qword [0x1403236e8]
test rbx, rbx
je 0x14001d85e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140331520]
sub rax, rdx
cmp rax, rcx
jb 0x14001d851
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.1400304c0
test eax, eax
je 0x14001d9a1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d820
test edi, edi
jne 0x14001d868
mov dword [0x14032ebf0], 2
cmp byte [0x14032e6b7], 0
jne 0x14001d9a1
mov eax, dword [0x1403314f8]
test eax, eax
jne 0x14001d998
cmp dword [0x14032ebf0], 2
jne 0x14001d96d
mov rcx, qword [0x14032ed20]
xor edx, edx
mov r8, qword [0x140331520]
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.14002f510
mov rbx, rax
test rax, rax
je 0x14001d959
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x14032d270]
sub rdi, rsi
cmp eax, 4
jl 0x14001d91f
mov eax, dword [0x14032d268]
test al, 1
je 0x14001d91f
call fcn.14000ad90
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.14003fff0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140008380
mov eax, dword [0x1403314f8]
mov rsi, qword [rsp + 0x38]
mov qword [0x140331528], rbx
test eax, eax
je 0x14001d974
jmp 0x14001d998
mov eax, 1
mov qword [0x140331528], rbx
mov dword [0x1403314f8], eax
jmp 0x14001d998
mov rbx, qword [0x140331528]
test rbx, rbx
je 0x14001d998
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140331520]
mov rcx, rbx
call fcn.1400304c0
test eax, eax
je 0x14001d9a1
mov eax, dword [0x1403314f8]
cmp byte [0x14032e6b7], 0
je 0x14001d9c1
mov dword [0x1403314f8], 1
mov byte [0x14032e6b7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001da0e
cmp qword [0x1403314d8], 0
je 0x14001d9e4
mov rcx, qword [0x140331520]
mov qword [0x140331790], rcx
mov qword [0x140331798], rcx
cmp qword [0x1403314d0], 0
je 0x14001da03
mov rax, qword [0x140331518]
mov qword [0x140331580], rax
mov qword [0x140331588], rax
mov qword [0x1403314e0], 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, [0x14002cec0]
mov r14d, dword [0x140332da0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1403314c8], r12
mov qword [rax - 0x30], r12
call fcn.1400120b0
mov rdx, qword [0x14032e8e0]
mov rax, qword [0x14032e8d8]
mov qword [rdx], rax
cmp dword [0x140332da0], 4
jne 0x14002d3e6
cmp dword [0x140331510], r12d
je 0x14002d3e6
call fcn.14002bee0
test eax, eax
jne 0x14002d3cb
mov dword [0x1403314f8], r15d
mov dword [0x140332d68], 2
call fcn.140040fb0
inc qword [0x140331b08]
jmp 0x14002db0e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.1400314d0
mov rdi, qword [0x14032eb90]
mov eax, dword [0x1403238c8]
mov dword [0x140332d9c], eax
mov qword [0x14032edb8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002d433
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a9dc
test rbx, rbx
jne 0x14002d420
mov qword [rdi + 0x18], r12
mov rax, qword [0x14032eb70]
cmp qword [0x14032d5a0], rax
je 0x14002d44c
call fcn.140028480
call fcn.14003b320
mov rbx, qword [0x1403236d8]
test rbx, rbx
je 0x14002d472
test byte [rbx + 0x28], r15b
je 0x14002d472
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d472
test byte [rbx + 0x28], r15b
jne 0x14002d463
mov rsi, r12
test rbx, rbx
je 0x14002d4af
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d4a4
call fcn.1400157b0
movzx edx, al
mov rcx, rbx
call fcn.140029a70
mov qword [rsi + 0x30], rdi
jmp 0x14002d4a7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d480
mov rbx, qword [0x1403237e8]
test rbx, rbx
je 0x14002d4d0
test byte [rbx + 0x28], r15b
je 0x14002d4d0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d4d0
test byte [rbx + 0x28], r15b
jne 0x14002d4c1
mov rsi, r12
test rbx, rbx
je 0x14002d50f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d504
call fcn.1400157b0
movzx edx, al
mov rcx, rbx
call fcn.140029a70
mov qword [rsi + 0x30], rdi
jmp 0x14002d507
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d4e0
mov eax, dword [0x140332548]
test eax, eax
jne 0x14002d51e
call fcn.14003b140
xor r9d, r9d
lea r8, [0x140331b20]
lea rdx, [0x140331f10]
mov ecx, ebp
call fcn.14002e8c0
mov ecx, dword [0x140331f10]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140331b20]
mov edx, ebp
mov dword [0x140332d68], eax
call fcn.140032a70
cmp dword [0x14032c8a4], 4
mov dword [0x140332d68], eax
jb 0x14002d587
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f3d0
mov eax, dword [0x140332d68]
cmp qword [0x1403314e0], r12
mov ecx, dword [0x140332d9c]
je 0x14002d5b3
inc qword [0x1403314e8]
cmp ecx, 0x11
ja 0x14002d5b3
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d5b3
inc qword [0x1403314f0]
cmp eax, r15d
jle 0x14002d5bf
mov dword [0x140332d6c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140008380
mov ecx, dword [0x140332d68]
cmp ecx, 2
jne 0x14002d63f
cmp dword [rsp + 0x68], r12d
jne 0x14002d63f
cmp byte [0x14032e6b4], r12b
je 0x14002d63f
cmp byte [0x14032e6b5], r12b
jne 0x14002d63f
mov eax, dword [0x140332da0]
dec eax
test eax, 0xfffffffd
jne 0x14002d63f
mov eax, r15d
mov dword [0x14032f33c], r15d
xchg dword [0x140332d7c], eax
movups xmm0, xmmword [0x14032ec08]
mov ecx, dword [0x140332d68]
movups xmm1, xmmword [0x14032ec18]
movups xmmword [0x14032f120], xmm0
movups xmm0, xmmword [0x14032ec28]
movups xmmword [0x14032f130], xmm1
movups xmmword [0x14032f140], xmm0
mov edx, dword [0x1403315d8]
inc edx
mov qword [0x140332d60], rdx
mov edx, 2
call fcn.14000b0a0
call fcn.14002b0b0
lea rcx, str.BEGIN
call fcn.140029cd0
call fcn.140015770
test r15b, al
je 0x14002d684
call fcn.140015770
test al, 0x40
jne 0x14002d684
mov ecx, r15d
call fcn.1400412e0
call fcn.140015770
cmp dword [0x140332d7c], r12d
je 0x14002dad7
movaps xmm0, xmmword [0x140332d60]
lea rcx, [0x14032f348]
movaps xmmword [0x140332830], xmm0
movaps xmm0, xmmword [0x140332d80]
movaps xmmword [0x140332850], xmm0
movaps xmm0, xmmword [0x140332da0]
mov dword [0x140332d70], r12d
movaps xmm1, xmmword [0x140332d70]
movaps xmmword [0x140332840], xmm1
movaps xmm1, xmmword [0x140332d90]
movaps xmmword [0x140332870], xmm0
movsd xmm0, qword [0x140332dc0]
movaps xmmword [0x140332860], xmm1
movaps xmm1, xmmword [0x140332db0]
movsd qword [0x140332890], xmm0
movaps xmmword [0x140332880], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14032f338], r12d
jne 0x14002d777
cmp qword [0x14032f340], r12
jne 0x14002d777
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140024230]
call fcn.14000aa50
movzx eax, al
mov dword [0x14032f338], eax
test eax, eax
je 0x14002d777
lea rcx, [0x14032f348]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x14032d270]
cmp eax, 4
jl 0x14002d783
mov eax, dword [0x14032d268]
test r15b, al
je 0x14002d783
call fcn.14000ad90
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d783
lea rcx, [0x14032f348]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14032f340], r12
mov dword [0x14032f374], r15d
mov dword [0x14032f370], r12d
je 0x14002d976
lea rdi, [0x1403235c8]
lea rsi, [0x1403238f8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d8ab
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d7e8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d8ab
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d7d0
test rbx, rbx
je 0x14002d8ab
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d89e
test r15b, al
je 0x14002d86e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x14032ed40]
mov r8, qword [0x14032ed48]
cmp rcx, rax
jb 0x14002d842
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d83d
mov r8, qword [0x14032eb80]
call fcn.140026cc0
test eax, eax
je 0x14002d976
or qword [rbx + 0x28], 0x40
jmp 0x14002d89e
cmp rax, rcx
jbe 0x14002d845
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x14032eb80]
call fcn.140026cc0
test eax, eax
je 0x14002d976
or qword [rbx + 0x28], 0x80
jmp 0x14002d89e
mov r8, qword [0x14032eb80]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026cc0
test eax, eax
je 0x14002d976
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d896
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d7f1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d7b0
mov rax, qword [0x14032ed40]
mov ebx, 0xffffffff
cmp dword [0x140332d9c], 5
mov qword [0x140331458], rax
mov rax, qword [0x14032ed48]
cmove ebx, r15d
mov qword [0x140331460], rax
mov dword [0x14032f374], r15d
mov dword [0x140332728], r15d
je 0x14002d91d
mov ecx, r12d
lea rdx, [0x140331580]
cmp qword [rdx], r12
jg 0x14002d91d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d901
mov dword [0x14032e8d4], r15d
cmp ebx, 0xffffffff
jne 0x14002d936
xorps xmm0, xmm0
movdqa xmmword [0x140323370], xmm0
jmp 0x14002d966
lea rcx, [0x140332d60]
mov dword [0x14032f370], r15d
call fcn.140031470
mov rax, qword [0x1403315d8]
add rax, 2
mov dword [0x140332d68], ebx
mov qword [0x140332d60], rax
call fcn.14002b0b0
cmp dword [0x14032f370], r12d
jne 0x14002d98d
call fcn.14002a610
jmp 0x14002d98d
mov eax, r12d
mov dword [0x14032f374], r12d
mov dword [0x140332d70], r15d
xchg dword [0x140332d7c], eax
cmp dword [0x14032f374], r12d
je 0x14002dad7
lea rcx, [0x14032f150]
mov edx, 3
lea rax, [0x1403318f0]
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 0x14002d9b0
cmp dword [0x14032f370], 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 0x14002dadc
mov dword [0x14032ebc0], r12d
mov dword [0x14032ebc4], 0x8000
mov dword [0x140331ab8], r12d
mov dword [0x140331abc], 0x8000
call fcn.14002db40
movaps xmm0, xmmword [0x140332830]
movaps xmm1, xmmword [0x140332840]
movaps xmmword [0x140332d60], xmm0
movaps xmm0, xmmword [0x140332850]
movaps xmmword [0x140332d80], xmm0
movaps xmm0, xmmword [0x140332870]
movaps xmmword [0x140332d70], xmm1
movaps xmm1, xmmword [0x140332860]
movaps xmmword [0x140332da0], xmm0
movsd xmm0, qword [0x140332890]
movaps xmmword [0x140332d90], xmm1
movaps xmm1, xmmword [0x140332880]
movsd qword [0x140332dc0], xmm0
movaps xmmword [0x140332db0], xmm1
call fcn.14002a610
jmp 0x14002dadc
call fcn.14002db40
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 [0x14032ebf8], rax
mov rax, qword [0x140331580]
mov qword [0x14032ec00], rax
mov qword [0x14032eba0], 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 0x14002db31
add rsp, 0x58
jmp 0x14001d740
add rsp, 0x58
ret