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

Disassembly:
sub rsp, 0x28
cmp dword [0x180409c20], 0
je 0x1800233cb
xor edx, edx
lea rcx, [0x180042b00]
call fcn.1800165e0
mov eax, dword [0x180409c08]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x180406dc7], 0
cmp eax, 1
je 0x180023631
cmp qword [0x180409be0], 0
je 0x18002343c
mov rcx, qword [0x180406ff0]
mov r8, qword [0x180409c28]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x180023611
add rdx, r8
xor r8d, r8d
call fcn.180036100
test eax, eax
je 0x180023611
cmp byte [0x180406dc7], 0
jne 0x180023611
mov eax, dword [0x180409c08]
test eax, eax
jne 0x180023608
cmp dword [0x180409c20], eax
jne 0x180023608
cmp qword [0x180409be8], 0
je 0x180023608
xor edi, edi
mov dword [0x180407300], 1
mov qword [0x180409c38], rdi
call fcn.180032340
test eax, eax
jne 0x1800234d8
mov rbx, qword [0x1803faae8]
test rbx, rbx
je 0x1800234ce
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x180409c30]
sub rax, rdx
cmp rax, rcx
jb 0x1800234c1
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.180036100
test eax, eax
je 0x180023611
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180023490
test edi, edi
jne 0x1800234d8
mov dword [0x180407300], 2
cmp byte [0x180406dc7], 0
jne 0x180023611
mov eax, dword [0x180409c08]
test eax, eax
jne 0x180023608
cmp dword [0x180407300], 2
jne 0x1800235dd
mov rcx, qword [0x180407430]
xor edx, edx
mov r8, qword [0x180409c30]
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.180035150
mov rbx, rax
test rax, rax
je 0x1800235c9
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x180405c20]
sub rdi, rsi
cmp eax, 4
jl 0x18002358f
mov eax, dword [0x180405c18]
test al, 1
je 0x18002358f
call fcn.18000b950
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.180045a90
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.1800085c0
mov eax, dword [0x180409c08]
mov rsi, qword [rsp + 0x38]
mov qword [0x180409c38], rbx
test eax, eax
je 0x1800235e4
jmp 0x180023608
mov eax, 1
mov qword [0x180409c38], rbx
mov dword [0x180409c08], eax
jmp 0x180023608
mov rbx, qword [0x180409c38]
test rbx, rbx
je 0x180023608
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x180409c30]
mov rcx, rbx
call fcn.180036100
test eax, eax
je 0x180023611
mov eax, dword [0x180409c08]
cmp byte [0x180406dc7], 0
je 0x180023631
mov dword [0x180409c08], 1
mov byte [0x180406dc7], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x18002367e
cmp qword [0x180409be8], 0
je 0x180023654
mov rcx, qword [0x180409c30]
mov qword [0x180409ea0], rcx
mov qword [0x180409ea8], rcx
cmp qword [0x180409be0], 0
je 0x180023673
mov rax, qword [0x180409c28]
mov qword [0x180409c90], rax
mov qword [0x180409c98], rax
mov qword [0x180409bf0], 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, [0x180032b40]
mov r14d, dword [0x18040b4b0]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x180409bd8], r12
mov qword [rax - 0x30], r12
call fcn.1800165e0
mov rdx, qword [0x180406ff0]
mov rax, qword [0x180406fe8]
mov qword [rdx], rax
cmp dword [0x18040b4b0], 4
jne 0x180033066
cmp dword [0x180409c20], r12d
je 0x180033066
call fcn.180031b60
test eax, eax
jne 0x18003304b
mov dword [0x180409c08], r15d
mov dword [0x18040b478], 2
call fcn.180046a50
inc qword [0x18040a218]
jmp 0x18003378e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.180037110
mov rdi, qword [0x1804072a0]
mov eax, dword [0x1803facc8]
mov dword [0x18040b4ac], eax
mov qword [0x1804074c8], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1800330b3
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.1800975c0
test rbx, rbx
jne 0x1800330a0
mov qword [rdi + 0x18], r12
mov rax, qword [0x180407280]
cmp qword [0x180405c40], rax
je 0x1800330cc
call fcn.18002e100
call fcn.180040e60
mov rbx, qword [0x1803faad8]
test rbx, rbx
je 0x1800330f2
test byte [rbx + 0x28], r15b
je 0x1800330f2
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1800330f2
test byte [rbx + 0x28], r15b
jne 0x1800330e3
mov rsi, r12
test rbx, rbx
je 0x18003312f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x180033124
call fcn.18001a550
movzx edx, al
mov rcx, rbx
call fcn.18002f6f0
mov qword [rsi + 0x30], rdi
jmp 0x180033127
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x180033100
mov rbx, qword [0x1803fabe8]
test rbx, rbx
je 0x180033150
test byte [rbx + 0x28], r15b
je 0x180033150
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x180033150
test byte [rbx + 0x28], r15b
jne 0x180033141
mov rsi, r12
test rbx, rbx
je 0x18003318f
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x180033184
call fcn.18001a550
movzx edx, al
mov rcx, rbx
call fcn.18002f6f0
mov qword [rsi + 0x30], rdi
jmp 0x180033187
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x180033160
mov eax, dword [0x18040ac58]
test eax, eax
jne 0x18003319e
call fcn.180040c80
xor r9d, r9d
lea r8, [0x18040a230]
lea rdx, [0x18040a620]
mov ecx, ebp
call fcn.180034540
mov ecx, dword [0x18040a620]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x18040a230]
mov edx, ebp
mov dword [0x18040b478], eax
call fcn.1800386b0
cmp dword [0x180404ea4], 4
mov dword [0x18040b478], eax
jb 0x180033207
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.180011460
mov eax, dword [0x18040b478]
cmp qword [0x180409bf0], r12
mov ecx, dword [0x18040b4ac]
je 0x180033233
inc qword [0x180409bf8]
cmp ecx, 0x11
ja 0x180033233
mov edx, 0x22e86
bt edx, ecx
jae 0x180033233
inc qword [0x180409c00]
cmp eax, r15d
jle 0x18003323f
mov dword [0x18040b47c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.1800085c0
mov ecx, dword [0x18040b478]
cmp ecx, 2
jne 0x1800332bf
cmp dword [rsp + 0x68], r12d
jne 0x1800332bf
cmp byte [0x180406dc4], r12b
je 0x1800332bf
cmp byte [0x180406dc5], r12b
jne 0x1800332bf
mov eax, dword [0x18040b4b0]
dec eax
test eax, 0xfffffffd
jne 0x1800332bf
mov eax, r15d
mov dword [0x180407a4c], r15d
xchg dword [0x18040b48c], eax
movups xmm0, xmmword [0x180407318]
mov ecx, dword [0x18040b478]
movups xmm1, xmmword [0x180407328]
movups xmmword [0x180407830], xmm0
movups xmm0, xmmword [0x180407338]
movups xmmword [0x180407840], xmm1
movups xmmword [0x180407850], xmm0
mov edx, dword [0x180409ce8]
inc edx
mov qword [0x18040b470], rdx
mov edx, 2
call fcn.18000bc60
call fcn.180030d30
lea rcx, str.BEGIN
call fcn.18002f950
call fcn.18001a500
test r15b, al
je 0x180033304
call fcn.18001a500
test al, 0x40
jne 0x180033304
mov ecx, r15d
call fcn.180046d80
call fcn.18001a500
cmp dword [0x18040b48c], r12d
je 0x180033757
movaps xmm0, xmmword [0x18040b470]
lea rcx, [0x180407a58]
movaps xmmword [0x18040af40], xmm0
movaps xmm0, xmmword [0x18040b490]
movaps xmmword [0x18040af60], xmm0
movaps xmm0, xmmword [0x18040b4b0]
mov dword [0x18040b480], r12d
movaps xmm1, xmmword [0x18040b480]
movaps xmmword [0x18040af50], xmm1
movaps xmm1, xmmword [0x18040b4a0]
movaps xmmword [0x18040af80], xmm0
movsd xmm0, qword [0x18040b4d0]
movaps xmmword [0x18040af70], xmm1
movaps xmm1, xmmword [0x18040b4c0]
movsd qword [0x18040afa0], xmm0
movaps xmmword [0x18040af90], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x180407a48], r12d
jne 0x1800333f7
cmp qword [0x180407a50], r12
jne 0x1800333f7
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x180029eb0]
call fcn.18000b610
movzx eax, al
mov dword [0x180407a48], eax
test eax, eax
je 0x1800333f7
lea rcx, [0x180407a58]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x180405c20]
cmp eax, 4
jl 0x180033403
mov eax, dword [0x180405c18]
test r15b, al
je 0x180033403
call fcn.18000b950
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x180033403
lea rcx, [0x180407a58]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x180407a50], r12
mov dword [0x180407a84], r15d
mov dword [0x180407a80], r12d
je 0x1800335f6
lea rdi, [0x1803fa9c8]
lea rsi, [0x1803facf8]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x18003352b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x180033468
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x18003352b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x180033450
test rbx, rbx
je 0x18003352b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x18003351e
test r15b, al
je 0x1800334ee
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x180407450]
mov r8, qword [0x180407458]
cmp rcx, rax
jb 0x1800334c2
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x1800334bd
mov r8, qword [0x180407290]
call fcn.18002c950
test eax, eax
je 0x1800335f6
or qword [rbx + 0x28], 0x40
jmp 0x18003351e
cmp rax, rcx
jbe 0x1800334c5
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x180407290]
call fcn.18002c950
test eax, eax
je 0x1800335f6
or qword [rbx + 0x28], 0x80
jmp 0x18003351e
mov r8, qword [0x180407290]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.18002c950
test eax, eax
je 0x1800335f6
mov rax, qword [rbx + 0x28]
test al, al
jns 0x180033516
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x180033471
add rdi, 0x110
cmp rdi, rsi
jl 0x180033430
mov rax, qword [0x180407450]
mov ebx, 0xffffffff
cmp dword [0x18040b4ac], 5
mov qword [0x180409b68], rax
mov rax, qword [0x180407458]
cmove ebx, r15d
mov qword [0x180409b70], rax
mov dword [0x180407a84], r15d
mov dword [0x18040ae38], r15d
je 0x18003359d
mov ecx, r12d
lea rdx, [0x180409c90]
cmp qword [rdx], r12
jg 0x18003359d
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x180033581
mov dword [0x180406fe4], r15d
cmp ebx, 0xffffffff
jne 0x1800335b6
xorps xmm0, xmm0
movdqa xmmword [0x1803fa770], xmm0
jmp 0x1800335e6
lea rcx, [0x18040b470]
mov dword [0x180407a80], r15d
call fcn.1800370b0
mov rax, qword [0x180409ce8]
add rax, 2
mov dword [0x18040b478], ebx
mov qword [0x18040b470], rax
call fcn.180030d30
cmp dword [0x180407a80], r12d
jne 0x18003360d
call fcn.180030290
jmp 0x18003360d
mov eax, r12d
mov dword [0x180407a84], r12d
mov dword [0x18040b480], r15d
xchg dword [0x18040b48c], eax
cmp dword [0x180407a84], r12d
je 0x180033757
lea rcx, [0x180407860]
mov edx, 3
lea rax, [0x18040a000]
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 0x180033630
cmp dword [0x180407a80], 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 0x18003375c
mov dword [0x1804072d0], r12d
mov dword [0x1804072d4], 0x8000
mov dword [0x18040a1c8], r12d
mov dword [0x18040a1cc], 0x8000
call fcn.1800337c0
movaps xmm0, xmmword [0x18040af40]
movaps xmm1, xmmword [0x18040af50]
movaps xmmword [0x18040b470], xmm0
movaps xmm0, xmmword [0x18040af60]
movaps xmmword [0x18040b490], xmm0
movaps xmm0, xmmword [0x18040af80]
movaps xmmword [0x18040b480], xmm1
movaps xmm1, xmmword [0x18040af70]
movaps xmmword [0x18040b4b0], xmm0
movsd xmm0, qword [0x18040afa0]
movaps xmmword [0x18040b4a0], xmm1
movaps xmm1, xmmword [0x18040af90]
movsd qword [0x18040b4d0], xmm0
movaps xmmword [0x18040b4c0], xmm1
call fcn.180030290
jmp 0x18003375c
call fcn.1800337c0
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 [0x180407308], rax
mov rax, qword [0x180409c90]
mov qword [0x180407310], rax
mov qword [0x1804072b0], 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 0x1800337b1
add rsp, 0x58
jmp 0x1800233b0
add rsp, 0x58
ret