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

Disassembly:
sub rsp, 0x28
cmp dword [0x18040b3c0], 0
je 0x18002345b
xor edx, edx
lea rcx, [0x180042b90]
call fcn.180016670
mov eax, dword [0x18040b3a8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x180408567], 0
cmp eax, 1
je 0x1800236c1
cmp qword [0x18040b380], 0
je 0x1800234cc
mov rcx, qword [0x180408790]
mov r8, qword [0x18040b3c8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x1800236a1
add rdx, r8
xor r8d, r8d
call fcn.180036190
test eax, eax
je 0x1800236a1
cmp byte [0x180408567], 0
jne 0x1800236a1
mov eax, dword [0x18040b3a8]
test eax, eax
jne 0x180023698
cmp dword [0x18040b3c0], eax
jne 0x180023698
cmp qword [0x18040b388], 0
je 0x180023698
xor edi, edi
mov dword [0x180408aa0], 1
mov qword [0x18040b3d8], rdi
call fcn.1800323d0
test eax, eax
jne 0x180023568
mov rbx, qword [0x1803fc128]
test rbx, rbx
je 0x18002355e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x18040b3d0]
sub rax, rdx
cmp rax, rcx
jb 0x180023551
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180036190
test eax, eax
je 0x1800236a1
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180023520
test edi, edi
jne 0x180023568
mov dword [0x180408aa0], 2
cmp byte [0x180408567], 0
jne 0x1800236a1
mov eax, dword [0x18040b3a8]
test eax, eax
jne 0x180023698
cmp dword [0x180408aa0], 2
jne 0x18002366d
mov rcx, qword [0x180408bd0]
xor edx, edx
mov r8, qword [0x18040b3d0]
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.1800351e0
mov rbx, rax
test rax, rax
je 0x180023659
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x1804073c0]
sub rdi, rsi
cmp eax, 4
jl 0x18002361f
mov eax, dword [0x1804073b8]
test al, 1
je 0x18002361f
call fcn.18000b9e0
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.180045b20
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.180007b30
mov eax, dword [0x18040b3a8]
mov rsi, qword [rsp + 0x38]
mov qword [0x18040b3d8], rbx
test eax, eax
je 0x180023674
jmp 0x180023698
mov eax, 1
mov qword [0x18040b3d8], rbx
mov dword [0x18040b3a8], eax
jmp 0x180023698
mov rbx, qword [0x18040b3d8]
test rbx, rbx
je 0x180023698
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x18040b3d0]
mov rcx, rbx
call fcn.180036190
test eax, eax
je 0x1800236a1
mov eax, dword [0x18040b3a8]
cmp byte [0x180408567], 0
je 0x1800236c1
mov dword [0x18040b3a8], 1
mov byte [0x180408567], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x18002370e
cmp qword [0x18040b388], 0
je 0x1800236e4
mov rcx, qword [0x18040b3d0]
mov qword [0x18040b640], rcx
mov qword [0x18040b648], rcx
cmp qword [0x18040b380], 0
je 0x180023703
mov rax, qword [0x18040b3c8]
mov qword [0x18040b430], rax
mov qword [0x18040b438], rax
mov qword [0x18040b390], 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, [0x180032bd0]
mov r14d, dword [0x18040cc50]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x18040b378], r12
mov qword [rax - 0x30], r12
call fcn.180016670
mov rdx, qword [0x180408790]
mov rax, qword [0x180408788]
mov qword [rdx], rax
cmp dword [0x18040cc50], 4
jne 0x1800330f6
cmp dword [0x18040b3c0], r12d
je 0x1800330f6
call fcn.180031bf0
test eax, eax
jne 0x1800330db
mov dword [0x18040b3a8], r15d
mov dword [0x18040cc18], 2
call fcn.180046ae0
inc qword [0x18040b9b8]
jmp 0x18003381e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.1800371a0
mov rdi, qword [0x180408a40]
mov eax, dword [0x1803fc308]
mov dword [0x18040cc4c], eax
mov qword [0x180408c68], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180033143
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.180097660
test rbx, rbx
jne 0x180033130
mov qword [rdi + 0x18], r12
mov rax, qword [0x180408a20]
cmp qword [0x1804073e0], rax
je 0x18003315c
call fcn.18002e190
call fcn.180040ef0
mov rbx, qword [0x1803fc118]
test rbx, rbx
je 0x180033182
test byte [rbx + 0x28], r15b
je 0x180033182
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180033182
test byte [rbx + 0x28], r15b
jne 0x180033173
mov rsi, r12
test rbx, rbx
je 0x1800331bf
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x1800331b4
call fcn.18001a5e0
movzx edx, al
mov rcx, rbx
call fcn.18002f780
mov qword [rsi + 0x30], rdi
jmp 0x1800331b7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x180033190
mov rbx, qword [0x1803fc228]
test rbx, rbx
je 0x1800331e0
test byte [rbx + 0x28], r15b
je 0x1800331e0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1800331e0
test byte [rbx + 0x28], r15b
jne 0x1800331d1
mov rsi, r12
test rbx, rbx
je 0x18003321f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x180033214
call fcn.18001a5e0
movzx edx, al
mov rcx, rbx
call fcn.18002f780
mov qword [rsi + 0x30], rdi
jmp 0x180033217
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x1800331f0
mov eax, dword [0x18040c3f8]
test eax, eax
jne 0x18003322e
call fcn.180040d10
xor r9d, r9d
lea r8, [0x18040b9d0]
lea rdx, [0x18040bdc0]
mov ecx, ebp
call fcn.1800345d0
mov ecx, dword [0x18040bdc0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x18040b9d0]
mov edx, ebp
mov dword [0x18040cc18], eax
call fcn.180038740
cmp dword [0x180406fb4], 4
mov dword [0x18040cc18], eax
jb 0x180033297
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.1800125a0
mov eax, dword [0x18040cc18]
cmp qword [0x18040b390], r12
mov ecx, dword [0x18040cc4c]
je 0x1800332c3
inc qword [0x18040b398]
cmp ecx, 0x11
ja 0x1800332c3
mov edx, 0x22e86
bt edx, ecx
jae 0x1800332c3
inc qword [0x18040b3a0]
cmp eax, r15d
jle 0x1800332cf
mov dword [0x18040cc1c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.180007b30
mov ecx, dword [0x18040cc18]
cmp ecx, 2
jne 0x18003334f
cmp dword [rsp + 0x68], r12d
jne 0x18003334f
cmp byte [0x180408564], r12b
je 0x18003334f
cmp byte [0x180408565], r12b
jne 0x18003334f
mov eax, dword [0x18040cc50]
dec eax
test eax, 0xfffffffd
jne 0x18003334f
mov eax, r15d
mov dword [0x1804091ec], r15d
xchg dword [0x18040cc2c], eax
movups xmm0, xmmword [0x180408ab8]
mov ecx, dword [0x18040cc18]
movups xmm1, xmmword [0x180408ac8]
movups xmmword [0x180408fd0], xmm0
movups xmm0, xmmword [0x180408ad8]
movups xmmword [0x180408fe0], xmm1
movups xmmword [0x180408ff0], xmm0
mov edx, dword [0x18040b488]
inc edx
mov qword [0x18040cc10], rdx
mov edx, 2
call fcn.18000bcf0
call fcn.180030dc0
lea rcx, str.BEGIN
call fcn.18002f9e0
call fcn.18001a590
test r15b, al
je 0x180033394
call fcn.18001a590
test al, 0x40
jne 0x180033394
mov ecx, r15d
call fcn.180046e10
call fcn.18001a590
cmp dword [0x18040cc2c], r12d
je 0x1800337e7
movaps xmm0, xmmword [0x18040cc10]
lea rcx, [0x1804091f8]
movaps xmmword [0x18040c6e0], xmm0
movaps xmm0, xmmword [0x18040cc30]
movaps xmmword [0x18040c700], xmm0
movaps xmm0, xmmword [0x18040cc50]
mov dword [0x18040cc20], r12d
movaps xmm1, xmmword [0x18040cc20]
movaps xmmword [0x18040c6f0], xmm1
movaps xmm1, xmmword [0x18040cc40]
movaps xmmword [0x18040c720], xmm0
movsd xmm0, qword [0x18040cc70]
movaps xmmword [0x18040c710], xmm1
movaps xmm1, xmmword [0x18040cc60]
movsd qword [0x18040c740], xmm0
movaps xmmword [0x18040c730], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x1804091e8], r12d
jne 0x180033487
cmp qword [0x1804091f0], r12
jne 0x180033487
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x180029f40]
call fcn.18000b6a0
movzx eax, al
mov dword [0x1804091e8], eax
test eax, eax
je 0x180033487
lea rcx, [0x1804091f8]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x1804073c0]
cmp eax, 4
jl 0x180033493
mov eax, dword [0x1804073b8]
test r15b, al
je 0x180033493
call fcn.18000b9e0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x180033493
lea rcx, [0x1804091f8]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x1804091f0], r12
mov dword [0x180409224], r15d
mov dword [0x180409220], r12d
je 0x180033686
lea rdi, [0x1803fc008]
lea rsi, [0x1803fc338]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1800335bb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x1800334f8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1800335bb
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x1800334e0
test rbx, rbx
je 0x1800335bb
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x1800335ae
test r15b, al
je 0x18003357e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x180408bf0]
mov r8, qword [0x180408bf8]
cmp rcx, rax
jb 0x180033552
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x18003354d
mov r8, qword [0x180408a30]
call fcn.18002c9e0
test eax, eax
je 0x180033686
or qword [rbx + 0x28], 0x40
jmp 0x1800335ae
cmp rax, rcx
jbe 0x180033555
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x180408a30]
call fcn.18002c9e0
test eax, eax
je 0x180033686
or qword [rbx + 0x28], 0x80
jmp 0x1800335ae
mov r8, qword [0x180408a30]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.18002c9e0
test eax, eax
je 0x180033686
mov rax, qword [rbx + 0x28]
test al, al
jns 0x1800335a6
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180033501
add rdi, 0x110
cmp rdi, rsi
jl 0x1800334c0
mov rax, qword [0x180408bf0]
mov ebx, 0xffffffff
cmp dword [0x18040cc4c], 5
mov qword [0x18040b308], rax
mov rax, qword [0x180408bf8]
cmove ebx, r15d
mov qword [0x18040b310], rax
mov dword [0x180409224], r15d
mov dword [0x18040c5d8], r15d
je 0x18003362d
mov ecx, r12d
lea rdx, [0x18040b430]
cmp qword [rdx], r12
jg 0x18003362d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x180033611
mov dword [0x180408784], r15d
cmp ebx, 0xffffffff
jne 0x180033646
xorps xmm0, xmm0
movdqa xmmword [0x1803fbdb0], xmm0
jmp 0x180033676
lea rcx, [0x18040cc10]
mov dword [0x180409220], r15d
call fcn.180037140
mov rax, qword [0x18040b488]
add rax, 2
mov dword [0x18040cc18], ebx
mov qword [0x18040cc10], rax
call fcn.180030dc0
cmp dword [0x180409220], r12d
jne 0x18003369d
call fcn.180030320
jmp 0x18003369d
mov eax, r12d
mov dword [0x180409224], r12d
mov dword [0x18040cc20], r15d
xchg dword [0x18040cc2c], eax
cmp dword [0x180409224], r12d
je 0x1800337e7
lea rcx, [0x180409000]
mov edx, 3
lea rax, [0x18040b7a0]
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 0x1800336c0
cmp dword [0x180409220], 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 0x1800337ec
mov dword [0x180408a70], r12d
mov dword [0x180408a74], 0x8000
mov dword [0x18040b968], r12d
mov dword [0x18040b96c], 0x8000
call fcn.180033850
movaps xmm0, xmmword [0x18040c6e0]
movaps xmm1, xmmword [0x18040c6f0]
movaps xmmword [0x18040cc10], xmm0
movaps xmm0, xmmword [0x18040c700]
movaps xmmword [0x18040cc30], xmm0
movaps xmm0, xmmword [0x18040c720]
movaps xmmword [0x18040cc20], xmm1
movaps xmm1, xmmword [0x18040c710]
movaps xmmword [0x18040cc50], xmm0
movsd xmm0, qword [0x18040c740]
movaps xmmword [0x18040cc40], xmm1
movaps xmm1, xmmword [0x18040c730]
movsd qword [0x18040cc70], xmm0
movaps xmmword [0x18040cc60], xmm1
call fcn.180030320
jmp 0x1800337ec
call fcn.180033850
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 [0x180408aa8], rax
mov rax, qword [0x18040b430]
mov qword [0x180408ab0], rax
mov qword [0x180408a50], 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 0x180033841
add rsp, 0x58
jmp 0x180023440
add rsp, 0x58
ret