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

Disassembly:
sub rsp, 0x28
cmp dword [0x14057c2b0], 0
je 0x14001e43b
xor edx, edx
lea rcx, [0x14003dca0]
call fcn.140012d30
mov eax, dword [0x14057c298]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140579457], 0
cmp eax, 1
je 0x14001e6a1
cmp qword [0x14057c270], 0
je 0x14001e4ac
mov rcx, qword [0x140579680]
mov r8, qword [0x14057c2b8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001e681
add rdx, r8
xor r8d, r8d
call fcn.140031050
test eax, eax
je 0x14001e681
cmp byte [0x140579457], 0
jne 0x14001e681
mov eax, dword [0x14057c298]
test eax, eax
jne 0x14001e678
cmp dword [0x14057c2b0], eax
jne 0x14001e678
cmp qword [0x14057c278], 0
je 0x14001e678
xor edi, edi
mov dword [0x140579990], 1
mov qword [0x14057c2c8], rdi
call fcn.14002d270
test eax, eax
jne 0x14001e548
mov rbx, qword [0x14056c878]
test rbx, rbx
je 0x14001e53e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14057c2c0]
sub rax, rdx
cmp rax, rcx
jb 0x14001e531
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140031050
test eax, eax
je 0x14001e681
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001e500
test edi, edi
jne 0x14001e548
mov dword [0x140579990], 2
cmp byte [0x140579457], 0
jne 0x14001e681
mov eax, dword [0x14057c298]
test eax, eax
jne 0x14001e678
cmp dword [0x140579990], 2
jne 0x14001e64d
mov rcx, qword [0x140579ac0]
xor edx, edx
mov r8, qword [0x14057c2c0]
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.1400300a0
mov rbx, rax
test rax, rax
je 0x14001e639
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140578018]
sub rdi, rsi
cmp eax, 4
jl 0x14001e5ff
mov eax, dword [0x140578010]
test al, 1
je 0x14001e5ff
call fcn.14000b890
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.140040c70
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005ea0
mov eax, dword [0x14057c298]
mov rsi, qword [rsp + 0x38]
mov qword [0x14057c2c8], rbx
test eax, eax
je 0x14001e654
jmp 0x14001e678
mov eax, 1
mov qword [0x14057c2c8], rbx
mov dword [0x14057c298], eax
jmp 0x14001e678
mov rbx, qword [0x14057c2c8]
test rbx, rbx
je 0x14001e678
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14057c2c0]
mov rcx, rbx
call fcn.140031050
test eax, eax
je 0x14001e681
mov eax, dword [0x14057c298]
cmp byte [0x140579457], 0
je 0x14001e6a1
mov dword [0x14057c298], 1
mov byte [0x140579457], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001e6ee
cmp qword [0x14057c278], 0
je 0x14001e6c4
mov rcx, qword [0x14057c2c0]
mov qword [0x14057c530], rcx
mov qword [0x14057c538], rcx
cmp qword [0x14057c270], 0
je 0x14001e6e3
mov rax, qword [0x14057c2b8]
mov qword [0x14057c320], rax
mov qword [0x14057c328], rax
mov qword [0x14057c280], 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, [0x14002da60]
mov r14d, dword [0x14057db40]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14057c268], r12
mov qword [rax - 0x30], r12
call fcn.140012d30
mov rdx, qword [0x140579680]
mov rax, qword [0x140579678]
mov qword [rdx], rax
cmp dword [0x14057db40], 4
jne 0x14002df86
cmp dword [0x14057c2b0], r12d
je 0x14002df86
call fcn.14002ca90
test eax, eax
jne 0x14002df6b
mov dword [0x14057c298], r15d
mov dword [0x14057db08], 2
call fcn.140041c10
inc qword [0x14057c8a8]
jmp 0x14002e6b0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140032060
mov rdi, qword [0x140579930]
mov eax, dword [0x14056ca58]
mov dword [0x14057db3c], eax
mov qword [0x140579b58], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002dfd3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14006b6f4
test rbx, rbx
jne 0x14002dfc0
mov qword [rdi + 0x18], r12
mov rax, qword [0x140579910]
cmp qword [0x140578340], rax
je 0x14002dfec
call fcn.1400290b0
call fcn.14003bf20
mov rbx, qword [0x14056c868]
test rbx, rbx
je 0x14002e012
test byte [rbx + 0x28], r15b
je 0x14002e012
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e012
test byte [rbx + 0x28], r15b
jne 0x14002e003
mov rsi, r12
test rbx, rbx
je 0x14002e04f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002e044
call fcn.140016430
movzx edx, al
mov rcx, rbx
call fcn.14002a620
mov qword [rsi + 0x30], rdi
jmp 0x14002e047
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002e020
mov rbx, qword [0x14056c978]
test rbx, rbx
je 0x14002e070
test byte [rbx + 0x28], r15b
je 0x14002e070
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e070
test byte [rbx + 0x28], r15b
jne 0x14002e061
mov rsi, r12
test rbx, rbx
je 0x14002e0af
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002e0a4
call fcn.140016430
movzx edx, al
mov rcx, rbx
call fcn.14002a620
mov qword [rsi + 0x30], rdi
jmp 0x14002e0a7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002e080
mov eax, dword [0x14057d2e8]
test eax, eax
jne 0x14002e0be
call fcn.14003bd40
xor r9d, r9d
lea r8, [0x14057c8c0]
lea rdx, [0x14057ccb0]
mov ecx, ebp
call fcn.14002f450
mov ecx, dword [0x14057ccb0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14057c8c0]
mov edx, ebp
mov dword [0x14057db08], eax
call fcn.140033610
cmp dword [0x140577f14], 4
mov dword [0x14057db08], eax
jb 0x14002e127
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f100
mov eax, dword [0x14057db08]
cmp qword [0x14057c280], r12
mov ecx, dword [0x14057db3c]
je 0x14002e153
inc qword [0x14057c288]
cmp ecx, 0x11
ja 0x14002e153
mov edx, 0x22e86
bt edx, ecx
jae 0x14002e153
inc qword [0x14057c290]
cmp eax, r15d
jle 0x14002e15f
mov dword [0x14057db0c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140005ea0
mov ecx, dword [0x14057db08]
cmp ecx, 2
jne 0x14002e1df
cmp dword [rsp + 0x68], r12d
jne 0x14002e1df
cmp byte [0x140579454], r12b
je 0x14002e1df
cmp byte [0x140579455], r12b
jne 0x14002e1df
mov eax, dword [0x14057db40]
dec eax
test eax, 0xfffffffd
jne 0x14002e1df
mov eax, r15d
mov dword [0x14057a0dc], r15d
xchg dword [0x14057db1c], eax
movups xmm0, xmmword [0x1405799a8]
mov ecx, dword [0x14057db08]
movups xmm1, xmmword [0x1405799b8]
movups xmmword [0x140579ec0], xmm0
movups xmm0, xmmword [0x1405799c8]
movups xmmword [0x140579ed0], xmm1
movups xmmword [0x140579ee0], xmm0
mov edx, dword [0x14057c378]
inc edx
mov qword [0x14057db00], rdx
mov edx, 2
call fcn.14000bba0
call fcn.14002bc60
lea rcx, str.BEGIN
call fcn.14002a880
call fcn.1400163f0
test r15b, al
je 0x14002e224
call fcn.1400163f0
test al, 0x40
jne 0x14002e224
mov ecx, r15d
call fcn.140042010
call fcn.1400163f0
cmp dword [0x14057db1c], r12d
je 0x14002e679
movaps xmm0, xmmword [0x14057db00]
lea rcx, [0x14057a0e8]
movaps xmmword [0x14057d5d0], xmm0
movaps xmm0, xmmword [0x14057db20]
movaps xmmword [0x14057d5f0], xmm0
movaps xmm0, xmmword [0x14057db40]
mov dword [0x14057db10], r12d
movaps xmm1, xmmword [0x14057db10]
movaps xmmword [0x14057d5e0], xmm1
movaps xmm1, xmmword [0x14057db30]
movaps xmmword [0x14057d610], xmm0
movsd xmm0, qword [0x14057db60]
movaps xmmword [0x14057d600], xmm1
movaps xmm1, xmmword [0x14057db50]
movsd qword [0x14057d630], xmm0
movaps xmmword [0x14057d620], xmm1
call sub.KERNEL32.DLL_EnterCriticalSection
cmp dword [0x14057a0d8], r12d
jne 0x14002e317
cmp qword [0x14057a0e0], r12
jne 0x14002e317
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140024f50]
call fcn.14000b550
movzx eax, al
mov dword [0x14057a0d8], eax
test eax, eax
je 0x14002e317
lea rcx, [0x14057a0e8]
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, dword [0x140578018]
cmp eax, 4
jl 0x14002e323
mov eax, dword [0x140578010]
test r15b, al
je 0x14002e323
call fcn.14000b890
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002e323
lea rcx, [0x14057a0e8]
call sub.KERNEL32.DLL_LeaveCriticalSection
cmp qword [0x14057a0e0], r12
mov dword [0x14057a114], r15d
mov dword [0x14057a110], r12d
je 0x14002e51b
lea rdi, [0x14056c758]
lea rsi, [0x14056ca88]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002e450
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002e388
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002e450
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002e370
test rbx, rbx
je 0x14002e450
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002e443
test r15b, al
je 0x14002e413
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x140579ae0]
mov r8, qword [0x140579ae8]
cmp rcx, rax
jb 0x14002e3e8
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002e3e3
mov r8, qword [0x140579920]
mov rdx, r9
call fcn.140027910
test eax, eax
je 0x14002e51b
or qword [rbx + 0x28], 0x40
jmp 0x14002e443
cmp rax, rcx
jbe 0x14002e3eb
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140579920]
call fcn.140027910
test eax, eax
je 0x14002e51b
or qword [rbx + 0x28], 0x80
jmp 0x14002e443
mov r8, qword [0x140579920]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140027910
test eax, eax
je 0x14002e51b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002e43b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002e391
add rdi, 0x110
cmp rdi, rsi
jl 0x14002e350
mov rax, qword [0x140579ae0]
mov ebx, 0xffffffff
cmp dword [0x14057db3c], 5
mov qword [0x14057c1f8], rax
mov rax, qword [0x140579ae8]
cmove ebx, r15d
mov qword [0x14057c200], rax
mov dword [0x14057a114], r15d
mov dword [0x14057d4c8], r15d
je 0x14002e4c2
mov ecx, r12d
lea rdx, [0x14057c320]
cmp qword [rdx], r12
jg 0x14002e4c2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002e4a6
mov dword [0x140579674], r15d
cmp ebx, 0xffffffff
jne 0x14002e4db
xorps xmm0, xmm0
movdqa xmmword [0x14056c500], xmm0
jmp 0x14002e50b
lea rcx, [0x14057db00]
mov dword [0x14057a110], r15d
call fcn.140032000
mov rax, qword [0x14057c378]
add rax, 2
mov dword [0x14057db08], ebx
mov qword [0x14057db00], rax
call fcn.14002bc60
cmp dword [0x14057a110], r12d
jne 0x14002e532
call fcn.14002b1c0
jmp 0x14002e532
mov eax, r12d
mov dword [0x14057a114], r12d
mov dword [0x14057db10], r15d
xchg dword [0x14057db1c], eax
cmp dword [0x14057a114], r12d
je 0x14002e679
lea rcx, [0x140579ef0]
mov edx, 3
lea rax, [0x14057c690]
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 0x14002e552
cmp dword [0x14057a110], 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 0x14002e67e
mov dword [0x140579960], r12d
mov dword [0x140579964], 0x8000
mov dword [0x14057c858], r12d
mov dword [0x14057c85c], 0x8000
call fcn.14002e6e0
movaps xmm0, xmmword [0x14057d5d0]
movaps xmm1, xmmword [0x14057d5e0]
movaps xmmword [0x14057db00], xmm0
movaps xmm0, xmmword [0x14057d5f0]
movaps xmmword [0x14057db20], xmm0
movaps xmm0, xmmword [0x14057d610]
movaps xmmword [0x14057db10], xmm1
movaps xmm1, xmmword [0x14057d600]
movaps xmmword [0x14057db40], xmm0
movsd xmm0, qword [0x14057d630]
movaps xmmword [0x14057db30], xmm1
movaps xmm1, xmmword [0x14057d620]
movsd qword [0x14057db60], xmm0
movaps xmmword [0x14057db50], xmm1
call fcn.14002b1c0
jmp 0x14002e67e
call fcn.14002e6e0
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 [0x140579998], rax
mov rax, qword [0x14057c320]
mov qword [0x1405799a0], rax
mov qword [0x140579940], 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 0x14002e6d3
add rsp, 0x58
jmp 0x14001e420
add rsp, 0x58
ret