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

Disassembly:
sub rsp, 0x28
cmp dword [0x140315d10], 0
je 0x14001d8bb
xor edx, edx
lea rcx, [0x14003d1c0]
call fcn.140012210
mov eax, dword [0x140315cf8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140312eb7], 0
cmp eax, 1
je 0x14001db21
cmp qword [0x140315cd0], 0
je 0x14001d92c
mov rcx, qword [0x1403130e0]
mov r8, qword [0x140315d18]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001db01
add rdx, r8
xor r8d, r8d
call fcn.140030620
test eax, eax
je 0x14001db01
cmp byte [0x140312eb7], 0
jne 0x14001db01
mov eax, dword [0x140315cf8]
test eax, eax
jne 0x14001daf8
cmp dword [0x140315d10], eax
jne 0x14001daf8
cmp qword [0x140315cd8], 0
je 0x14001daf8
xor edi, edi
mov dword [0x1403133f0], 1
mov qword [0x140315d28], rdi
call fcn.14002c820
test eax, eax
jne 0x14001d9c8
mov rbx, qword [0x140308f28]
test rbx, rbx
je 0x14001d9be
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140315d20]
sub rax, rdx
cmp rax, rcx
jb 0x14001d9b1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140030620
test eax, eax
je 0x14001db01
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d980
test edi, edi
jne 0x14001d9c8
mov dword [0x1403133f0], 2
cmp byte [0x140312eb7], 0
jne 0x14001db01
mov eax, dword [0x140315cf8]
test eax, eax
jne 0x14001daf8
cmp dword [0x1403133f0], 2
jne 0x14001dacd
mov rcx, qword [0x140313520]
xor edx, edx
mov r8, qword [0x140315d20]
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.14002f670
mov rbx, rax
test rax, rax
je 0x14001dab9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140311a78]
sub rdi, rsi
cmp eax, 4
jl 0x14001da7f
mov eax, dword [0x140311a70]
test al, 1
je 0x14001da7f
call fcn.14000ad70
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.140040150
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004b70
mov eax, dword [0x140315cf8]
mov rsi, qword [rsp + 0x38]
mov qword [0x140315d28], rbx
test eax, eax
je 0x14001dad4
jmp 0x14001daf8
mov eax, 1
mov qword [0x140315d28], rbx
mov dword [0x140315cf8], eax
jmp 0x14001daf8
mov rbx, qword [0x140315d28]
test rbx, rbx
je 0x14001daf8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140315d20]
mov rcx, rbx
call fcn.140030620
test eax, eax
je 0x14001db01
mov eax, dword [0x140315cf8]
cmp byte [0x140312eb7], 0
je 0x14001db21
mov dword [0x140315cf8], 1
mov byte [0x140312eb7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001db6e
cmp qword [0x140315cd8], 0
je 0x14001db44
mov rcx, qword [0x140315d20]
mov qword [0x140315f90], rcx
mov qword [0x140315f98], rcx
cmp qword [0x140315cd0], 0
je 0x14001db63
mov rax, qword [0x140315d18]
mov qword [0x140315d80], rax
mov qword [0x140315d88], rax
mov qword [0x140315ce0], 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, [0x14002d020]
mov r14d, dword [0x1403175a0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x140315cc8], r12
mov qword [rax - 0x30], r12
call fcn.140012210
mov rdx, qword [0x1403130e0]
mov rax, qword [0x1403130d8]
mov qword [rdx], rax
cmp dword [0x1403175a0], 4
jne 0x14002d546
cmp dword [0x140315d10], r12d
je 0x14002d546
call fcn.14002c040
test eax, eax
jne 0x14002d52b
mov dword [0x140315cf8], r15d
mov dword [0x140317568], 2
call fcn.140041110
inc qword [0x140316308]
jmp 0x14002dc6e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140031630
mov rdi, qword [0x140313390]
mov eax, dword [0x140309108]
mov dword [0x14031759c], eax
mov qword [0x1403135b8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002d593
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006ab10
test rbx, rbx
jne 0x14002d580
mov qword [rdi + 0x18], r12
mov rax, qword [0x140313370]
cmp qword [0x140311da0], rax
je 0x14002d5ac
call fcn.1400285e0
call fcn.14003b480
mov rbx, qword [0x140308f18]
test rbx, rbx
je 0x14002d5d2
test byte [rbx + 0x28], r15b
je 0x14002d5d2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d5d2
test byte [rbx + 0x28], r15b
jne 0x14002d5c3
mov rsi, r12
test rbx, rbx
je 0x14002d60f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d604
call fcn.140015910
movzx edx, al
mov rcx, rbx
call fcn.140029bd0
mov qword [rsi + 0x30], rdi
jmp 0x14002d607
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d5e0
mov rbx, qword [0x140309028]
test rbx, rbx
je 0x14002d630
test byte [rbx + 0x28], r15b
je 0x14002d630
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d630
test byte [rbx + 0x28], r15b
jne 0x14002d621
mov rsi, r12
test rbx, rbx
je 0x14002d66f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d664
call fcn.140015910
movzx edx, al
mov rcx, rbx
call fcn.140029bd0
mov qword [rsi + 0x30], rdi
jmp 0x14002d667
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d640
mov eax, dword [0x140316d48]
test eax, eax
jne 0x14002d67e
call fcn.14003b2a0
xor r9d, r9d
lea r8, [0x140316320]
lea rdx, [0x140316710]
mov ecx, ebp
call fcn.14002ea20
mov ecx, dword [0x140316710]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140316320]
mov edx, ebp
mov dword [0x140317568], eax
call fcn.140032bd0
cmp dword [0x1403110b4], 4
mov dword [0x140317568], eax
jb 0x14002d6e7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f530
mov eax, dword [0x140317568]
cmp qword [0x140315ce0], r12
mov ecx, dword [0x14031759c]
je 0x14002d713
inc qword [0x140315ce8]
cmp ecx, 0x11
ja 0x14002d713
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d713
inc qword [0x140315cf0]
cmp eax, r15d
jle 0x14002d71f
mov dword [0x14031756c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004b70
mov ecx, dword [0x140317568]
cmp ecx, 2
jne 0x14002d79f
cmp dword [rsp + 0x68], r12d
jne 0x14002d79f
cmp byte [0x140312eb4], r12b
je 0x14002d79f
cmp byte [0x140312eb5], r12b
jne 0x14002d79f
mov eax, dword [0x1403175a0]
dec eax
test eax, 0xfffffffd
jne 0x14002d79f
mov eax, r15d
mov dword [0x140313b3c], r15d
xchg dword [0x14031757c], eax
movups xmm0, xmmword [0x140313408]
mov ecx, dword [0x140317568]
movups xmm1, xmmword [0x140313418]
movups xmmword [0x140313920], xmm0
movups xmm0, xmmword [0x140313428]
movups xmmword [0x140313930], xmm1
movups xmmword [0x140313940], xmm0
mov edx, dword [0x140315dd8]
inc edx
mov qword [0x140317560], rdx
mov edx, 2
call fcn.14000b080
call fcn.14002b210
lea rcx, str.BEGIN
call fcn.140029e30
call fcn.1400158d0
test r15b, al
je 0x14002d7e4
call fcn.1400158d0
test al, 0x40
jne 0x14002d7e4
mov ecx, r15d
call fcn.140041440
call fcn.1400158d0
cmp dword [0x14031757c], r12d
je 0x14002dc37
movaps xmm0, xmmword [0x140317560]
lea rcx, [0x140313b48]
movaps xmmword [0x140317030], xmm0
movaps xmm0, xmmword [0x140317580]
movaps xmmword [0x140317050], xmm0
movaps xmm0, xmmword [0x1403175a0]
mov dword [0x140317570], r12d
movaps xmm1, xmmword [0x140317570]
movaps xmmword [0x140317040], xmm1
movaps xmm1, xmmword [0x140317590]
movaps xmmword [0x140317070], xmm0
movsd xmm0, qword [0x1403175c0]
movaps xmmword [0x140317060], xmm1
movaps xmm1, xmmword [0x1403175b0]
movsd qword [0x140317090], xmm0
movaps xmmword [0x140317080], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140313b38], r12d
jne 0x14002d8d7
cmp qword [0x140313b40], r12
jne 0x14002d8d7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140024390]
call fcn.14000aa30
movzx eax, al
mov dword [0x140313b38], eax
test eax, eax
je 0x14002d8d7
lea rcx, [0x140313b48]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140311a78]
cmp eax, 4
jl 0x14002d8e3
mov eax, dword [0x140311a70]
test r15b, al
je 0x14002d8e3
call fcn.14000ad70
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d8e3
lea rcx, [0x140313b48]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140313b40], r12
mov dword [0x140313b74], r15d
mov dword [0x140313b70], r12d
je 0x14002dad6
lea rdi, [0x140308e08]
lea rsi, [0x140309138]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002da0b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d948
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002da0b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d930
test rbx, rbx
je 0x14002da0b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d9fe
test r15b, al
je 0x14002d9ce
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140313540]
mov r8, qword [0x140313548]
cmp rcx, rax
jb 0x14002d9a2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d99d
mov r8, qword [0x140313380]
call fcn.140026e20
test eax, eax
je 0x14002dad6
or qword [rbx + 0x28], 0x40
jmp 0x14002d9fe
cmp rax, rcx
jbe 0x14002d9a5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140313380]
call fcn.140026e20
test eax, eax
je 0x14002dad6
or qword [rbx + 0x28], 0x80
jmp 0x14002d9fe
mov r8, qword [0x140313380]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026e20
test eax, eax
je 0x14002dad6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d9f6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d951
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d910
mov rax, qword [0x140313540]
mov ebx, 0xffffffff
cmp dword [0x14031759c], 5
mov qword [0x140315c58], rax
mov rax, qword [0x140313548]
cmove ebx, r15d
mov qword [0x140315c60], rax
mov dword [0x140313b74], r15d
mov dword [0x140316f28], r15d
je 0x14002da7d
mov ecx, r12d
lea rdx, [0x140315d80]
cmp qword [rdx], r12
jg 0x14002da7d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002da61
mov dword [0x1403130d4], r15d
cmp ebx, 0xffffffff
jne 0x14002da96
xorps xmm0, xmm0
movdqa xmmword [0x140308bb0], xmm0
jmp 0x14002dac6
lea rcx, [0x140317560]
mov dword [0x140313b70], r15d
call fcn.1400315d0
mov rax, qword [0x140315dd8]
add rax, 2
mov dword [0x140317568], ebx
mov qword [0x140317560], rax
call fcn.14002b210
cmp dword [0x140313b70], r12d
jne 0x14002daed
call fcn.14002a770
jmp 0x14002daed
mov eax, r12d
mov dword [0x140313b74], r12d
mov dword [0x140317570], r15d
xchg dword [0x14031757c], eax
cmp dword [0x140313b74], r12d
je 0x14002dc37
lea rcx, [0x140313950]
mov edx, 3
lea rax, [0x1403160f0]
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 0x14002db10
cmp dword [0x140313b70], 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 0x14002dc3c
mov dword [0x1403133c0], r12d
mov dword [0x1403133c4], 0x8000
mov dword [0x1403162b8], r12d
mov dword [0x1403162bc], 0x8000
call fcn.14002dca0
movaps xmm0, xmmword [0x140317030]
movaps xmm1, xmmword [0x140317040]
movaps xmmword [0x140317560], xmm0
movaps xmm0, xmmword [0x140317050]
movaps xmmword [0x140317580], xmm0
movaps xmm0, xmmword [0x140317070]
movaps xmmword [0x140317570], xmm1
movaps xmm1, xmmword [0x140317060]
movaps xmmword [0x1403175a0], xmm0
movsd xmm0, qword [0x140317090]
movaps xmmword [0x140317590], xmm1
movaps xmm1, xmmword [0x140317080]
movsd qword [0x1403175c0], xmm0
movaps xmmword [0x1403175b0], xmm1
call fcn.14002a770
jmp 0x14002dc3c
call fcn.14002dca0
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 [0x1403133f8], rax
mov rax, qword [0x140315d80]
mov qword [0x140313400], rax
mov qword [0x1403133a0], 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 0x14002dc91
add rsp, 0x58
jmp 0x14001d8a0
add rsp, 0x58
ret