Function at 0x140107190
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm6, xmmword [0x14026dc70]
movups xmmword [rdx + 0x78], xmm6
mov rdx, qword [rcx]
mov r8, qword [rdx + 8]
mov rcx, qword [rdx + 0x18]
inc r8
xor eax, eax
cmp r8, qword [rdx]
cmove r8, rax
imul rdx, r8, 0xa8
mov r8, qword [rcx + rdx]
mov qword [rsi], r8
mov qword [rcx + rdx], 0
movups xmm0, xmmword [rcx + rdx + 8]
movups xmm1, xmmword [rcx + rdx + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov r8, qword [rcx + rdx + 0x75]
mov qword [rsi + 0x75], r8
movups xmm0, xmmword [rcx + rdx + 0x68]
movups xmmword [rsi + 0x68], xmm0
movups xmm0, xmmword [rcx + rdx + 0x28]
movups xmm1, xmmword [rcx + rdx + 0x38]
movups xmm2, xmmword [rcx + rdx + 0x48]
movups xmm3, xmmword [rcx + rdx + 0x58]
movups xmmword [rsi + 0x58], xmm3
movups xmmword [rsi + 0x48], xmm2
movups xmmword [rsi + 0x38], xmm1
movups xmmword [rsi + 0x28], xmm0
movzx r8d, word [rcx + rdx + 0x80]
mov word [rsi + 0x80], r8w
movzx r8d, byte [rcx + rdx + 0x82]
mov byte [rsi + 0x82], r8b
mov r8, qword [rcx + rdx + 0x88]
mov qword [rsi + 0x88], r8
mov qword [rcx + rdx + 0x88], 0
mov r8, qword [rcx + rdx + 0x90]
mov qword [rsi + 0x90], r8
mov r8, qword [rcx + rdx + 0x98]
mov qword [rsi + 0x98], r8
mov qword [rcx + rdx + 0x98], 0
mov rcx, qword [rcx + rdx + 0xa0]
mov qword [rsi + 0xa0], rcx
mov rcx, qword [rdi]
mov rdx, qword [rcx + 8]
mov rbx, qword [rcx + 0x18]
inc rdx
cmp rdx, qword [rcx]
cmove rdx, rax
mov qword [rcx + 8], rdx
imul r14, rdx, 0xa8
mov rcx, qword [rbx + r14 + 0x98]
test rcx, rcx
jne 0x1401075f6
lea r12, [rbx + r14]
mov rbx, qword [rbx + r14 + 0x88]
test rbx, rbx
jne 0x1401075a1
mov rcx, qword [r12]
test rcx, rcx
jne 0x1401075de
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 8]
jne 0x140107325
mov rcx, qword [rax + 0x20]
test rcx, rcx
jne 0x140107617
dec qword [rdi + 0x10]
jne 0x140107559
movabs r13, 0xaaaaaaaaaaaaaaaa
movabs r12, 0x8637bd05af7
cmp dword [rdi + 0x78], 0
jne 0x1401074ac
mov rbp, qword [rdi + 0x30]
cmp qword [rdi + 8], 0
je 0x1401073fe
mov qword [rsp + 0x58], r13
mov rax, qword [0x1402abf18]
lea rcx, [0x140183600]
cmp rax, rcx
jne 0x140107749
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x80]
cmp rax, r12
jge 0x140107a4f
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b7458]
mov qword [rsp + 0x58], rax
cmp rax, qword [rdi + 0x20]
jl 0x1401073fe
mov rax, qword [rdi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x18], rcx
test rax, rax
je 0x1401073fe
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1401073e9
cmp rcx, r8
jb 0x1401076a1
lea rbx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140107609
mov rax, qword [rdi]
mov rcx, qword [rbp + 0x28]
mov qword [rdi], rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rdi + 8]
mov rcx, qword [rbp + 0x30]
mov qword [rdi + 8], rcx
mov qword [rbp + 0x30], rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rbp + 0x38]
mov qword [rdi + 0x10], rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbp + 0x40]
mov qword [rdi + 0x18], rcx
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0x20]
mov rcx, qword [rbp + 0x48]
mov qword [rdi + 0x20], rcx
mov qword [rbp + 0x48], rax
cmp byte [rbp + 0x158], 0
jne 0x1401078f0
mov rax, qword [rbp + 0xb8]
cmp qword [rax + 0x10], 0
sete byte [rbp + 0x50]
cmp qword [rbp + 0xa8], 0
movzx eax, byte [rbp + 0x128]
jne 0x1401074a0
test al, al
je 0x140107671
movzx eax, byte [rbp + 0x130]
xor al, 1
mov byte [rbp + 0x51], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rdi + 8], 0
je 0x140107559
mov qword [rsp + 0x58], r13
mov rax, qword [0x1402abf18]
lea rcx, [0x140183600]
cmp rax, rcx
jne 0x140107733
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x80]
cmp rax, r12
jge 0x140107a28
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b7458]
mov qword [rsp + 0x58], rax
cmp rax, qword [rdi + 0x20]
jl 0x140107559
mov rax, qword [rdi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x18], rcx
test rax, rax
je 0x140107559
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x140107544
cmp rcx, r8
jb 0x140107678
mov rcx, qword [rdi + 0x28]
mov rdx, rdi
call fcn.1401064c0
test byte [0x1402ab720], 9
jne 0x1401077b1
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401879f0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lock dec dword [rbx + 8]
jne 0x1401072fe
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea rdx, [0x1401f83e0]
cmp qword [rcx + 0x10], rdx
jne 0x1401075cb
lea rcx, [0x14020ad20]
cmp rax, rcx
je 0x140107643
mov rcx, rbx
mov edx, 1
call qword [0x1402ca008]
jmp 0x1401072fe
lock dec dword [rcx]
jne 0x14010730b
mov rax, qword [rcx + 0x10]
call qword [0x1402ca008]
jmp 0x14010730b
lock dec dword [rcx]
jne 0x1401072e9
call fcn.140184dbc
jmp 0x1401072e9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140107413
mov qword [rax + 0x20], 0
mov rbx, qword [rdi]
mov qword [rdi], rcx
test rbx, rbx
je 0x140107325
mov rcx, rbx
call fcn.1401510f0
mov rcx, rbx
call fcn.140184dbc
jmp 0x140107325
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140107655
lock dec dword [rcx]
je 0x14010775f
mov r14, qword [rbx + 0x10]
test r14, r14
je 0x140107664
lock dec dword [r14]
je 0x1401076ca
mov rcx, rbx
call fcn.140184dbc
jmp 0x1401072fe
xor eax, eax
jmp 0x1401074a0
mov rcx, rdi
call fcn.1400dec70
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rdi + 0x20], rcx
jmp 0x140107559
mov rcx, rdi
call fcn.1400dec70
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rdi + 0x20], rcx
jmp 0x1401073fe
mov rcx, qword [r14 + 0x20]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14029ce48]
je 0x140107a76
mov qword [r14 + 0x20], 0
mov rax, qword [r14 + 0x10]
inc rax
cmp rax, 2
jb 0x140107726
call fcn.1400eba00
mov r15, qword [r14 + 0x10]
cmp qword [0x1402b7720], 0
je 0x140107769
mov rcx, qword [0x1402b7720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x1402ca008]
mov rcx, r14
call fcn.140184dbc
jmp 0x140107664
lea rbx, [rsp + 0x58]
mov rcx, rbx
call qword [0x1402ca008]
mov rax, qword [rbx]
jmp 0x140107513
lea rbx, [rsp + 0x58]
mov rcx, rbx
call qword [0x1402ca008]
mov rax, qword [rbx]
jmp 0x1401073b8
call fcn.140184dbc
jmp 0x140107655
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140107a80
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1401077ab
call qword [0x1402ca008]
mov rcx, rax
xor edx, edx
call fcn.14003b860
jmp 0x140107710
xor ecx, ecx
mov dl, 1
jmp 0x1401077a1
mov r14, qword [rdi + 0x30]
mov rax, qword [r14 + 0x10]
mov ebx, dword [rax + 4]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call fcn.1401836a0
cmp ebx, dword [rdi]
jne 0x140107572
lea rbx, [r14 + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1401077ee
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [r14 + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0xb8]
mov r13, qword [rcx + 0x10]
mov r12, qword [rax + 0x10]
mov rbp, qword [r14 + 0xd0]
mov r15, qword [r14 + 0xc8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test byte [0x1402ab720], 0x19
je 0x140107572
sub rbp, r15
shr rbp, 3
imul eax, ebp, 0x3cf3cf3d
add r13d, dword [rsp + 0x50]
add r12d, eax
add r12d, r13d
mov ecx, dword [r14]
call fcn.1402023c0
mov rbx, rax
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.14014f070
call sub.KERNEL32.dll_GetCurrentThreadId
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rcx
mov word [rsp + 0x80], 0x301
lea rcx, [0x1402765fe]
mov qword [rsp + 0x88], rcx
movsxd rcx, r12d
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
lea rdx, [0x1402ab720]
mov cl, 0x43
mov r8, rbx
xor r9d, r9d
call fcn.14013bad0
mov rcx, rdi
call fcn.140107a90
jmp 0x140107572
call fcn.1401c87f0
lea r14, [rsp + 0x70]
movaps xmmword [r14], xmm6
mov rdx, qword [rdi]
mov rcx, r14
call fcn.1401c24f0
mov rax, qword [r14]
test rax, rax
je 0x14010794f
lea r15, [rsp + 0x70]
xor r14d, r14d
cmp byte [rbp + 0x158], 0
je 0x1401078eb
imul rdx, qword [rsp + 0x78], 0xa8
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + rdx + 0x28]
cmp rax, qword [rbp + 0x160]
jge 0x140107957
mov rcx, r15
call fcn.1401c2620
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x140107914
jmp 0x1401079ff
xor r14d, r14d
jmp 0x1401079ff
add rcx, rdx
mov byte [rbp + 0x158], 0
lea r14, [rsp + 0x58]
mov rdx, r14
call fcn.1401469b0
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r14
call fcn.1401c2360
lea r14, [rbp + 0x138]
cmp byte [rbp + 0x130], 0
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x138], xmm0
mov eax, dword [r15 + 0x10]
mov dword [rbp + 0x148], eax
jne 0x1401079ad
mov byte [rbp + 0x130], 1
mov rcx, qword [rbp + 0xb8]
mov eax, dword [r14 + 0x10]
lea rdx, [rsp + 0x80]
mov dword [rdx + 0x10], eax
movups xmm0, xmmword [r14]
movaps xmmword [rdx], xmm0
call fcn.14020b8f0
cmp byte [rbp + 0x130], 0
je 0x140107a26
mov rcx, qword [rbp + 0xb0]
mov eax, dword [r14 + 0x10]
lea rdx, [rsp + 0x80]
mov dword [rdx + 0x10], eax
movups xmm0, xmmword [r14]
movaps xmmword [rdx], xmm0
call fcn.14020b8f0
mov r14, qword [rsp + 0x70]
movabs rax, 0xfffffffc00000000
and rax, r14
cmp rax, qword [0x14029ce48]
jne 0x14010746e
mov rcx, r14
call fcn.1400de590
jmp 0x14010746e
ud2
mov rcx, qword [0x1402b7458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14010750e
mov rcx, qword [0x1402b7458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1401073b3
call fcn.1400de590
jmp 0x1401076e8
xor ecx, ecx
jmp 0x14010779f