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

Disassembly:
sub rsp, 0x28
cmp dword [0x1402b0280], 0
je 0x14001cf8b
xor edx, edx
lea rcx, [0x14003c6c0]
call fcn.140011900
mov eax, dword [0x1402b0268]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402ad427], 0
cmp eax, 1
je 0x14001d1f1
cmp qword [0x1402b0240], 0
je 0x14001cffc
mov rcx, qword [0x1402ad650]
mov r8, qword [0x1402b0288]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d1d1
add rdx, r8
xor r8d, r8d
call fcn.14002fcc0
test eax, eax
je 0x14001d1d1
cmp byte [0x1402ad427], 0
jne 0x14001d1d1
mov eax, dword [0x1402b0268]
test eax, eax
jne 0x14001d1c8
cmp dword [0x1402b0280], eax
jne 0x14001d1c8
cmp qword [0x1402b0248], 0
je 0x14001d1c8
xor edi, edi
mov dword [0x1402ad960], 1
mov qword [0x1402b0298], rdi
call fcn.14002bf00
test eax, eax
jne 0x14001d098
mov rbx, qword [0x1402a4008]
test rbx, rbx
je 0x14001d08e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x1402b0290]
sub rax, rdx
cmp rax, rcx
jb 0x14001d081
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fcc0
test eax, eax
je 0x14001d1d1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d050
test edi, edi
jne 0x14001d098
mov dword [0x1402ad960], 2
cmp byte [0x1402ad427], 0
jne 0x14001d1d1
mov eax, dword [0x1402b0268]
test eax, eax
jne 0x14001d1c8
cmp dword [0x1402ad960], 2
jne 0x14001d19d
mov rcx, qword [0x1402ada90]
xor edx, edx
mov r8, qword [0x1402b0290]
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.14002ed10
mov rbx, rax
test rax, rax
je 0x14001d189
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1402abfe8]
sub rdi, rsi
cmp eax, 4
jl 0x14001d14f
mov eax, dword [0x1402abfe0]
test al, 1
je 0x14001d14f
call fcn.14000a4c0
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.14003f650
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140006620
mov eax, dword [0x1402b0268]
mov rsi, qword [rsp + 0x38]
mov qword [0x1402b0298], rbx
test eax, eax
je 0x14001d1a4
jmp 0x14001d1c8
mov eax, 1
mov qword [0x1402b0298], rbx
mov dword [0x1402b0268], eax
jmp 0x14001d1c8
mov rbx, qword [0x1402b0298]
test rbx, rbx
je 0x14001d1c8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x1402b0290]
mov rcx, rbx
call fcn.14002fcc0
test eax, eax
je 0x14001d1d1
mov eax, dword [0x1402b0268]
cmp byte [0x1402ad427], 0
je 0x14001d1f1
mov dword [0x1402b0268], 1
mov byte [0x1402ad427], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d23e
cmp qword [0x1402b0248], 0
je 0x14001d214
mov rcx, qword [0x1402b0290]
mov qword [0x1402b0500], rcx
mov qword [0x1402b0508], rcx
cmp qword [0x1402b0240], 0
je 0x14001d233
mov rax, qword [0x1402b0288]
mov qword [0x1402b02f0], rax
mov qword [0x1402b02f8], rax
mov qword [0x1402b0250], 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, [0x14002c700]
mov r14d, dword [0x1402b1b10]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1402b0238], r12
mov qword [rax - 0x30], r12
call fcn.140011900
mov rdx, qword [0x1402ad650]
mov rax, qword [0x1402ad648]
mov qword [rdx], rax
cmp dword [0x1402b1b10], 4
jne 0x14002cc26
cmp dword [0x1402b0280], r12d
je 0x14002cc26
call fcn.14002b720
test eax, eax
jne 0x14002cc0b
mov dword [0x1402b0268], r15d
mov dword [0x1402b1ad8], 2
call fcn.140040610
inc qword [0x1402b0878]
jmp 0x14002d34e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030cd0
mov rdi, qword [0x1402ad900]
mov eax, dword [0x1402a41e8]
mov dword [0x1402b1b0c], eax
mov qword [0x1402adb28], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cc73
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14005f304
test rbx, rbx
jne 0x14002cc60
mov qword [rdi + 0x18], r12
mov rax, qword [0x1402ad8e0]
cmp qword [0x1402ac310], rax
je 0x14002cc8c
call fcn.140027cc0
call fcn.14003aa20
mov rbx, qword [0x1402a3ff8]
test rbx, rbx
je 0x14002ccb2
test byte [rbx + 0x28], r15b
je 0x14002ccb2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002ccb2
test byte [rbx + 0x28], r15b
jne 0x14002cca3
mov rsi, r12
test rbx, rbx
je 0x14002ccef
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cce4
call fcn.140015000
movzx edx, al
mov rcx, rbx
call fcn.1400292b0
mov qword [rsi + 0x30], rdi
jmp 0x14002cce7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ccc0
mov rbx, qword [0x1402a4108]
test rbx, rbx
je 0x14002cd10
test byte [rbx + 0x28], r15b
je 0x14002cd10
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cd10
test byte [rbx + 0x28], r15b
jne 0x14002cd01
mov rsi, r12
test rbx, rbx
je 0x14002cd4f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cd44
call fcn.140015000
movzx edx, al
mov rcx, rbx
call fcn.1400292b0
mov qword [rsi + 0x30], rdi
jmp 0x14002cd47
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cd20
mov eax, dword [0x1402b12b8]
test eax, eax
jne 0x14002cd5e
call fcn.14003a840
xor r9d, r9d
lea r8, [0x1402b0890]
lea rdx, [0x1402b0c80]
mov ecx, ebp
call fcn.14002e100
mov ecx, dword [0x1402b0c80]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x1402b0890]
mov edx, ebp
mov dword [0x1402b1ad8], eax
call fcn.140032270
cmp dword [0x1402abee4], 4
mov dword [0x1402b1ad8], eax
jb 0x14002cdc7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000d950
mov eax, dword [0x1402b1ad8]
cmp qword [0x1402b0250], r12
mov ecx, dword [0x1402b1b0c]
je 0x14002cdf3
inc qword [0x1402b0258]
cmp ecx, 0x11
ja 0x14002cdf3
mov edx, 0x22e86
bt edx, ecx
jae 0x14002cdf3
inc qword [0x1402b0260]
cmp eax, r15d
jle 0x14002cdff
mov dword [0x1402b1adc], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140006620
mov ecx, dword [0x1402b1ad8]
cmp ecx, 2
jne 0x14002ce7f
cmp dword [rsp + 0x68], r12d
jne 0x14002ce7f
cmp byte [0x1402ad424], r12b
je 0x14002ce7f
cmp byte [0x1402ad425], r12b
jne 0x14002ce7f
mov eax, dword [0x1402b1b10]
dec eax
test eax, 0xfffffffd
jne 0x14002ce7f
mov eax, r15d
mov dword [0x1402ae0ac], r15d
xchg dword [0x1402b1aec], eax
movups xmm0, xmmword [0x1402ad978]
mov ecx, dword [0x1402b1ad8]
movups xmm1, xmmword [0x1402ad988]
movups xmmword [0x1402ade90], xmm0
movups xmm0, xmmword [0x1402ad998]
movups xmmword [0x1402adea0], xmm1
movups xmmword [0x1402adeb0], xmm0
mov edx, dword [0x1402b0348]
inc edx
mov qword [0x1402b1ad0], rdx
mov edx, 2
call fcn.14000a7d0
call fcn.14002a8f0
lea rcx, str.BEGIN
call fcn.140029510
call fcn.140014fc0
test r15b, al
je 0x14002cec4
call fcn.140014fc0
test al, 0x40
jne 0x14002cec4
mov ecx, r15d
call fcn.140040940
call fcn.140014fc0
cmp dword [0x1402b1aec], r12d
je 0x14002d317
movaps xmm0, xmmword [0x1402b1ad0]
lea rcx, [0x1402ae0b8]
movaps xmmword [0x1402b15a0], xmm0
movaps xmm0, xmmword [0x1402b1af0]
movaps xmmword [0x1402b15c0], xmm0
movaps xmm0, xmmword [0x1402b1b10]
mov dword [0x1402b1ae0], r12d
movaps xmm1, xmmword [0x1402b1ae0]
movaps xmmword [0x1402b15b0], xmm1
movaps xmm1, xmmword [0x1402b1b00]
movaps xmmword [0x1402b15e0], xmm0
movsd xmm0, qword [0x1402b1b30]
movaps xmmword [0x1402b15d0], xmm1
movaps xmm1, xmmword [0x1402b1b20]
movsd qword [0x1402b1600], xmm0
movaps xmmword [0x1402b15f0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1402ae0a8], r12d
jne 0x14002cfb7
cmp qword [0x1402ae0b0], r12
jne 0x14002cfb7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023a70]
call fcn.14000a180
movzx eax, al
mov dword [0x1402ae0a8], eax
test eax, eax
je 0x14002cfb7
lea rcx, [0x1402ae0b8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1402abfe8]
cmp eax, 4
jl 0x14002cfc3
mov eax, dword [0x1402abfe0]
test r15b, al
je 0x14002cfc3
call fcn.14000a4c0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002cfc3
lea rcx, [0x1402ae0b8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1402ae0b0], r12
mov dword [0x1402ae0e4], r15d
mov dword [0x1402ae0e0], r12d
je 0x14002d1b6
lea rdi, [0x1402a3ee8]
lea rsi, [0x1402a4218]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d0eb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d028
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d0eb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d010
test rbx, rbx
je 0x14002d0eb
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d0de
test r15b, al
je 0x14002d0ae
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x1402adab0]
mov r8, qword [0x1402adab8]
cmp rcx, rax
jb 0x14002d082
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d07d
mov r8, qword [0x1402ad8f0]
call fcn.140026510
test eax, eax
je 0x14002d1b6
or qword [rbx + 0x28], 0x40
jmp 0x14002d0de
cmp rax, rcx
jbe 0x14002d085
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1402ad8f0]
call fcn.140026510
test eax, eax
je 0x14002d1b6
or qword [rbx + 0x28], 0x80
jmp 0x14002d0de
mov r8, qword [0x1402ad8f0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026510
test eax, eax
je 0x14002d1b6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d0d6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d031
add rdi, 0x110
cmp rdi, rsi
jl 0x14002cff0
mov rax, qword [0x1402adab0]
mov ebx, 0xffffffff
cmp dword [0x1402b1b0c], 5
mov qword [0x1402b01c8], rax
mov rax, qword [0x1402adab8]
cmove ebx, r15d
mov qword [0x1402b01d0], rax
mov dword [0x1402ae0e4], r15d
mov dword [0x1402b1498], r15d
je 0x14002d15d
mov ecx, r12d
lea rdx, [0x1402b02f0]
cmp qword [rdx], r12
jg 0x14002d15d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d141
mov dword [0x1402ad644], r15d
cmp ebx, 0xffffffff
jne 0x14002d176
xorps xmm0, xmm0
movdqa xmmword [0x1402a3c90], xmm0
jmp 0x14002d1a6
lea rcx, [0x1402b1ad0]
mov dword [0x1402ae0e0], r15d
call fcn.140030c70
mov rax, qword [0x1402b0348]
add rax, 2
mov dword [0x1402b1ad8], ebx
mov qword [0x1402b1ad0], rax
call fcn.14002a8f0
cmp dword [0x1402ae0e0], r12d
jne 0x14002d1cd
call fcn.140029e50
jmp 0x14002d1cd
mov eax, r12d
mov dword [0x1402ae0e4], r12d
mov dword [0x1402b1ae0], r15d
xchg dword [0x1402b1aec], eax
cmp dword [0x1402ae0e4], r12d
je 0x14002d317
lea rcx, [0x1402adec0]
mov edx, 3
lea rax, [0x1402b0660]
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 0x14002d1f0
cmp dword [0x1402ae0e0], 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 0x14002d31c
mov dword [0x1402ad930], r12d
mov dword [0x1402ad934], 0x8000
mov dword [0x1402b0828], r12d
mov dword [0x1402b082c], 0x8000
call fcn.14002d380
movaps xmm0, xmmword [0x1402b15a0]
movaps xmm1, xmmword [0x1402b15b0]
movaps xmmword [0x1402b1ad0], xmm0
movaps xmm0, xmmword [0x1402b15c0]
movaps xmmword [0x1402b1af0], xmm0
movaps xmm0, xmmword [0x1402b15e0]
movaps xmmword [0x1402b1ae0], xmm1
movaps xmm1, xmmword [0x1402b15d0]
movaps xmmword [0x1402b1b10], xmm0
movsd xmm0, qword [0x1402b1600]
movaps xmmword [0x1402b1b00], xmm1
movaps xmm1, xmmword [0x1402b15f0]
movsd qword [0x1402b1b30], xmm0
movaps xmmword [0x1402b1b20], xmm1
call fcn.140029e50
jmp 0x14002d31c
call fcn.14002d380
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 [0x1402ad968], rax
mov rax, qword [0x1402b02f0]
mov qword [0x1402ad970], rax
mov qword [0x1402ad910], 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 0x14002d371
add rsp, 0x58
jmp 0x14001cf70
add rsp, 0x58
ret