Function at 0x140061870
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, 0x268
movaps xmmword [rsp + 0x250], xmm10
movaps xmmword [rsp + 0x240], xmm9
movaps xmmword [rsp + 0x230], xmm8
movaps xmmword [rsp + 0x220], xmm7
movaps xmmword [rsp + 0x210], xmm6
mov rsi, rcx
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x208], rax
test byte [0x14012ff60], 0x19
jne 0x140062ae0
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x1400633c6
mov rcx, qword [rsi + 0x48]
mov rdx, rsi
call fcn.140003e80
mov eax, dword [0x1401443c8]
test eax, eax
je 0x1400619e8
mov rax, qword [rsi + 0x50]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x14006190f
cmp dword [rsi + 0x68], 0
je 0x1400619e8
mov rcx, qword [0x1401443c0]
test rcx, rcx
je 0x1400619e8
lea rdi, [rsp + 0x180]
mov rdx, rdi
mov r8d, 2
call fcn.1400164a0
mov rax, qword [rdi]
mov qword [rsp + 0x78], rax
test byte [0x14012ff60], 0x19
jne 0x140062c90
mov rcx, qword [rsi + 0x48]
lea rdx, [rsi + 0x30]
mov qword [rsp + 0x68], rdx
call fcn.140003ff0
test byte [0x14012ff60], 0x19
jne 0x140062d34
movabs r13, 0x7fffffffffffffff
lea r12, [rsp + 0x188]
mov eax, dword [0x14013da54]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x190]
mov qword [rsp + 0x98], rcx
lea rcx, [rax + 0x198]
mov qword [rsp + 0x80], rcx
lea rax, [rax + 0x1b0]
mov qword [rsp + 0x90], rax
movaps xmm6, xmmword [0x1401148f0]
xorps xmm7, xmm7
movsd xmm8, qword [0x140120098]
movsd xmm9, qword [0x14011e550]
movsd xmm10, qword [0x14011e558]
xor r14d, r14d
jmp 0x140061d1c
xor eax, eax
jmp 0x140061938
mov rax, qword [0x1401314b8]
lea rcx, [0x1400955b0]
cmp rax, rcx
jne 0x140062f42
mov qword [rsp + 0x180], 0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x180]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140063378
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov qword [rsp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x20], xmm7
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov cl, 0x45
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_active
xor r9d, r9d
call fcn.14005f8f0
jmp 0x140061e0d
lea rdi, [rbx + 0x20]
mov rcx, rdi
mov r12, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
call r12
test al, al
je 0x140062f55
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rcx, rdi
mov rax, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call rax
mov rcx, rdi
call r12
test al, al
je 0x140063290
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x60], rax
movups xmmword [rbx + 0x30], xmm7
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x88], rax
mov r12, qword [rbx + 0x48]
movups xmmword [rbx + 0x40], xmm7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x88]
mov rax, r12
mov rbx, rcx
cmp rcx, r12
jne 0x1400632c7
lea rcx, fcn.140066130
mov rdx, qword [rsp + 0x70]
xor r8d, r8d
call fcn.14006ae20
lea r12, [rsp + 0x188]
jmp 0x140061cf9
mov rax, qword [rbx + 0x10]
mov ecx, 0xfffffffe
lock xadd dword [rax], ecx
cmp ecx, 3
jne 0x140061b82
jmp 0x140062f6e
mov rbx, qword [rsp + 0xc8]
test rbx, rbx
je 0x140061ced
mov qword [rsp + 0xc0], 0
mov al, byte [rbp + 0xd]
and al, 0x7f
cmp al, 2
je 0x140061b45
lock dec dword [rbx + 0x18]
je 0x140061a9d
lock dec dword [rbp + 8]
jne 0x140061d02
mov rcx, rbp
call fcn.1400070d0
mov rcx, rbp
call fcn.14009614c
jmp 0x140061d02
mov rcx, qword [rsi + 0x48]
call fcn.140003d10
jmp 0x140061e00
mov qword [rsp + 0x1e0], rax
lea rcx, [rsp + 0x1e0]
call fcn.14005d7c0
mov rcx, qword [rsi + 0x50]
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm7
lea rdx, [rsp + 0x180]
lea r8, [rsp + 0xb0]
call fcn.140063690
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
jne 0x140063066
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xc0], 0
test rdi, rdi
jne 0x140062fc7
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x180], 0
mov rdi, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], rax
test rdi, rdi
jne 0x140062fe6
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x180]
call fcn.14005d7c0
mov rcx, qword [rsi + 0x48]
movapd xmm0, xmmword [rsp + 0xc0]
movupd xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xc0], xmm7
lea rdx, [rsp + 0xa0]
call fcn.140093a20
cmp qword [rsp + 0xc0], 0
jne 0x140062f9e
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r14b, 1
xor r15d, r15d
mov rbp, qword [rsp + 0xc0]
test rbp, rbp
jne 0x140061b5c
mov qword [rsp + 0xc0], 0
test rbp, rbp
jne 0x140061b8c
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
jne 0x140062fa1
test r15b, r15b
jne 0x1400628d3
movzx eax, byte [rsi + 0x40]
test al, al
jne 0x1400628d3
movzx eax, byte [rsi + 0x70]
test al, al
jne 0x1400628d3
mov rbx, qword [rsi + 0x50]
lea rdi, [rbx + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140062a02
mov rax, qword [rbx + 0x58]
test rax, rax
jne 0x140062e65
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsi + 0x50]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x1400629f8
mov ebp, dword [rsi + 0x68]
cmp dword [rsi + 0x6c], ebp
jne 0x140062ef0
movaps xmmword [rsp + 0xc0], xmm6
mov rcx, qword [rsi + 0x48]
lea rdx, [rsp + 0xc0]
mov r8, rsi
call fcn.140072e40
mov rax, qword [rsp + 0xc0]
test rax, rax
jne 0x140061bc0
mov al, byte [rsi + 0x40]
mov r15b, 1
test al, al
jne 0x140061cdc
mov al, byte [rsi + 0x70]
test al, al
jne 0x140061cdc
mov rbx, qword [rsi + 0x50]
lea rdi, [rbx + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140062a4c
mov rax, qword [rbx + 0x58]
test rax, rax
jne 0x140062ea1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r14b, 1
je 0x140061bab
test byte [0x14012ff60], 0x19
jne 0x1400619ef
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
lea rdx, [fcn.140003ff0]
cmp qword [rax + 0x30], rdx
jne 0x1400627c8
cmp byte [rcx + 0x40], 0
mov r15, r13
jne 0x1400627d7
mov eax, 0xf4240
cmp r15, rax
mov r14d, 0xf4240
cmovl r14, r15
mov eax, dword [0x1401486f4]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140062a10
cmp byte [0x1401486f0], 0
je 0x14006201c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf8], rax
mov rax, qword [fcn.14005f770]
lea rcx, [0x1400955b0]
cmp rax, rcx
jne 0x140062ec4
mov qword [rsp + 0x180], 0
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x180]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400630f6
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov qword [rsp + 0xf8], rax
mov eax, dword [0x140148700]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140062a5a
mov r8, qword [rsp + 0xf8]
lea rax, [r14 + r13]
add rax, 2
cmp rax, 2
jb 0x14006309f
lea rax, [r8 + r14]
sar rax, 0x3f
btc rax, 0x3f
add r14, r8
cmovo r14, rax
mov r9, r14
xor eax, eax
mov rcx, r9
neg rcx
setns al
add rax, r13
mov rcx, r9
neg rcx
cmovo rcx, rax
lea rdx, [rcx + r13]
add rdx, 2
mov rax, r13
cmp rdx, 2
jb 0x140061f9c
mov rax, rcx
movabs rdx, 0x431bde82d7b634db
imul rdx
mov rax, rdx
shr rax, 0x3f
sar rdx, 0x12
add rdx, rax
imul rax, rdx, 0xf4240
sub rcx, rax
mov rax, rcx
je 0x140062e5e
lea rdx, [rax + 0xf4240]
sar rdx, 0x3f
btc rdx, 0x3f
mov rcx, rax
add rcx, 0xf4240
cmovo rcx, rdx
test r9, r9
cmovle rcx, rax
lea rax, [rcx + r13]
add rax, 2
cmp rax, 2
jb 0x1400630d2
lea rax, [r9 + rcx]
sar rax, 0x3f
btc rax, 0x3f
add r9, rcx
cmovo r9, rax
mov rax, r9
xor ecx, ecx
cmp rax, r8
setns cl
add rcx, r13
sub rax, r8
cmovo rax, rcx
mov r14, qword [0x1401486f8]
xor ecx, ecx
cmp r14, r8
setns cl
add rcx, r13
sub r14, r8
cmovo r14, rcx
cmp rax, r14
cmovg r14, rax
test r14, r14
jle 0x140062784
movaps xmmword [rsp + 0x180], xmm6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1d0], rax
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm6
movaps xmmword [rsp + 0x190], xmm6
mov byte [rsp + 0x180], 0
movups xmmword [r12 + 0x30], xmm7
movups xmmword [r12 + 0x20], xmm7
movups xmmword [r12 + 0x10], xmm7
movups xmmword [r12], xmm7
mov qword [r12 + 0x40], 0
cmp byte [rsi + 0x38], 0
je 0x1400623d3
cmp r14, r13
je 0x14006231a
mov rax, qword [0x1401314b8]
lea rcx, [0x1400955b0]
cmp rax, rcx
jne 0x140062e88
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xf8]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14006311d
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov rbp, rax
lea rax, [r14 + rbp]
sar rax, 0x3f
btc rax, 0x3f
add rbp, r14
cmovo rbp, rax
mov rcx, r14
cmp rcx, r13
je 0x140062310
lea rax, [rcx + r13]
add rax, 2
cmp rax, 2
jb 0x140062fc0
mov rax, rcx
movabs rdx, 0x20c49ba5e353f7cf
imul rdx
mov rax, rdx
shr rdx, 0x3f
sar rax, 7
add rax, rdx
imul r8, rax, 0x3e8
xor edx, edx
cmp rcx, r8
setg dl
xor ecx, ecx
add rdx, rax
setns cl
neg ecx
mov rax, rdx
shr rax, 0x20
cmovne edx, ecx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140062341
mov bpl, 1
cmp byte [rsi + 0x38], 0
je 0x140062322
cmp byte [rsp + 0x180], 0
jne 0x140062334
test bpl, bpl
je 0x1400626ce
xor r15d, r15d
test byte [0x14012ff60], 0x19
mov r14d, 0
je 0x140061cdc
mov rax, qword [0x14013f168]
xor rax, rsi
lea rcx, [fcn.1400635f0]
mov qword [rsp + 0x1f8], rcx
lea rcx, [0x14011e660]
mov qword [rsp + 0x200], rcx
mov qword [rsp + 0x1e8], rax
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
movups xmmword [rsp + 0x20], xmm7
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x150]
mov dl, 0x42
lea r8, [0x14012ff60]
lea r9, str.WorkerThread_active
call fcn.1400634e0
mov rax, qword [rsp + 0x150]
test rax, rax
je 0x1400622d6
mov cl, byte [rsp + 0x168]
mov rdx, qword [rsp + 0x158]
xor edi, edi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x110], rdi
mov byte [rsp + 0x118], cl
mov rax, qword [rsp + 0x1f8]
lea rcx, [rsp + 0x1e8]
lea rbx, [rsp + 0xf8]
mov rdx, rbx
call qword [case.0x1400e3c50.0]
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0xf8], rdi
lea rax, [rsp + 0x100]
movupd xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 9]
movups xmmword [r12 + 9], xmm1
movupd xmmword [r12], xmm0
lea rcx, [rsp + 0x180]
call fcn.1400634f0
mov rcx, rbx
call fcn.1400634f0
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400622f0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 8]
test rax, rax
jne 0x14006315c
xor r15d, r15d
xor r14d, r14d
jmp 0x140061cdc
mov edx, 0xffffffff
jmp 0x14006216c
mov rbp, r13
jmp 0x14006210d
test byte [0x140130850], 0x19
je 0x14006218f
jmp 0x14006316f
mov rcx, r12
call fcn.14005e6c0
jmp 0x14006219d
mov rax, qword [0x1401314b8]
lea rcx, [0x1400955b0]
cmp rax, rcx
jne 0x14006276b
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xf8]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14006339f
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
xor edx, edx
cmp rbp, rax
setns dl
add rdx, r13
mov rcx, rbp
sub rcx, rax
cmovo rcx, rdx
jg 0x140062110
xor ebp, ebp
jmp 0x14006218f
mov rcx, rdi
call fcn.14005d7d0
movabs rcx, 0xfffffffc00000000
jmp 0x140062418
lea rcx, [rsp + 0xd0]
lea rdx, str.TimedWait
lea r8, str....._base_synchronizationwaitable_event.cc
mov r9d, 0x24
call fcn.140072e20
mov rax, qword [rsp + 0x98]
mov rdi, qword [rax]
mov rax, rdi
movabs rcx, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14013d548]
je 0x1400623bf
mov qword [rsp + 0x188], rdi
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rdx]
mov rax, rdi
and rax, rcx
cmp rax, qword [0x14013d548]
je 0x140063147
mov qword [rsp + 0x190], rdi
mov qword [rsp + 0x198], rdx
mov rax, qword [rdx]
mov qword [rdx], r12
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x190]
test rax, rax
jne 0x1400624c5
xor ecx, ecx
mov byte [rsp + 0x1a8], cl
mov byte [rsp + 0x1b0], 0
mov rcx, qword [rsp + 0x90]
cmp byte [rcx], 0
je 0x1400624ca
test rax, rax
jne 0x1400626bf
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x1400624af
cmp qword [rsp + 0x190], 0
jne 0x1400624af
xor edx, edx
call fcn.140084a90
test byte [0x14012ff60], 0x19
jne 0x1400624fd
mov byte [rsp + 0x180], 1
jmp 0x140062091
mov cl, byte [rax + 0x20]
jmp 0x14006246b
mov eax, dword [0x140146d9c]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140062715
cmp byte [0x140146d98], 0
jne 0x140062490
jmp 0x14006275e
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm6
movups xmmword [rsp + 0x20], xmm7
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x150]
mov dl, 0x42
lea r8, [0x14012ff60]
lea r9, str.ScopedBlockingCallWithBaseSyncPrimitives
call fcn.1400634e0
mov rax, qword [rsp + 0x150]
test rax, rax
je 0x1400627a1
mov cl, byte [rsp + 0x168]
mov rdx, qword [rsp + 0x158]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rdx
xor eax, eax
mov qword [rsp + 0x1f8], rax
mov byte [rsp + 0x200], cl
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x1e8]
movupd xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 9]
lea rax, [rsp + 0x100]
movups xmmword [rax + 9], xmm1
movupd xmmword [rax], xmm0
mov rcx, qword [rsp + 0x100]
mov edx, 0x21
call fcn.14006c410
mov rbp, rax
mov rdx, qword [rsp + 0xd8]
lea rdi, [rsp + 0x138]
mov rcx, rdi
call fcn.1400c6760
movzx r9d, byte [rsp + 0x14f]
test r9b, r9b
js 0x1400625e9
and r9d, 0x7f
mov r8, rdi
jmp 0x1400625f9
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
mov rcx, rbp
mov edx, 2
call fcn.14006c810
cmp byte [rsp + 0x14f], 0
jns 0x14006261d
mov rcx, qword [rsp + 0x138]
call fcn.14009614c
mov rdx, qword [rsp + 0xd0]
lea rdi, [rsp + 0x120]
mov rcx, rdi
call fcn.1400c6760
movzx r9d, byte [rsp + 0x137]
test r9b, r9b
js 0x14006264c
and r9d, 0x7f
mov r8, rdi
jmp 0x14006265c
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x120]
mov rcx, rbp
mov edx, 3
call fcn.14006c810
cmp byte [rsp + 0x137], 0
js 0x1400626b0
lea rcx, [rsp + 0xf8]
call fcn.1400634f0
lea rcx, [rsp + 0x1e0]
call fcn.1400634f0
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400624b8
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
jmp 0x1400624b8
mov rcx, qword [rsp + 0x120]
call fcn.14009614c
jmp 0x140062673
cmp byte [rax + 0x28], 0
je 0x140062490
jmp 0x1400633ec
call fcn.140064f10
cmp r15, r14
jle 0x1400621a6
setns al
movzx eax, al
add rax, r13
mov rdx, r15
sub rdx, r14
cmovo rdx, rax
lea rax, [r14 + r13]
add rax, 2
cmp rax, 2
cmovb rdx, r13
cmp r15, r13
cmove rdx, r13
mov rcx, qword [rsp + 0x68]
call fcn.14005dc90
jmp 0x1400621a6
lea rcx, [0x140146d9c]
call fcn.140096228
cmp dword [0x140146d9c], 0xffffffff
jne 0x1400624ef
mov rcx, qword [0x140140d68]
test rcx, rcx
je 0x140062746
lea rdx, str.enable_background_thread_pool
call fcn.140066010
mov byte [0x140146d98], 1
lea rcx, [0x140146d9c]
call fcn.140096508
jmp 0x1400624ef
mov rax, qword [rsp + 0x190]
jmp 0x140062487
lea rdi, [rsp + 0xf8]
mov rcx, rdi
call qword [case.0x1400e3c50.0]
mov rax, qword [rdi]
jmp 0x14006239d
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400621a6
jmp 0x1400626ce
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x1400627bb
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
lea r12, [rsp + 0x188]
jmp 0x1400624b8
mov rdx, qword [rsp + 0x68]
call fcn.140003ff0
jmp 0x1400621a6
mov rax, qword [rcx + 0x30]
cvtsi2sd xmm0, qword [rax + 0x90]
mulsd xmm0, xmm8
ucomisd xmm9, xmm0
jb 0x1400633d8
maxsd xmm0, xmm10
cvttsd2si r15, xmm0
jmp 0x140061e32
lea rdi, [rsp + 0x180]
mov rcx, rdi
call fcn.14005f770
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm6, xmm6
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_active
mov cl, 0x45
xor r9d, r9d
call fcn.14005f8f0
test byte [0x14012ff60], 0x19
je 0x140062966
lea rdi, [rsp + 0x180]
mov rcx, rdi
call fcn.14005f770
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x48], 8
mov qword [rsp + 0x40], 0
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_dead
mov cl, 0x49
xor r9d, r9d
call fcn.14005f8f0
jmp 0x140062966
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400e3c50.0]
jmp 0x14006293f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14006290e
call sub.KERNEL32.dll_WakeConditionVariable
jmp 0x140062929
mov rbx, qword [rsi + 0x48]
mov rcx, qword [rbx + 0x18]
mov qword [rbx + 0x18], 0
test rcx, rcx
je 0x1400628f9
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1400e3c50.0]
mov rdi, qword [rbx + 0x30]
add rdi, 0x28
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400628c1
mov rax, qword [rbx + 0x30]
inc qword [rax + 0x170]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x178]
test rcx, rcx
jne 0x1400628cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsi + 0x60]
test rcx, rcx
jne 0x1400628b2
mov rdi, qword [rsi + 0x10]
mov qword [rsi + 0x10], 0
test rdi, rdi
jne 0x1400629d9
test byte [0x14012ff60], 0x19
mov rsi, qword [rsp + 0x78]
jne 0x140062803
test rsi, rsi
je 0x14006298a
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [case.0x1400e3c50.0]
lock dec dword [rsi]
jne 0x14006298a
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [case.0x1400e3c50.0]
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.140098480
movaps xmm6, xmmword [rsp + 0x210]
movaps xmm7, xmmword [rsp + 0x220]
movaps xmm8, xmmword [rsp + 0x230]
movaps xmm9, xmmword [rsp + 0x240]
movaps xmm10, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lock dec dword [rdi + 8]
jne 0x140062954
mov rcx, rdi
call fcn.140004470
mov rcx, rdi
call fcn.14009614c
jmp 0x140062954
mov ebp, 3
jmp 0x140061d78
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140061d4d
lea rcx, [0x1401486f4]
call fcn.140096228
cmp dword [0x1401486f4], 0xffffffff
jne 0x140061e69
lea rcx, str.DelayFirstWorkerWake
call fcn.140065110
mov byte [0x1401486f0], al
lea rcx, [0x1401486f4]
call fcn.140096508
jmp 0x140061e69
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140061de0
lea rcx, [0x140148700]
call fcn.140096228
cmp dword [0x140148700], 0xffffffff
jne 0x140061f11
mov rax, qword [rsp + 0xf8]
mov edx, 0x3938700
lea rcx, [rdx + rax]
sar rcx, 0x3f
btc rcx, 0x3f
add rax, rdx
cmovo rax, rcx
mov qword [0x1401486f8], rax
lea rcx, [0x140148700]
call fcn.140096508
jmp 0x140061f11
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140062b2d
lea rcx, [rsp + 0x180]
call qword [case.0x1400e3c50.0]
jmp 0x140062b35
mov rax, qword [0x1401314b8]
lea rbx, [0x1400955b0]
cmp rax, rbx
jne 0x140062ad0
lea rdi, [rsp + 0x180]
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 0x140062aac
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov qword [rsp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea r14, [rsp + 0x180]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 8
mov qword [rsp + 0x40], 0
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_born
mov cl, 0x49
xor r9d, r9d
call fcn.14005f8f0
test byte [0x14012ff60], 0x19
je 0x1400618d0
mov rax, qword [0x1401314b8]
cmp rax, rbx
jne 0x140062c25
lea rdi, [rsp + 0x180]
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 0x140062c35
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov qword [rsp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_active
mov cl, 0x42
xor r9d, r9d
call fcn.14005f8f0
jmp 0x1400618d0
lea rcx, [rsp + 0x180]
call qword [case.0x1400e3c50.0]
jmp 0x140062bde
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140062bd6
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140062cdd
lea rcx, [rsp + 0x180]
call qword [case.0x1400e3c50.0]
jmp 0x140062ce5
mov rax, qword [0x1401314b8]
lea rcx, [0x1400955b0]
cmp rax, rcx
jne 0x140062c80
lea rdi, [rsp + 0x180]
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 0x140062c5c
imul rax, rax, 0xf4240
cqo
idiv qword [0x140140c98]
mov qword [rsp + 0x180], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rsp + 0x180]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14012ff60]
lea r8, str.WorkerThread_active
mov cl, 0x45
xor r9d, r9d
call fcn.14005f8f0
jmp 0x14006194a
mov rax, qword [0x14013f168]
xor rax, rsi
lea rcx, [fcn.1400635f0]
mov qword [rsp + 0x1f8], rcx
lea rcx, [0x14011e660]
mov qword [rsp + 0x200], rcx
mov qword [rsp + 0x1e8], rax
movapd xmm0, xmmword [0x1401148f0]
lea rdi, [rsp + 0x150]
movapd xmmword [rdi + 0x10], xmm0
movapd xmmword [rdi], xmm0
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x14012ff60]
lea r9, str.WorkerThread_active
mov rcx, rdi
mov dl, 0x42
call fcn.1400634e0
mov rax, qword [rdi]
test rax, rax
je 0x140062e1c
lea rcx, [rsp + 0x1e8]
mov dl, byte [rsp + 0x168]
mov r8, qword [rsp + 0x158]
xor ebx, ebx
lea rdi, [rsp + 0xf8]
mov qword [rdi], rbx
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], rbx
mov byte [rdi + 0x20], dl
mov rax, qword [rcx + 0x10]
mov rdx, rdi
call qword [case.0x1400e3c50.0]
mov rax, qword [rdi]
lea rcx, [rsp + 0x180]
mov qword [rcx], rax
mov qword [rdi], rbx
movups xmm0, xmmword [rdi + 8]
movups xmmword [rcx + 8], xmm0
movupd xmm0, xmmword [rdi + 0x11]
movupd xmmword [rcx + 0x11], xmm0
call fcn.1400634f0
mov rcx, rdi
call fcn.1400634f0
mov rcx, qword [rsp + 0x160]
test rcx, rcx
je 0x140062e36
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 8]
test rax, rax
je 0x140061969
mov rcx, qword [rsp + 0x1e8]
call qword [case.0x1400e3c50.0]
jmp 0x140061969
xor ecx, ecx
jmp 0x140061fd3
mov rcx, qword [rax]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebp, ebp
jne 0x140061d63
jmp 0x1400628d3
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
call qword [case.0x1400e3c50.0]
mov rbp, qword [rdi]
jmp 0x1400620f9
mov rcx, qword [rax]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebp, ebp
jne 0x140061df6
jmp 0x140061cdc
lea rcx, [rsp + 0xf8]
call qword [case.0x1400e3c50.0]
jmp 0x140061eec
mov edx, 3
jmp 0x140062f11
mov eax, dword [rax + 0x38]
cmp eax, 3
je 0x140062ed7
xor edx, edx
cmp eax, 1
sete dl
jmp 0x140062f11
mov eax, dword [0x14013da54]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x188]
xor edx, edx
test rax, rax
jne 0x140062ede
cmp ebp, 7
jge 0x14006329e
mov eax, dword [0x14013da54]
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx + rax*8]
mov ecx, ebp
call fcn.14000fe00
mov dword [rdi + 0x17c], ebp
mov dword [rsi + 0x6c], ebp
jmp 0x140061d81
lea rcx, [rsp + 0x180]
call qword [case.0x1400e3c50.0]
jmp 0x140061a53
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140061ab6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140062f7f
lea rdi, [rbx + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140062f63
mov rcx, qword [rbx + 0x58]
call fcn.140070ce0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r12, [rsp + 0x188]
jmp 0x140061b82
int3
lock dec dword [rdi + 8]
jne 0x140061d13
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.14009614c
jmp 0x140061d13
xor edx, edx
jmp 0x14006216c
lock dec dword [rdi + 8]
jne 0x140061c34
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.14009614c
jmp 0x140061c34
lock dec dword [rdi + 8]
jne 0x140062ffc
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.14009614c
mov rdi, qword [rsp + 0x180]
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
test rdi, rdi
lea r12, [rsp + 0x188]
je 0x140061c71
lock dec dword [rdi + 8]
je 0x140063054
mov rdi, qword [rsp + 0x180]
test rdi, rdi
lea r12, [rsp + 0x188]
je 0x140061c71
jmp 0x1400634bd
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.14009614c
jmp 0x140063036
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140061c17
mov qword [rsp + 0xc0], 0
lea rbp, [rsp + 0xf8]
mov rdx, rbp
mov r8, rdi
call fcn.14000ff60
mov rdi, qword [rbp]
jmp 0x140061c2b
lea r9, [r13 + 1]
cmp r8, r14
jne 0x1400630b5
lea r12, [rsp + 0x188]
jmp 0x140061f42
lea rax, [r8 + r13]
add rax, 2
cmp rax, 1
lea r12, [rsp + 0x188]
ja 0x140061f42
int3
lea rdx, [r9 + r13]
add rdx, 2
mov rax, r13
cmp rdx, 1
ja 0x140061fea
mov rax, r13
cmp r9, rcx
je 0x140061fea
int3
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140061ee4
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov rbp, rax
add rbp, r8
jmp 0x1400620f9
mov rcx, rdi
call fcn.14005d7d0
mov rdx, qword [rsp + 0x80]
jmp 0x14006243e
mov rcx, qword [rsp + 0x1e8]
call qword [case.0x1400e3c50.0]
jmp 0x140062305
mov rax, qword [0x14013f168]
xor rax, qword [rsp + 0x68]
lea rcx, [fcn.1400635f0]
mov qword [rsp + 0x168], rcx
lea rcx, [0x14011e660]
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x158], rax
lea rdi, [rsp + 0xd0]
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x140130850]
lea r9, str.WaitableEvent::Wait_Complete
mov rcx, rdi
mov dl, 0x49
call fcn.1400634e0
mov rax, qword [rdi]
test rax, rax
je 0x14006324a
lea rcx, [rsp + 0x158]
mov dl, byte [rsp + 0xe8]
mov r8, qword [rsp + 0xd8]
xor ebx, ebx
lea rdi, [rsp + 0x1e0]
mov qword [rdi], rbx
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], r8
mov qword [rdi + 0x18], rbx
mov byte [rdi + 0x20], dl
mov rdx, rdi
call fcn.1400635f0
mov rax, qword [rdi]
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
mov qword [rdi], rbx
movups xmm0, xmmword [rdi + 8]
movups xmmword [rcx + 8], xmm0
movupd xmm0, xmmword [rdi + 0x11]
movupd xmmword [rcx + 0x11], xmm0
call fcn.1400634f0
mov rcx, rdi
call fcn.1400634f0
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140063264
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 8]
test rax, rax
je 0x140063283
mov rcx, qword [rsp + 0x158]
call qword [case.0x1400e3c50.0]
lea r12, [rsp + 0x188]
jmp 0x14006218f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140061ada
int3
int3
int3
int3
int3
int3
int3
lock dec dword [rdi]
jne 0x1400632f9
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [case.0x1400e3c50.0]
jmp 0x1400632f9
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x60], rbx
jb 0x1400632b0
mov r12, rcx
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax + rbx*8]
mov qword [rax + rbx*8], 0
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [case.0x1400e3c50.0]
test rdi, rdi
jne 0x1400632b3
inc rbx
xor eax, eax
cmp rbx, qword [rsp + 0x60]
cmove rbx, rax
mov rax, qword [rsp + 0x58]
cmp rbx, rax
mov rcx, r12
jne 0x1400632c7
cmp rax, rcx
jbe 0x14006346a
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jb 0x1400632a1
cmp r12, qword [rsp + 0x58]
jg 0x1400632a4
mov rdi, qword [rsp + 0x58]
shl rdi, 3
shl r12, 3
mov rbx, r12
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + r12]
test rcx, rcx
jne 0x140063367
mov r12, rbx
add r12, 8
cmp rdi, r12
jne 0x140063345
jmp 0x140061b24
lock dec dword [rcx]
jne 0x140063356
mov rax, qword [rcx + 0x10]
call qword [case.0x1400e3c50.0]
jmp 0x140063356
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140061a4b
mov rcx, qword [0x140140c98]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14006239d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400e3c50.0]
jmp 0x1400618dd
xor r15d, r15d
ucomisd xmm0, qword [0x14011e558]
cmovae r15, r13
jmp 0x140061e32
mov rdi, qword [rax + 0x38]
mov qword [rax + 0x38], 0
test rdi, rdi
je 0x140062490
lock dec dword [rdi]
jne 0x140062490
mov rcx, rdi
call fcn.14000b930
mov rcx, rdi
call fcn.14009614c
jmp 0x140062490
cmp qword [rsp + 0x58], 0
js 0x1400632ad
mov rbx, qword [rsp + 0x58]
je 0x140061b24
shl rbx, 3
xor edi, edi
jmp 0x140063455
mov rax, qword [rcx + 0x10]
call qword [case.0x1400e3c50.0]
add rdi, 8
cmp rbx, rdi
je 0x140061b24
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rdi]
test rcx, rcx
je 0x140063448
lock dec dword [rcx]
je 0x14006343e
jmp 0x140063448
cmp qword [rsp + 0x60], r12
jb 0x1400632a7
jl 0x1400632aa
je 0x14006341f
shl qword [rsp + 0x60], 3
shl r12, 3
jmp 0x1400634a8
mov rax, qword [rcx + 0x10]
call qword [case.0x1400e3c50.0]
mov rax, r12
add rax, 8
mov r12, rax
cmp qword [rsp + 0x60], rax
je 0x14006341f
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + r12]
test rcx, rcx
je 0x140063493
lock dec dword [rcx]
je 0x140063489
jmp 0x140063493
lock dec dword [rdi + 8]
jne 0x140061c71
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.14009614c
jmp 0x140061c71