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

Disassembly:
sub rsp, 0x28
cmp dword [0x180144820], 0
je 0x18001f12b
xor edx, edx
lea rcx, [0x18003e990]
call fcn.180013a20
mov eax, dword [0x180144808]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1801419c7], 0
cmp eax, 1
je 0x18001f391
cmp qword [0x1801447e0], 0
je 0x18001f19c
mov rcx, qword [0x180141bf0]
mov r8, qword [0x180144828]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x18001f371
add rdx, r8
xor r8d, r8d
call fcn.180031d40
test eax, eax
je 0x18001f371
cmp byte [0x1801419c7], 0
jne 0x18001f371
mov eax, dword [0x180144808]
test eax, eax
jne 0x18001f368
cmp dword [0x180144820], eax
jne 0x18001f368
cmp qword [0x1801447e8], 0
je 0x18001f368
xor edi, edi
mov dword [0x180141f00], 1
mov qword [0x180144838], rdi
call fcn.18002df60
test eax, eax
jne 0x18001f238
mov rbx, qword [0x18013bbd8]
test rbx, rbx
je 0x18001f22e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x180144830]
sub rax, rdx
cmp rax, rcx
jb 0x18001f221
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180031d40
test eax, eax
je 0x18001f371
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x18001f1f0
test edi, edi
jne 0x18001f238
mov dword [0x180141f00], 2
cmp byte [0x1801419c7], 0
jne 0x18001f371
mov eax, dword [0x180144808]
test eax, eax
jne 0x18001f368
cmp dword [0x180141f00], 2
jne 0x18001f33d
mov rcx, qword [0x180142030]
xor edx, edx
mov r8, qword [0x180144830]
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.180030d90
mov rbx, rax
test rax, rax
je 0x18001f329
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x180140890]
sub rdi, rsi
cmp eax, 4
jl 0x18001f2ef
mov eax, dword [0x180140888]
test al, 1
je 0x18001f2ef
call fcn.1800091a0
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.180041960
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.180004d10
mov eax, dword [0x180144808]
mov rsi, qword [rsp + 0x38]
mov qword [0x180144838], rbx
test eax, eax
je 0x18001f344
jmp 0x18001f368
mov eax, 1
mov qword [0x180144838], rbx
mov dword [0x180144808], eax
jmp 0x18001f368
mov rbx, qword [0x180144838]
test rbx, rbx
je 0x18001f368
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x180144830]
mov rcx, rbx
call fcn.180031d40
test eax, eax
je 0x18001f371
mov eax, dword [0x180144808]
cmp byte [0x1801419c7], 0
je 0x18001f391
mov dword [0x180144808], 1
mov byte [0x1801419c7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x18001f3de
cmp qword [0x1801447e8], 0
je 0x18001f3b4
mov rcx, qword [0x180144830]
mov qword [0x180144aa0], rcx
mov qword [0x180144aa8], rcx
cmp qword [0x1801447e0], 0
je 0x18001f3d3
mov rax, qword [0x180144828]
mov qword [0x180144890], rax
mov qword [0x180144898], rax
mov qword [0x1801447f0], 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, [0x18002e750]
mov r14d, dword [0x1801460b0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x1801447d8], r12
mov qword [rax - 0x30], r12
call fcn.180013a20
mov rdx, qword [0x180141bf0]
mov rax, qword [0x180141be8]
mov qword [rdx], rax
cmp dword [0x1801460b0], 4
jne 0x18002ec76
cmp dword [0x180144820], r12d
je 0x18002ec76
call fcn.18002d780
test eax, eax
jne 0x18002ec5b
mov dword [0x180144808], r15d
mov dword [0x180146078], 2
call fcn.180042900
inc qword [0x180144e18]
jmp 0x18002f3a0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.180032d50
mov rdi, qword [0x180141ea0]
mov eax, dword [0x18013bdb8]
mov dword [0x1801460ac], eax
mov qword [0x1801420c8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x18002ecc3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.18006c20c
test rbx, rbx
jne 0x18002ecb0
mov qword [rdi + 0x18], r12
mov rax, qword [0x180141e80]
cmp qword [0x1801408b0], rax
je 0x18002ecdc
call fcn.180029da0
call fcn.18003cc10
mov rbx, qword [0x18013bbc8]
test rbx, rbx
je 0x18002ed02
test byte [rbx + 0x28], r15b
je 0x18002ed02
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18002ed02
test byte [rbx + 0x28], r15b
jne 0x18002ecf3
mov rsi, r12
test rbx, rbx
je 0x18002ed3f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x18002ed34
call fcn.180017090
movzx edx, al
mov rcx, rbx
call fcn.18002b310
mov qword [rsi + 0x30], rdi
jmp 0x18002ed37
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x18002ed10
mov rbx, qword [0x18013bcd8]
test rbx, rbx
je 0x18002ed60
test byte [rbx + 0x28], r15b
je 0x18002ed60
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18002ed60
test byte [rbx + 0x28], r15b
jne 0x18002ed51
mov rsi, r12
test rbx, rbx
je 0x18002ed9f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x18002ed94
call fcn.180017090
movzx edx, al
mov rcx, rbx
call fcn.18002b310
mov qword [rsi + 0x30], rdi
jmp 0x18002ed97
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x18002ed70
mov eax, dword [0x180145858]
test eax, eax
jne 0x18002edae
call fcn.18003ca30
xor r9d, r9d
lea r8, [0x180144e30]
lea rdx, [0x180145220]
mov ecx, ebp
call fcn.180030140
mov ecx, dword [0x180145220]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x180144e30]
mov edx, ebp
mov dword [0x180146078], eax
call fcn.180034300
cmp dword [0x18013fb14], 4
mov dword [0x180146078], eax
jb 0x18002ee17
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.18000e810
mov eax, dword [0x180146078]
cmp qword [0x1801447f0], r12
mov ecx, dword [0x1801460ac]
je 0x18002ee43
inc qword [0x1801447f8]
cmp ecx, 0x11
ja 0x18002ee43
mov edx, 0x22e86
bt edx, ecx
jae 0x18002ee43
inc qword [0x180144800]
cmp eax, r15d
jle 0x18002ee4f
mov dword [0x18014607c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.180004d10
mov ecx, dword [0x180146078]
cmp ecx, 2
jne 0x18002eecf
cmp dword [rsp + 0x68], r12d
jne 0x18002eecf
cmp byte [0x1801419c4], r12b
je 0x18002eecf
cmp byte [0x1801419c5], r12b
jne 0x18002eecf
mov eax, dword [0x1801460b0]
dec eax
test eax, 0xfffffffd
jne 0x18002eecf
mov eax, r15d
mov dword [0x18014264c], r15d
xchg dword [0x18014608c], eax
movups xmm0, xmmword [0x180141f18]
mov ecx, dword [0x180146078]
movups xmm1, xmmword [0x180141f28]
movups xmmword [0x180142430], xmm0
movups xmm0, xmmword [0x180141f38]
movups xmmword [0x180142440], xmm1
movups xmmword [0x180142450], xmm0
mov edx, dword [0x1801448e8]
inc edx
mov qword [0x180146070], rdx
mov edx, 2
call fcn.1800094b0
call fcn.18002c950
lea rcx, str.BEGIN
call fcn.18002b570
call fcn.180017050
test r15b, al
je 0x18002ef14
call fcn.180017050
test al, 0x40
jne 0x18002ef14
mov ecx, r15d
call fcn.180042d00
call fcn.180017050
cmp dword [0x18014608c], r12d
je 0x18002f369
movaps xmm0, xmmword [0x180146070]
lea rcx, [0x180142658]
movaps xmmword [0x180145b40], xmm0
movaps xmm0, xmmword [0x180146090]
movaps xmmword [0x180145b60], xmm0
movaps xmm0, xmmword [0x1801460b0]
mov dword [0x180146080], r12d
movaps xmm1, xmmword [0x180146080]
movaps xmmword [0x180145b50], xmm1
movaps xmm1, xmmword [0x1801460a0]
movaps xmmword [0x180145b80], xmm0
movsd xmm0, qword [0x1801460d0]
movaps xmmword [0x180145b70], xmm1
movaps xmm1, xmmword [0x1801460c0]
movsd qword [0x180145ba0], xmm0
movaps xmmword [0x180145b90], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x180142648], r12d
jne 0x18002f007
cmp qword [0x180142650], r12
jne 0x18002f007
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x180025c40]
call fcn.180008e60
movzx eax, al
mov dword [0x180142648], eax
test eax, eax
je 0x18002f007
lea rcx, [0x180142658]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x180140890]
cmp eax, 4
jl 0x18002f013
mov eax, dword [0x180140888]
test r15b, al
je 0x18002f013
call fcn.1800091a0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x18002f013
lea rcx, [0x180142658]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x180142650], r12
mov dword [0x180142684], r15d
mov dword [0x180142680], r12d
je 0x18002f20b
lea rdi, [0x18013bab8]
lea rsi, [0x18013bde8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x18002f140
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x18002f078
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18002f140
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x18002f060
test rbx, rbx
je 0x18002f140
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x18002f133
test r15b, al
je 0x18002f103
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x180142050]
mov r8, qword [0x180142058]
cmp rcx, rax
jb 0x18002f0d8
mov r9, qword [rdx]
cmp r9, r8
ja 0x18002f0d3
mov r8, qword [0x180141e90]
mov rdx, r9
call fcn.180028600
test eax, eax
je 0x18002f20b
or qword [rbx + 0x28], 0x40
jmp 0x18002f133
cmp rax, rcx
jbe 0x18002f0db
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x180141e90]
call fcn.180028600
test eax, eax
je 0x18002f20b
or qword [rbx + 0x28], 0x80
jmp 0x18002f133
mov r8, qword [0x180141e90]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.180028600
test eax, eax
je 0x18002f20b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x18002f12b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x18002f081
add rdi, 0x110
cmp rdi, rsi
jl 0x18002f040
mov rax, qword [0x180142050]
mov ebx, 0xffffffff
cmp dword [0x1801460ac], 5
mov qword [0x180144768], rax
mov rax, qword [0x180142058]
cmove ebx, r15d
mov qword [0x180144770], rax
mov dword [0x180142684], r15d
mov dword [0x180145a38], r15d
je 0x18002f1b2
mov ecx, r12d
lea rdx, [0x180144890]
cmp qword [rdx], r12
jg 0x18002f1b2
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x18002f196
mov dword [0x180141be4], r15d
cmp ebx, 0xffffffff
jne 0x18002f1cb
xorps xmm0, xmm0
movdqa xmmword [0x18013b860], xmm0
jmp 0x18002f1fb
lea rcx, [0x180146070]
mov dword [0x180142680], r15d
call fcn.180032cf0
mov rax, qword [0x1801448e8]
add rax, 2
mov dword [0x180146078], ebx
mov qword [0x180146070], rax
call fcn.18002c950
cmp dword [0x180142680], r12d
jne 0x18002f222
call fcn.18002beb0
jmp 0x18002f222
mov eax, r12d
mov dword [0x180142684], r12d
mov dword [0x180146080], r15d
xchg dword [0x18014608c], eax
cmp dword [0x180142684], r12d
je 0x18002f369
lea rcx, [0x180142460]
mov edx, 3
lea rax, [0x180144c00]
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 0x18002f242
cmp dword [0x180142680], 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 0x18002f36e
mov dword [0x180141ed0], r12d
mov dword [0x180141ed4], 0x8000
mov dword [0x180144dc8], r12d
mov dword [0x180144dcc], 0x8000
call fcn.18002f3d0
movaps xmm0, xmmword [0x180145b40]
movaps xmm1, xmmword [0x180145b50]
movaps xmmword [0x180146070], xmm0
movaps xmm0, xmmword [0x180145b60]
movaps xmmword [0x180146090], xmm0
movaps xmm0, xmmword [0x180145b80]
movaps xmmword [0x180146080], xmm1
movaps xmm1, xmmword [0x180145b70]
movaps xmmword [0x1801460b0], xmm0
movsd xmm0, qword [0x180145ba0]
movaps xmmword [0x1801460a0], xmm1
movaps xmm1, xmmword [0x180145b90]
movsd qword [0x1801460d0], xmm0
movaps xmmword [0x1801460c0], xmm1
call fcn.18002beb0
jmp 0x18002f36e
call fcn.18002f3d0
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 [0x180141f08], rax
mov rax, qword [0x180144890]
mov qword [0x180141f10], rax
mov qword [0x180141eb0], 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 0x18002f3c3
add rsp, 0x58
jmp 0x18001f110
add rsp, 0x58
ret