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

Disassembly:
sub rsp, 0x28
cmp dword [0x14027e6e0], 0
je 0x14001cf2b
xor edx, edx
lea rcx, [0x14003c830]
call fcn.140011880
mov eax, dword [0x14027e6c8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
mov byte [0x14027b887], 0
cmp eax, 1
je 0x14001d191
cmp qword [0x14027e6a0], 0
je 0x14001cf9c
mov rcx, qword [0x14027bab0]
mov r8, qword [0x14027e6e8]
mov rdx, qword [rcx]
mov rax, qword [rcx + 0x10]
sub rax, rdx
cmp rax, r8
jb 0x14001d171
add rdx, r8
xor r8d, r8d
call fcn.14002fc90
test eax, eax
je 0x14001d171
cmp byte [0x14027b887], 0
jne 0x14001d171
mov eax, dword [0x14027e6c8]
test eax, eax
jne 0x14001d168
cmp dword [0x14027e6e0], eax
jne 0x14001d168
cmp qword [0x14027e6a8], 0
je 0x14001d168
xor edi, edi
mov dword [0x14027bdc0], 1
mov qword [0x14027e6f8], rdi
call fcn.14002be90
test eax, eax
jne 0x14001d038
mov rbx, qword [0x140272868]
test rbx, rbx
je 0x14001d02e
nop word [rax + rax]
mov rdx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov rcx, qword [0x14027e6f0]
sub rax, rdx
cmp rax, rcx
jb 0x14001d021
add rdx, rcx
xor r8d, r8d
mov rcx, rbx
mov edi, 1
call fcn.14002fc90
test eax, eax
je 0x14001d171
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14001cff0
test edi, edi
jne 0x14001d038
mov dword [0x14027bdc0], 2
cmp byte [0x14027b887], 0
jne 0x14001d171
mov eax, dword [0x14027e6c8]
test eax, eax
jne 0x14001d168
cmp dword [0x14027bdc0], 2
jne 0x14001d13d
mov rcx, qword [0x14027bef0]
xor edx, edx
mov r8, qword [0x14027e6f0]
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.14002ece0
mov rbx, rax
test rax, rax
je 0x14001d129
mov rdi, qword [rax + 0x10]
or qword [rax + 0x28], 8
mov qword [rsp + 0x38], rsi
mov rsi, qword [rax + 0x20]
mov eax, dword [0x14027a448]
sub rdi, rsi
cmp eax, 4
jl 0x14001d0ef
mov eax, dword [0x14027a440]
test al, 1
je 0x14001d0ef
call fcn.14000a5d0
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.14003f7c0
mov r9, qword [rbx + 0x10]
mov ecx, 3
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x20]
call fcn.140004530
mov eax, dword [0x14027e6c8]
mov rsi, qword [rsp + 0x38]
mov qword [0x14027e6f8], rbx
test eax, eax
je 0x14001d144
jmp 0x14001d168
mov eax, 1
mov qword [0x14027e6f8], rbx
mov dword [0x14027e6c8], eax
jmp 0x14001d168
mov rbx, qword [0x14027e6f8]
test rbx, rbx
je 0x14001d168
mov rdx, qword [rbx]
xor r8d, r8d
add rdx, qword [0x14027e6f0]
mov rcx, rbx
call fcn.14002fc90
test eax, eax
je 0x14001d171
mov eax, dword [0x14027e6c8]
cmp byte [0x14027b887], 0
je 0x14001d191
mov dword [0x14027e6c8], 1
mov byte [0x14027b887], 0
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
test eax, eax
jne 0x14001d1de
cmp qword [0x14027e6a8], 0
je 0x14001d1b4
mov rcx, qword [0x14027e6f0]
mov qword [0x14027e960], rcx
mov qword [0x14027e968], rcx
cmp qword [0x14027e6a0], 0
je 0x14001d1d3
mov rax, qword [0x14027e6e8]
mov qword [0x14027e750], rax
mov qword [0x14027e758], rax
mov qword [0x14027e6b0], 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, [0x14002c690]
mov r14d, dword [0x14027ff70]
xor r12d, r12d
mov qword [rax - 0x28], r15
mov r15d, 1
mov dword [rax - 0x38], r15d
mov qword [0x14027e698], r12
mov qword [rax - 0x30], r12
call fcn.140011880
mov rdx, qword [0x14027bab0]
mov rax, qword [0x14027baa8]
mov qword [rdx], rax
cmp dword [0x14027ff70], 4
jne 0x14002cbb6
cmp dword [0x14027e6e0], r12d
je 0x14002cbb6
call fcn.14002b6b0
test eax, eax
jne 0x14002cb9b
mov dword [0x14027e6c8], r15d
mov dword [0x14027ff38], 2
call fcn.140040780
inc qword [0x14027ecd8]
jmp 0x14002d2de
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
call fcn.140030ca0
mov rdi, qword [0x14027bd60]
mov eax, dword [0x140272a48]
mov dword [0x14027ff6c], eax
mov qword [0x14027bf88], r12
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x14002cc03
nop dword [rax]
mov rcx, rbx
mov rdx, r15
mov rbx, qword [rbx]
call fcn.140069fb0
test rbx, rbx
jne 0x14002cbf0
mov qword [rdi + 0x18], r12
mov rax, qword [0x14027bd40]
cmp qword [0x14027a770], rax
je 0x14002cc1c
call fcn.140027c50
call fcn.14003aaf0
mov rbx, qword [0x140272858]
test rbx, rbx
je 0x14002cc42
test byte [rbx + 0x28], r15b
je 0x14002cc42
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cc42
test byte [rbx + 0x28], r15b
jne 0x14002cc33
mov rsi, r12
test rbx, rbx
je 0x14002cc7f
nop word [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002cc74
call fcn.140014f80
movzx edx, al
mov rcx, rbx
call fcn.140029240
mov qword [rsi + 0x30], rdi
jmp 0x14002cc77
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002cc50
mov rbx, qword [0x140272968]
test rbx, rbx
je 0x14002cca0
test byte [rbx + 0x28], r15b
je 0x14002cca0
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002cca0
test byte [rbx + 0x28], r15b
jne 0x14002cc91
mov rsi, r12
test rbx, rbx
je 0x14002ccdf
nop dword [rax + rax]
mov eax, dword [rbx + 0x28]
mov rdi, qword [rbx + 0x30]
bt rax, 8
jae 0x14002ccd4
call fcn.140014f80
movzx edx, al
mov rcx, rbx
call fcn.140029240
mov qword [rsi + 0x30], rdi
jmp 0x14002ccd7
mov rsi, rbx
mov rbx, rdi
test rdi, rdi
jne 0x14002ccb0
mov eax, dword [0x14027f718]
test eax, eax
jne 0x14002ccee
call fcn.14003a910
xor r9d, r9d
lea r8, [0x14027ecf0]
lea rdx, [0x14027f0e0]
mov ecx, ebp
call fcn.14002e090
mov ecx, dword [0x14027f0e0]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], ecx
mov r8d, eax
mov ecx, dword [0x14027ecf0]
mov edx, ebp
mov dword [0x14027ff38], eax
call fcn.140032240
cmp dword [0x14027a3c4], 4
mov dword [0x14027ff38], eax
jb 0x14002cd57
movsxd r9, eax
lea r8, str.condemned_generation_num:__d_n
mov edx, r15d
mov ecx, 0xd
call fcn.14000f260
mov eax, dword [0x14027ff38]
cmp qword [0x14027e6b0], r12
mov ecx, dword [0x14027ff6c]
je 0x14002cd83
inc qword [0x14027e6b8]
cmp ecx, 0x11
ja 0x14002cd83
mov edx, 0x22e86
bt edx, ecx
jae 0x14002cd83
inc qword [0x14027e6c0]
cmp eax, r15d
jle 0x14002cd8f
mov dword [0x14027ff3c], r15d
cmp ecx, r15d
mov ecx, eax
sete dl
call fcn.140004530
mov ecx, dword [0x14027ff38]
cmp ecx, 2
jne 0x14002ce0f
cmp dword [rsp + 0x68], r12d
jne 0x14002ce0f
cmp byte [0x14027b884], r12b
je 0x14002ce0f
cmp byte [0x14027b885], r12b
jne 0x14002ce0f
mov eax, dword [0x14027ff70]
dec eax
test eax, 0xfffffffd
jne 0x14002ce0f
mov eax, r15d
mov dword [0x14027c50c], r15d
xchg dword [0x14027ff4c], eax
movups xmm0, xmmword [0x14027bdd8]
mov ecx, dword [0x14027ff38]
movups xmm1, xmmword [0x14027bde8]
movups xmmword [0x14027c2f0], xmm0
movups xmm0, xmmword [0x14027bdf8]
movups xmmword [0x14027c300], xmm1
movups xmmword [0x14027c310], xmm0
mov edx, dword [0x14027e7a8]
inc edx
mov qword [0x14027ff30], rdx
mov edx, 2
call fcn.14000a8e0
call fcn.14002a880
lea rcx, str.BEGIN
call fcn.1400294a0
call fcn.140014f40
test r15b, al
je 0x14002ce54
call fcn.140014f40
test al, 0x40
jne 0x14002ce54
mov ecx, r15d
call fcn.140040ab0
call fcn.140014f40
cmp dword [0x14027ff4c], r12d
je 0x14002d2a7
movaps xmm0, xmmword [0x14027ff30]
lea rcx, [0x14027c518]
movaps xmmword [0x14027fa00], xmm0
movaps xmm0, xmmword [0x14027ff50]
movaps xmmword [0x14027fa20], xmm0
movaps xmm0, xmmword [0x14027ff70]
mov dword [0x14027ff40], r12d
movaps xmm1, xmmword [0x14027ff40]
movaps xmmword [0x14027fa10], xmm1
movaps xmm1, xmmword [0x14027ff60]
movaps xmmword [0x14027fa40], xmm0
movsd xmm0, qword [0x14027ff90]
movaps xmmword [0x14027fa30], xmm1
movaps xmm1, xmmword [0x14027ff80]
movsd qword [0x14027fa60], xmm0
movaps xmmword [0x14027fa50], xmm1
call sub.KERNEL32.dll_EnterCriticalSection
cmp dword [0x14027c508], r12d
jne 0x14002cf47
cmp qword [0x14027c510], r12
jne 0x14002cf47
lea r9, str..NET_BGC
movzx r8d, r15b
xor edx, edx
lea rcx, [0x140023a00]
call fcn.14000a290
movzx eax, al
mov dword [0x14027c508], eax
test eax, eax
je 0x14002cf47
lea rcx, [0x14027c518]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, dword [0x14027a448]
cmp eax, 4
jl 0x14002cf53
mov eax, dword [0x14027a440]
test r15b, al
je 0x14002cf53
call fcn.14000a5d0
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x38]
jmp 0x14002cf53
lea rcx, [0x14027c518]
call sub.KERNEL32.dll_LeaveCriticalSection
cmp qword [0x14027c510], r12
mov dword [0x14027c544], r15d
mov dword [0x14027c540], r12d
je 0x14002d146
lea rdi, [0x140272748]
lea rsi, [0x140272a78]
nop dword [rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002d07b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
jne 0x14002cfb8
nop word [rax + rax]
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x14002d07b
movzx eax, byte [rbx + 0x28]
and al, 3
cmp al, r15b
je 0x14002cfa0
test rbx, rbx
je 0x14002d07b
mov rax, qword [rbx + 0x28]
test al, 0x40
jne 0x14002d06e
test r15b, al
je 0x14002d03e
mov rcx, qword [rbx + 0x20]
mov rax, qword [0x14027bf10]
mov r8, qword [0x14027bf18]
cmp rcx, rax
jb 0x14002d012
mov rdx, qword [rbx + 0x10]
cmp rdx, r8
ja 0x14002d00d
mov r8, qword [0x14027bd50]
call fcn.140026490
test eax, eax
je 0x14002d146
or qword [rbx + 0x28], 0x40
jmp 0x14002d06e
cmp rax, rcx
jbe 0x14002d015
mov rcx, rax
mov rdx, qword [rbx + 0x10]
cmp r8, rdx
cmovb rdx, r8
mov r8, qword [0x14027bd50]
call fcn.140026490
test eax, eax
je 0x14002d146
or qword [rbx + 0x28], 0x80
jmp 0x14002d06e
mov r8, qword [0x14027bd50]
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.140026490
test eax, eax
je 0x14002d146
mov rax, qword [rbx + 0x28]
test al, al
jns 0x14002d066
btr rax, 7
or rax, 0x40
mov qword [rbx + 0x28], rax
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x14002cfc1
add rdi, 0x110
cmp rdi, rsi
jl 0x14002cf80
mov rax, qword [0x14027bf10]
mov ebx, 0xffffffff
cmp dword [0x14027ff6c], 5
mov qword [0x14027e628], rax
mov rax, qword [0x14027bf18]
cmove ebx, r15d
mov qword [0x14027e630], rax
mov dword [0x14027c544], r15d
mov dword [0x14027f8f8], r15d
je 0x14002d0ed
mov ecx, r12d
lea rdx, [0x14027e750]
cmp qword [rdx], r12
jg 0x14002d0ed
cmp ebx, ecx
mov eax, ecx
cmovg eax, ebx
inc ecx
add rdx, 0xb0
mov ebx, eax
cmp ecx, 2
jl 0x14002d0d1
mov dword [0x14027baa4], r15d
cmp ebx, 0xffffffff
jne 0x14002d106
xorps xmm0, xmm0
movdqa xmmword [0x1402724f0], xmm0
jmp 0x14002d136
lea rcx, [0x14027ff30]
mov dword [0x14027c540], r15d
call fcn.140030c40
mov rax, qword [0x14027e7a8]
add rax, 2
mov dword [0x14027ff38], ebx
mov qword [0x14027ff30], rax
call fcn.14002a880
cmp dword [0x14027c540], r12d
jne 0x14002d15d
call fcn.140029de0
jmp 0x14002d15d
mov eax, r12d
mov dword [0x14027c544], r12d
mov dword [0x14027ff40], r15d
xchg dword [0x14027ff4c], eax
cmp dword [0x14027c544], r12d
je 0x14002d2a7
lea rcx, [0x14027c320]
mov edx, 3
lea rax, [0x14027eac0]
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 0x14002d180
cmp dword [0x14027c540], 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 0x14002d2ac
mov dword [0x14027bd90], r12d
mov dword [0x14027bd94], 0x8000
mov dword [0x14027ec88], r12d
mov dword [0x14027ec8c], 0x8000
call fcn.14002d310
movaps xmm0, xmmword [0x14027fa00]
movaps xmm1, xmmword [0x14027fa10]
movaps xmmword [0x14027ff30], xmm0
movaps xmm0, xmmword [0x14027fa20]
movaps xmmword [0x14027ff50], xmm0
movaps xmm0, xmmword [0x14027fa40]
movaps xmmword [0x14027ff40], xmm1
movaps xmm1, xmmword [0x14027fa30]
movaps xmmword [0x14027ff70], xmm0
movsd xmm0, qword [0x14027fa60]
movaps xmmword [0x14027ff60], xmm1
movaps xmm1, xmmword [0x14027fa50]
movsd qword [0x14027ff90], xmm0
movaps xmmword [0x14027ff80], xmm1
call fcn.140029de0
jmp 0x14002d2ac
call fcn.14002d310
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 [0x14027bdc8], rax
mov rax, qword [0x14027e750]
mov qword [0x14027bdd0], rax
mov qword [0x14027bd70], 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 0x14002d301
add rsp, 0x58
jmp 0x14001cf10
add rsp, 0x58
ret