Function at 0x1000db9c0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov rbx, qword [rcx + 0xab0]
xor esi, esi
mov r14, rcx
mov qword [rsp + 0x20], rbx
cmp qword [rcx + 0x1090], rbx
jge 0x1000dbd33
mov dword [rcx + 0x10a0], 1
mov qword [rax - 0x30], r12
mov dword [rcx + 0xae8], esi
mov rcx, qword [rcx + 0x1020]
mov qword [rax - 0x38], r13
mov qword [rax - 0x40], r15
mov eax, dword [rcx + 0x2d8]
test al, 4
je 0x1000dba28
bt eax, 0xc
jae 0x1000dba32
mov edx, 2
call fcn.1000d6760
mov r12, rbx
sub r12, qword [r14 + 0x1090]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r13, rax
mov rax, qword [r14 + 0x1098]
mov qword [rbp + 0x1c0], rax
call fcn.10011b7d0
test eax, eax
je 0x1000dba75
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rbp + 0x1b0]
jmp 0x1000dba7d
mov rdi, qword [0x7ffe0008]
mov dword [rbp - 0x30], 0x20000187
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp + 0x1c8], rdi
call fcn.10006bc70
test eax, eax
je 0x1000dbab0
inc qword [r14 + 0x6840]
nop dword [rax + rax]
mov rbx, r13
mov rsi, rdi
call fcn.10006af30
mov rcx, qword [r14 + 0xae0]
mov r11, rax
xor edx, edx
mov rax, r12
div r11
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r13, rax
call fcn.10011b7d0
test eax, eax
je 0x1000dbb01
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rbp + 0x1b8]
jmp 0x1000dbb09
mov rdi, qword [0x7ffe0008]
mov r15, r13
sub r15, rbx
cmp rdi, rsi
jb 0x1000dbb25
mov rbx, rdi
sub rbx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x1000dbb27
or rbx, rbx
jmp 0x1000dbb60
xor ebx, ebx
call fcn.10011b7d0
test eax, eax
je 0x1000dbb4c
call fcn.10011b7f0
imul rbx, rbx, 0x3e8
xor edx, edx
mov r11, rax
mov rax, rbx
div r11
mov rbx, rax
jmp 0x1000dbb60
movabs rax, 0x346dc5d63886594b
mul rbx
mov rbx, rdx
shr rbx, 0xb
call fcn.10006af30
imul rax, rbx
test rax, rax
jne 0x1000dbb73
call fcn.10006af30
mov rcx, rax
shl rcx, 0xa
cmp r15, rcx
mov rcx, r12
cmova r15, rax
add qword [r14 + 0x1098], r15
add qword [r14 + 0x1090], r15
mov rbx, qword [r14 + 0x1098]
cmp r15, r12
cmovb rcx, r15
sub r12, rcx
jne 0x1000dbab0
cmp qword [r14 + 0x6ed8], 0
mov r15, qword [rsp + 0x268]
mov r13, qword [rsp + 0x270]
mov r12, qword [rsp + 0x278]
je 0x1000dbcc9
sub rbx, qword [rbp + 0x1c0]
call fcn.10006af30
xor esi, esi
mov r11, rax
xor edx, edx
mov rax, rbx
mov rbx, qword [r14 + 0x6ed8]
div r11
xor ecx, ecx
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x30], rcx
mov rcx, qword [r14 + 0x1020]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0x14
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov dword [rbp + 0x98], esi
mov qword [rbp + 0xa0], rsi
cmp qword [rbx + 0x40], rsi
je 0x1000dbc9f
lea rcx, [rbp]
xor edx, edx
mov r8d, 0xa8
call sub.MSVCR100.dll_memset
call fcn.10006b740
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x18]
lea edx, [rsi + 0x10]
lea ecx, [rsi + 1]
call rax
mov ecx, dword [rbp + 0x10]
movzx r11d, ax
mov eax, ecx
shl eax, 0xf
mov dword [rbp + 0x98], r11d
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov dword [rbp + 0x10], ecx
call fcn.10006ec80
test eax, eax
je 0x1000dbcb6
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call fcn.1000f74a0
lea r8, [rbp]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1000f5f90
jmp 0x1000dbccb
xor esi, esi
call fcn.10006bc70
test eax, eax
je 0x1000dbcee
mov r8, qword [r14 + 0x1020]
lea r9, [rbp + 0x1c8]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.1000d7370
mov rcx, qword [r14 + 0x1020]
mov eax, dword [rcx + 0x2d8]
test al, 4
je 0x1000dbd05
bt eax, 0xc
jae 0x1000dbd0c
xor edx, edx
call fcn.1000d6760
call fcn.100064800
lea rcx, [r14 + 0xae8]
mov edx, eax
xor eax, eax
lock cmpxchg dword [rcx], edx
je 0x1000dbd27
call fcn.1000d2ce0
mov rbx, qword [rsp + 0x20]
mov dword [r14 + 0x10a0], esi
sub qword [r14 + 0x1090], rbx
inc dword [r14 + 0x1064]
cmp dword [r14 + 0xaf0], 0
je 0x1000dbead
lea rcx, [r14 + 0x68]
call fcn.1001092a0
mov edi, eax
test eax, eax
je 0x1000dbead
cmp qword [r14 + 0x10b8], 0
jne 0x1000dbead
inc dword [r14 + 0xaf0]
lea rdx, [r14 + 0x10b0]
lea rcx, [r14 + 0xaf0]
mov r8d, eax
call fcn.1000dbf60
cmp qword [r14 + 0x6ed8], 0
je 0x1000dbead
call fcn.10011b7d0
test eax, eax
je 0x1000dbdb6
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x28]
jmp 0x1000dbdbe
mov r11, qword [0x7ffe0008]
mov rbx, qword [r14 + 0x6ed8]
xor eax, eax
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x80], rax
mov rax, qword [r14 + 0x1020]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0x13
mov qword [rbp - 0x60], r11
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 0
mov dword [rbp - 0x38], edi
cmp qword [rbx + 0x40], 0
mov dword [rbp + 0x148], esi
mov qword [rbp + 0x150], rsi
je 0x1000dbe81
lea rcx, [rbp + 0xb0]
xor edx, edx
mov r8d, 0xa8
call sub.MSVCR100.dll_memset
call fcn.10006b740
mov edx, 0x10
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xc8]
lea ecx, [rdx - 0xf]
call rax
mov ecx, dword [rbp + 0xc0]
movzx r11d, ax
mov eax, ecx
shl eax, 0xf
mov dword [rbp + 0x148], r11d
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [rax + rax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov dword [rbp + 0xc0], ecx
call fcn.10006ec80
test eax, eax
je 0x1000dbe9a
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x80]
call fcn.1000f74a0
lea r8, [rbp + 0xb0]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1000f5f90
add rsp, 0x280
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret