Function at 0x1401059e0
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 rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rcx + 0xb8]
mov r15, qword [rcx + 0xc0]
cmp rax, r15
je 0x140105bf4
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140105bdc
cmp qword [rdi + 0x68], 0
je 0x140105bdc
mov rcx, qword [rdi + 0xa8]
test rcx, rcx
je 0x140106d55
mov rdx, qword [rcx + 0xc0]
sub rdx, qword [rcx + 0xb8]
cmp rdx, 0x80
jne 0x140105bdc
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movzx eax, byte [rsi + 8]
test al, al
jne 0x140105b13
mov rax, qword [fcn.140118b10]
lea rcx, [0x140118bc0]
cmp rax, rcx
jne 0x140106c78
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x80]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140106ea9
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsi + 8]
cmp al, 1
je 0x140106e83
test rsi, rsi
je 0x140106e70
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106da5
lea r14, [rdi + 0x68]
mov r15, qword [rsi]
mov qword [rsp + 0x60], r15
mov rax, qword [r14]
xor edx, edx
cmp r15, rax
setns dl
movabs r12, 0x7fffffffffffffff
add rdx, r12
mov rcx, r15
sub rcx, rax
cmovo rcx, rdx
cmp rcx, 0x1c9c37f
jg 0x140105bad
movabs rax, 0x8000000000000001
lea r8, [rcx + rax]
mov rdx, qword [rdi + 0x50]
cmp r8, 1
jbe 0x140106dc0
lea rax, [rdx + rcx]
sar rax, 0x3f
movabs r8, 0x8000000000000000
xor r8, rax
add rdx, rcx
cmovo rdx, r8
mov qword [rdi + 0x50], rdx
cmp rdx, 0x186a0
jge 0x140106b59
mov qword [rdi + 0x70], r15
cmp qword [rdi + 0xa8], 0
je 0x140106d58
movzx eax, byte [0x1402c58f9]
test al, al
setne bl
jne 0x140106de3
mov byte [rdi + 0xa0], bl
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x68], rax
mov rax, qword [rdi + 0xb8]
mov r15, qword [rdi + 0xc0]
cmp rax, r15
je 0x140106d42
cmp dword [r15 - 0x38], 0
mov dword [r15 - 0x38], 0
jne 0x140105c20
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140191d70
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
mov eax, dword [0x1402cc8b0]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140105d8f
cmp dword [r15 - 0x18], 0
je 0x140106db8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
movabs r9, 0x100000000
or r9, rax
mov byte [rsp + 0x80], 0
mov byte [rsp + 0x88], 0
mov rdx, qword [r15 - 0x20]
lea rcx, [0x1402cbf28]
lea r8, [rsp + 0x80]
call fcn.140001c60
cmp qword [r15 - 0x78], 0
jne 0x1401067c6
mov qword [rsp + 0x60], 0xa
movzx eax, byte [0x1402c585a]
test al, al
jne 0x140106ed0
mov esi, dword [0x1402b5274]
test esi, esi
je 0x140105bf4
mov eax, dword [0x1402c2670]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rdi, [rax + 0x128]
mov rax, qword [rdi]
test rax, rax
je 0x140106a56
mov ebx, esi
mov rdx, qword [rax + 8]
cmp byte [rdx + 0xc], 0
jne 0x140105bf4
mov rcx, qword [0x1402b3e18]
mov byte [rdx + 0xc], 1
mov rdx, qword [rax + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rdx + 8], r8d
jne 0x140106f14
test bl, 1
jne 0x140105e63
test bl, 2
jne 0x140105e40
test bl, 4
jne 0x140105dc5
test bl, 8
jne 0x140106542
test bl, 0x10
jne 0x140106562
test bl, 0x20
jne 0x140106582
test bl, 0x40
jne 0x14010659f
test bl, bl
js 0x1401065bf
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov byte [rax + 0xc], 0
jmp 0x140105bf4
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
je 0x140106480
mov r13d, ecx
mov r12d, r13d
test rsi, rsi
je 0x140105d58
jmp 0x140105e80
lea rcx, [0x1402cc8b0]
call fcn.14018f720
cmp dword [0x1402cc8b0], 0xffffffff
jne 0x140105c45
lea rcx, [0x1402cbf28]
call fcn.1400012a0
lea rcx, [0x1402cc8b0]
call fcn.14018f6b4
jmp 0x140105c45
lea rsi, [rax + 0xd0]
mov r12d, 2
cmp qword [rax + 0xd0], 0
jne 0x140105e74
jmp 0x14010666f
mov r8d, dword [r13 + 0x20]
cmp r8, 0x7f
ja 0x140106aa3
mov r14, qword [r13]
mov rdx, qword [r14 + 0x18]
sub rdx, r8
lea rcx, [rdx - 4]
cmp rax, rcx
jne 0x140106aa3
cmp rax, qword [r14 + 8]
jb 0x140106aa3
lea rcx, [rdx - 3]
call fcn.1401cd6e0
add qword [r14 + 0x18], 0xfffffffffffffffd
mov al, byte [r13 + 0x20]
mov rcx, qword [r13 + 0x18]
mov byte [rcx], al
mov al, 2
mov byte [r13 + 0x24], al
mov qword [r13 + 0x18], 0
jmp 0x14010607f
lea rsi, [rax + 0x70]
mov r12d, 1
cmp qword [rax + 0x70], 0
jne 0x140105e74
jmp 0x14010669e
mov rcx, r13
call fcn.1400fc950
jmp 0x14010606d
lea rsi, [rax + 0x10]
xor r12d, r12d
cmp qword [rsi], 0
je 0x1401066cd
test rsi, rsi
je 0x140105d58
xorps xmm6, xmm6
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [0x14018cdc0]
cmp rax, rdx
jne 0x140106e93
mov rax, qword [rcx + 0x60]
add rax, qword [rcx + 0x58]
sub rax, qword [rcx + 0x48]
cmp rax, qword [rsi + 0x50]
je 0x1401061b9
mov r13, qword [rsi]
mov rax, qword [r13]
mov rax, qword [rax + 8]
lea rcx, [fcn.14012cb90]
cmp rax, rcx
jne 0x140106f29
mov rax, qword [r13 + 0x68]
cmp byte [rax + 0x24], 0
je 0x140106fe3
mov rax, qword [r13 + 0x80]
test rax, rax
je 0x140105f2d
mov rdx, qword [r13 + 0x58]
mov r14, rdx
sub r14, qword [r13 + 0x70]
mov r8d, r14d
cmp r8, 0x7e
ja 0x14010676c
cmp rax, qword [r13 + 0x48]
jb 0x14010676c
sub rdx, r8
lea rcx, [rdx - 3]
call fcn.1401cd6e0
add qword [r13 + 0x58], 0xfffffffffffffffd
mov rax, qword [r13 + 0x80]
mov byte [rax], r14b
mov qword [r13 + 0x80], 0
mov byte [r13 + 0x78], 0
mov r15b, byte [r13 + 0x7a]
mov rax, qword [r13 + 0x50]
sub rax, qword [r13 + 0x58]
cmp rax, 0xc
jb 0x140106b1c
cmp byte [r13 + 0x79], 0
jne 0x140106b1c
cmp byte [r13 + 0x7b], 1
je 0x140106b1c
mov rax, qword [r13 + 0x88]
test rax, rax
jne 0x140106f55
mov r14, qword [r13 + 0x68]
lea rbp, [r14 + 0x28]
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x140106cf6
mov rcx, qword [rax]
test rcx, rcx
jne 0x140106d7b
lea rcx, [r13 + 0x40]
mov dword [rax + 0x288], 0
mov qword [r14], rcx
mov qword [r14 + 8], rbp
movups xmmword [r14 + 0x10], xmm6
mov qword [r14 + 0x1d], 0
mov rax, qword [r13 + 0x58]
lea rcx, [rax + 4]
cmp rcx, qword [r13 + 0x50]
ja 0x140106c37
lea rcx, [rax + 4]
mov qword [r13 + 0x58], rcx
mov dword [rax], 0
mov qword [r13 + 0x80], rax
mov rax, qword [r13 + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov rax, qword [r13 + 0x58]
mov qword [r13 + 0x70], rax
mov byte [r13 + 0x78], 1
cmp byte [r13 + 0x7a], 0
jne 0x140106031
mov rcx, qword [r13 + 0x30]
movzx eax, word [rcx + 6]
cmp byte [r13 + 0x7c], 1
jne 0x140106b01
and eax, 0x3ff
mov byte [r13 + 0x7c], 0
movzx eax, ax
cmp eax, 0x3fe
sete byte [r13 + 0x79]
test r15b, r15b
jne 0x140106f3c
cmp byte [r13 + 0xa0], 1
je 0x140106bb9
add r13, 8
mov qword [rsp + 0x68], r13
mov r13, qword [rsp + 0x60]
test r13, r13
je 0x14010618f
mov rbp, qword [rsp + 0x68]
cmp byte [r13 + 0x24], 0
jne 0x14010607f
cmp qword [r13 + 0x10], 0
jne 0x140105e56
mov rax, qword [r13 + 0x18]
test rax, rax
jne 0x140105de5
mov byte [r13 + 0x24], 1
test rbp, rbp
je 0x14010618f
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1401060d3
mov rdx, qword [rbp + 0x50]
mov r14, rdx
sub r14, qword [rbp + 0x68]
mov r8d, r14d
cmp r8, 0x7e
ja 0x140106799
cmp rax, qword [rbp + 0x40]
jb 0x140106799
sub rdx, r8
lea rcx, [rdx - 3]
call fcn.1401cd6e0
add qword [rbp + 0x50], 0xfffffffffffffffd
mov rax, qword [rbp + 0x78]
mov byte [rax], r14b
mov qword [rbp + 0x78], 0
mov r15, qword [rbp + 0x60]
lea r13, [r15 + 0x28]
mov rax, qword [r15 + 0x28]
test rax, rax
je 0x140106d09
mov rcx, qword [rax]
test rcx, rcx
jne 0x140106d5b
lea rcx, [rbp + 0x38]
mov dword [rax + 0x288], 0
mov qword [r15], rcx
mov qword [r15 + 8], r13
movups xmmword [r15 + 0x10], xmm6
mov qword [r15 + 0x1d], 0
mov r13, qword [rbp + 0x60]
cmp byte [r13 + 0x24], 0
jne 0x14010613e
cmp qword [r13 + 0x10], 0
jne 0x1401062c6
mov rax, qword [r13 + 0x18]
test rax, rax
jne 0x1401062d3
mov byte [r13 + 0x24], 1
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14010617f
cmp word [rbp + 0x30], 0
je 0x14010617f
cmp byte [rbp + 0x74], 0
jne 0x14010617f
mov rcx, qword [rbp + 0x48]
cmp rcx, qword [rbp + 0x50]
je 0x140106f06
mov byte [rbp + 0x74], 1
movzx ecx, word [rax + 6]
lea edx, [rcx + 1]
and edx, 0x3ff
and ecx, 0xfffffc00
or ecx, edx
mov word [rax + 6], cx
mov rax, qword [rbp + 0x80]
test rax, rax
jne 0x140106c8b
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [0x14018cdc0]
cmp rax, rdx
jne 0x140106e9e
mov rax, qword [rcx + 0x60]
add rax, qword [rcx + 0x58]
sub rax, qword [rcx + 0x48]
mov qword [rsi + 0x50], rax
cmp byte [rsi + 0x48], 1
je 0x140106fa8
cmp r12d, 6
ja 0x140105d58
lea r13d, [r12 + 1]
mov rax, qword [rdi]
add rax, 0x10
mov edx, 2
mov ecx, r12d
shl edx, cl
test ebx, edx
jne 0x14010632e
lea rcx, [r13 + 1]
cmp rcx, 8
je 0x140105d58
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140105d68
lea rcx, [r13 + 2]
cmp rcx, 8
je 0x140105d58
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140106351
lea rcx, [r13 + 3]
cmp rcx, 8
je 0x140105d58
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x14010636d
lea rcx, [r13 + 4]
cmp rcx, 8
je 0x140105d58
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140106389
lea rcx, [r13 + 5]
cmp rcx, 8
je 0x140105d58
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x1401063a2
add r13, 6
cmp r13, 8
je 0x140105d58
mov edx, 1
mov ecx, r13d
shl edx, cl
bt ebx, r13d
jae 0x140105d58
lea rcx, [r13*2]
add rcx, r13
shl rcx, 5
lea rsi, [rax + rcx]
cmp qword [rax + rcx], 0
jne 0x140105d82
jmp 0x140106503
mov rcx, r13
call fcn.1400fc950
jmp 0x14010612c
mov r8d, dword [r13 + 0x20]
cmp r8, 0x7f
ja 0x140106ad2
mov r14, qword [r13]
mov rdx, qword [r14 + 0x18]
sub rdx, r8
lea rcx, [rdx - 4]
cmp rax, rcx
jne 0x140106ad2
cmp rax, qword [r14 + 8]
jb 0x140106ad2
lea rcx, [rdx - 3]
call fcn.1401cd6e0
add qword [r14 + 0x18], 0xfffffffffffffffd
mov al, byte [r13 + 0x20]
mov rcx, qword [r13 + 0x18]
mov byte [rcx], al
mov al, 2
mov byte [r13 + 0x24], al
mov qword [r13 + 0x18], 0
jmp 0x14010613e
lea rcx, [r13*2]
add rcx, r13
shl rcx, 5
lea rsi, [rax + rcx]
cmp qword [rax + rcx], 0
jne 0x140105d82
jmp 0x140106445
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d7f
jmp 0x140106419
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d7f
jmp 0x1401064d7
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d7f
jmp 0x1401063e9
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d7f
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x1401063e2
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064a5
mov ebx, ebp
jmp 0x140106281
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140106412
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064a5
mov ebx, ebp
jmp 0x140106263
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x14010643e
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064a5
mov ebx, ebp
jmp 0x140106227
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140106479
mov rcx, r13
shl rcx, 7
lea rdx, [0x1402b5268]
mov dl, byte [rcx + rdx + 0x10]
test dl, 1
je 0x140106479
lea rax, [0x1402b5268]
lea r8, [rcx + rax]
add r8, 0x10
jmp 0x1401064b7
mov ebx, ebp
jmp 0x1401061eb
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x1401064d0
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
je 0x1401064d0
lea rax, [0x1402b5268]
lea r8, [rdx + rax]
add r8, 0x10
mov r13d, ecx
lea rcx, [0x1402b5268]
mov rdx, rsi
mov r9d, r13d
call fcn.14002c680
mov ebx, ebp
jmp 0x140105d82
mov ebx, ebp
jmp 0x140106209
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x1401064fc
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064a5
mov ebx, ebp
jmp 0x140106245
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140105d58
mov rax, r13
shl rax, 7
lea rcx, [0x1402b5268]
mov cl, byte [rax + rcx + 0x10]
test cl, 1
je 0x140105d58
lea rcx, [0x1402b5268]
lea r8, [rax + rcx]
add r8, 0x10
jmp 0x1401064b7
lea rsi, [rax + 0x130]
mov r12d, 3
cmp qword [rax + 0x130], 0
jne 0x140105e74
jmp 0x14010670e
lea rsi, [rax + 0x190]
mov r12d, 4
cmp qword [rax + 0x190], 0
jne 0x140105e74
jmp 0x14010663d
lea rsi, [rax + 0x1f0]
mov r12d, 5
cmp qword [rax + 0x1f0], 0
jne 0x140105e74
jmp 0x14010660b
lea rsi, [rax + 0x250]
mov r12d, 6
cmp qword [rax + 0x250], 0
jne 0x140105e74
jmp 0x14010673d
lea rsi, [rax + 0x2b0]
mov r12d, 7
cmp qword [rax + 0x2b0], 0
jne 0x140105e74
mov eax, dword [0x1402b5274]
test al, al
jns 0x140105d58
mov cl, byte [0x1402b55f8]
test cl, 1
je 0x140105d58
and ebx, eax
lea r8, [0x1402b55f8]
mov r12d, 7
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x20
je 0x140105d47
mov cl, byte [0x1402b54f8]
test cl, 1
je 0x140105d47
lea r8, [0x1402b54f8]
mov r12d, 5
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x10
je 0x140105d3e
mov cl, byte [0x1402b5478]
test cl, 1
je 0x140105d3e
lea r8, [0x1402b5478]
mov r12d, 4
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 4
je 0x140105d2c
mov cl, byte [0x1402b5378]
test cl, 1
je 0x140105d2c
lea r8, [0x1402b5378]
mov r12d, 2
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 2
je 0x140105d23
mov cl, byte [0x1402b52f8]
test cl, 1
je 0x140105d23
lea r8, [0x1402b52f8]
mov r12d, 1
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 1
je 0x140105d1a
mov cl, byte [0x1402b5278]
test cl, 1
je 0x140105d1a
lea r8, [0x1402b5278]
xor r12d, r12d
lea rcx, [0x1402b5268]
mov rdx, rsi
mov r9d, r12d
call fcn.14002c680
jmp 0x140105e74
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 8
je 0x140105d35
mov cl, byte [0x1402b53f8]
test cl, 1
je 0x140105d35
lea r8, [0x1402b53f8]
mov r12d, 3
jmp 0x1401066f7
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x40
je 0x140105d50
mov cl, byte [0x1402b5578]
test cl, 1
je 0x140105d50
lea r8, [0x1402b5578]
mov r12d, 6
jmp 0x1401066f7
mov ecx, r14d
or cl, 0x80
mov byte [rax], cl
mov ecx, r14d
shr ecx, 7
or cl, 0x80
mov byte [rax + 1], cl
mov ecx, r14d
shr ecx, 0xe
or cl, 0x80
mov byte [rax + 2], cl
shr r14d, 0x15
mov byte [rax + 3], r14b
jmp 0x140105f22
mov ecx, r14d
or cl, 0x80
mov byte [rax], cl
mov ecx, r14d
shr ecx, 7
or cl, 0x80
mov byte [rax + 1], cl
mov ecx, r14d
shr ecx, 0xe
or cl, 0x80
mov byte [rax + 2], cl
shr r14d, 0x15
mov byte [rax + 3], r14b
jmp 0x1401060cb
mov al, byte [rsi + 8]
test al, al
jne 0x140106853
mov rax, qword [fcn.140118b10]
lea rcx, [0x140118bc0]
cmp rax, rcx
jne 0x140106d1c
lea rdi, [rsp + 0x80]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140107407
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x80], rax
mov al, byte [rsi + 8]
cmp al, 1
je 0x1401070e3
test rsi, rsi
je 0x140106e70
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106da5
lea r12, [r15 - 0x80]
mov rdi, qword [rsi]
mov r14, qword [r15 - 0x78]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.14000a4a0
mov r13, qword [rbx]
mov rax, qword [r15 - 0x70]
xor ecx, ecx
cmp r13, rax
setns cl
movabs rbp, 0x7fffffffffffffff
add rcx, rbp
sub r13, rax
cmovo r13, rcx
xor eax, eax
cmp rdi, r14
setns al
add rax, rbp
mov qword [rsp + 0x50], rdi
mov rbx, rdi
mov qword [rsp + 0x48], r14
sub rbx, r14
movabs rdi, 0x8000000000000001
cmovo rbx, rax
cmp rbx, r13
mov r14, r13
cmovl r14, rbx
lea rdx, str.Scheduling.ThreadController.ActiveIntervalDuration
mov qword [rsp + 0x38], r12
mov rcx, r12
mov r8, rbx
mov r9, rbx
call fcn.1400030a0
lea rax, [r14 + rdi]
mov qword [rsp + 0x40], rax
cmp rax, 2
jb 0x140107042
xor eax, eax
cmp rbx, r14
setns al
add rax, rbp
mov r8, rbx
sub r8, r14
cmovo r8, rax
lea rdx, str.Scheduling.ThreadController.ActiveIntervalOffCpuDuration
mov r12, qword [rsp + 0x38]
mov rcx, r12
mov r9, rbx
call fcn.1400030a0
lea rdx, str.Scheduling.ThreadController.ActiveIntervalOnCpuDuration
mov rcx, r12
mov r8, r14
mov r9, rbx
call fcn.1400030a0
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x50], rax
je 0x140107035
mov rax, r14
shr rax, 0x3f
movabs rdx, 0x8000000000000001
lea rcx, [rdx + rax]
add rcx, 0xfffffffffffffffe
imul rax, r14, 0x64
cmovo rax, rcx
lea rcx, [rax + rdx]
cmp rcx, 2
jb 0x140107067
cqo
idiv rbx
mov rcx, qword [rsp + 0x38]
mov edx, eax
mov r8, rbx
call fcn.140003920
mov rax, qword [r15 - 0x30]
test rax, rax
je 0x14010703f
cmp byte [rax + 0x18], 1
je 0x140107103
add r15, 0xffffffffffffff88
xorpd xmm0, xmm0
movupd xmmword [r15], xmm0
mov al, byte [rsi + 8]
test al, al
jne 0x140106a3e
mov rax, qword [fcn.140118b10]
lea rcx, [0x140118bc0]
cmp rax, rcx
jne 0x140106d2f
lea rbx, [rsp + 0x80]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14010742e
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x80], rax
mov al, byte [rsi + 8]
cmp al, 1
je 0x1401070f3
test rsi, rsi
je 0x140106e70
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106da5
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
jmp 0x140105c98
mov rax, qword [0x1402b3e18]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1402a3ee8]
lea rcx, [rax + 0x6218]
lea rdx, [0x1402b5268]
mov qword [rax + 0x6218], rdx
mov qword [rax + 0x6220], rax
mov qword [rdi], rcx
mov ebx, dword [0x1402b5274]
and ebx, esi
je 0x140105bf4
mov rax, qword [rdi]
jmp 0x140105ce6
mov ecx, r8d
or cl, 0x80
mov byte [rax], cl
mov ecx, r8d
shr ecx, 7
or cl, 0x80
mov byte [rax + 1], cl
mov ecx, r8d
shr ecx, 0xe
or cl, 0x80
mov byte [rax + 2], cl
shr r8d, 0x15
mov byte [rax + 3], r8b
mov al, 1
jmp 0x140105e2f
mov ecx, r8d
or cl, 0x80
mov byte [rax], cl
mov ecx, r8d
shr ecx, 7
or cl, 0x80
mov byte [rax + 1], cl
mov ecx, r8d
shr ecx, 0xe
or cl, 0x80
mov byte [rax + 2], cl
shr r8d, 0x15
mov byte [rax + 3], r8b
mov al, 1
jmp 0x14010631d
lea edx, [rax + 1]
and edx, 0x3ff
and eax, 0xfffffc00
or eax, edx
mov word [rcx + 6], ax
mov eax, edx
jmp 0x14010601b
lea rcx, [r13 + 0x10]
mov rax, qword [r13 + 0x10]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x70]
call qword [0x1402a3ee8]
mov rax, qword [r13 + 0x58]
sub rax, qword [r13 + 0x48]
add qword [r13 + 0x60], rax
movupd xmm0, xmmword [rsp + 0x70]
movupd xmmword [r13 + 0x48], xmm0
mov rax, qword [rsp + 0x70]
mov qword [r13 + 0x58], rax
jmp 0x140105f5e
cvtsi2sd xmm0, rdx
divsd xmm0, qword [0x14028e500]
cvttsd2si ebx, xmm0
mov rcx, qword [rdi + 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov edx, 6
mov r8d, ebx
call qword [0x1402a3ee8]
movsxd rax, ebx
imul rcx, rax, 0x3e8
mov rax, qword [rdi + 0x50]
xor edx, edx
cmp rax, rcx
setns dl
add rdx, r12
sub rax, rcx
cmovo rax, rdx
mov qword [rdi + 0x50], rax
jmp 0x140105b9b
mov rcx, rbp
call fcn.1400fc950
jmp 0x140106bc4
mov rbp, qword [r13 + 0x68]
cmp qword [rbp + 0x10], 0
jne 0x140106baf
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x83], rax
mov dword [rsp + 0x8b], 0xaaaaaaaa
mov word [rsp + 0x80], 0x5b8
mov byte [rsp + 0x82], 1
mov rcx, qword [rbp]
mov rax, qword [rcx + 0x18]
lea rdx, [rax + 3]
cmp rdx, qword [rcx + 0x10]
ja 0x140106cde
movzx r8d, word [rsp + 0x80]
mov r9b, byte [rsp + 0x82]
mov byte [rax + 2], r9b
mov word [rax], r8w
mov qword [rcx + 0x18], rdx
add dword [rbp + 0x20], 3
mov byte [r13 + 0xa0], 0
jmp 0x14010603f
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x80]
call qword [0x1402a3ee8]
mov rax, qword [r13 + 0x58]
sub rax, qword [r13 + 0x48]
add qword [r13 + 0x60], rax
movupd xmm0, xmmword [rsp + 0x80]
movupd xmmword [r13 + 0x48], xmm0
mov rax, qword [rsp + 0x80]
jmp 0x140105fc3
lea rcx, [rsp + 0x80]
call qword [0x1402a3ee8]
jmp 0x140105aed
cmp byte [rax + 0xe], 0
je 0x14010618f
lea rax, [rbp + 0x80]
mov rcx, qword [rbp + 0x10]
mov r9d, dword [rbp + 0x1c]
movzx r8d, word [rbp + 0x18]
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], 0
mov byte [rsp + 0x8a], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x80]
call fcn.14001f830
jmp 0x14010618f
mov r8d, 3
lea rdx, [rsp + 0x80]
call fcn.140147500
jmp 0x140106c26
mov rcx, rbp
xor edx, edx
call fcn.140181370
mov qword [rbp], rax
jmp 0x140105f8f
mov rcx, r13
xor edx, edx
call fcn.140181370
mov qword [r13], rax
jmp 0x1401060f4
lea rcx, [rsp + 0x80]
call qword [0x1402a3ee8]
jmp 0x14010682e
lea rcx, [rsp + 0x80]
call qword [0x1402a3ee8]
jmp 0x140106a19
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:622:_assertion__empty___failed:_back___called_on_an_empty_vector_n
call fcn.1401ceaf0
int3
int3
mov qword [rax], 0
mov r14, qword [rcx]
call fcn.14018f5a0
mov rcx, r14
test r14, r14
jne 0x140106d62
mov rax, qword [r13]
jmp 0x1401060f4
mov qword [rax], 0
mov rax, qword [rcx]
mov qword [rsp + 0x38], rax
call fcn.14018f5a0
mov rax, qword [rsp + 0x38]
mov rcx, rax
test rax, rax
jne 0x140106d82
mov rax, qword [rbp]
jmp 0x140105f8f
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.1401ceaf0
xor r9d, r9d
jmp 0x140105c65
lea r8, [rdx + rax]
cmp r8, 2
setae r8b
cmp rdx, rcx
sete cl
or cl, r8b
je 0x14010745e
dec rax
jmp 0x140106ba6
cmp byte [rdi + 0xa0], 0
jne 0x140106e03
mov qword [rsp + 0x58], 0xa9
mov al, byte [0x1402c58f9]
test al, al
jne 0x140107399
mov qword [rsp + 0x70], 0xa9
mov al, byte [0x1402c58f9]
test al, al
jne 0x14010709b
mov qword [rsp + 0x70], 0xa9
mov al, byte [0x1402c58f9]
test al, al
je 0x140105bbf
cmp byte [rdi + 0x98], 0
je 0x140106da5
movzx ecx, al
lea r9, [rdi + 0x88]
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
call fcn.14020a2b0
jmp 0x140105bbf
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceaf0
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140105b13
call qword [0x1402a3ee8]
jmp 0x140105ea6
call qword [0x1402a3ee8]
jmp 0x1401061b5
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140105ae5
movzx edi, al
lea rbx, [rsp + 0x80]
mov rcx, rsi
mov rdx, rbx
call fcn.1401090e0
lea r8, [rsp + 0x70]
mov qword [r8], 0
lea rdx, [rsp + 0x60]
mov ecx, edi
mov r9, rbx
call fcn.14020a250
jmp 0x140105cb0
lea rcx, [rbp - 8]
call fcn.140009860
jmp 0x14010617f
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x1402a3ee8]
mov rax, qword [rdi]
jmp 0x140105d11
mov rcx, r13
lea rdx, [rsp + 0x60]
call qword [0x1402a3ee8]
jmp 0x140106048
mov rcx, qword [r13 + 0x68]
mov edx, Ordinal_46
mov r8d, 1
call fcn.140181a80
jmp 0x140106031
cmp byte [rax + 0xe], 0
je 0x140105f6e
lea rax, [r13 + 0x88]
mov rcx, qword [r13 + 0x18]
mov r9d, dword [r13 + 0x24]
movzx r8d, word [r13 + 0x20]
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], 0
mov byte [rsp + 0x8a], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x80]
call fcn.14001f830
jmp 0x140105f6e
mov rcx, qword [rsi]
lea rax, [0x1401d55a0]
mov qword [rsp + 0x98], rax
lea rax, [0x140275fa0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0x80]
call qword [0x1402a3ee8]
jmp 0x1401061c3
call fcn.14018f5ec
mov ecx, dword [rax]
call fcn.1401b33ac
mov rsi, rax
call fcn.14018f5ec
mov edi, dword [rax]
lea rcx, str....._third_partyperfetto_src_tracingcore_trace_writer_impl.cc
call fcn.1401d5910
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_cur_packet___is_finalized___
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, Ordinal_127
call fcn.1401d5c20
int3
mov eax, 0x64
jmp 0x14010697e
int3
cmp rbx, r13
jle 0x140107461
mov r8, r14
shr r8, 0x3f
not r8
movabs rax, 0x8000000000000001
add r8, rax
jmp 0x14010690e
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107464
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x14010697e
cmp byte [rdi + 0x98], 0
je 0x140106da5
movzx ecx, al
lea rax, [rdi + 0x88]
lea rdx, str.IdleWork
lea r8, [rsp + 0x80]
mov qword [r8], rdx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov r9d, 1
call fcn.140013790
jmp 0x140106e1a
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140106853
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140106a3e
movabs rax, 0x8000000000000001
lea rcx, [rbx + rax]
mov rax, qword [r15 - 0x60]
cmp rcx, 2
jae 0x140107141
movabs rcx, 0x8000000000000001
add rcx, rax
cmp rcx, 2
setae cl
cmp rax, rbx
sete al
or al, cl
mov rax, rbx
jne 0x140107155
jmp 0x140107455
lea rcx, [rax + rbx]
sar rcx, 0x3f
btc rcx, 0x3f
add rax, rbx
cmovo rax, rcx
mov qword [r15 - 0x60], rax
mov rcx, qword [r15 - 0x58]
cmp qword [rsp + 0x40], 1
jbe 0x140107191
xor edx, edx
cmp rbx, r14
setns dl
add rdx, rbp
sub rbx, r14
cmovo rbx, rdx
lea rdx, [rcx + r14]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, r14
cmovo rcx, rdx
mov qword [r15 - 0x58], rcx
jmp 0x1401071d7
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, r14
sete cl
or cl, dl
je 0x140107467
mov qword [r15 - 0x58], r14
cmp rbx, r13
jle 0x14010746a
shr r14, 0x3f
not r14
movabs rcx, 0x8000000000000001
add r14, rcx
mov rbx, r14
movabs rcx, 0x8000000000000001
lea rdx, [rbx + rcx]
mov rcx, qword [r15 - 0x50]
cmp rdx, 2
jae 0x140107212
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rbx
sete cl
or cl, dl
jne 0x140107229
jmp 0x140107458
lea rdx, [rcx + rbx]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rbx
cmovo rcx, rdx
mov rbx, rcx
mov qword [r15 - 0x50], rbx
mov rbx, qword [r15 - 0x68]
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 2
jae 0x140107261
movabs rcx, 0x8000000000000001
add rcx, rax
cmp rcx, 1
ja 0x140107275
cmp rax, rbx
je 0x140107275
jmp 0x14010745b
lea rcx, [rax + rbx]
sar rcx, 0x3f
btc rcx, 0x3f
add rbx, rax
cmovo rbx, rcx
cmp rbx, 0xf4241
jl 0x1401069a4
mov rcx, rax
shr rcx, 0x3f
movabs rdx, 0x8000000000000001
add rcx, rdx
add rcx, 0xfffffffffffffffe
imul rax, rax, 0x64
cmovo rax, rcx
lea rcx, [rax + rdx]
cmp rcx, 2
jb 0x14010748e
cqo
idiv rbx
movsxd rcx, eax
cmp rcx, rax
jne 0x140107476
lea rdx, str.Scheduling.ThreadController.ActiveVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c50
mov rax, qword [r15 - 0x58]
mov rcx, rax
shr rcx, 0x3f
movabs rdx, 0x8000000000000001
add rcx, rdx
add rcx, 0xfffffffffffffffe
imul rax, rax, 0x64
cmovo rax, rcx
lea rcx, [rax + rdx]
cmp rcx, 2
jb 0x1401074be
cqo
idiv rbx
movsxd rcx, eax
cmp rcx, rax
jne 0x14010747e
lea rdx, str.Scheduling.ThreadController.ActiveOnCpuVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c50
mov rax, qword [r15 - 0x50]
mov rcx, rax
shr rcx, 0x3f
movabs rdx, 0x8000000000000001
add rcx, rdx
add rcx, 0xfffffffffffffffe
imul rax, rax, 0x64
cmovo rax, rcx
lea rcx, [rax + rdx]
cmp rcx, 2
jb 0x1401074ee
cqo
idiv rbx
lea rdi, [r15 - 0x68]
movsxd rcx, eax
cmp rcx, rax
jne 0x140107486
lea rdx, str.Scheduling.ThreadController.ActiveOffCpuVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c50
xorpd xmm0, xmm0
movupd xmmword [rdi + 0x10], xmm0
movupd xmmword [rdi], xmm0
jmp 0x1401069a4
mov rcx, 0xfffffffffff0bdc0
add rcx, qword [rdi + 0x68]
movabs rdx, 0x8000000000000000
cmovno rdx, rcx
mov qword [rsp + 0x80], rdx
cmp byte [rdi + 0x98], 0
je 0x140106da5
movzx ecx, al
lea rax, [rdi + 0x88]
lea rdx, str.MessagePumpPhases
lea r8, [rsp + 0x70]
mov qword [r8], rdx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
mov r9d, 3
call fcn.140013790
jmp 0x140106e03
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140106826
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140106a11
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x14010746d
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x1401072b5
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107470
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x14010730c
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107473
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x140107363