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

Disassembly:
sub rsp, 0x28
cmp dword [0x180322ec0], 0
je 0x180020b5b
xor edx, edx
lea rcx, [0x180040290]
call fcn.1800154d0
mov eax, dword [0x180322ea8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x180320067], 0
cmp eax, 1
je 0x180020dc1
cmp qword [0x180322e80], 0
je 0x180020bcc
mov rcx, qword [0x180320290]
mov r8, qword [0x180322ec8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x180020da1
add rdx, r8
xor r8d, r8d
call fcn.180033890
test eax, eax
je 0x180020da1
cmp byte [0x180320067], 0
jne 0x180020da1
mov eax, dword [0x180322ea8]
test eax, eax
jne 0x180020d98
cmp dword [0x180322ec0], eax
jne 0x180020d98
cmp qword [0x180322e88], 0
je 0x180020d98
xor edi, edi
mov dword [0x1803205a0], 1
mov qword [0x180322ed8], rdi
call fcn.18002fad0
test eax, eax
jne 0x180020c68
mov rbx, qword [0x180316968]
test rbx, rbx
je 0x180020c5e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x180322ed0]
sub rax, rdx
cmp rax, rcx
jb 0x180020c51
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180033890
test eax, eax
je 0x180020da1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180020c20
test edi, edi
jne 0x180020c68
mov dword [0x1803205a0], 2
cmp byte [0x180320067], 0
jne 0x180020da1
mov eax, dword [0x180322ea8]
test eax, eax
jne 0x180020d98
cmp dword [0x1803205a0], 2
jne 0x180020d6d
mov rcx, qword [0x1803206d0]
xor edx, edx
mov r8, qword [0x180322ed0]
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.1800328e0
mov rbx, rax
test rax, rax
je 0x180020d59
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x18031ef30]
sub rdi, rsi
cmp eax, 4
jl 0x180020d1f
mov eax, dword [0x18031ef28]
test al, 1
je 0x180020d1f
call fcn.18000aa50
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.180043220
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.1800076c0
mov eax, dword [0x180322ea8]
mov rsi, qword [rsp + 0x38]
mov qword [0x180322ed8], rbx
test eax, eax
je 0x180020d74
jmp 0x180020d98
mov eax, 1
mov qword [0x180322ed8], rbx
mov dword [0x180322ea8], eax
jmp 0x180020d98
mov rbx, qword [0x180322ed8]
test rbx, rbx
je 0x180020d98
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x180322ed0]
mov rcx, rbx
call fcn.180033890
test eax, eax
je 0x180020da1
mov eax, dword [0x180322ea8]
cmp byte [0x180320067], 0
je 0x180020dc1
mov dword [0x180322ea8], 1
mov byte [0x180320067], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x180020e0e
cmp qword [0x180322e88], 0
je 0x180020de4
mov rcx, qword [0x180322ed0]
mov qword [0x180323140], rcx
mov qword [0x180323148], rcx
cmp qword [0x180322e80], 0
je 0x180020e03
mov rax, qword [0x180322ec8]
mov qword [0x180322f30], rax
mov qword [0x180322f38], rax
mov qword [0x180322e90], 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, [0x1800302d0]
mov r14d, dword [0x180324750]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x180322e78], r12
mov qword [rax - 0x30], r12
call fcn.1800154d0
mov rdx, qword [0x180320290]
mov rax, qword [0x180320288]
mov qword [rdx], rax
cmp dword [0x180324750], 4
jne 0x1800307f6
cmp dword [0x180322ec0], r12d
je 0x1800307f6
call fcn.18002f2f0
test eax, eax
jne 0x1800307db
mov dword [0x180322ea8], r15d
mov dword [0x180324718], 2
call fcn.1800441e0
inc qword [0x1803234b8]
jmp 0x180030f1e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.1800348a0
mov rdi, qword [0x180320540]
mov eax, dword [0x180316b48]
mov dword [0x18032474c], eax
mov qword [0x180320768], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180030843
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.18006dba0
test rbx, rbx
jne 0x180030830
mov qword [rdi + 0x18], r12
mov rax, qword [0x180320520]
cmp qword [0x18031ef50], rax
je 0x18003085c
call fcn.18002b890
call fcn.18003e5f0
mov rbx, qword [0x180316958]
test rbx, rbx
je 0x180030882
test byte [rbx + 0x28], r15b
je 0x180030882
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180030882
test byte [rbx + 0x28], r15b
jne 0x180030873
mov rsi, r12
test rbx, rbx
je 0x1800308bf
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x1800308b4
call fcn.180018b40
movzx edx, al
mov rcx, rbx
call fcn.18002ce80
mov qword [rsi + 0x30], rdi
jmp 0x1800308b7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x180030890
mov rbx, qword [0x180316a68]
test rbx, rbx
je 0x1800308e0
test byte [rbx + 0x28], r15b
je 0x1800308e0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1800308e0
test byte [rbx + 0x28], r15b
jne 0x1800308d1
mov rsi, r12
test rbx, rbx
je 0x18003091f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x180030914
call fcn.180018b40
movzx edx, al
mov rcx, rbx
call fcn.18002ce80
mov qword [rsi + 0x30], rdi
jmp 0x180030917
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x1800308f0
mov eax, dword [0x180323ef8]
test eax, eax
jne 0x18003092e
call fcn.18003e410
xor r9d, r9d
lea r8, [0x1803234d0]
lea rdx, [0x1803238c0]
mov ecx, ebp
call fcn.180031cd0
mov ecx, dword [0x1803238c0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x1803234d0]
mov edx, ebp
mov dword [0x180324718], eax
call fcn.180035e40
cmp dword [0x18031e1b4], 4
mov dword [0x180324718], eax
jb 0x180030997
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.1800102c0
mov eax, dword [0x180324718]
cmp qword [0x180322e90], r12
mov ecx, dword [0x18032474c]
je 0x1800309c3
inc qword [0x180322e98]
cmp ecx, 0x11
ja 0x1800309c3
mov edx, 0x22e86
bt edx, ecx
jae 0x1800309c3
inc qword [0x180322ea0]
cmp eax, r15d
jle 0x1800309cf
mov dword [0x18032471c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.1800076c0
mov ecx, dword [0x180324718]
cmp ecx, 2
jne 0x180030a4f
cmp dword [rsp + 0x68], r12d
jne 0x180030a4f
cmp byte [0x180320064], r12b
je 0x180030a4f
cmp byte [0x180320065], r12b
jne 0x180030a4f
mov eax, dword [0x180324750]
dec eax
test eax, 0xfffffffd
jne 0x180030a4f
mov eax, r15d
mov dword [0x180320cec], r15d
xchg dword [0x18032472c], eax
movups xmm0, xmmword [0x1803205b8]
mov ecx, dword [0x180324718]
movups xmm1, xmmword [0x1803205c8]
movups xmmword [0x180320ad0], xmm0
movups xmm0, xmmword [0x1803205d8]
movups xmmword [0x180320ae0], xmm1
movups xmmword [0x180320af0], xmm0
mov edx, dword [0x180322f88]
inc edx
mov qword [0x180324710], rdx
mov edx, 2
call fcn.18000ad60
call fcn.18002e4c0
lea rcx, str.BEGIN
call fcn.18002d0e0
call fcn.180018b00
test r15b, al
je 0x180030a94
call fcn.180018b00
test al, 0x40
jne 0x180030a94
mov ecx, r15d
call fcn.180044510
call fcn.180018b00
cmp dword [0x18032472c], r12d
je 0x180030ee7
movaps xmm0, xmmword [0x180324710]
lea rcx, [0x180320cf8]
movaps xmmword [0x1803241e0], xmm0
movaps xmm0, xmmword [0x180324730]
movaps xmmword [0x180324200], xmm0
movaps xmm0, xmmword [0x180324750]
mov dword [0x180324720], r12d
movaps xmm1, xmmword [0x180324720]
movaps xmmword [0x1803241f0], xmm1
movaps xmm1, xmmword [0x180324740]
movaps xmmword [0x180324220], xmm0
movsd xmm0, qword [0x180324770]
movaps xmmword [0x180324210], xmm1
movaps xmm1, xmmword [0x180324760]
movsd qword [0x180324240], xmm0
movaps xmmword [0x180324230], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x180320ce8], r12d
jne 0x180030b87
cmp qword [0x180320cf0], r12
jne 0x180030b87
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x180027640]
call fcn.18000a710
movzx eax, al
mov dword [0x180320ce8], eax
test eax, eax
je 0x180030b87
lea rcx, [0x180320cf8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x18031ef30]
cmp eax, 4
jl 0x180030b93
mov eax, dword [0x18031ef28]
test r15b, al
je 0x180030b93
call fcn.18000aa50
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x180030b93
lea rcx, [0x180320cf8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x180320cf0], r12
mov dword [0x180320d24], r15d
mov dword [0x180320d20], r12d
je 0x180030d86
lea rdi, [0x180316848]
lea rsi, [0x180316b78]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x180030cbb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x180030bf8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180030cbb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x180030be0
test rbx, rbx
je 0x180030cbb
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x180030cae
test r15b, al
je 0x180030c7e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x1803206f0]
mov r8, qword [0x1803206f8]
cmp rcx, rax
jb 0x180030c52
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x180030c4d
mov r8, qword [0x180320530]
call fcn.18002a0e0
test eax, eax
je 0x180030d86
or qword [rbx + 0x28], 0x40
jmp 0x180030cae
cmp rax, rcx
jbe 0x180030c55
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x180320530]
call fcn.18002a0e0
test eax, eax
je 0x180030d86
or qword [rbx + 0x28], 0x80
jmp 0x180030cae
mov r8, qword [0x180320530]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.18002a0e0
test eax, eax
je 0x180030d86
mov rax, qword [rbx + 0x28]
test al, al
jns 0x180030ca6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180030c01
add rdi, 0x110
cmp rdi, rsi
jl 0x180030bc0
mov rax, qword [0x1803206f0]
mov ebx, 0xffffffff
cmp dword [0x18032474c], 5
mov qword [0x180322e08], rax
mov rax, qword [0x1803206f8]
cmove ebx, r15d
mov qword [0x180322e10], rax
mov dword [0x180320d24], r15d
mov dword [0x1803240d8], r15d
je 0x180030d2d
mov ecx, r12d
lea rdx, [0x180322f30]
cmp qword [rdx], r12
jg 0x180030d2d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x180030d11
mov dword [0x180320284], r15d
cmp ebx, 0xffffffff
jne 0x180030d46
xorps xmm0, xmm0
movdqa xmmword [0x1803165f0], xmm0
jmp 0x180030d76
lea rcx, [0x180324710]
mov dword [0x180320d20], r15d
call fcn.180034840
mov rax, qword [0x180322f88]
add rax, 2
mov dword [0x180324718], ebx
mov qword [0x180324710], rax
call fcn.18002e4c0
cmp dword [0x180320d20], r12d
jne 0x180030d9d
call fcn.18002da20
jmp 0x180030d9d
mov eax, r12d
mov dword [0x180320d24], r12d
mov dword [0x180324720], r15d
xchg dword [0x18032472c], eax
cmp dword [0x180320d24], r12d
je 0x180030ee7
lea rcx, [0x180320b00]
mov edx, 3
lea rax, [0x1803232a0]
nop dword [rax]
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 0x180030dc0
cmp dword [0x180320d20], 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 0x180030eec
mov dword [0x180320570], r12d
mov dword [0x180320574], 0x8000
mov dword [0x180323468], r12d
mov dword [0x18032346c], 0x8000
call fcn.180030f50
movaps xmm0, xmmword [0x1803241e0]
movaps xmm1, xmmword [0x1803241f0]
movaps xmmword [0x180324710], xmm0
movaps xmm0, xmmword [0x180324200]
movaps xmmword [0x180324730], xmm0
movaps xmm0, xmmword [0x180324220]
movaps xmmword [0x180324720], xmm1
movaps xmm1, xmmword [0x180324210]
movaps xmmword [0x180324750], xmm0
movsd xmm0, qword [0x180324240]
movaps xmmword [0x180324740], xmm1
movaps xmm1, xmmword [0x180324230]
movsd qword [0x180324770], xmm0
movaps xmmword [0x180324760], xmm1
call fcn.18002da20
jmp 0x180030eec
call fcn.180030f50
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 [0x1803205a8], rax
mov rax, qword [0x180322f30]
mov qword [0x1803205b0], rax
mov qword [0x180320550], 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 0x180030f41
add rsp, 0x58
jmp 0x180020b40
add rsp, 0x58
ret