Function at 0x1401059f0
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 0x140105c04
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140105bec
cmp qword [rdi + 0x68], 0
je 0x140105bec
mov rcx, qword [rdi + 0xa8]
test rcx, rcx
je 0x140106d65
mov rdx, qword [rcx + 0xc0]
sub rdx, qword [rcx + 0xb8]
cmp rdx, 0x80
jne 0x140105bec
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movzx eax, byte [rsi + 8]
test al, al
jne 0x140105b23
mov rax, qword [fcn.140118b20]
lea rcx, [0x140118bd0]
cmp rax, rcx
jne 0x140106c88
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 0x140106eb9
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsi + 8]
cmp al, 1
je 0x140106e93
test rsi, rsi
je 0x140106e80
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106db5
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 0x140105bbd
movabs rax, 0x8000000000000001
lea r8, [rcx + rax]
mov rdx, qword [rdi + 0x50]
cmp r8, 1
jbe 0x140106dd0
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 0x140106b69
mov qword [rdi + 0x70], r15
cmp qword [rdi + 0xa8], 0
je 0x140106d68
movzx eax, byte [0x1402c58f9]
test al, al
setne bl
jne 0x140106df3
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 0x140106d52
cmp dword [r15 - 0x38], 0
mov dword [r15 - 0x38], 0
jne 0x140105c30
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140191d80
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 0x140105d9f
cmp dword [r15 - 0x18], 0
je 0x140106dc8
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 0x1401067d6
mov qword [rsp + 0x60], 0xa
movzx eax, byte [0x1402c585a]
test al, al
jne 0x140106ee0
mov esi, dword [0x1402b5274]
test esi, esi
je 0x140105c04
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 0x140106a66
mov ebx, esi
mov rdx, qword [rax + 8]
cmp byte [rdx + 0xc], 0
jne 0x140105c04
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 0x140106f24
test bl, 1
jne 0x140105e73
test bl, 2
jne 0x140105e50
test bl, 4
jne 0x140105dd5
test bl, 8
jne 0x140106552
test bl, 0x10
jne 0x140106572
test bl, 0x20
jne 0x140106592
test bl, 0x40
jne 0x1401065af
test bl, bl
js 0x1401065cf
mov rax, qword [rdi]
mov rax, qword [rax + 8]
mov byte [rax + 0xc], 0
jmp 0x140105c04
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
je 0x140106490
mov r13d, ecx
mov r12d, r13d
test rsi, rsi
je 0x140105d68
jmp 0x140105e90
lea rcx, [0x1402cc8b0]
call fcn.14018f730
cmp dword [0x1402cc8b0], 0xffffffff
jne 0x140105c55
lea rcx, [0x1402cbf28]
call fcn.1400012a0
lea rcx, [0x1402cc8b0]
call fcn.14018f6c4
jmp 0x140105c55
lea rsi, [rax + 0xd0]
mov r12d, 2
cmp qword [rax + 0xd0], 0
jne 0x140105e84
jmp 0x14010667f
mov r8d, dword [r13 + 0x20]
cmp r8, 0x7f
ja 0x140106ab3
mov r14, qword [r13]
mov rdx, qword [r14 + 0x18]
sub rdx, r8
lea rcx, [rdx - 4]
cmp rax, rcx
jne 0x140106ab3
cmp rax, qword [r14 + 8]
jb 0x140106ab3
lea rcx, [rdx - 3]
call fcn.1401cd6f0
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 0x14010608f
lea rsi, [rax + 0x70]
mov r12d, 1
cmp qword [rax + 0x70], 0
jne 0x140105e84
jmp 0x1401066ae
mov rcx, r13
call fcn.1400fc960
jmp 0x14010607d
lea rsi, [rax + 0x10]
xor r12d, r12d
cmp qword [rsi], 0
je 0x1401066dd
test rsi, rsi
je 0x140105d68
xorps xmm6, xmm6
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [0x14018cdd0]
cmp rax, rdx
jne 0x140106ea3
mov rax, qword [rcx + 0x60]
add rax, qword [rcx + 0x58]
sub rax, qword [rcx + 0x48]
cmp rax, qword [rsi + 0x50]
je 0x1401061c9
mov r13, qword [rsi]
mov rax, qword [r13]
mov rax, qword [rax + 8]
lea rcx, [fcn.14012cba0]
cmp rax, rcx
jne 0x140106f39
mov rax, qword [r13 + 0x68]
cmp byte [rax + 0x24], 0
je 0x140106ff3
mov rax, qword [r13 + 0x80]
test rax, rax
je 0x140105f3d
mov rdx, qword [r13 + 0x58]
mov r14, rdx
sub r14, qword [r13 + 0x70]
mov r8d, r14d
cmp r8, 0x7e
ja 0x14010677c
cmp rax, qword [r13 + 0x48]
jb 0x14010677c
sub rdx, r8
lea rcx, [rdx - 3]
call fcn.1401cd6f0
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 0x140106b2c
cmp byte [r13 + 0x79], 0
jne 0x140106b2c
cmp byte [r13 + 0x7b], 1
je 0x140106b2c
mov rax, qword [r13 + 0x88]
test rax, rax
jne 0x140106f65
mov r14, qword [r13 + 0x68]
lea rbp, [r14 + 0x28]
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x140106d06
mov rcx, qword [rax]
test rcx, rcx
jne 0x140106d8b
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 0x140106c47
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 0x140106041
mov rcx, qword [r13 + 0x30]
movzx eax, word [rcx + 6]
cmp byte [r13 + 0x7c], 1
jne 0x140106b11
and eax, 0x3ff
mov byte [r13 + 0x7c], 0
movzx eax, ax
cmp eax, 0x3fe
sete byte [r13 + 0x79]
test r15b, r15b
jne 0x140106f4c
cmp byte [r13 + 0xa0], 1
je 0x140106bc9
add r13, 8
mov qword [rsp + 0x68], r13
mov r13, qword [rsp + 0x60]
test r13, r13
je 0x14010619f
mov rbp, qword [rsp + 0x68]
cmp byte [r13 + 0x24], 0
jne 0x14010608f
cmp qword [r13 + 0x10], 0
jne 0x140105e66
mov rax, qword [r13 + 0x18]
test rax, rax
jne 0x140105df5
mov byte [r13 + 0x24], 1
test rbp, rbp
je 0x14010619f
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1401060e3
mov rdx, qword [rbp + 0x50]
mov r14, rdx
sub r14, qword [rbp + 0x68]
mov r8d, r14d
cmp r8, 0x7e
ja 0x1401067a9
cmp rax, qword [rbp + 0x40]
jb 0x1401067a9
sub rdx, r8
lea rcx, [rdx - 3]
call fcn.1401cd6f0
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 0x140106d19
mov rcx, qword [rax]
test rcx, rcx
jne 0x140106d6b
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 0x14010614e
cmp qword [r13 + 0x10], 0
jne 0x1401062d6
mov rax, qword [r13 + 0x18]
test rax, rax
jne 0x1401062e3
mov byte [r13 + 0x24], 1
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x14010618f
cmp word [rbp + 0x30], 0
je 0x14010618f
cmp byte [rbp + 0x74], 0
jne 0x14010618f
mov rcx, qword [rbp + 0x48]
cmp rcx, qword [rbp + 0x50]
je 0x140106f16
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 0x140106c9b
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [0x14018cdd0]
cmp rax, rdx
jne 0x140106eae
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 0x140106fb8
cmp r12d, 6
ja 0x140105d68
lea r13d, [r12 + 1]
mov rax, qword [rdi]
add rax, 0x10
mov edx, 2
mov ecx, r12d
shl edx, cl
test ebx, edx
jne 0x14010633e
lea rcx, [r13 + 1]
cmp rcx, 8
je 0x140105d68
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140105d78
lea rcx, [r13 + 2]
cmp rcx, 8
je 0x140105d68
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140106361
lea rcx, [r13 + 3]
cmp rcx, 8
je 0x140105d68
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x14010637d
lea rcx, [r13 + 4]
cmp rcx, 8
je 0x140105d68
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x140106399
lea rcx, [r13 + 5]
cmp rcx, 8
je 0x140105d68
mov edx, 1
shl edx, cl
bt ebx, ecx
jb 0x1401063b2
add r13, 6
cmp r13, 8
je 0x140105d68
mov edx, 1
mov ecx, r13d
shl edx, cl
bt ebx, r13d
jae 0x140105d68
lea rcx, [r13*2]
add rcx, r13
shl rcx, 5
lea rsi, [rax + rcx]
cmp qword [rax + rcx], 0
jne 0x140105d92
jmp 0x140106513
mov rcx, r13
call fcn.1400fc960
jmp 0x14010613c
mov r8d, dword [r13 + 0x20]
cmp r8, 0x7f
ja 0x140106ae2
mov r14, qword [r13]
mov rdx, qword [r14 + 0x18]
sub rdx, r8
lea rcx, [rdx - 4]
cmp rax, rcx
jne 0x140106ae2
cmp rax, qword [r14 + 8]
jb 0x140106ae2
lea rcx, [rdx - 3]
call fcn.1401cd6f0
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 0x14010614e
lea rcx, [r13*2]
add rcx, r13
shl rcx, 5
lea rsi, [rax + rcx]
cmp qword [rax + rcx], 0
jne 0x140105d92
jmp 0x140106455
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d8f
jmp 0x140106429
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d8f
jmp 0x1401064e7
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d8f
jmp 0x1401063f9
lea r8, [rcx + rcx*2]
shl r8, 5
lea rsi, [rax + r8]
cmp qword [rax + r8], 0
jne 0x140105d8f
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x1401063f2
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064b5
mov ebx, ebp
jmp 0x140106291
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140106422
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064b5
mov ebx, ebp
jmp 0x140106273
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x14010644e
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064b5
mov ebx, ebp
jmp 0x140106237
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140106489
mov rcx, r13
shl rcx, 7
lea rdx, [0x1402b5268]
mov dl, byte [rcx + rdx + 0x10]
test dl, 1
je 0x140106489
lea rax, [0x1402b5268]
lea r8, [rcx + rax]
add r8, 0x10
jmp 0x1401064c7
mov ebx, ebp
jmp 0x1401061fb
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x1401064e0
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
je 0x1401064e0
lea rax, [0x1402b5268]
lea r8, [rdx + rax]
add r8, 0x10
mov r13d, ecx
lea rcx, [0x1402b5268]
mov rdx, rsi
mov r9d, r13d
call fcn.14002cb70
mov ebx, ebp
jmp 0x140105d92
mov ebx, ebp
jmp 0x140106219
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x14010650c
mov rdx, rcx
shl rdx, 7
lea r8, [0x1402b5268]
mov r8b, byte [rdx + r8 + 0x10]
test r8b, 1
jne 0x1401064b5
mov ebx, ebp
jmp 0x140106255
mov ebp, dword [0x1402b5274]
and ebp, ebx
test ebp, edx
je 0x140105d68
mov rax, r13
shl rax, 7
lea rcx, [0x1402b5268]
mov cl, byte [rax + rcx + 0x10]
test cl, 1
je 0x140105d68
lea rcx, [0x1402b5268]
lea r8, [rax + rcx]
add r8, 0x10
jmp 0x1401064c7
lea rsi, [rax + 0x130]
mov r12d, 3
cmp qword [rax + 0x130], 0
jne 0x140105e84
jmp 0x14010671e
lea rsi, [rax + 0x190]
mov r12d, 4
cmp qword [rax + 0x190], 0
jne 0x140105e84
jmp 0x14010664d
lea rsi, [rax + 0x1f0]
mov r12d, 5
cmp qword [rax + 0x1f0], 0
jne 0x140105e84
jmp 0x14010661b
lea rsi, [rax + 0x250]
mov r12d, 6
cmp qword [rax + 0x250], 0
jne 0x140105e84
jmp 0x14010674d
lea rsi, [rax + 0x2b0]
mov r12d, 7
cmp qword [rax + 0x2b0], 0
jne 0x140105e84
mov eax, dword [0x1402b5274]
test al, al
jns 0x140105d68
mov cl, byte [0x1402b55f8]
test cl, 1
je 0x140105d68
and ebx, eax
lea r8, [0x1402b55f8]
mov r12d, 7
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x20
je 0x140105d57
mov cl, byte [0x1402b54f8]
test cl, 1
je 0x140105d57
lea r8, [0x1402b54f8]
mov r12d, 5
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x10
je 0x140105d4e
mov cl, byte [0x1402b5478]
test cl, 1
je 0x140105d4e
lea r8, [0x1402b5478]
mov r12d, 4
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 4
je 0x140105d3c
mov cl, byte [0x1402b5378]
test cl, 1
je 0x140105d3c
lea r8, [0x1402b5378]
mov r12d, 2
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 2
je 0x140105d33
mov cl, byte [0x1402b52f8]
test cl, 1
je 0x140105d33
lea r8, [0x1402b52f8]
mov r12d, 1
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 1
je 0x140105d2a
mov cl, byte [0x1402b5278]
test cl, 1
je 0x140105d2a
lea r8, [0x1402b5278]
xor r12d, r12d
lea rcx, [0x1402b5268]
mov rdx, rsi
mov r9d, r12d
call fcn.14002cb70
jmp 0x140105e84
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 8
je 0x140105d45
mov cl, byte [0x1402b53f8]
test cl, 1
je 0x140105d45
lea r8, [0x1402b53f8]
mov r12d, 3
jmp 0x140106707
mov ecx, dword [0x1402b5274]
and ebx, ecx
test cl, 0x40
je 0x140105d60
mov cl, byte [0x1402b5578]
test cl, 1
je 0x140105d60
lea r8, [0x1402b5578]
mov r12d, 6
jmp 0x140106707
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 0x140105f32
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 0x1401060db
mov al, byte [rsi + 8]
test al, al
jne 0x140106863
mov rax, qword [fcn.140118b20]
lea rcx, [0x140118bd0]
cmp rax, rcx
jne 0x140106d2c
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 0x140107417
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 0x140106e80
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106db5
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 0x140107052
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 0x140107045
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 0x140107077
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 0x14010704f
cmp byte [rax + 0x18], 1
je 0x140107113
add r15, 0xffffffffffffff88
xorpd xmm0, xmm0
movupd xmmword [r15], xmm0
mov al, byte [rsi + 8]
test al, al
jne 0x140106a4e
mov rax, qword [fcn.140118b20]
lea rcx, [0x140118bd0]
cmp rax, rcx
jne 0x140106d3f
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 0x14010743e
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x80], rax
mov al, byte [rsi + 8]
cmp al, 1
je 0x140107103
test rsi, rsi
je 0x140106e80
mov rax, qword [rsp + 0x80]
mov qword [rsi], rax
mov byte [rsi + 8], 1
mov al, 1
test al, al
je 0x140106db5
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
jmp 0x140105ca8
mov rax, qword [0x1402b3e18]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1402a3e88]
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 0x140105c04
mov rax, qword [rdi]
jmp 0x140105cf6
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 0x140105e3f
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 0x14010632d
lea edx, [rax + 1]
and edx, 0x3ff
and eax, 0xfffffc00
or eax, edx
mov word [rcx + 6], ax
mov eax, edx
jmp 0x14010602b
lea rcx, [r13 + 0x10]
mov rax, qword [r13 + 0x10]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x70]
call qword [0x1402a3e88]
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 0x140105f6e
cvtsi2sd xmm0, rdx
divsd xmm0, qword [0x14028e4a0]
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 [0x1402a3e88]
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 0x140105bab
mov rcx, rbp
call fcn.1400fc960
jmp 0x140106bd4
mov rbp, qword [r13 + 0x68]
cmp qword [rbp + 0x10], 0
jne 0x140106bbf
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 0x140106cee
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 0x14010604f
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x80]
call qword [0x1402a3e88]
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 0x140105fd3
lea rcx, [rsp + 0x80]
call qword [0x1402a3e88]
jmp 0x140105afd
cmp byte [rax + 0xe], 0
je 0x14010619f
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.14001fd20
jmp 0x14010619f
mov r8d, 3
lea rdx, [rsp + 0x80]
call fcn.140147510
jmp 0x140106c36
mov rcx, rbp
xor edx, edx
call fcn.140181380
mov qword [rbp], rax
jmp 0x140105f9f
mov rcx, r13
xor edx, edx
call fcn.140181380
mov qword [r13], rax
jmp 0x140106104
lea rcx, [rsp + 0x80]
call qword [0x1402a3e88]
jmp 0x14010683e
lea rcx, [rsp + 0x80]
call qword [0x1402a3e88]
jmp 0x140106a29
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_vector:622:_assertion__empty___failed:_back___called_on_an_empty_vector_n
call fcn.1401ceb00
int3
int3
mov qword [rax], 0
mov r14, qword [rcx]
call fcn.14018f5b0
mov rcx, r14
test r14, r14
jne 0x140106d72
mov rax, qword [r13]
jmp 0x140106104
mov qword [rax], 0
mov rax, qword [rcx]
mov qword [rsp + 0x38], rax
call fcn.14018f5b0
mov rax, qword [rsp + 0x38]
mov rcx, rax
test rax, rax
jne 0x140106d92
mov rax, qword [rbp]
jmp 0x140105f9f
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.1401ceb00
xor r9d, r9d
jmp 0x140105c75
lea r8, [rdx + rax]
cmp r8, 2
setae r8b
cmp rdx, rcx
sete cl
or cl, r8b
je 0x14010746e
dec rax
jmp 0x140106bb6
cmp byte [rdi + 0xa0], 0
jne 0x140106e13
mov qword [rsp + 0x58], 0xa9
mov al, byte [0x1402c58f9]
test al, al
jne 0x1401073a9
mov qword [rsp + 0x70], 0xa9
mov al, byte [0x1402c58f9]
test al, al
jne 0x1401070ab
mov qword [rsp + 0x70], 0xa9
mov al, byte [0x1402c58f9]
test al, al
je 0x140105bcf
cmp byte [rdi + 0x98], 0
je 0x140106db5
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.14020a2c0
jmp 0x140105bcf
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceb00
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140105b23
call qword [0x1402a3e88]
jmp 0x140105eb6
call qword [0x1402a3e88]
jmp 0x1401061c5
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140105af5
movzx edi, al
lea rbx, [rsp + 0x80]
mov rcx, rsi
mov rdx, rbx
call fcn.1401090f0
lea r8, [rsp + 0x70]
mov qword [r8], 0
lea rdx, [rsp + 0x60]
mov ecx, edi
mov r9, rbx
call fcn.14020a260
jmp 0x140105cc0
lea rcx, [rbp - 8]
call fcn.140009860
jmp 0x14010618f
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x1402a3e88]
mov rax, qword [rdi]
jmp 0x140105d21
mov rcx, r13
lea rdx, [rsp + 0x60]
call qword [0x1402a3e88]
jmp 0x140106058
mov rcx, qword [r13 + 0x68]
mov edx, Ordinal_46
mov r8d, 1
call fcn.140181a90
jmp 0x140106041
cmp byte [rax + 0xe], 0
je 0x140105f7e
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.14001fd20
jmp 0x140105f7e
mov rcx, qword [rsi]
lea rax, [0x1401d55b0]
mov qword [rsp + 0x98], rax
lea rax, [0x140275fb0]
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0x80]
call qword [0x1402a3e88]
jmp 0x1401061d3
call fcn.14018f5fc
mov ecx, dword [rax]
call fcn.1401b33bc
mov rsi, rax
call fcn.14018f5fc
mov edi, dword [rax]
lea rcx, str....._third_partyperfetto_src_tracingcore_trace_writer_impl.cc
call fcn.1401d5920
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.1401d5c30
int3
mov eax, 0x64
jmp 0x14010698e
int3
cmp rbx, r13
jle 0x140107471
mov r8, r14
shr r8, 0x3f
not r8
movabs rax, 0x8000000000000001
add r8, rax
jmp 0x14010691e
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107474
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x14010698e
cmp byte [rdi + 0x98], 0
je 0x140106db5
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 0x140106e2a
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140106863
mov rcx, qword [rsp + 0x80]
mov qword [rsi], rcx
jmp 0x140106a4e
movabs rax, 0x8000000000000001
lea rcx, [rbx + rax]
mov rax, qword [r15 - 0x60]
cmp rcx, 2
jae 0x140107151
movabs rcx, 0x8000000000000001
add rcx, rax
cmp rcx, 2
setae cl
cmp rax, rbx
sete al
or al, cl
mov rax, rbx
jne 0x140107165
jmp 0x140107465
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 0x1401071a1
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 0x1401071e7
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, r14
sete cl
or cl, dl
je 0x140107477
mov qword [r15 - 0x58], r14
cmp rbx, r13
jle 0x14010747a
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 0x140107222
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rbx
sete cl
or cl, dl
jne 0x140107239
jmp 0x140107468
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 0x140107271
movabs rcx, 0x8000000000000001
add rcx, rax
cmp rcx, 1
ja 0x140107285
cmp rax, rbx
je 0x140107285
jmp 0x14010746b
lea rcx, [rax + rbx]
sar rcx, 0x3f
btc rcx, 0x3f
add rbx, rax
cmovo rbx, rcx
cmp rbx, 0xf4241
jl 0x1401069b4
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 0x14010749e
cqo
idiv rbx
movsxd rcx, eax
cmp rcx, rax
jne 0x140107486
lea rdx, str.Scheduling.ThreadController.ActiveVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c60
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 0x1401074ce
cqo
idiv rbx
movsxd rcx, eax
cmp rcx, rax
jne 0x14010748e
lea rdx, str.Scheduling.ThreadController.ActiveOnCpuVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c60
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 0x1401074fe
cqo
idiv rbx
lea rdi, [r15 - 0x68]
movsxd rcx, eax
cmp rcx, rax
jne 0x140107496
lea rdx, str.Scheduling.ThreadController.ActiveOffCpuVsWallTimePercentage
mov rcx, qword [rsp + 0x38]
mov r8d, eax
call fcn.140209c60
xorpd xmm0, xmm0
movupd xmmword [rdi + 0x10], xmm0
movupd xmmword [rdi], xmm0
jmp 0x1401069b4
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 0x140106db5
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 0x140106e13
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140106836
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140106a21
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x14010747d
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x1401072c5
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107480
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x14010731c
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 1
jbe 0x140107483
xor rax, rbx
shr rax, 0x3f
movabs rcx, 0x8000000000000001
add rax, rcx
add rax, 0xfffffffffffffffe
jmp 0x140107373