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

Disassembly:
sub rsp, 0x28
cmp dword [0x1402e8210], 0
je 0x14001d2ab
xor edx, edx
lea rcx, [0x14003c9e0]
call fcn.140011c20
mov eax, dword [0x1402e81f8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1402e53b7], 0
cmp eax, 1
je 0x14001d511
cmp qword [0x1402e81d0], 0
je 0x14001d31c
mov rcx, qword [0x1402e55e0]
mov r8, qword [0x1402e8218]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d4f1
add rdx, r8
xor r8d, r8d
call fcn.14002ffe0
test eax, eax
je 0x14001d4f1
cmp byte [0x1402e53b7], 0
jne 0x14001d4f1
mov eax, dword [0x1402e81f8]
test eax, eax
jne 0x14001d4e8
cmp dword [0x1402e8210], eax
jne 0x14001d4e8
cmp qword [0x1402e81d8], 0
je 0x14001d4e8
xor edi, edi
mov dword [0x1402e58f0], 1
mov qword [0x1402e8228], rdi
call fcn.14002c220
test eax, eax
jne 0x14001d3b8
mov rbx, qword [0x1402dbd58]
test rbx, rbx
je 0x14001d3ae
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x1402e8220]
sub rax, rdx
cmp rax, rcx
jb 0x14001d3a1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002ffe0
test eax, eax
je 0x14001d4f1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001d370
test edi, edi
jne 0x14001d3b8
mov dword [0x1402e58f0], 2
cmp byte [0x1402e53b7], 0
jne 0x14001d4f1
mov eax, dword [0x1402e81f8]
test eax, eax
jne 0x14001d4e8
cmp dword [0x1402e58f0], 2
jne 0x14001d4bd
mov rcx, qword [0x1402e5a20]
xor edx, edx
mov r8, qword [0x1402e8220]
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.14002f030
mov rbx, rax
test rax, rax
je 0x14001d4a9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1402e3f78]
sub rdi, rsi
cmp eax, 4
jl 0x14001d46f
mov eax, dword [0x1402e3f70]
test al, 1
je 0x14001d46f
call fcn.14000a7e0
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.14003f970
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004140
mov eax, dword [0x1402e81f8]
mov rsi, qword [rsp + 0x38]
mov qword [0x1402e8228], rbx
test eax, eax
je 0x14001d4c4
jmp 0x14001d4e8
mov eax, 1
mov qword [0x1402e8228], rbx
mov dword [0x1402e81f8], eax
jmp 0x14001d4e8
mov rbx, qword [0x1402e8228]
test rbx, rbx
je 0x14001d4e8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x1402e8220]
mov rcx, rbx
call fcn.14002ffe0
test eax, eax
je 0x14001d4f1
mov eax, dword [0x1402e81f8]
cmp byte [0x1402e53b7], 0
je 0x14001d511
mov dword [0x1402e81f8], 1
mov byte [0x1402e53b7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d55e
cmp qword [0x1402e81d8], 0
je 0x14001d534
mov rcx, qword [0x1402e8220]
mov qword [0x1402e8490], rcx
mov qword [0x1402e8498], rcx
cmp qword [0x1402e81d0], 0
je 0x14001d553
mov rax, qword [0x1402e8218]
mov qword [0x1402e8280], rax
mov qword [0x1402e8288], rax
mov qword [0x1402e81e0], 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, [0x14002ca20]
mov r14d, dword [0x1402e9aa0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1402e81c8], r12
mov qword [rax - 0x30], r12
call fcn.140011c20
mov rdx, qword [0x1402e55e0]
mov rax, qword [0x1402e55d8]
mov qword [rdx], rax
cmp dword [0x1402e9aa0], 4
jne 0x14002cf46
cmp dword [0x1402e8210], r12d
je 0x14002cf46
call fcn.14002ba40
test eax, eax
jne 0x14002cf2b
mov dword [0x1402e81f8], r15d
mov dword [0x1402e9a68], 2
call fcn.140040930
inc qword [0x1402e8808]
jmp 0x14002d66e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030ff0
mov rdi, qword [0x1402e5890]
mov eax, dword [0x1402dbf38]
mov dword [0x1402e9a9c], eax
mov qword [0x1402e5ab8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cf93
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.14005f634
test rbx, rbx
jne 0x14002cf80
mov qword [rdi + 0x18], r12
mov rax, qword [0x1402e5870]
cmp qword [0x1402e42a0], rax
je 0x14002cfac
call fcn.140027fe0
call fcn.14003ad40
mov rbx, qword [0x1402dbd48]
test rbx, rbx
je 0x14002cfd2
test byte [rbx + 0x28], r15b
je 0x14002cfd2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cfd2
test byte [rbx + 0x28], r15b
jne 0x14002cfc3
mov rsi, r12
test rbx, rbx
je 0x14002d00f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d004
call fcn.140015320
movzx edx, al
mov rcx, rbx
call fcn.1400295d0
mov qword [rsi + 0x30], rdi
jmp 0x14002d007
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cfe0
mov rbx, qword [0x1402dbe58]
test rbx, rbx
je 0x14002d030
test byte [rbx + 0x28], r15b
je 0x14002d030
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d030
test byte [rbx + 0x28], r15b
jne 0x14002d021
mov rsi, r12
test rbx, rbx
je 0x14002d06f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002d064
call fcn.140015320
movzx edx, al
mov rcx, rbx
call fcn.1400295d0
mov qword [rsi + 0x30], rdi
jmp 0x14002d067
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002d040
mov eax, dword [0x1402e9248]
test eax, eax
jne 0x14002d07e
call fcn.14003ab60
xor r9d, r9d
lea r8, [0x1402e8820]
lea rdx, [0x1402e8c10]
mov ecx, ebp
call fcn.14002e420
mov ecx, dword [0x1402e8c10]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x1402e8820]
mov edx, ebp
mov dword [0x1402e9a68], eax
call fcn.140032590
cmp dword [0x1402e3ef4], 4
mov dword [0x1402e9a68], eax
jb 0x14002d0e7
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f600
mov eax, dword [0x1402e9a68]
cmp qword [0x1402e81e0], r12
mov ecx, dword [0x1402e9a9c]
je 0x14002d113
inc qword [0x1402e81e8]
cmp ecx, 0x11
ja 0x14002d113
mov edx, 0x22e86
bt edx, ecx
jae 0x14002d113
inc qword [0x1402e81f0]
cmp eax, r15d
jle 0x14002d11f
mov dword [0x1402e9a6c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004140
mov ecx, dword [0x1402e9a68]
cmp ecx, 2
jne 0x14002d19f
cmp dword [rsp + 0x68], r12d
jne 0x14002d19f
cmp byte [0x1402e53b4], r12b
je 0x14002d19f
cmp byte [0x1402e53b5], r12b
jne 0x14002d19f
mov eax, dword [0x1402e9aa0]
dec eax
test eax, 0xfffffffd
jne 0x14002d19f
mov eax, r15d
mov dword [0x1402e603c], r15d
xchg dword [0x1402e9a7c], eax
movups xmm0, xmmword [0x1402e5908]
mov ecx, dword [0x1402e9a68]
movups xmm1, xmmword [0x1402e5918]
movups xmmword [0x1402e5e20], xmm0
movups xmm0, xmmword [0x1402e5928]
movups xmmword [0x1402e5e30], xmm1
movups xmmword [0x1402e5e40], xmm0
mov edx, dword [0x1402e82d8]
inc edx
mov qword [0x1402e9a60], rdx
mov edx, 2
call fcn.14000aaf0
call fcn.14002ac10
lea rcx, str.BEGIN
call fcn.140029830
call fcn.1400152e0
test r15b, al
je 0x14002d1e4
call fcn.1400152e0
test al, 0x40
jne 0x14002d1e4
mov ecx, r15d
call fcn.140040c60
call fcn.1400152e0
cmp dword [0x1402e9a7c], r12d
je 0x14002d637
movaps xmm0, xmmword [0x1402e9a60]
lea rcx, [0x1402e6048]
movaps xmmword [0x1402e9530], xmm0
movaps xmm0, xmmword [0x1402e9a80]
movaps xmmword [0x1402e9550], xmm0
movaps xmm0, xmmword [0x1402e9aa0]
mov dword [0x1402e9a70], r12d
movaps xmm1, xmmword [0x1402e9a70]
movaps xmmword [0x1402e9540], xmm1
movaps xmm1, xmmword [0x1402e9a90]
movaps xmmword [0x1402e9570], xmm0
movsd xmm0, qword [0x1402e9ac0]
movaps xmmword [0x1402e9560], xmm1
movaps xmm1, xmmword [0x1402e9ab0]
movsd qword [0x1402e9590], xmm0
movaps xmmword [0x1402e9580], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1402e6038], r12d
jne 0x14002d2d7
cmp qword [0x1402e6040], r12
jne 0x14002d2d7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023d90]
call fcn.14000a4a0
movzx eax, al
mov dword [0x1402e6038], eax
test eax, eax
je 0x14002d2d7
lea rcx, [0x1402e6048]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1402e3f78]
cmp eax, 4
jl 0x14002d2e3
mov eax, dword [0x1402e3f70]
test r15b, al
je 0x14002d2e3
call fcn.14000a7e0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002d2e3
lea rcx, [0x1402e6048]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1402e6040], r12
mov dword [0x1402e6074], r15d
mov dword [0x1402e6070], r12d
je 0x14002d4d6
lea rdi, [0x1402dbc38]
lea rsi, [0x1402dbf68]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d40b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002d348
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d40b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002d330
test rbx, rbx
je 0x14002d40b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d3fe
test r15b, al
je 0x14002d3ce
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x1402e5a40]
mov r8, qword [0x1402e5a48]
cmp rcx, rax
jb 0x14002d3a2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d39d
mov r8, qword [0x1402e5880]
call fcn.140026830
test eax, eax
je 0x14002d4d6
or qword [rbx + 0x28], 0x40
jmp 0x14002d3fe
cmp rax, rcx
jbe 0x14002d3a5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1402e5880]
call fcn.140026830
test eax, eax
je 0x14002d4d6
or qword [rbx + 0x28], 0x80
jmp 0x14002d3fe
mov r8, qword [0x1402e5880]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026830
test eax, eax
je 0x14002d4d6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d3f6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002d351
add rdi, 0x110
cmp rdi, rsi
jl 0x14002d310
mov rax, qword [0x1402e5a40]
mov ebx, 0xffffffff
cmp dword [0x1402e9a9c], 5
mov qword [0x1402e8158], rax
mov rax, qword [0x1402e5a48]
cmove ebx, r15d
mov qword [0x1402e8160], rax
mov dword [0x1402e6074], r15d
mov dword [0x1402e9428], r15d
je 0x14002d47d
mov ecx, r12d
lea rdx, [0x1402e8280]
cmp qword [rdx], r12
jg 0x14002d47d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d461
mov dword [0x1402e55d4], r15d
cmp ebx, 0xffffffff
jne 0x14002d496
xorps xmm0, xmm0
movdqa xmmword [0x1402db9e0], xmm0
jmp 0x14002d4c6
lea rcx, [0x1402e9a60]
mov dword [0x1402e6070], r15d
call fcn.140030f90
mov rax, qword [0x1402e82d8]
add rax, 2
mov dword [0x1402e9a68], ebx
mov qword [0x1402e9a60], rax
call fcn.14002ac10
cmp dword [0x1402e6070], r12d
jne 0x14002d4ed
call fcn.14002a170
jmp 0x14002d4ed
mov eax, r12d
mov dword [0x1402e6074], r12d
mov dword [0x1402e9a70], r15d
xchg dword [0x1402e9a7c], eax
cmp dword [0x1402e6074], r12d
je 0x14002d637
lea rcx, [0x1402e5e50]
mov edx, 3
lea rax, [0x1402e85f0]
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 0x14002d510
cmp dword [0x1402e6070], 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 0x14002d63c
mov dword [0x1402e58c0], r12d
mov dword [0x1402e58c4], 0x8000
mov dword [0x1402e87b8], r12d
mov dword [0x1402e87bc], 0x8000
call fcn.14002d6a0
movaps xmm0, xmmword [0x1402e9530]
movaps xmm1, xmmword [0x1402e9540]
movaps xmmword [0x1402e9a60], xmm0
movaps xmm0, xmmword [0x1402e9550]
movaps xmmword [0x1402e9a80], xmm0
movaps xmm0, xmmword [0x1402e9570]
movaps xmmword [0x1402e9a70], xmm1
movaps xmm1, xmmword [0x1402e9560]
movaps xmmword [0x1402e9aa0], xmm0
movsd xmm0, qword [0x1402e9590]
movaps xmmword [0x1402e9a90], xmm1
movaps xmm1, xmmword [0x1402e9580]
movsd qword [0x1402e9ac0], xmm0
movaps xmmword [0x1402e9ab0], xmm1
call fcn.14002a170
jmp 0x14002d63c
call fcn.14002d6a0
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 [0x1402e58f8], rax
mov rax, qword [0x1402e8280]
mov qword [0x1402e5900], rax
mov qword [0x1402e58a0], 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 0x14002d691
add rsp, 0x58
jmp 0x14001d290
add rsp, 0x58
ret