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

Disassembly:
sub rsp, 0x28
cmp dword [0x180292630], 0
je 0x18002037b
xor edx, edx
lea rcx, [0x18003fbe0]
call fcn.180014c70
mov eax, dword [0x180292618]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x18028f7d7], 0
cmp eax, 1
je 0x1800205e1
cmp qword [0x1802925f0], 0
je 0x1800203ec
mov rcx, qword [0x18028fa00]
mov r8, qword [0x180292638]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x1800205c1
add rdx, r8
xor r8d, r8d
call fcn.180032f90
test eax, eax
je 0x1800205c1
cmp byte [0x18028f7d7], 0
jne 0x1800205c1
mov eax, dword [0x180292618]
test eax, eax
jne 0x1800205b8
cmp dword [0x180292630], eax
jne 0x1800205b8
cmp qword [0x1802925f8], 0
je 0x1800205b8
xor edi, edi
mov dword [0x18028fd10], 1
mov qword [0x180292648], rdi
call fcn.18002f1b0
test eax, eax
jne 0x180020488
mov rbx, qword [0x1802870c8]
test rbx, rbx
je 0x18002047e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x180292640]
sub rax, rdx
cmp rax, rcx
jb 0x180020471
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180032f90
test eax, eax
je 0x1800205c1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180020440
test edi, edi
jne 0x180020488
mov dword [0x18028fd10], 2
cmp byte [0x18028f7d7], 0
jne 0x1800205c1
mov eax, dword [0x180292618]
test eax, eax
jne 0x1800205b8
cmp dword [0x18028fd10], 2
jne 0x18002058d
mov rcx, qword [0x18028fe40]
xor edx, edx
mov r8, qword [0x180292640]
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.180031fe0
mov rbx, rax
test rax, rax
je 0x180020579
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x18028e6a0]
sub rdi, rsi
cmp eax, 4
jl 0x18002053f
mov eax, dword [0x18028e698]
test al, 1
je 0x18002053f
call fcn.18000a1a0
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.180042bb0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.1800073a0
mov eax, dword [0x180292618]
mov rsi, qword [rsp + 0x38]
mov qword [0x180292648], rbx
test eax, eax
je 0x180020594
jmp 0x1800205b8
mov eax, 1
mov qword [0x180292648], rbx
mov dword [0x180292618], eax
jmp 0x1800205b8
mov rbx, qword [0x180292648]
test rbx, rbx
je 0x1800205b8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x180292640]
mov rcx, rbx
call fcn.180032f90
test eax, eax
je 0x1800205c1
mov eax, dword [0x180292618]
cmp byte [0x18028f7d7], 0
je 0x1800205e1
mov dword [0x180292618], 1
mov byte [0x18028f7d7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x18002062e
cmp qword [0x1802925f8], 0
je 0x180020604
mov rcx, qword [0x180292640]
mov qword [0x1802928b0], rcx
mov qword [0x1802928b8], rcx
cmp qword [0x1802925f0], 0
je 0x180020623
mov rax, qword [0x180292638]
mov qword [0x1802926a0], rax
mov qword [0x1802926a8], rax
mov qword [0x180292600], 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, [0x18002f9a0]
mov r14d, dword [0x180293ec0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1802925e8], r12
mov qword [rax - 0x30], r12
call fcn.180014c70
mov rdx, qword [0x18028fa00]
mov rax, qword [0x18028f9f8]
mov qword [rdx], rax
cmp dword [0x180293ec0], 4
jne 0x18002fec6
cmp dword [0x180292630], r12d
je 0x18002fec6
call fcn.18002e9d0
test eax, eax
jne 0x18002feab
mov dword [0x180292618], r15d
mov dword [0x180293e88], 2
call fcn.180043b50
inc qword [0x180292c28]
jmp 0x1800305f0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.180033fa0
mov rdi, qword [0x18028fcb0]
mov eax, dword [0x1802872a8]
mov dword [0x180293ebc], eax
mov qword [0x18028fed8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x18002ff13
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.180062890
test rbx, rbx
jne 0x18002ff00
mov qword [rdi + 0x18], r12
mov rax, qword [0x18028fc90]
cmp qword [0x18028e6c0], rax
je 0x18002ff2c
call fcn.18002aff0
call fcn.18003de60
mov rbx, qword [0x1802870b8]
test rbx, rbx
je 0x18002ff52
test byte [rbx + 0x28], r15b
je 0x18002ff52
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18002ff52
test byte [rbx + 0x28], r15b
jne 0x18002ff43
mov rsi, r12
test rbx, rbx
je 0x18002ff8f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x18002ff84
call fcn.1800182e0
movzx edx, al
mov rcx, rbx
call fcn.18002c560
mov qword [rsi + 0x30], rdi
jmp 0x18002ff87
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x18002ff60
mov rbx, qword [0x1802871c8]
test rbx, rbx
je 0x18002ffb0
test byte [rbx + 0x28], r15b
je 0x18002ffb0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18002ffb0
test byte [rbx + 0x28], r15b
jne 0x18002ffa1
mov rsi, r12
test rbx, rbx
je 0x18002ffef
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x18002ffe4
call fcn.1800182e0
movzx edx, al
mov rcx, rbx
call fcn.18002c560
mov qword [rsi + 0x30], rdi
jmp 0x18002ffe7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x18002ffc0
mov eax, dword [0x180293668]
test eax, eax
jne 0x18002fffe
call fcn.18003dc80
xor r9d, r9d
lea r8, [0x180292c40]
lea rdx, [0x180293030]
mov ecx, ebp
call fcn.180031390
mov ecx, dword [0x180293030]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x180292c40]
mov edx, ebp
mov dword [0x180293e88], eax
call fcn.180035550
cmp dword [0x18028d9d4], 4
mov dword [0x180293e88], eax
jb 0x180030067
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.180011f80
mov eax, dword [0x180293e88]
cmp qword [0x180292600], r12
mov ecx, dword [0x180293ebc]
je 0x180030093
inc qword [0x180292608]
cmp ecx, 0x11
ja 0x180030093
mov edx, 0x22e86
bt edx, ecx
jae 0x180030093
inc qword [0x180292610]
cmp eax, r15d
jle 0x18003009f
mov dword [0x180293e8c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.1800073a0
mov ecx, dword [0x180293e88]
cmp ecx, 2
jne 0x18003011f
cmp dword [rsp + 0x68], r12d
jne 0x18003011f
cmp byte [0x18028f7d4], r12b
je 0x18003011f
cmp byte [0x18028f7d5], r12b
jne 0x18003011f
mov eax, dword [0x180293ec0]
dec eax
test eax, 0xfffffffd
jne 0x18003011f
mov eax, r15d
mov dword [0x18029045c], r15d
xchg dword [0x180293e9c], eax
movups xmm0, xmmword [0x18028fd28]
mov ecx, dword [0x180293e88]
movups xmm1, xmmword [0x18028fd38]
movups xmmword [0x180290240], xmm0
movups xmm0, xmmword [0x18028fd48]
movups xmmword [0x180290250], xmm1
movups xmmword [0x180290260], xmm0
mov edx, dword [0x1802926f8]
inc edx
mov qword [0x180293e80], rdx
mov edx, 2
call fcn.18000a4b0
call fcn.18002dba0
lea rcx, str.BEGIN
call fcn.18002c7c0
call fcn.1800182a0
test r15b, al
je 0x180030164
call fcn.1800182a0
test al, 0x40
jne 0x180030164
mov ecx, r15d
call fcn.180043f50
call fcn.1800182a0
cmp dword [0x180293e9c], r12d
je 0x1800305b9
movaps xmm0, xmmword [0x180293e80]
lea rcx, [0x180290468]
movaps xmmword [0x180293950], xmm0
movaps xmm0, xmmword [0x180293ea0]
movaps xmmword [0x180293970], xmm0
movaps xmm0, xmmword [0x180293ec0]
mov dword [0x180293e90], r12d
movaps xmm1, xmmword [0x180293e90]
movaps xmmword [0x180293960], xmm1
movaps xmm1, xmmword [0x180293eb0]
movaps xmmword [0x180293990], xmm0
movsd xmm0, qword [0x180293ee0]
movaps xmmword [0x180293980], xmm1
movaps xmm1, xmmword [0x180293ed0]
movsd qword [0x1802939b0], xmm0
movaps xmmword [0x1802939a0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x180290458], r12d
jne 0x180030257
cmp qword [0x180290460], r12
jne 0x180030257
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x180026e90]
call fcn.180009e60
movzx eax, al
mov dword [0x180290458], eax
test eax, eax
je 0x180030257
lea rcx, [0x180290468]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x18028e6a0]
cmp eax, 4
jl 0x180030263
mov eax, dword [0x18028e698]
test r15b, al
je 0x180030263
call fcn.18000a1a0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x180030263
lea rcx, [0x180290468]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x180290460], r12
mov dword [0x180290494], r15d
mov dword [0x180290490], r12d
je 0x18003045b
lea rdi, [0x180286fa8]
lea rsi, [0x1802872d8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x180030390
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x1800302c8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180030390
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x1800302b0
test rbx, rbx
je 0x180030390
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x180030383
test r15b, al
je 0x180030353
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x18028fe60]
mov r8, qword [0x18028fe68]
cmp rcx, rax
jb 0x180030328
mov r9, qword [rdx]
cmp r9, r8
ja 0x180030323
mov r8, qword [0x18028fca0]
mov rdx, r9
call fcn.180029850
test eax, eax
je 0x18003045b
or qword [rbx + 0x28], 0x40
jmp 0x180030383
cmp rax, rcx
jbe 0x18003032b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x18028fca0]
call fcn.180029850
test eax, eax
je 0x18003045b
or qword [rbx + 0x28], 0x80
jmp 0x180030383
mov r8, qword [0x18028fca0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.180029850
test eax, eax
je 0x18003045b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x18003037b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1800302d1
add rdi, 0x110
cmp rdi, rsi
jl 0x180030290
mov rax, qword [0x18028fe60]
mov ebx, 0xffffffff
cmp dword [0x180293ebc], 5
mov qword [0x180292578], rax
mov rax, qword [0x18028fe68]
cmove ebx, r15d
mov qword [0x180292580], rax
mov dword [0x180290494], r15d
mov dword [0x180293848], r15d
je 0x180030402
mov ecx, r12d
lea rdx, [0x1802926a0]
cmp qword [rdx], r12
jg 0x180030402
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x1800303e6
mov dword [0x18028f9f4], r15d
cmp ebx, 0xffffffff
jne 0x18003041b
xorps xmm0, xmm0
movdqa xmmword [0x180286d50], xmm0
jmp 0x18003044b
lea rcx, [0x180293e80]
mov dword [0x180290490], r15d
call fcn.180033f40
mov rax, qword [0x1802926f8]
add rax, 2
mov dword [0x180293e88], ebx
mov qword [0x180293e80], rax
call fcn.18002dba0
cmp dword [0x180290490], r12d
jne 0x180030472
call fcn.18002d100
jmp 0x180030472
mov eax, r12d
mov dword [0x180290494], r12d
mov dword [0x180293e90], r15d
xchg dword [0x180293e9c], eax
cmp dword [0x180290494], r12d
je 0x1800305b9
lea rcx, [0x180290270]
mov edx, 3
lea rax, [0x180292a10]
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 0x180030492
cmp dword [0x180290490], 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 0x1800305be
mov dword [0x18028fce0], r12d
mov dword [0x18028fce4], 0x8000
mov dword [0x180292bd8], r12d
mov dword [0x180292bdc], 0x8000
call fcn.180030620
movaps xmm0, xmmword [0x180293950]
movaps xmm1, xmmword [0x180293960]
movaps xmmword [0x180293e80], xmm0
movaps xmm0, xmmword [0x180293970]
movaps xmmword [0x180293ea0], xmm0
movaps xmm0, xmmword [0x180293990]
movaps xmmword [0x180293e90], xmm1
movaps xmm1, xmmword [0x180293980]
movaps xmmword [0x180293ec0], xmm0
movsd xmm0, qword [0x1802939b0]
movaps xmmword [0x180293eb0], xmm1
movaps xmm1, xmmword [0x1802939a0]
movsd qword [0x180293ee0], xmm0
movaps xmmword [0x180293ed0], xmm1
call fcn.18002d100
jmp 0x1800305be
call fcn.180030620
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 [0x18028fd18], rax
mov rax, qword [0x1802926a0]
mov qword [0x18028fd20], rax
mov qword [0x18028fcc0], 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 0x180030613
add rsp, 0x58
jmp 0x180020360
add rsp, 0x58
ret