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

Disassembly:
sub rsp, 0x28
cmp dword [0x180395660], 0
je 0x1800214bb
xor edx, edx
lea rcx, [0x180040840]
call fcn.180015e20
mov eax, dword [0x180395648]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x1803934bb], 0
cmp eax, 1
je 0x180021721
cmp qword [0x180395620], 0
je 0x18002152c
mov rcx, qword [0x180392a50]
mov r8, qword [0x180395618]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x180021701
add rdx, r8
xor r8d, r8d
call fcn.180033c60
test eax, eax
je 0x180021701
cmp byte [0x1803934bb], 0
jne 0x180021701
mov eax, dword [0x180395648]
test eax, eax
jne 0x1800216f8
cmp dword [0x180395660], eax
jne 0x1800216f8
cmp qword [0x180395628], 0
je 0x1800216f8
xor edi, edi
mov dword [0x180392cf4], 1
mov qword [0x180395670], rdi
call fcn.18002fee0
test eax, eax
jne 0x1800215c8
mov rbx, qword [0x180387bf8]
test rbx, rbx
je 0x1800215be
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x180395668]
sub rax, rdx
cmp rax, rcx
jb 0x1800215b1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180033c60
test eax, eax
je 0x180021701
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180021580
test edi, edi
jne 0x1800215c8
mov dword [0x180392cf4], 2
cmp byte [0x1803934bb], 0
jne 0x180021701
mov eax, dword [0x180395648]
test eax, eax
jne 0x1800216f8
cmp dword [0x180392cf4], 2
jne 0x1800216cd
mov rcx, qword [0x180392e70]
xor edx, edx
mov r8, qword [0x180395668]
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.180032cb0
mov rbx, rax
test rax, rax
je 0x1800216b9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1803916f0]
sub rdi, rsi
cmp eax, 4
jl 0x18002167f
mov eax, dword [0x1803916e8]
test al, 1
je 0x18002167f
call fcn.18000b460
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.180043580
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.1800084c0
mov eax, dword [0x180395648]
mov rsi, qword [rsp + 0x38]
mov qword [0x180395670], rbx
test eax, eax
je 0x1800216d4
jmp 0x1800216f8
mov eax, 1
mov qword [0x180395670], rbx
mov dword [0x180395648], eax
jmp 0x1800216f8
mov rbx, qword [0x180395670]
test rbx, rbx
je 0x1800216f8
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x180395668]
mov rcx, rbx
call fcn.180033c60
test eax, eax
je 0x180021701
mov eax, dword [0x180395648]
cmp byte [0x1803934bb], 0
je 0x180021721
mov dword [0x180395648], 1
mov byte [0x1803934bb], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x18002176e
cmp qword [0x180395628], 0
je 0x180021744
mov rcx, qword [0x180395668]
mov qword [0x1803958d0], rcx
mov qword [0x1803958d8], rcx
cmp qword [0x180395620], 0
je 0x180021763
mov rax, qword [0x180395618]
mov qword [0x1803956c0], rax
mov qword [0x1803956c8], rax
mov qword [0x180395630], 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 - 0x10], r12
mov ebp, ecx
mov qword [rax - 0x18], r13
lea rcx, [0x1800306d0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, dword [0x180396eb0]
mov r13d, 1
mov dword [rax - 0x38], r13d
mov qword [0x180395610], r12
mov qword [rax - 0x30], r12
call fcn.180015e20
mov rdx, qword [0x180392a50]
mov rax, qword [0x180392a48]
mov qword [rdx], rax
cmp dword [0x180396eb0], 4
jne 0x180030bfd
cmp dword [0x180395660], r12d
je 0x180030bfd
call fcn.18002f6f0
mov ecx, dword [0x180395648]
test eax, eax
mov dword [0x180396e78], 2
cmove ecx, r13d
mov dword [0x180395648], ecx
call fcn.180044520
inc qword [0x180395c48]
jmp 0x1800312f0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], r14
call fcn.180034c50
mov rdi, qword [0x180392ce0]
mov eax, dword [0x180387dd8]
mov dword [0x180396eac], eax
mov qword [0x180392f00], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180030c53
nop dword [rax]
mov rcx, rbx
mov rdx, r13
mov rbx, qword [rbx]
call fcn.18006ddd0
test rbx, rbx
jne 0x180030c40
mov qword [rdi + 0x18], r12
mov rax, qword [0x180392cc0]
cmp qword [0x180391710], rax
je 0x180030c6c
call fcn.18002bed0
call fcn.18003ec80
lea r14, [0x180387be8]
mov rbx, qword [r14]
test rbx, rbx
je 0x180030c95
test byte [rbx + 0x28], r13b
je 0x180030c95
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180030c95
test byte [rbx + 0x28], r13b
jne 0x180030c86
mov rsi, r12
test rbx, rbx
je 0x180030cd4
nop dword [rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x180030cc9
call fcn.180019490
test al, al
mov edx, r12d
mov rcx, rbx
setne dl
call fcn.18002d370
mov qword [rsi + 0x30], rdi
jmp 0x180030ccc
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x180030ca0
add r14, 0x110
lea rsi, [0x180387e08]
cmp r14, rsi
jl 0x180030c78
mov eax, dword [0x1803964ac]
mov r14, qword [rsp + 0x38]
test eax, eax
jne 0x180030cfb
call fcn.18003eaa0
xor r9d, r9d
lea r8, [0x180395c3c]
lea rdx, [0x18039601c]
mov ecx, ebp
call fcn.180032060
mov edx, dword [0x18039601c]
lea r9, [rsp + 0x68]
mov ecx, dword [0x180395c3c]
mov r8d, eax
mov dword [rsp + 0x68], edx
mov edx, ebp
mov dword [0x180396e78], eax
call fcn.180036220
cmp dword [0x1803909a4], 4
movsxd r8, eax
mov dword [0x180396e78], r8d
jb 0x180030d69
mov r9, r8
mov edx, r13d
lea r8, str.condemned_generation_num:__d_n
mov ecx, 0xd
call fcn.180011460
mov r8d, dword [0x180396e78]
cmp qword [0x180395630], r12
mov ecx, dword [0x180396eac]
je 0x180030d95
inc qword [0x180395638]
cmp ecx, 0x11
ja 0x180030d95
mov eax, 0x22e86
bt eax, ecx
jae 0x180030d95
inc qword [0x180395640]
mov eax, dword [0x180396e7c]
cmp r8d, r13d
cmovg eax, r13d
cmp ecx, r13d
mov ecx, r8d
mov dword [0x180396e7c], eax
sete dl
call fcn.1800084c0
mov ecx, dword [0x180396e78]
cmp ecx, 2
jne 0x180030e29
cmp dword [rsp + 0x68], r12d
jne 0x180030e29
cmp byte [0x1803934b8], r12b
je 0x180030e29
cmp byte [0x1803934b9], r12b
jne 0x180030e29
mov eax, dword [0x180396eb0]
dec eax
test eax, 0xfffffffd
jne 0x180030e29
mov eax, r13d
mov dword [0x180392f3c], r13d
xchg dword [0x180396e8c], eax
movups xmm0, xmmword [0x180392d58]
mov ecx, dword [0x180396e78]
movups xmm1, xmmword [0x180392d68]
movups xmmword [0x180393270], xmm0
movups xmm0, xmmword [0x180392d78]
movups xmmword [0x180393280], xmm1
movups xmmword [0x180393290], xmm0
mov edx, dword [0x180395718]
inc edx
mov qword [0x180396e70], rdx
mov edx, 2
call fcn.18000b770
call fcn.18002e8c0
lea rcx, str.BEGIN
call fcn.18002d5d0
call fcn.180019450
test r13b, al
je 0x180030e6e
call fcn.180019450
test al, 0x40
jne 0x180030e6e
mov ecx, r13d
call fcn.180044920
call fcn.180019450
cmp dword [0x180396e8c], r12d
je 0x1800312b9
movaps xmm0, xmmword [0x180396e70]
lea rcx, [0x180393490]
movaps xmmword [0x180396940], xmm0
movaps xmm0, xmmword [0x180396e90]
movaps xmmword [0x180396960], xmm0
movaps xmm0, xmmword [0x180396eb0]
mov dword [0x180396e80], r12d
movaps xmm1, xmmword [0x180396e80]
movaps xmmword [0x180396950], xmm1
movaps xmm1, xmmword [0x180396ea0]
movaps xmmword [0x180396980], xmm0
movsd xmm0, qword [0x180396ed0]
movaps xmmword [0x180396970], xmm1
movaps xmm1, xmmword [0x180396ec0]
movsd qword [0x1803969a0], xmm0
movaps xmmword [0x180396990], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x180392f38], r12d
jne 0x180030f61
cmp qword [0x180393488], r12
jne 0x180030f61
lea r9, str..NET_BGC
movzx r8d, r13b
xor edx, edx
lea rcx, [0x180027e10]
call fcn.18000b120
movzx eax, al
mov dword [0x180392f38], eax
test eax, eax
je 0x180030f61
lea rcx, [0x180393490]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1803916f0]
cmp eax, 4
jl 0x180030f6d
mov eax, dword [0x1803916e8]
test r13b, al
je 0x180030f6d
call fcn.18000b460
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x180030f6d
lea rcx, [0x180393490]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x180393488], r12
mov dword [0x1803934c0], r13d
mov dword [0x1803934bc], r12d
je 0x18003115b
lea rdi, [0x180387ad8]
nop
mov rbx, qword [rdi]
test rbx, rbx
je 0x180031090
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r13b
jne 0x180030fc8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180031090
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r13b
je 0x180030fb0
test rbx, rbx
je 0x180031090
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x180031083
test r13b, al
je 0x180031053
mov rcx, qword [rbx + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [0x180392e90]
mov r8, qword [0x180392e98]
cmp rcx, rax
jb 0x180031028
mov r9, qword [rdx]
cmp r9, r8
ja 0x180031023
mov r8, qword [0x180392cd0]
mov rdx, r9
call fcn.18002a730
test eax, eax
je 0x18003115b
or qword [rbx + 0x28], 0x40
jmp 0x180031083
cmp rax, rcx
jbe 0x18003102b
mov rcx, rax
mov rdx, qword [rdx]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x180392cd0]
call fcn.18002a730
test eax, eax
je 0x18003115b
or qword [rbx + 0x28], 0x80
jmp 0x180031083
mov r8, qword [0x180392cd0]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.18002a730
test eax, eax
je 0x18003115b
mov rax, qword [rbx + 0x28]
test al, al
jns 0x18003107b
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180030fd1
add rdi, 0x110
cmp rdi, rsi
jl 0x180030f90
mov rax, qword [0x180392e90]
mov ebx, 0xffffffff
cmp dword [0x180396eac], 5
mov qword [0x1803955a0], rax
mov rax, qword [0x180392e98]
cmove ebx, r13d
mov qword [0x1803955a8], rax
mov dword [0x1803934c0], r13d
mov dword [0x180396ed8], r13d
je 0x180031102
mov ecx, r12d
lea rdx, [0x1803956c0]
cmp qword [rdx], r12
jg 0x180031102
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x1800310e6
mov dword [0x180392a40], r13d
cmp ebx, 0xffffffff
jne 0x18003111b
xorps xmm0, xmm0
movdqa xmmword [0x180387880], xmm0
jmp 0x18003114b
lea rcx, [0x180396e70]
mov dword [0x1803934bc], r13d
call fcn.180034bf0
mov rax, qword [0x180395718]
add rax, 2
mov dword [0x180396e78], ebx
mov qword [0x180396e70], rax
call fcn.18002e8c0
cmp dword [0x1803934bc], r12d
jne 0x180031172
call fcn.18002de20
jmp 0x180031172
mov eax, r12d
mov dword [0x1803934c0], r12d
mov dword [0x180396e80], r13d
xchg dword [0x180396e8c], eax
cmp dword [0x1803934c0], r12d
je 0x1800312b9
lea rcx, [0x1803932a0]
mov edx, 3
lea rax, [0x180395a30]
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, r13
jne 0x180031192
cmp dword [0x1803934bc], 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 0x1800312be
mov dword [0x180392d18], r12d
mov dword [0x180392d1c], 0x8000
mov dword [0x180395bf8], r12d
mov dword [0x180395bfc], 0x8000
call fcn.180031320
movaps xmm0, xmmword [0x180396940]
movaps xmm1, xmmword [0x180396950]
movaps xmmword [0x180396e70], xmm0
movaps xmm0, xmmword [0x180396960]
movaps xmmword [0x180396e90], xmm0
movaps xmm0, xmmword [0x180396980]
movaps xmmword [0x180396e80], xmm1
movaps xmm1, xmmword [0x180396970]
movaps xmmword [0x180396eb0], xmm0
movsd xmm0, qword [0x1803969a0]
movaps xmmword [0x180396ea0], xmm1
movaps xmm1, xmmword [0x180396990]
movsd qword [0x180396ed0], xmm0
movaps xmmword [0x180396ec0], xmm1
call fcn.18002de20
jmp 0x1800312be
call fcn.180031320
call sub.KERNEL32.dll_GetTickCount
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
mov eax, eax
mov qword [0x180392d48], rax
mov rax, qword [0x1803956c0]
mov qword [0x180392d50], rax
mov qword [0x180392cf8], rax
mov r13, qword [rsp + 0x40]
cmp r15d, 4
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
jne 0x180031313
add rsp, 0x58
jmp 0x1800214a0
add rsp, 0x58
ret