Function at 0x14019d4a2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
rdtsc
mov rcx, qword [0x14029af00]
mov r8, qword [0x14029af10]
mov r10, qword [0x14029af18]
mov r9, qword [0x14029af20]
mov r11, qword [0x14029af28]
mov rsi, qword [0x14029af00]
test cl, 1
jne 0x14019d4f8
cmp rcx, rsi
jne 0x14019d4f8
shl rdx, 0x20
or rdx, rax
sub rdx, r10
cmp rdx, r11
jae 0x14019d4f8
imul rdx, r9
shr rdx, 0x1e
add rdx, r8
mov rax, rdx
pop rsi
ret
pop rsi
jmp 0x14019d4fe
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14029a048]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [0x14029af6c]
test al, 1
jne 0x14019d838
mov ecx, eax
or ecx, 1
lock cmpxchg dword [0x14029af6c], ecx
test al, 1
jne 0x14019d838
mov r13, qword [0x14029af58]
xor edi, edi
mov rsi, qword [0x14029af60]
lea r14, [rsp + 0x30]
lea r15, [rsp + 0x28]
rdtsc
mov rbx, rdx
shl rbx, 0x20
or rbx, rax
mov rcx, r14
xor edx, edx
call fcn.1401b22d2
mov rcx, r15
call fcn.14015c1b0
mov rcx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
rdtsc
mov r8, rdx
shl r8, 0x20
or r8, rax
mov rax, r8
sub rax, rbx
cmp rax, rsi
jb 0x14019d5b8
inc edi
cmp edi, 0x14
jne 0x14019d5b8
cmp rsi, 0xf4240
lea rdx, [rsi + rsi + 2]
cmovb rsi, rdx
mov qword [0x14029af60], rsi
xor edi, edi
mov rdx, r13
sub rdx, r8
cmp rdx, 0x10000
jb 0x14019d559
cmp rax, rsi
jae 0x14019d559
mov rdx, rsi
shr rdx, 1
cmp rdx, rax
jae 0x14019d630
mov dword [0x14029af68], 0
mov qword [0x14029af58], r8
mov r11, qword [0x14029af10]
mov rax, qword [0x14029af18]
mov r9, qword [0x14029af20]
mov rdx, qword [0x14029af28]
mov r15, qword [0x14029af08]
mov rbx, r8
sub rbx, rax
cmp rbx, rdx
jae 0x14019d655
imul rbx, r9
shr rbx, 0x1e
add rbx, r11
inc qword [0x14029af50]
mov r14, rbx
jmp 0x14019d7fb
mov eax, 1
lock xadd dword [0x14029af68], eax
cmp eax, 3
jb 0x14019d5e1
mov rax, rsi
shr rax, 3
sub rsi, rax
mov qword [0x14029af60], rsi
jmp 0x14019d5d7
sub r12, rcx
mov r10d, 1
lock xadd qword [0x14029af00], r10
imul r14, r12, 0x3e8
lea rcx, [r15 - 1]
cmp rcx, r14
jae 0x14019d7be
movabs rcx, 0x12a05f200
add rcx, r15
cmp rcx, r14
jb 0x14019d7be
cmp r8, rax
jb 0x14019d7be
lea rcx, [r15 + 0x1dcd6500]
cmp rcx, r14
jae 0x14019d82f
add rax, 0x32
cmp rax, r8
jae 0x14019d82f
mov r12, r14
test r9, r9
je 0x14019d6e1
xor ecx, ecx
mov rsi, rbx
shr rsi, cl
inc rcx
mov rax, r9
mul rsi
jo 0x14019d6c1
mov r12, rax
mov al, 0x1f
sub al, cl
mov ecx, eax
shr r12, cl
add r12, r11
mov rdi, r14
sub rdi, r15
mov edx, 1
lea ecx, [rdx + 0x1d]
mov rax, rdi
shl rax, cl
mov rsi, rax
shr rsi, cl
dec rdx
cmp rsi, rdi
jne 0x14019d6ec
neg dl
mov ecx, edx
shr rbx, cl
test rbx, rbx
je 0x14019d718
cmp rbx, rax
jbe 0x14019d897
xor r9d, r9d
mov rbx, r14
sub rbx, r12
lea rax, [rbx + 0xf]
test rbx, rbx
cmovns rax, rbx
sar rax, 4
neg rax
lea rdi, [rbx + rax]
add rdi, 0x7d000000
mov edx, 1
lea ecx, [rdx + 0x1d]
mov rax, rdi
shl rax, cl
mov rsi, rax
shr rsi, cl
dec rdx
cmp rsi, rdi
jne 0x14019d743
neg dl
mov ecx, edx
shr r9, cl
test r9, r9
je 0x14019d849
cmp r9, rax
ja 0x14019d849
cmp rbx, 0x5f5e0ff
jg 0x14019d849
cmp rbx, 0xfffffffffa0a1f01
jl 0x14019d849
xor edx, edx
div r9
mov rcx, rax
mov qword [0x14029af20], rax
movabs rax, 0x1f40000000000000
xor edx, edx
div rcx
mov qword [0x14029af28], rax
inc qword [0x14029af40]
jmp 0x14019d869
mov qword [0x14029af08], r14
mov qword [0x14029af10], r14
mov qword [0x14029af18], r8
mov qword [0x14029af20], 0
mov qword [0x14029af28], 0
inc qword [0x14029af30]
add r10, 2
mov qword [0x14029af00], r10
mov edx, dword [0x14029af6c]
and edx, 2
xchg dword [0x14029af6c], edx
cmp edx, 8
jae 0x14019d886
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140116250
mov rax, r14
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
inc qword [0x14029af48]
jmp 0x14019d7f0
lea rcx, [0x14029af6c]
call fcn.1401572e6
jmp 0x14019d53f
mov qword [0x14029af20], 0
mov qword [0x14029af28], 0
inc qword [0x14029af38]
mov r12, r14
mov qword [0x14029af08], r14
mov qword [0x14029af10], r12
mov qword [0x14029af18], r8
mov r14, r12
jmp 0x14019d7f0
lea rcx, [0x14029af6c]
call fcn.140157432
jmp 0x14019d80f
xor edx, edx
div rbx
mov rcx, rax
movabs rax, 0x1f40000000000000
xor edx, edx
div rcx
mov r9, rax
jmp 0x14019d71b