Function at 0x1400e4040
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, 0x618
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x610], rax
cmp qword [rcx + 0x28], 0
je 0x1400e414a
mov rsi, rcx
lea rdi, [rsp + 0xa0]
mov r8d, 0x540
mov rcx, rdi
mov dl, 0xaa
call fcn.140188160
mov qword [rsp + 0x98], 0
cmp qword [rsi + 0x10], 0
je 0x1400e414a
xor r12d, r12d
lea r13, [0x1401fa720]
lea rbp, [0x1401833a0]
mov rcx, qword [rsi]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
inc rax
cmp rax, rdx
mov r8, rax
cmove r8, r12
mov rbx, qword [rcx + 0x18]
imul r14, r8, 0xa8
mov rcx, qword [rbx + r14]
test rcx, rcx
je 0x1400e41ae
mov rax, qword [rcx + 0x18]
cmp rax, r13
jne 0x1400e4150
cmp qword [rbx + r14 + 0xa0], 0
jne 0x1400e4173
mov rax, qword [rsp + 0x98]
cmp rax, 2
jae 0x1400e4392
cmp rax, 2
setae sil
test rax, rax
jne 0x1400e413b
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x618
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x98]
call fcn.1400e4b00
jmp 0x1400e4115
xor esi, esi
jmp 0x1400e4115
cmp rax, rbp
jne 0x1400e418d
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x1400e419d
movzx eax, byte [rax + 4]
test al, al
jne 0x1400e419d
cmp qword [rcx + 0x30], 0
jne 0x1400e40eb
jmp 0x1400e419d
mov rax, qword [rbx + r14 + 0x98]
test rax, rax
je 0x1400e419d
mov al, byte [rax + 4]
test al, al
je 0x1400e40f6
jmp 0x1400e419d
xor edx, edx
call qword [0x1402c9008]
test al, al
je 0x1400e40eb
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rdx, qword [rax]
mov rax, qword [rax + 8]
inc rax
cmp rax, rdx
mov ecx, 0
cmovne rcx, rax
mov r8, qword [rsp + 0x98]
mov r10d, 8
test r8b, 1
je 0x1400e41d6
mov r10, qword [rsp + 0xa8]
imul rax, rcx, 0xa8
lea rdx, [rbx + rax]
mov r9, r8
shr r9, 1
cmp r9, r10
je 0x1400e4380
mov rcx, rdi
test r8b, 1
je 0x1400e4201
mov rcx, qword [rsp + 0xa0]
imul r8, r9, 0xa8
mov r9, rcx
add r9, r8
je 0x1400e4915
mov r10, qword [rdx]
mov qword [r9], r10
mov qword [rdx], 0
movups xmm0, xmmword [rdx + 8]
movups xmm1, xmmword [rdx + 0x18]
movups xmmword [r9 + 0x18], xmm1
movups xmmword [r9 + 8], xmm0
mov r10, qword [rdx + 0x75]
mov qword [r9 + 0x75], r10
movups xmm0, xmmword [rdx + 0x68]
movups xmmword [r9 + 0x68], xmm0
movups xmm0, xmmword [rdx + 0x28]
movups xmm1, xmmword [rdx + 0x38]
movups xmm2, xmmword [rdx + 0x48]
movups xmm3, xmmword [rdx + 0x58]
movups xmmword [r9 + 0x58], xmm3
movups xmmword [r9 + 0x48], xmm2
movups xmmword [r9 + 0x38], xmm1
movups xmmword [r9 + 0x28], xmm0
movzx edx, byte [rbx + rax + 0x82]
mov byte [rcx + r8 + 0x82], dl
movzx edx, word [rbx + rax + 0x80]
mov word [rcx + r8 + 0x80], dx
mov rdx, qword [rbx + rax + 0x88]
mov qword [rcx + r8 + 0x88], rdx
mov qword [rbx + rax + 0x88], 0
mov rdx, qword [rbx + rax + 0x90]
mov qword [rcx + r8 + 0x90], rdx
mov rdx, qword [rbx + rax + 0x98]
mov qword [rcx + r8 + 0x98], rdx
mov qword [rbx + rax + 0x98], 0
mov rax, qword [rbx + rax + 0xa0]
mov qword [rcx + r8 + 0xa0], rax
add qword [rsp + 0x98], 2
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov r15, qword [rax + 0x18]
inc rcx
cmp rcx, qword [rax]
jne 0x1400e42ff
xor ecx, ecx
mov qword [rax + 8], rcx
imul r14, rcx, 0xa8
mov rcx, qword [r15 + r14 + 0x98]
test rcx, rcx
jne 0x1400e4363
mov rbx, qword [r15 + r14 + 0x88]
test rbx, rbx
jne 0x1400e4358
add r15, r14
mov rcx, qword [r15]
test rcx, rcx
jne 0x1400e436f
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
cmp rcx, qword [rax + 8]
jne 0x1400e4349
mov rcx, qword [rax + 0x20]
test rcx, rcx
jne 0x1400e45f7
dec qword [rsi + 0x10]
jne 0x1400e40b3
jmp 0x1400e40f6
lock dec dword [rbx + 8]
jne 0x1400e4324
jmp 0x1400e4623
lock dec dword [rcx]
jne 0x1400e4317
call fcn.1401833ec
jmp 0x1400e4317
lock dec dword [rcx]
jne 0x1400e432f
mov rax, qword [rcx + 0x10]
call qword [0x1402c9008]
jmp 0x1400e432f
lea rcx, [rsp + 0x98]
call fcn.1400e5bb0
jmp 0x1400e42ea
cmp qword [rsi + 0x10], 0
jne 0x1400e45bc
movabs r12, 0xaaaaaaaaaaaaaaaa
movabs r15, 0x8637bd05af7
cmp dword [rsi + 0x78], 0
jne 0x1400e4516
mov r13, qword [rsi + 0x30]
cmp qword [rsi + 8], 0
je 0x1400e4465
mov qword [rsp + 0x68], r12
mov rax, qword [0x1402aaf18]
lea rcx, [0x140181ca0]
cmp rax, rcx
jne 0x1400e4773
lea rdi, [rsp + 0x5e0]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r15
jge 0x1400e4abb
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b6458]
mov qword [rsp + 0x68], rax
cmp rax, qword [rsi + 0x20]
jl 0x1400e4465
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rcx
test rax, rax
je 0x1400e4465
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1400e4450
cmp rcx, r8
jb 0x1400e46b3
lea rdi, [r13 + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400e45e9
mov rax, qword [rsi]
mov rcx, qword [r13 + 0x28]
mov qword [rsi], rcx
mov qword [r13 + 0x28], rax
mov rax, qword [rsi + 8]
mov rcx, qword [r13 + 0x30]
mov qword [rsi + 8], rcx
mov qword [r13 + 0x30], rax
mov rax, qword [rsi + 0x10]
mov rcx, qword [r13 + 0x38]
mov qword [rsi + 0x10], rcx
mov qword [r13 + 0x38], rax
mov rax, qword [rsi + 0x18]
mov rcx, qword [r13 + 0x40]
mov qword [rsi + 0x18], rcx
mov qword [r13 + 0x40], rax
mov rax, qword [rsi + 0x20]
mov rcx, qword [r13 + 0x48]
mov qword [rsi + 0x20], rcx
mov qword [r13 + 0x48], rax
cmp byte [r13 + 0x158], 0
jne 0x1400e4946
mov rax, qword [r13 + 0xb8]
cmp qword [rax + 0x10], 0
sete byte [r13 + 0x50]
cmp qword [r13 + 0xa8], 0
mov al, byte [r13 + 0x128]
jne 0x1400e4509
test al, al
je 0x1400e4683
mov al, byte [r13 + 0x130]
xor al, 1
mov byte [r13 + 0x51], al
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi + 8], 0
je 0x1400e45bc
mov qword [rsp + 0x68], r12
mov rax, qword [0x1402aaf18]
lea rcx, [0x140181ca0]
cmp rax, rcx
jne 0x1400e475d
lea rdi, [rsp + 0x5e0]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r15
jge 0x1400e4a94
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b6458]
mov qword [rsp + 0x68], rax
cmp rax, qword [rsi + 0x20]
jl 0x1400e45bc
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rcx
test rax, rax
je 0x1400e45bc
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax]
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1400e45a7
cmp rcx, r8
jb 0x1400e468a
cmp qword [rsi + 0x40], 0xffffffffffffffff
je 0x1400e45cf
mov rcx, qword [rsi + 0x28]
mov rdx, rsi
call fcn.1400e4d20
test byte [0x1402aa720], 9
jne 0x1400e47db
mov rax, qword [rsp + 0x98]
jmp 0x1400e4108
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400e447a
mov qword [rax + 0x20], 0
mov rbx, qword [rsi]
mov qword [rsi], rcx
test rbx, rbx
je 0x1400e4349
mov rcx, rbx
call fcn.14014d050
mov rcx, rbx
call fcn.1401833ec
jmp 0x1400e4349
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea rdx, [0x1401f7790]
cmp qword [rcx + 0x10], rdx
jne 0x1400e4643
lea rcx, [0x14020a120]
cmp rax, rcx
je 0x1400e4656
mov rcx, rbx
mov edx, 1
call qword [0x1402c9008]
jmp 0x1400e4324
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400e4668
lock dec dword [rcx]
je 0x1400e4789
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400e4676
lock dec dword [rax]
je 0x1400e46dc
mov rcx, rbx
call fcn.1401833ec
jmp 0x1400e4324
xor eax, eax
jmp 0x1400e4509
mov rcx, rsi
call fcn.1400dd920
mov eax, 0x4c4b40
add rax, qword [rsp + 0x68]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x1400e45bc
mov rcx, rsi
call fcn.1400dd920
mov eax, 0x4c4b40
add rax, qword [rsp + 0x68]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x1400e4465
mov qword [rsp + 0x58], rax
mov rcx, qword [rax + 0x20]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14029be48]
je 0x1400e4ae2
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x20], 0
mov rax, qword [rax + 0x10]
inc rax
cmp rax, 2
jb 0x1400e474e
call fcn.1400ea220
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
cmp qword [0x1402b6720], 0
je 0x1400e4793
mov rcx, qword [0x1402b6720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x60]
call qword [0x1402c9008]
mov rcx, qword [rsp + 0x58]
call fcn.1401833ec
jmp 0x1400e4676
lea rdi, [rsp + 0x68]
mov rcx, rdi
call qword [0x1402c9008]
mov rax, qword [rdi]
jmp 0x1400e4576
lea rdi, [rsp + 0x68]
mov rcx, rdi
call qword [0x1402c9008]
mov rax, qword [rdi]
jmp 0x1400e441f
call fcn.1401833ec
jmp 0x1400e4668
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 0x1400e4aec
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400e47d5
call qword [0x1402c9008]
mov rcx, rax
xor edx, edx
call fcn.140014550
jmp 0x1400e4736
xor ecx, ecx
mov dl, 1
jmp 0x1400e47cb
mov rbx, qword [rsi + 0x30]
mov rax, qword [rbx + 0x10]
mov edi, dword [rax + 4]
lea rsi, [rsp + 0x5e0]
mov rcx, rsi
call fcn.140181d40
cmp edi, dword [rsi]
jne 0x1400e45dc
lea rdi, [rbx + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400e4818
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r12, qword [rbx + 0x38]
mov rax, qword [rbx + 0xb0]
mov rcx, qword [rbx + 0xb8]
mov r15, qword [rcx + 0x10]
mov r14, qword [rax + 0x10]
mov r13, qword [rbx + 0xd0]
mov rbp, qword [rbx + 0xc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test byte [0x1402aa720], 0x19
je 0x1400e45dc
sub r13, rbp
shr r13, 3
imul eax, r13d, 0x3cf3cf3d
add r15d, r12d
add r14d, eax
add r14d, r15d
mov ecx, dword [rbx]
call fcn.1402017c0
mov rdi, rax
lea rbx, [rsp + 0x68]
mov rcx, rbx
call fcn.140106270
call sub.KERNEL32.dll_GetCurrentThreadId
movaps xmm0, xmmword [0x14026cc70]
movaps xmmword [rsp + 0x5e0], xmm0
movaps xmmword [rsp + 0x5f0], xmm0
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x600], rcx
mov word [rsp + 0x5e0], 0x301
lea rcx, [0x1402755fe]
mov qword [rsp + 0x5e8], rcx
movsxd rcx, r14d
mov qword [rsp + 0x5f8], rcx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
lea rdx, [0x1402aa720]
mov cl, 0x43
mov r8, rdi
xor r9d, r9d
call fcn.14013ac20
mov rcx, rsi
call fcn.1401741a0
jmp 0x1400e45dc
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c1450
call fcn.1401c7cd0
movaps xmm0, xmmword [0x14026cc70]
lea rbx, [rsp + 0x80]
movaps xmmword [rbx], xmm0
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.1401c0b20
mov rax, qword [rbx]
test rax, rax
je 0x1400e49b7
lea r14, [rsp + 0x80]
xor ebx, ebx
cmp byte [r13 + 0x158], 0
je 0x1400e4941
imul rdx, qword [rsp + 0x88], 0xa8
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + rdx + 0x28]
cmp rax, qword [r13 + 0x160]
jge 0x1400e49be
mov rcx, r14
call fcn.1401c0c50
mov rax, qword [rsp + 0x80]
test rax, rax
jne 0x1400e4975
jmp 0x1400e4a6b
xor ebx, ebx
jmp 0x1400e4a6b
add rcx, rdx
mov byte [r13 + 0x158], 0
lea rbx, [rsp + 0x68]
mov rdx, rbx
call fcn.14014b7b0
lea r14, [rsp + 0x5e0]
mov rcx, r14
mov rdx, rbx
call fcn.1401c0990
lea rbx, [r13 + 0x138]
cmp byte [r13 + 0x130], 0
movups xmm0, xmmword [r14]
movups xmmword [r13 + 0x138], xmm0
mov eax, dword [r14 + 0x10]
mov dword [r13 + 0x148], eax
jne 0x1400e4a19
mov byte [r13 + 0x130], 1
mov rcx, qword [r13 + 0xb8]
mov eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x5e0]
mov dword [rdx + 0x10], eax
movups xmm0, xmmword [rbx]
movaps xmmword [rdx], xmm0
call fcn.14020acf0
cmp byte [r13 + 0x130], 0
je 0x1400e4a92
mov rcx, qword [r13 + 0xb0]
mov eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x5e0]
mov dword [rdx + 0x10], eax
movups xmm0, xmmword [rbx]
movaps xmmword [rdx], xmm0
call fcn.14020acf0
mov rbx, qword [rsp + 0x80]
movabs rax, 0xfffffffc00000000
and rax, rbx
cmp rax, qword [0x14029be48]
jne 0x1400e44d6
mov rcx, rbx
call fcn.1400dca60
jmp 0x1400e44d6
ud2
mov rcx, qword [0x1402b6458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400e4571
mov rcx, qword [0x1402b6458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400e441a
call fcn.1400dca60
jmp 0x1400e46ff
xor ecx, ecx
jmp 0x1400e47c9