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

Disassembly:
sub rsp, 0x28
cmp dword [0x14046bf60], 0
je 0x14001e29b
xor edx, edx
lea rcx, [0x14003d5c0]
call fcn.140012c50
mov eax, dword [0x14046bf48]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140469dbb], 0
cmp eax, 1
je 0x14001e501
cmp qword [0x14046bf20], 0
je 0x14001e30c
mov rcx, qword [0x140469350]
mov r8, qword [0x14046bf18]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001e4e1
add rdx, r8
xor r8d, r8d
call fcn.140030a50
test eax, eax
je 0x14001e4e1
cmp byte [0x140469dbb], 0
jne 0x14001e4e1
mov eax, dword [0x14046bf48]
test eax, eax
jne 0x14001e4d8
cmp dword [0x14046bf60], eax
jne 0x14001e4d8
cmp qword [0x14046bf28], 0
je 0x14001e4d8
xor edi, edi
mov dword [0x1404695f4], 1
mov qword [0x14046bf70], rdi
call fcn.14002ccc0
test eax, eax
jne 0x14001e3a8
mov rbx, qword [0x14045c478]
test rbx, rbx
je 0x14001e39e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14046bf68]
sub rax, rdx
cmp rax, rcx
jb 0x14001e391
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140030a50
test eax, eax
je 0x14001e4e1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001e360
test edi, edi
jne 0x14001e3a8
mov dword [0x1404695f4], 2
cmp byte [0x140469dbb], 0
jne 0x14001e4e1
mov eax, dword [0x14046bf48]
test eax, eax
jne 0x14001e4d8
cmp dword [0x1404695f4], 2
jne 0x14001e4ad
mov rcx, qword [0x140469770]
xor edx, edx
mov r8, qword [0x14046bf68]
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.14002faa0
mov rbx, rax
test rax, rax
je 0x14001e499
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x140467cf0]
sub rdi, rsi
cmp eax, 4
jl 0x14001e45f
mov eax, dword [0x140467ce8]
test al, 1
je 0x14001e45f
call fcn.14000b970
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.140040300
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005f30
mov eax, dword [0x14046bf48]
mov rsi, qword [rsp + 0x38]
mov qword [0x14046bf70], rbx
test eax, eax
je 0x14001e4b4
jmp 0x14001e4d8
mov eax, 1
mov qword [0x14046bf70], rbx
mov dword [0x14046bf48], eax
jmp 0x14001e4d8
mov rbx, qword [0x14046bf70]
test rbx, rbx
je 0x14001e4d8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14046bf68]
mov rcx, rbx
call fcn.140030a50
test eax, eax
je 0x14001e4e1
mov eax, dword [0x14046bf48]
cmp byte [0x140469dbb], 0
je 0x14001e501
mov dword [0x14046bf48], 1
mov byte [0x140469dbb], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001e54e
cmp qword [0x14046bf28], 0
je 0x14001e524
mov rcx, qword [0x14046bf68]
mov qword [0x14046c1d0], rcx
mov qword [0x14046c1d8], rcx
cmp qword [0x14046bf20], 0
je 0x14001e543
mov rax, qword [0x14046bf18]
mov qword [0x14046bfc0], rax
mov qword [0x14046bfc8], rax
mov qword [0x14046bf30], 1
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
sub rsp, 0x58
mov qword [rsp + 0x70], rbp
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], r12
mov ebp, ecx
mov qword [rsp + 0x30], r15
lea rcx, [0x14002d4b0]
xor r15d, r15d
mov r12d, 1
mov qword [0x14046bf10], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r12d
call fcn.140012c50
mov rdx, qword [0x140469350]
mov rax, qword [0x140469348]
mov qword [rdx], rax
cmp dword [0x14046d7b0], 4
jne 0x14002d9d5
cmp dword [0x14046bf60], r15d
je 0x14002d9d5
call fcn.14002c4d0
mov ecx, dword [0x14046bf48]
test eax, eax
mov dword [0x14046d778], 2
cmove ecx, r12d
mov dword [0x14046bf48], ecx
call fcn.140041290
inc qword [0x14046c540]
jmp 0x14002e0e0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
call fcn.140031a30
mov rdi, qword [0x1404695e0]
mov eax, dword [0x14045c658]
mov dword [0x14046d7ac], eax
mov qword [0x140469800], r15
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002da33
nop word [rax + rax]
mov rcx, rbx
mov rdx, r12
mov rbx, qword [rbx]
call fcn.14006ab20
test rbx, rbx
jne 0x14002da20
mov qword [rdi + 0x18], r15
mov rax, qword [0x1404695c0]
cmp qword [0x140468010], rax
je 0x14002da4c
call fcn.140028cb0
call fcn.14003ba00
lea r14, [0x14045c468]
lea r13, [0x14045c688]
nop
mov rbx, qword [r14]
test rbx, rbx
je 0x14002da7f
test byte [rbx + 0x28], r12b
je 0x14002da7f
nop
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002da7f
test byte [rbx + 0x28], r12b
jne 0x14002da70
mov rsi, r15
test rbx, rbx
je 0x14002dac4
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002dab9
call fcn.140016320
test al, al
mov edx, r15d
mov rcx, rbx
setne dl
call fcn.14002a150
mov qword [rsi + 0x30], rdi
jmp 0x14002dabc
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002da90
add r14, 0x110
cmp r14, r13
jl 0x14002da60
mov eax, dword [0x14046cdac]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x14002dae9
call fcn.14003b820
xor r9d, r9d
lea r8, [0x14046c558]
lea rdx, [0x14046c91c]
mov ecx, ebp
call fcn.14002ee50
mov edx, dword [0x14046c91c]
lea r9, [rsp + 0x68]
mov ecx, dword [0x14046c558]
mov r8d, eax
mov dword [rsp + 0x68], edx
mov edx, ebp
mov dword [0x14046d778], eax
call fcn.140032fa0
cmp dword [0x140467284], 4
movsxd r8, eax
mov dword [0x14046d778], r8d
jb 0x14002db57
mov r9, r8
mov edx, r12d
lea r8, str.condemned_generation_num:__d_n
mov ecx, 0xd
call fcn.14000e060
mov r8d, dword [0x14046d778]
cmp qword [0x14046bf30], r15
mov ecx, dword [0x14046d7ac]
je 0x14002db83
inc qword [0x14046bf38]
cmp ecx, 0x11
ja 0x14002db83
mov eax, 0x22e86
bt eax, ecx
jae 0x14002db83
inc qword [0x14046bf40]
mov eax, dword [0x14046d77c]
cmp r8d, r12d
cmovg eax, r12d
cmp ecx, r12d
mov ecx, r8d
mov dword [0x14046d77c], eax
sete dl
call fcn.140005f30
mov ecx, dword [0x14046d778]
cmp ecx, 2
jne 0x14002dc17
cmp dword [rsp + 0x68], r15d
jne 0x14002dc17
cmp byte [0x140469db8], r15b
je 0x14002dc17
cmp byte [0x140469db9], r15b
jne 0x14002dc17
mov eax, dword [0x14046d7b0]
dec eax
test eax, 0xfffffffd
jne 0x14002dc17
mov eax, r12d
mov dword [0x14046983c], r12d
xchg dword [0x14046d78c], eax
movups xmm0, xmmword [0x140469658]
mov ecx, dword [0x14046d778]
movups xmm1, xmmword [0x140469668]
movups xmmword [0x140469b70], xmm0
movups xmm0, xmmword [0x140469678]
movups xmmword [0x140469b80], xmm1
movups xmmword [0x140469b90], xmm0
mov edx, dword [0x14046c018]
inc edx
mov qword [0x14046d770], rdx
mov edx, 2
call fcn.14000bc80
call fcn.14002b6a0
lea rcx, str.BEGIN
call fcn.14002a3b0
call fcn.1400162e0
test r12b, al
je 0x14002dc5c
call fcn.1400162e0
test al, 0x40
jne 0x14002dc5c
mov ecx, r12d
call fcn.140041690
call fcn.1400162e0
cmp dword [0x14046d78c], r15d
je 0x14002e0a9
movaps xmm0, xmmword [0x14046d770]
lea rcx, [0x140469d90]
movaps xmmword [0x14046d240], xmm0
movaps xmm0, xmmword [0x14046d790]
movaps xmmword [0x14046d260], xmm0
movaps xmm0, xmmword [0x14046d7b0]
mov dword [0x14046d780], r15d
movaps xmm1, xmmword [0x14046d780]
movaps xmmword [0x14046d250], xmm1
movaps xmm1, xmmword [0x14046d7a0]
movaps xmmword [0x14046d280], xmm0
movsd xmm0, qword [0x14046d7d0]
movaps xmmword [0x14046d270], xmm1
movaps xmm1, xmmword [0x14046d7c0]
movsd qword [0x14046d2a0], xmm0
movaps xmmword [0x14046d290], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x140469838], r15d
jne 0x14002dd4f
cmp qword [0x140469d88], r15
jne 0x14002dd4f
lea r9, str..NET_BGC
movzx r8d, r12b
xor edx, edx
lea rcx, [0x140024bf0]
call fcn.14000b630
movzx eax, al
mov dword [0x140469838], eax
test eax, eax
je 0x14002dd4f
lea rcx, [0x140469d90]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x140467cf0]
cmp eax, 4
jl 0x14002dd5b
mov eax, dword [0x140467ce8]
test r12b, al
je 0x14002dd5b
call fcn.14000b970
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002dd5b
lea rcx, [0x140469d90]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x140469d88], r15
mov dword [0x140469dc0], r12d
mov dword [0x140469dbc], r15d
je 0x14002df4b
lea rdi, [0x14045c358]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002de80
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
jne 0x14002ddb8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002de80
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
je 0x14002dda0
test rbx, rbx
je 0x14002de80
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002de73
test r12b, al
je 0x14002de43
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x140469790]
mov r8, qword [0x140469798]
cmp rcx, rax
jb 0x14002de18
mov r9, qword [rdx]
cmp r9, r8
ja 0x14002de13
mov r8, qword [0x1404695d0]
mov rdx, r9
call fcn.140027510
test eax, eax
je 0x14002df4b
or qword [rbx + 0x28], 0x40
jmp 0x14002de73
cmp rax, rcx
jbe 0x14002de1b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x1404695d0]
call fcn.140027510
test eax, eax
je 0x14002df4b
or qword [rbx + 0x28], 0x80
jmp 0x14002de73
mov r8, qword [0x1404695d0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140027510
test eax, eax
je 0x14002df4b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002de6b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002ddc1
add rdi, 0x110
cmp rdi, r13
jl 0x14002dd80
mov rax, qword [0x140469790]
mov ebx, 0xffffffff
cmp dword [0x14046d7ac], 5
mov qword [0x14046bea0], rax
mov rax, qword [0x140469798]
cmove ebx, r12d
mov qword [0x14046bea8], rax
mov dword [0x140469dc0], r12d
mov dword [0x14046d7d8], r12d
je 0x14002def2
mov ecx, r15d
lea rdx, [0x14046bfc0]
cmp qword [rdx], r15
jg 0x14002def2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002ded6
mov dword [0x140469340], r12d
cmp ebx, 0xffffffff
jne 0x14002df0b
xorps xmm0, xmm0
movdqa xmmword [0x14045c100], xmm0
jmp 0x14002df3b
lea rcx, [0x14046d770]
mov dword [0x140469dbc], r12d
call fcn.1400319d0
mov rax, qword [0x14046c018]
add rax, 2
mov dword [0x14046d778], ebx
mov qword [0x14046d770], rax
call fcn.14002b6a0
cmp dword [0x140469dbc], r15d
jne 0x14002df62
call fcn.14002ac00
jmp 0x14002df62
mov eax, r15d
mov dword [0x140469dc0], r15d
mov dword [0x14046d780], r12d
xchg dword [0x14046d78c], eax
cmp dword [0x140469dc0], r15d
je 0x14002e0a9
lea rcx, [0x140469ba0]
mov edx, 3
lea rax, [0x14046c330]
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, r12
jne 0x14002df82
cmp dword [0x140469dbc], r15d
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 0x14002e0ae
mov dword [0x140469618], r15d
mov dword [0x14046961c], 0x8000
mov dword [0x14046c4f8], r15d
mov dword [0x14046c4fc], 0x8000
call fcn.14002e110
movaps xmm0, xmmword [0x14046d240]
movaps xmm1, xmmword [0x14046d250]
movaps xmmword [0x14046d770], xmm0
movaps xmm0, xmmword [0x14046d260]
movaps xmmword [0x14046d790], xmm0
movaps xmm0, xmmword [0x14046d280]
movaps xmmword [0x14046d780], xmm1
movaps xmm1, xmmword [0x14046d270]
movaps xmmword [0x14046d7b0], xmm0
movsd xmm0, qword [0x14046d2a0]
movaps xmmword [0x14046d7a0], xmm1
movaps xmm1, xmmword [0x14046d290]
movsd qword [0x14046d7d0], xmm0
movaps xmmword [0x14046d7c0], xmm1
call fcn.14002ac00
jmp 0x14002e0ae
call fcn.14002e110
call sub.KERNEL32.dll_GetTickCount
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov eax, eax
mov qword [0x140469648], rax
mov rax, qword [0x14046bfc0]
mov qword [0x140469650], rax
mov qword [0x1404695f8], rax
cmp dword [0x14046d7b0], 4
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
jne 0x14002e101
add rsp, 0x58
jmp 0x14001e280
add rsp, 0x58
ret