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

Disassembly:
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, [0x140037020]
xor r15d, r15d
mov r12d, 1
mov qword [0x14007bb68], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r12d
call fcn.14000cc30
mov rdx, qword [0x140078fa0]
mov rax, qword [0x140078f98]
mov qword [rdx], rax
cmp dword [0x14007d580], 4
jne 0x140015c05
cmp dword [0x14007bbb0], r15d
je 0x140015c05
call fcn.1400158a0
mov ecx, dword [0x14007bb98]
test eax, eax
mov dword [0x14007d548], 2
cmove ecx, r12d
mov dword [0x14007bb98], ecx
call fcn.140036410
inc qword [0x14007c160]
jmp 0x1400162e0
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.140016490
mov rdi, qword [0x140079238]
mov eax, dword [0x140074dd8]
mov dword [0x14007d57c], eax
mov qword [0x140079458], r15
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140015c63
nop word [rax + rax]
mov rcx, rbx
mov rdx, r12
mov rbx, qword [rbx]
call fcn.140008f50
test rbx, rbx
jne 0x140015c50
mov qword [rdi + 0x18], r15
mov rax, qword [0x140079218]
cmp qword [0x140077ed0], rax
je 0x140015c7c
call fcn.140020300
call fcn.14001f7b0
lea r14, [0x140074be8]
lea r13, [0x140074e08]
nop
mov rbx, qword [r14]
test rbx, rbx
je 0x140015caf
test byte [rbx + 0x28], r12b
je 0x140015caf
nop
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x140015caf
test byte [rbx + 0x28], r12b
jne 0x140015ca0
mov rsi, r15
test rbx, rbx
je 0x140015cf4
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x140015ce9
call fcn.14000dfd0
test al, al
mov edx, r15d
mov rcx, rbx
setne dl
call fcn.14001df40
mov qword [rsi + 0x30], rdi
jmp 0x140015cec
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x140015cc0
add r14, 0x110
cmp r14, r13
jl 0x140015c90
mov eax, dword [0x14007cc3c]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x140015d19
call fcn.14001f5f0
xor r9d, r9d
lea r8, [0x14007c178]
lea rdx, [0x14007c53c]
mov ecx, ebp
call fcn.140018110
mov edx, dword [0x14007c53c]
lea r9, [rsp + 0x68]
mov ecx, dword [0x14007c178]
mov r8d, eax
mov dword [rsp + 0x68], edx
mov edx, ebp
mov dword [0x14007d548], eax
call fcn.140018b80
cmp dword [0x140077b14], 4
movsxd r8, eax
mov dword [0x14007d548], r8d
jb 0x140015d87
mov r9, r8
mov edx, r12d
lea r8, str.condemned_generation_num:__d_n
mov ecx, 0xd
call fcn.14000a280
mov r8d, dword [0x14007d548]
cmp qword [0x14007bb80], r15
mov ecx, dword [0x14007d57c]
je 0x140015db3
inc qword [0x14007bb88]
cmp ecx, 0x11
ja 0x140015db3
mov eax, 0x22e86
bt eax, ecx
jae 0x140015db3
inc qword [0x14007bb90]
mov eax, dword [0x14007d54c]
cmp r8d, r12d
cmovg eax, r12d
cmp ecx, r12d
mov ecx, r8d
mov dword [0x14007d54c], eax
sete dl
call fcn.140005190
mov ecx, dword [0x14007d548]
cmp ecx, 2
jne 0x140015e47
cmp dword [rsp + 0x68], r15d
jne 0x140015e47
cmp byte [0x140079322], r15b
je 0x140015e47
cmp byte [0x140079323], r15b
jne 0x140015e47
mov eax, dword [0x14007d580]
dec eax
test eax, 0xfffffffd
jne 0x140015e47
mov eax, r12d
mov dword [0x1400799dc], r12d
xchg dword [0x14007d55c], eax
movups xmm0, xmmword [0x1400792b0]
mov ecx, dword [0x14007d548]
movups xmm1, xmmword [0x1400792c0]
movups xmmword [0x1400797c0], xmm0
movups xmm0, xmmword [0x1400792d0]
movups xmmword [0x1400797d0], xmm1
movups xmmword [0x1400797e0], xmm0
mov edx, dword [0x14007bc38]
inc edx
mov qword [0x14007d540], rdx
mov edx, 2
call fcn.140005180
call fcn.140014b60
lea rcx, str.BEGIN
call fcn.140033cc0
call fcn.14000e040
test r12b, al
je 0x140015e8c
call fcn.14000e040
test al, 0x40
jne 0x140015e8c
mov ecx, r12d
call fcn.140013a10
call fcn.14000e040
cmp dword [0x14007d55c], r15d
je 0x1400162a9
movaps xmm0, xmmword [0x14007d540]
lea rcx, [0x1400799e8]
movaps xmmword [0x14007d010], xmm0
movaps xmm0, xmmword [0x14007d560]
movaps xmmword [0x14007d030], xmm0
movaps xmm0, xmmword [0x14007d580]
mov dword [0x14007d550], r15d
movaps xmm1, xmmword [0x14007d550]
movaps xmmword [0x14007d020], xmm1
movaps xmm1, xmmword [0x14007d570]
movaps xmmword [0x14007d050], xmm0
movsd xmm0, qword [0x14007d5a0]
movaps xmmword [0x14007d040], xmm1
movaps xmm1, xmmword [0x14007d590]
movsd qword [0x14007d070], xmm0
movaps xmmword [0x14007d060], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1400799d8], r15d
jne 0x140015f49
cmp qword [0x1400799e0], r15
jne 0x140015f49
lea r9, str..NET_BGC
movzx r8d, r12b
xor edx, edx
lea rcx, [0x140035f60]
call fcn.140005660
movzx eax, al
mov dword [0x1400799d8], eax
lea rcx, [0x1400799e8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1400799e0], r15
mov dword [0x140079a14], r12d
mov dword [0x140079a10], r15d
je 0x14001614b
lea rdi, [0x140074ad8]
nop word [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x140016080
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
jne 0x140015fb8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x140016080
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
je 0x140015fa0
test rbx, rbx
je 0x140016080
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x140016073
test r12b, al
je 0x140016043
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x1400793e8]
mov r8, qword [0x1400793f0]
cmp rcx, rax
jb 0x140016018
mov r9, qword [rdx]
cmp r9, r8
ja 0x140016013
mov r8, qword [0x140079228]
mov rdx, r9
call fcn.140034780
test eax, eax
je 0x14001614b
or qword [rbx + 0x28], 0x40
jmp 0x140016073
cmp rax, rcx
jbe 0x14001601b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x140079228]
call fcn.140034780
test eax, eax
je 0x14001614b
or qword [rbx + 0x28], 0x80
jmp 0x140016073
mov r8, qword [0x140079228]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140034780
test eax, eax
je 0x14001614b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14001606b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x140015fc1
add rdi, 0x110
cmp rdi, r13
jl 0x140015f80
mov rax, qword [0x1400793e8]
mov ebx, 0xffffffff
cmp dword [0x14007d57c], 5
mov qword [0x14007baf0], rax
mov rax, qword [0x1400793f0]
cmove ebx, r12d
mov qword [0x14007baf8], rax
mov dword [0x140079a14], r12d
mov dword [0x14007d5a8], r12d
je 0x1400160f2
mov ecx, r15d
lea rdx, [0x14007bbe0]
cmp qword [rdx], r15
jg 0x1400160f2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x1400160d6
mov dword [0x140078f94], r12d
cmp ebx, 0xffffffff
jne 0x14001610b
xorps xmm0, xmm0
movdqa xmmword [0x140074880], xmm0
jmp 0x14001613b
lea rcx, [0x14007d540]
mov dword [0x140079a10], r12d
call fcn.140012f30
mov rax, qword [0x14007bc38]
add rax, 2
mov dword [0x14007d548], ebx
mov qword [0x14007d540], rax
call fcn.140014b60
cmp dword [0x140079a10], r15d
jne 0x140016162
call fcn.140035e50
jmp 0x140016162
mov eax, r15d
mov dword [0x140079a14], r15d
mov dword [0x14007d550], r12d
xchg dword [0x14007d55c], eax
cmp dword [0x140079a14], r15d
je 0x1400162a9
lea rcx, [0x1400797f0]
mov edx, 3
lea rax, [0x14007bf50]
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 0x140016182
cmp dword [0x140079a10], 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 0x1400162ae
mov dword [0x140079268], r15d
mov dword [0x14007926c], 0x8000
mov dword [0x14007c118], r15d
mov dword [0x14007c11c], 0x8000
call fcn.140019350
movaps xmm0, xmmword [0x14007d010]
movaps xmm1, xmmword [0x14007d020]
movaps xmmword [0x14007d540], xmm0
movaps xmm0, xmmword [0x14007d030]
movaps xmmword [0x14007d560], xmm0
movaps xmm0, xmmword [0x14007d050]
movaps xmmword [0x14007d550], xmm1
movaps xmm1, xmmword [0x14007d040]
movaps xmmword [0x14007d580], xmm0
movsd xmm0, qword [0x14007d070]
movaps xmmword [0x14007d570], xmm1
movaps xmm1, xmmword [0x14007d060]
movsd qword [0x14007d5a0], xmm0
movaps xmmword [0x14007d590], xmm1
call fcn.140035e50
jmp 0x1400162ae
call fcn.140019350
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 [0x1400792a0], rax
mov rax, qword [0x14007bbe0]
mov qword [0x1400792a8], rax
mov qword [0x140079248], rax
cmp dword [0x14007d580], 4
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
jne 0x140016301
add rsp, 0x58
jmp 0x140019fd0
add rsp, 0x58
ret
sub rsp, 0x28
cmp dword [0x14007bbb0], 0
je 0x140019feb
xor edx, edx
lea rcx, [0x140036fe0]
call fcn.14000cc30
mov eax, dword [0x14007bb98]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x14007bb31], 0
cmp eax, 1
je 0x14001a20c
cmp qword [0x14007bb70], 0
je 0x14001a05c
mov rcx, qword [0x140078fa0]
mov r8, qword [0x14007bbb8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001a1ec
add rdx, r8
xor r8d, r8d
call fcn.14001ff80
test eax, eax
je 0x14001a1ec
cmp byte [0x14007bb31], 0
jne 0x14001a1ec
mov eax, dword [0x14007bb98]
test eax, eax
jne 0x14001a1e3
cmp dword [0x14007bbb0], eax
jne 0x14001a1e3
cmp qword [0x14007bb78], 0
je 0x14001a1e3
xor edi, edi
mov dword [0x140079298], 1
mov qword [0x14007bbc8], rdi
call fcn.140019f40
test eax, eax
jne 0x14001a0f8
mov rbx, qword [0x140074bf8]
test rbx, rbx
je 0x14001a0ee
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14007bbc0]
sub rax, rdx
cmp rax, rcx
jb 0x14001a0e1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14001ff80
test eax, eax
je 0x14001a1ec
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001a0b0
test edi, edi
jne 0x14001a0f8
mov dword [0x140079298], 2
cmp byte [0x14007bb31], 0
jne 0x14001a1ec
mov eax, dword [0x14007bb98]
test eax, eax
jne 0x14001a1e3
cmp dword [0x140079298], 2
jne 0x14001a1b8
mov rcx, qword [0x1400793c8]
xor edx, edx
mov r8, qword [0x14007bbc0]
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.14001e9f0
mov rbx, rax
test rax, rax
je 0x14001a1a4
or qword [rax + 0x28], 8
mov rdx, rax
mov ecx, 3
call fcn.14001f080
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005190
mov eax, dword [0x14007bb98]
mov qword [0x14007bbc8], rbx
test eax, eax
je 0x14001a1bf
jmp 0x14001a1e3
mov eax, 1
mov qword [0x14007bbc8], rbx
mov dword [0x14007bb98], eax
jmp 0x14001a1e3
mov rbx, qword [0x14007bbc8]
test rbx, rbx
je 0x14001a1e3
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14007bbc0]
mov rcx, rbx
call fcn.14001ff80
test eax, eax
je 0x14001a1ec
mov eax, dword [0x14007bb98]
cmp byte [0x14007bb31], 0
je 0x14001a20c
mov dword [0x14007bb98], 1
mov byte [0x14007bb31], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001a259
cmp qword [0x14007bb78], 0
je 0x14001a22f
mov rcx, qword [0x14007bbc0]
mov qword [0x14007bdf0], rcx
mov qword [0x14007bdf8], rcx
cmp qword [0x14007bb70], 0
je 0x14001a24e
mov rax, qword [0x14007bbb8]
mov qword [0x14007bbe0], rax
mov qword [0x14007bbe8], rax
mov qword [0x14007bb80], 1
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret