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

Disassembly:
sub rsp, 0x28
cmp dword [0x1403367b0], 0
je 0x14001d3fb
xor edx, edx
lea rcx, [0x14003cb30]
call fcn.140011d70
mov eax, dword [0x140336798]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140333957], 0
cmp eax, 1
je 0x14001d661
cmp qword [0x140336770], 0
je 0x14001d46c
mov rcx, qword [0x140333b80]
mov r8, qword [0x1403367b8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d641
add rdx, r8
xor r8d, r8d
call fcn.140030130
test eax, eax
je 0x14001d641
cmp byte [0x140333957], 0
jne 0x14001d641
mov eax, dword [0x140336798]
test eax, eax
jne 0x14001d638
cmp dword [0x1403367b0], eax
jne 0x14001d638
cmp qword [0x140336778], 0
je 0x14001d638
xor edi, edi
mov dword [0x140333e90], 1
mov qword [0x1403367c8], rdi
call fcn.14002c370
test eax, eax
jne 0x14001d508
mov rbx, qword [0x140329f78]
test rbx, rbx
je 0x14001d4fe
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x1403367c0]
sub rax, rdx
cmp rax, rcx
jb 0x14001d4f1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140030130
test eax, eax
je 0x14001d641
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d4c0
test edi, edi
jne 0x14001d508
mov dword [0x140333e90], 2
cmp byte [0x140333957], 0
jne 0x14001d641
mov eax, dword [0x140336798]
test eax, eax
jne 0x14001d638
cmp dword [0x140333e90], 2
jne 0x14001d60d
mov rcx, qword [0x140333fc0]
xor edx, edx
mov r8, qword [0x1403367c0]
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.14002f180
mov rbx, rax
test rax, rax
je 0x14001d5f9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140332518]
sub rdi, rsi
cmp eax, 4
jl 0x14001d5bf
mov eax, dword [0x140332510]
test al, 1
je 0x14001d5bf
call fcn.14000a930
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.14003fac0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004290
mov eax, dword [0x140336798]
mov rsi, qword [rsp + 0x38]
mov qword [0x1403367c8], rbx
test eax, eax
je 0x14001d614
jmp 0x14001d638
mov eax, 1
mov qword [0x1403367c8], rbx
mov dword [0x140336798], eax
jmp 0x14001d638
mov rbx, qword [0x1403367c8]
test rbx, rbx
je 0x14001d638
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x1403367c0]
mov rcx, rbx
call fcn.140030130
test eax, eax
je 0x14001d641
mov eax, dword [0x140336798]
cmp byte [0x140333957], 0
je 0x14001d661
mov dword [0x140336798], 1
mov byte [0x140333957], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d6ae
cmp qword [0x140336778], 0
je 0x14001d684
mov rcx, qword [0x1403367c0]
mov qword [0x140336a30], rcx
mov qword [0x140336a38], rcx
cmp qword [0x140336770], 0
je 0x14001d6a3
mov rax, qword [0x1403367b8]
mov qword [0x140336820], rax
mov qword [0x140336828], rax
mov qword [0x140336780], 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, [0x14002cb70]
mov r14d, dword [0x140338040]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x140336768], r12
mov qword [rax - 0x30], r12
call fcn.140011d70
mov rdx, qword [0x140333b80]
mov rax, qword [0x140333b78]
mov qword [rdx], rax
cmp dword [0x140338040], 4
jne 0x14002d096
cmp dword [0x1403367b0], r12d
je 0x14002d096
call fcn.14002bb90
test eax, eax
jne 0x14002d07b
mov dword [0x140336798], r15d
mov dword [0x140338008], 2
call fcn.140040a80
inc qword [0x140336da8]
jmp 0x14002d7be
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140031140
mov rdi, qword [0x140333e30]
mov eax, dword [0x14032a158]
mov dword [0x14033803c], eax
mov qword [0x140334058], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002d0e3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006a464
test rbx, rbx
jne 0x14002d0d0
mov qword [rdi + 0x18], r12
mov rax, qword [0x140333e10]
cmp qword [0x140332840], rax
je 0x14002d0fc
call fcn.140028130
call fcn.14003ae90
mov rbx, qword [0x140329f68]
test rbx, rbx
je 0x14002d122
test byte [rbx + 0x28], r15b
je 0x14002d122
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d122
test byte [rbx + 0x28], r15b
jne 0x14002d113
mov rsi, r12
test rbx, rbx
je 0x14002d15f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d154
call fcn.140015470
movzx edx, al
mov rcx, rbx
call fcn.140029720
mov qword [rsi + 0x30], rdi
jmp 0x14002d157
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d130
mov rbx, qword [0x14032a078]
test rbx, rbx
je 0x14002d180
test byte [rbx + 0x28], r15b
je 0x14002d180
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d180
test byte [rbx + 0x28], r15b
jne 0x14002d171
mov rsi, r12
test rbx, rbx
je 0x14002d1bf
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d1b4
call fcn.140015470
movzx edx, al
mov rcx, rbx
call fcn.140029720
mov qword [rsi + 0x30], rdi
jmp 0x14002d1b7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d190
mov eax, dword [0x1403377e8]
test eax, eax
jne 0x14002d1ce
call fcn.14003acb0
xor r9d, r9d
lea r8, [0x140336dc0]
lea rdx, [0x1403371b0]
mov ecx, ebp
call fcn.14002e570
mov ecx, dword [0x1403371b0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x140336dc0]
mov edx, ebp
mov dword [0x140338008], eax
call fcn.1400326e0
cmp dword [0x140332414], 4
mov dword [0x140338008], eax
jb 0x14002d237
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000e140
mov eax, dword [0x140338008]
cmp qword [0x140336780], r12
mov ecx, dword [0x14033803c]
je 0x14002d263
inc qword [0x140336788]
cmp ecx, 0x11
ja 0x14002d263
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d263
inc qword [0x140336790]
cmp eax, r15d
jle 0x14002d26f
mov dword [0x14033800c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004290
mov ecx, dword [0x140338008]
cmp ecx, 2
jne 0x14002d2ef
cmp dword [rsp + 0x68], r12d
jne 0x14002d2ef
cmp byte [0x140333954], r12b
je 0x14002d2ef
cmp byte [0x140333955], r12b
jne 0x14002d2ef
mov eax, dword [0x140338040]
dec eax
test eax, 0xfffffffd
jne 0x14002d2ef
mov eax, r15d
mov dword [0x1403345dc], r15d
xchg dword [0x14033801c], eax
movups xmm0, xmmword [0x140333ea8]
mov ecx, dword [0x140338008]
movups xmm1, xmmword [0x140333eb8]
movups xmmword [0x1403343c0], xmm0
movups xmm0, xmmword [0x140333ec8]
movups xmmword [0x1403343d0], xmm1
movups xmmword [0x1403343e0], xmm0
mov edx, dword [0x140336878]
inc edx
mov qword [0x140338000], rdx
mov edx, 2
call fcn.14000ac40
call fcn.14002ad60
lea rcx, str.BEGIN
call fcn.140029980
call fcn.140015430
test r15b, al
je 0x14002d334
call fcn.140015430
test al, 0x40
jne 0x14002d334
mov ecx, r15d
call fcn.140040db0
call fcn.140015430
cmp dword [0x14033801c], r12d
je 0x14002d787
movaps xmm0, xmmword [0x140338000]
lea rcx, [0x1403345e8]
movaps xmmword [0x140337ad0], xmm0
movaps xmm0, xmmword [0x140338020]
movaps xmmword [0x140337af0], xmm0
movaps xmm0, xmmword [0x140338040]
mov dword [0x140338010], r12d
movaps xmm1, xmmword [0x140338010]
movaps xmmword [0x140337ae0], xmm1
movaps xmm1, xmmword [0x140338030]
movaps xmmword [0x140337b10], xmm0
movsd xmm0, qword [0x140338060]
movaps xmmword [0x140337b00], xmm1
movaps xmm1, xmmword [0x140338050]
movsd qword [0x140337b30], xmm0
movaps xmmword [0x140337b20], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1403345d8], r12d
jne 0x14002d427
cmp qword [0x1403345e0], r12
jne 0x14002d427
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023ee0]
call fcn.14000a5f0
movzx eax, al
mov dword [0x1403345d8], eax
test eax, eax
je 0x14002d427
lea rcx, [0x1403345e8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140332518]
cmp eax, 4
jl 0x14002d433
mov eax, dword [0x140332510]
test r15b, al
je 0x14002d433
call fcn.14000a930
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d433
lea rcx, [0x1403345e8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1403345e0], r12
mov dword [0x140334614], r15d
mov dword [0x140334610], r12d
je 0x14002d626
lea rdi, [0x140329e58]
lea rsi, [0x14032a188]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d55b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d498
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d55b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d480
test rbx, rbx
je 0x14002d55b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d54e
test r15b, al
je 0x14002d51e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x140333fe0]
mov r8, qword [0x140333fe8]
cmp rcx, rax
jb 0x14002d4f2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d4ed
mov r8, qword [0x140333e20]
call fcn.140026980
test eax, eax
je 0x14002d626
or qword [rbx + 0x28], 0x40
jmp 0x14002d54e
cmp rax, rcx
jbe 0x14002d4f5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140333e20]
call fcn.140026980
test eax, eax
je 0x14002d626
or qword [rbx + 0x28], 0x80
jmp 0x14002d54e
mov r8, qword [0x140333e20]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026980
test eax, eax
je 0x14002d626
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d546
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d4a1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d460
mov rax, qword [0x140333fe0]
mov ebx, 0xffffffff
cmp dword [0x14033803c], 5
mov qword [0x1403366f8], rax
mov rax, qword [0x140333fe8]
cmove ebx, r15d
mov qword [0x140336700], rax
mov dword [0x140334614], r15d
mov dword [0x1403379c8], r15d
je 0x14002d5cd
mov ecx, r12d
lea rdx, [0x140336820]
cmp qword [rdx], r12
jg 0x14002d5cd
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d5b1
mov dword [0x140333b74], r15d
cmp ebx, 0xffffffff
jne 0x14002d5e6
xorps xmm0, xmm0
movdqa xmmword [0x140329c00], xmm0
jmp 0x14002d616
lea rcx, [0x140338000]
mov dword [0x140334610], r15d
call fcn.1400310e0
mov rax, qword [0x140336878]
add rax, 2
mov dword [0x140338008], ebx
mov qword [0x140338000], rax
call fcn.14002ad60
cmp dword [0x140334610], r12d
jne 0x14002d63d
call fcn.14002a2c0
jmp 0x14002d63d
mov eax, r12d
mov dword [0x140334614], r12d
mov dword [0x140338010], r15d
xchg dword [0x14033801c], eax
cmp dword [0x140334614], r12d
je 0x14002d787
lea rcx, [0x1403343f0]
mov edx, 3
lea rax, [0x140336b90]
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 0x14002d660
cmp dword [0x140334610], 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 0x14002d78c
mov dword [0x140333e60], r12d
mov dword [0x140333e64], 0x8000
mov dword [0x140336d58], r12d
mov dword [0x140336d5c], 0x8000
call fcn.14002d7f0
movaps xmm0, xmmword [0x140337ad0]
movaps xmm1, xmmword [0x140337ae0]
movaps xmmword [0x140338000], xmm0
movaps xmm0, xmmword [0x140337af0]
movaps xmmword [0x140338020], xmm0
movaps xmm0, xmmword [0x140337b10]
movaps xmmword [0x140338010], xmm1
movaps xmm1, xmmword [0x140337b00]
movaps xmmword [0x140338040], xmm0
movsd xmm0, qword [0x140337b30]
movaps xmmword [0x140338030], xmm1
movaps xmm1, xmmword [0x140337b20]
movsd qword [0x140338060], xmm0
movaps xmmword [0x140338050], xmm1
call fcn.14002a2c0
jmp 0x14002d78c
call fcn.14002d7f0
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 [0x140333e98], rax
mov rax, qword [0x140336820]
mov qword [0x140333ea0], rax
mov qword [0x140333e40], 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 0x14002d7e1
add rsp, 0x58
jmp 0x14001d3e0
add rsp, 0x58
ret