Function at 0x140016280
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, [0x140037730]
xor r15d, r15d
mov r12d, 1
mov qword [0x1400920c8], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r12d
call fcn.14000d340
mov rdx, qword [0x14008f500]
mov rax, qword [0x14008f4f8]
mov qword [rdx], rax
cmp dword [0x140093ae0], 4
jne 0x140016315
cmp dword [0x140092110], r15d
je 0x140016315
call fcn.140015fb0
mov ecx, dword [0x1400920f8]
test eax, eax
mov dword [0x140093aa8], 2
cmove ecx, r12d
mov dword [0x1400920f8], ecx
call fcn.140036b20
inc qword [0x1400926c0]
jmp 0x1400169f0
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.140016ba0
mov rdi, qword [0x14008f798]
mov eax, dword [0x14008a468]
mov dword [0x140093adc], eax
mov qword [0x14008f9b8], r15
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140016373
nop word [rax + rax]
mov rcx, rbx
mov rdx, r12
mov rbx, qword [rbx]
call fcn.140009660
test rbx, rbx
jne 0x140016360
mov qword [rdi + 0x18], r15
mov rax, qword [0x14008f778]
cmp qword [0x14008e430], rax
je 0x14001638c
call fcn.140020a10
call fcn.14001fec0
lea r14, [0x14008a278]
lea r13, [0x14008a498]
nop
mov rbx, qword [r14]
test rbx, rbx
je 0x1400163bf
test byte [rbx + 0x28], r12b
je 0x1400163bf
nop
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1400163bf
test byte [rbx + 0x28], r12b
jne 0x1400163b0
mov rsi, r15
test rbx, rbx
je 0x140016404
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x1400163f9
call fcn.14000e6e0
test al, al
mov edx, r15d
mov rcx, rbx
setne dl
call fcn.14001e650
mov qword [rsi + 0x30], rdi
jmp 0x1400163fc
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x1400163d0
add r14, 0x110
cmp r14, r13
jl 0x1400163a0
mov eax, dword [0x14009319c]
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x140016429
call fcn.14001fd00
xor r9d, r9d
lea r8, [0x1400926d8]
lea rdx, [0x140092a9c]
mov ecx, ebp
call fcn.140018820
mov edx, dword [0x140092a9c]
lea r9, [rsp + 0x68]
mov ecx, dword [0x1400926d8]
mov r8d, eax
mov dword [rsp + 0x68], edx
mov edx, ebp
mov dword [0x140093aa8], eax
call fcn.140019290
cmp dword [0x14008e074], 4
movsxd r8, eax
mov dword [0x140093aa8], r8d
jb 0x140016497
mov r9, r8
mov edx, r12d
lea r8, str.condemned_generation_num:__d_n
mov ecx, 0xd
call fcn.14000a990
mov r8d, dword [0x140093aa8]
cmp qword [0x1400920e0], r15
mov ecx, dword [0x140093adc]
je 0x1400164c3
inc qword [0x1400920e8]
cmp ecx, 0x11
ja 0x1400164c3
mov eax, 0x22e86
bt eax, ecx
jae 0x1400164c3
inc qword [0x1400920f0]
mov eax, dword [0x140093aac]
cmp r8d, r12d
cmovg eax, r12d
cmp ecx, r12d
mov ecx, r8d
mov dword [0x140093aac], eax
sete dl
call fcn.140005a60
mov ecx, dword [0x140093aa8]
cmp ecx, 2
jne 0x140016557
cmp dword [rsp + 0x68], r15d
jne 0x140016557
cmp byte [0x14008f882], r15b
je 0x140016557
cmp byte [0x14008f883], r15b
jne 0x140016557
mov eax, dword [0x140093ae0]
dec eax
test eax, 0xfffffffd
jne 0x140016557
mov eax, r12d
mov dword [0x14008ff3c], r12d
xchg dword [0x140093abc], eax
movups xmm0, xmmword [0x14008f810]
mov ecx, dword [0x140093aa8]
movups xmm1, xmmword [0x14008f820]
movups xmmword [0x14008fd20], xmm0
movups xmm0, xmmword [0x14008f830]
movups xmmword [0x14008fd30], xmm1
movups xmmword [0x14008fd40], xmm0
mov edx, dword [0x140092198]
inc edx
mov qword [0x140093aa0], rdx
mov edx, 2
call fcn.140005a50
call fcn.140015270
lea rcx, str.BEGIN
call fcn.1400343d0
call fcn.14000e750
test r12b, al
je 0x14001659c
call fcn.14000e750
test al, 0x40
jne 0x14001659c
mov ecx, r12d
call fcn.140014120
call fcn.14000e750
cmp dword [0x140093abc], r15d
je 0x1400169b9
movaps xmm0, xmmword [0x140093aa0]
lea rcx, [0x14008ff48]
movaps xmmword [0x140093570], xmm0
movaps xmm0, xmmword [0x140093ac0]
movaps xmmword [0x140093590], xmm0
movaps xmm0, xmmword [0x140093ae0]
mov dword [0x140093ab0], r15d
movaps xmm1, xmmword [0x140093ab0]
movaps xmmword [0x140093580], xmm1
movaps xmm1, xmmword [0x140093ad0]
movaps xmmword [0x1400935b0], xmm0
movsd xmm0, qword [0x140093b00]
movaps xmmword [0x1400935a0], xmm1
movaps xmm1, xmmword [0x140093af0]
movsd qword [0x1400935d0], xmm0
movaps xmmword [0x1400935c0], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14008ff38], r15d
jne 0x140016659
cmp qword [0x14008ff40], r15
jne 0x140016659
lea r9, str..NET_BGC
movzx r8d, r12b
xor edx, edx
lea rcx, [0x140036670]
call fcn.140005f30
movzx eax, al
mov dword [0x14008ff38], eax
lea rcx, [0x14008ff48]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14008ff40], r15
mov dword [0x14008ff74], r12d
mov dword [0x14008ff70], r15d
je 0x14001685b
lea rdi, [0x14008a168]
nop word [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x140016790
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
jne 0x1400166c8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x140016790
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r12b
je 0x1400166b0
test rbx, rbx
je 0x140016790
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x140016783
test r12b, al
je 0x140016753
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x14008f948]
mov r8, qword [0x14008f950]
cmp rcx, rax
jb 0x140016728
mov r9, qword [rdx]
cmp r9, r8
ja 0x140016723
mov r8, qword [0x14008f788]
mov rdx, r9
call fcn.140034e90
test eax, eax
je 0x14001685b
or qword [rbx + 0x28], 0x40
jmp 0x140016783
cmp rax, rcx
jbe 0x14001672b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x14008f788]
call fcn.140034e90
test eax, eax
je 0x14001685b
or qword [rbx + 0x28], 0x80
jmp 0x140016783
mov r8, qword [0x14008f788]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140034e90
test eax, eax
je 0x14001685b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14001677b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1400166d1
add rdi, 0x110
cmp rdi, r13
jl 0x140016690
mov rax, qword [0x14008f948]
mov ebx, 0xffffffff
cmp dword [0x140093adc], 5
mov qword [0x140092050], rax
mov rax, qword [0x14008f950]
cmove ebx, r12d
mov qword [0x140092058], rax
mov dword [0x14008ff74], r12d
mov dword [0x140093b08], r12d
je 0x140016802
mov ecx, r15d
lea rdx, [0x140092140]
cmp qword [rdx], r15
jg 0x140016802
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x1400167e6
mov dword [0x14008f4f4], r12d
cmp ebx, 0xffffffff
jne 0x14001681b
xorps xmm0, xmm0
movdqa xmmword [0x140089f10], xmm0
jmp 0x14001684b
lea rcx, [0x140093aa0]
mov dword [0x14008ff70], r12d
call fcn.140013640
mov rax, qword [0x140092198]
add rax, 2
mov dword [0x140093aa8], ebx
mov qword [0x140093aa0], rax
call fcn.140015270
cmp dword [0x14008ff70], r15d
jne 0x140016872
call fcn.140036560
jmp 0x140016872
mov eax, r15d
mov dword [0x14008ff74], r15d
mov dword [0x140093ab0], r12d
xchg dword [0x140093abc], eax
cmp dword [0x14008ff74], r15d
je 0x1400169b9
lea rcx, [0x14008fd50]
mov edx, 3
lea rax, [0x1400924b0]
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 0x140016892
cmp dword [0x14008ff70], 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 0x1400169be
mov dword [0x14008f7c8], r15d
mov dword [0x14008f7cc], 0x8000
mov dword [0x140092678], r15d
mov dword [0x14009267c], 0x8000
call fcn.140019a60
movaps xmm0, xmmword [0x140093570]
movaps xmm1, xmmword [0x140093580]
movaps xmmword [0x140093aa0], xmm0
movaps xmm0, xmmword [0x140093590]
movaps xmmword [0x140093ac0], xmm0
movaps xmm0, xmmword [0x1400935b0]
movaps xmmword [0x140093ab0], xmm1
movaps xmm1, xmmword [0x1400935a0]
movaps xmmword [0x140093ae0], xmm0
movsd xmm0, qword [0x1400935d0]
movaps xmmword [0x140093ad0], xmm1
movaps xmm1, xmmword [0x1400935c0]
movsd qword [0x140093b00], xmm0
movaps xmmword [0x140093af0], xmm1
call fcn.140036560
jmp 0x1400169be
call fcn.140019a60
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 [0x14008f800], rax
mov rax, qword [0x140092140]
mov qword [0x14008f808], rax
mov qword [0x14008f7a8], rax
cmp dword [0x140093ae0], 4
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
jne 0x140016a11
add rsp, 0x58
jmp 0x14001a6e0
add rsp, 0x58
ret
sub rsp, 0x28
cmp dword [0x140092110], 0
je 0x14001a6fb
xor edx, edx
lea rcx, [0x1400376f0]
call fcn.14000d340
mov eax, dword [0x1400920f8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x140092091], 0
cmp eax, 1
je 0x14001a91c
cmp qword [0x1400920d0], 0
je 0x14001a76c
mov rcx, qword [0x14008f500]
mov r8, qword [0x140092118]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001a8fc
add rdx, r8
xor r8d, r8d
call fcn.140020690
test eax, eax
je 0x14001a8fc
cmp byte [0x140092091], 0
jne 0x14001a8fc
mov eax, dword [0x1400920f8]
test eax, eax
jne 0x14001a8f3
cmp dword [0x140092110], eax
jne 0x14001a8f3
cmp qword [0x1400920d8], 0
je 0x14001a8f3
xor edi, edi
mov dword [0x14008f7f8], 1
mov qword [0x140092128], rdi
call fcn.14001a650
test eax, eax
jne 0x14001a808
mov rbx, qword [0x14008a288]
test rbx, rbx
je 0x14001a7fe
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x140092120]
sub rax, rdx
cmp rax, rcx
jb 0x14001a7f1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.140020690
test eax, eax
je 0x14001a8fc
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001a7c0
test edi, edi
jne 0x14001a808
mov dword [0x14008f7f8], 2
cmp byte [0x140092091], 0
jne 0x14001a8fc
mov eax, dword [0x1400920f8]
test eax, eax
jne 0x14001a8f3
cmp dword [0x14008f7f8], 2
jne 0x14001a8c8
mov rcx, qword [0x14008f928]
xor edx, edx
mov r8, qword [0x140092120]
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.14001f100
mov rbx, rax
test rax, rax
je 0x14001a8b4
or qword [rax + 0x28], 8
mov rdx, rax
mov ecx, 3
call fcn.14001f790
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140005a60
mov eax, dword [0x1400920f8]
mov qword [0x140092128], rbx
test eax, eax
je 0x14001a8cf
jmp 0x14001a8f3
mov eax, 1
mov qword [0x140092128], rbx
mov dword [0x1400920f8], eax
jmp 0x14001a8f3
mov rbx, qword [0x140092128]
test rbx, rbx
je 0x14001a8f3
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x140092120]
mov rcx, rbx
call fcn.140020690
test eax, eax
je 0x14001a8fc
mov eax, dword [0x1400920f8]
cmp byte [0x140092091], 0
je 0x14001a91c
mov dword [0x1400920f8], 1
mov byte [0x140092091], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001a969
cmp qword [0x1400920d8], 0
je 0x14001a93f
mov rcx, qword [0x140092120]
mov qword [0x140092350], rcx
mov qword [0x140092358], rcx
cmp qword [0x1400920d0], 0
je 0x14001a95e
mov rax, qword [0x140092118]
mov qword [0x140092140], rax
mov qword [0x140092148], rax
mov qword [0x1400920e0], 1
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret