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

Disassembly:
sub rsp, 0x28
cmp dword [0x140246810], 0
je 0x14001c8db
xor edx, edx
lea rcx, [0x14003c140]
call fcn.1400111d0
mov eax, dword [0x1402467f8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402439b7], 0
cmp eax, 1
je 0x14001cb41
cmp qword [0x1402467d0], 0
je 0x14001c94c
mov rcx, qword [0x140243be0]
mov r8, qword [0x140246818]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001cb21
add rdx, r8
xor r8d, r8d
call fcn.14002f4f0
test eax, eax
je 0x14001cb21
cmp byte [0x1402439b7], 0
jne 0x14001cb21
mov eax, dword [0x1402467f8]
test eax, eax
jne 0x14001cb18
cmp dword [0x140246810], eax
jne 0x14001cb18
cmp qword [0x1402467d8], 0
je 0x14001cb18
xor edi, edi
mov dword [0x140243ef0], 1
mov qword [0x140246828], rdi
call fcn.14002b710
test eax, eax
jne 0x14001c9e8
mov rbx, qword [0x14023c428]
test rbx, rbx
je 0x14001c9de
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140246820]
sub rax, rdx
cmp rax, rcx
jb 0x14001c9d1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002f4f0
test eax, eax
je 0x14001cb21
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001c9a0
test edi, edi
jne 0x14001c9e8
mov dword [0x140243ef0], 2
cmp byte [0x1402439b7], 0
jne 0x14001cb21
mov eax, dword [0x1402467f8]
test eax, eax
jne 0x14001cb18
cmp dword [0x140243ef0], 2
jne 0x14001caed
mov rcx, qword [0x140244020]
xor edx, edx
mov r8, qword [0x140246820]
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.14002e540
mov rbx, rax
test rax, rax
je 0x14001cad9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140242578]
sub rdi, rsi
cmp eax, 4
jl 0x14001ca9f
mov eax, dword [0x140242570]
test al, 1
je 0x14001ca9f
call fcn.140009d60
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.14003f110
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005f90
mov eax, dword [0x1402467f8]
mov rsi, qword [rsp + 0x38]
mov qword [0x140246828], rbx
test eax, eax
je 0x14001caf4
jmp 0x14001cb18
mov eax, 1
mov qword [0x140246828], rbx
mov dword [0x1402467f8], eax
jmp 0x14001cb18
mov rbx, qword [0x140246828]
test rbx, rbx
je 0x14001cb18
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140246820]
mov rcx, rbx
call fcn.14002f4f0
test eax, eax
je 0x14001cb21
mov eax, dword [0x1402467f8]
cmp byte [0x1402439b7], 0
je 0x14001cb41
mov dword [0x1402467f8], 1
mov byte [0x1402439b7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001cb8e
cmp qword [0x1402467d8], 0
je 0x14001cb64
mov rcx, qword [0x140246820]
mov qword [0x140246a90], rcx
mov qword [0x140246a98], rcx
cmp qword [0x1402467d0], 0
je 0x14001cb83
mov rax, qword [0x140246818]
mov qword [0x140246880], rax
mov qword [0x140246888], rax
mov qword [0x1402467e0], 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, [0x14002bf00]
mov r14d, dword [0x1402480a0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1402467c8], r12
mov qword [rax - 0x30], r12
call fcn.1400111d0
mov rdx, qword [0x140243be0]
mov rax, qword [0x140243bd8]
mov qword [rdx], rax
cmp dword [0x1402480a0], 4
jne 0x14002c426
cmp dword [0x140246810], r12d
je 0x14002c426
call fcn.14002af30
test eax, eax
jne 0x14002c40b
mov dword [0x1402467f8], r15d
mov dword [0x140248068], 2
call fcn.1400400b0
inc qword [0x140246e08]
jmp 0x14002cb50
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030500
mov rdi, qword [0x140243e90]
mov eax, dword [0x14023c608]
mov dword [0x14024809c], eax
mov qword [0x1402440b8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002c473
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.140069b70
test rbx, rbx
jne 0x14002c460
mov qword [rdi + 0x18], r12
mov rax, qword [0x140243e70]
cmp qword [0x1402428a0], rax
je 0x14002c48c
call fcn.140027550
call fcn.14003a3c0
mov rbx, qword [0x14023c418]
test rbx, rbx
je 0x14002c4b2
test byte [rbx + 0x28], r15b
je 0x14002c4b2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002c4b2
test byte [rbx + 0x28], r15b
jne 0x14002c4a3
mov rsi, r12
test rbx, rbx
je 0x14002c4ef
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002c4e4
call fcn.1400148d0
movzx edx, al
mov rcx, rbx
call fcn.140028ac0
mov qword [rsi + 0x30], rdi
jmp 0x14002c4e7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002c4c0
mov rbx, qword [0x14023c528]
test rbx, rbx
je 0x14002c510
test byte [rbx + 0x28], r15b
je 0x14002c510
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002c510
test byte [rbx + 0x28], r15b
jne 0x14002c501
mov rsi, r12
test rbx, rbx
je 0x14002c54f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002c544
call fcn.1400148d0
movzx edx, al
mov rcx, rbx
call fcn.140028ac0
mov qword [rsi + 0x30], rdi
jmp 0x14002c547
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002c520
mov eax, dword [0x140247848]
test eax, eax
jne 0x14002c55e
call fcn.14003a1e0
xor r9d, r9d
lea r8, [0x140246e20]
lea rdx, [0x140247210]
mov ecx, ebp
call fcn.14002d8f0
mov ecx, dword [0x140247210]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140246e20]
mov edx, ebp
mov dword [0x140248068], eax
call fcn.140031ab0
cmp dword [0x1402424a4], 4
mov dword [0x140248068], eax
jb 0x14002c5c7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000d780
mov eax, dword [0x140248068]
cmp qword [0x1402467e0], r12
mov ecx, dword [0x14024809c]
je 0x14002c5f3
inc qword [0x1402467e8]
cmp ecx, 0x11
ja 0x14002c5f3
mov edx, 0x22e86
bt edx, ecx
jae 0x14002c5f3
inc qword [0x1402467f0]
cmp eax, r15d
jle 0x14002c5ff
mov dword [0x14024806c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140005f90
mov ecx, dword [0x140248068]
cmp ecx, 2
jne 0x14002c67f
cmp dword [rsp + 0x68], r12d
jne 0x14002c67f
cmp byte [0x1402439b4], r12b
je 0x14002c67f
cmp byte [0x1402439b5], r12b
jne 0x14002c67f
mov eax, dword [0x1402480a0]
dec eax
test eax, 0xfffffffd
jne 0x14002c67f
mov eax, r15d
mov dword [0x14024463c], r15d
xchg dword [0x14024807c], eax
movups xmm0, xmmword [0x140243f08]
mov ecx, dword [0x140248068]
movups xmm1, xmmword [0x140243f18]
movups xmmword [0x140244420], xmm0
movups xmm0, xmmword [0x140243f28]
movups xmmword [0x140244430], xmm1
movups xmmword [0x140244440], xmm0
mov edx, dword [0x1402468d8]
inc edx
mov qword [0x140248060], rdx
mov edx, 2
call fcn.14000a070
call fcn.14002a100
lea rcx, str.BEGIN
call fcn.140028d20
call fcn.140014890
test r15b, al
je 0x14002c6c4
call fcn.140014890
test al, 0x40
jne 0x14002c6c4
mov ecx, r15d
call fcn.1400404b0
call fcn.140014890
cmp dword [0x14024807c], r12d
je 0x14002cb19
movaps xmm0, xmmword [0x140248060]
lea rcx, [0x140244648]
movaps xmmword [0x140247b30], xmm0
movaps xmm0, xmmword [0x140248080]
movaps xmmword [0x140247b50], xmm0
movaps xmm0, xmmword [0x1402480a0]
mov dword [0x140248070], r12d
movaps xmm1, xmmword [0x140248070]
movaps xmmword [0x140247b40], xmm1
movaps xmm1, xmmword [0x140248090]
movaps xmmword [0x140247b70], xmm0
movsd xmm0, qword [0x1402480c0]
movaps xmmword [0x140247b60], xmm1
movaps xmm1, xmmword [0x1402480b0]
movsd qword [0x140247b90], xmm0
movaps xmmword [0x140247b80], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140244638], r12d
jne 0x14002c7b7
cmp qword [0x140244640], r12
jne 0x14002c7b7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x1400233f0]
call fcn.140009a20
movzx eax, al
mov dword [0x140244638], eax
test eax, eax
je 0x14002c7b7
lea rcx, [0x140244648]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140242578]
cmp eax, 4
jl 0x14002c7c3
mov eax, dword [0x140242570]
test r15b, al
je 0x14002c7c3
call fcn.140009d60
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002c7c3
lea rcx, [0x140244648]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140244640], r12
mov dword [0x140244674], r15d
mov dword [0x140244670], r12d
je 0x14002c9bb
lea rdi, [0x14023c308]
lea rsi, [0x14023c638]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002c8f0
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002c828
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002c8f0
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002c810
test rbx, rbx
je 0x14002c8f0
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002c8e3
test r15b, al
je 0x14002c8b3
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x140244040]
mov r8, qword [0x140244048]
cmp rcx, rax
jb 0x14002c888
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002c883
mov r8, qword [0x140243e80]
mov rdx, r9
call fcn.140025db0
test eax, eax
je 0x14002c9bb
or qword [rbx + 0x28], 0x40
jmp 0x14002c8e3
cmp rax, rcx
jbe 0x14002c88b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140243e80]
call fcn.140025db0
test eax, eax
je 0x14002c9bb
or qword [rbx + 0x28], 0x80
jmp 0x14002c8e3
mov r8, qword [0x140243e80]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140025db0
test eax, eax
je 0x14002c9bb
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002c8db
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002c831
add rdi, 0x110
cmp rdi, rsi
jl 0x14002c7f0
mov rax, qword [0x140244040]
mov ebx, 0xffffffff
cmp dword [0x14024809c], 5
mov qword [0x140246758], rax
mov rax, qword [0x140244048]
cmove ebx, r15d
mov qword [0x140246760], rax
mov dword [0x140244674], r15d
mov dword [0x140247a28], r15d
je 0x14002c962
mov ecx, r12d
lea rdx, [0x140246880]
cmp qword [rdx], r12
jg 0x14002c962
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002c946
mov dword [0x140243bd4], r15d
cmp ebx, 0xffffffff
jne 0x14002c97b
xorps xmm0, xmm0
movdqa xmmword [0x14023c0b0], xmm0
jmp 0x14002c9ab
lea rcx, [0x140248060]
mov dword [0x140244670], r15d
call fcn.1400304a0
mov rax, qword [0x1402468d8]
add rax, 2
mov dword [0x140248068], ebx
mov qword [0x140248060], rax
call fcn.14002a100
cmp dword [0x140244670], r12d
jne 0x14002c9d2
call fcn.140029660
jmp 0x14002c9d2
mov eax, r12d
mov dword [0x140244674], r12d
mov dword [0x140248070], r15d
xchg dword [0x14024807c], eax
cmp dword [0x140244674], r12d
je 0x14002cb19
lea rcx, [0x140244450]
mov edx, 3
lea rax, [0x140246bf0]
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 0x14002c9f2
cmp dword [0x140244670], 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 0x14002cb1e
mov dword [0x140243ec0], r12d
mov dword [0x140243ec4], 0x8000
mov dword [0x140246db8], r12d
mov dword [0x140246dbc], 0x8000
call fcn.14002cb80
movaps xmm0, xmmword [0x140247b30]
movaps xmm1, xmmword [0x140247b40]
movaps xmmword [0x140248060], xmm0
movaps xmm0, xmmword [0x140247b50]
movaps xmmword [0x140248080], xmm0
movaps xmm0, xmmword [0x140247b70]
movaps xmmword [0x140248070], xmm1
movaps xmm1, xmmword [0x140247b60]
movaps xmmword [0x1402480a0], xmm0
movsd xmm0, qword [0x140247b90]
movaps xmmword [0x140248090], xmm1
movaps xmm1, xmmword [0x140247b80]
movsd qword [0x1402480c0], xmm0
movaps xmmword [0x1402480b0], xmm1
call fcn.140029660
jmp 0x14002cb1e
call fcn.14002cb80
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 [0x140243ef8], rax
mov rax, qword [0x140246880]
mov qword [0x140243f00], rax
mov qword [0x140243ea0], 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 0x14002cb73
add rsp, 0x58
jmp 0x14001c8c0
add rsp, 0x58
ret