Function at 0x1400a0810
Capabilities:
Terminate thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov r14, rcx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x20], r12d
lea rsi, [rcx + 0x14b0]
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x78], 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rbx, qword [r14 + 0x14a0]
mov r8, qword [rbx + 8]
lea rdx, [r14 + 0x14a0]
lea rcx, [r14 + 0x14a0]
call fcn.14008b570
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [r14 + 0x14a8], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 0xd8]
call fcn.14008d9c0
mov rcx, qword [r14 + 0x460]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14003c8e9.0]
mov rcx, qword [r14 + 0x468]
test rcx, rcx
je 0x140093d44
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14003c8e9.0]
mov rdx, qword [r14 + 0xf88]
mov qword [r14 + 0xf88], r12
test rdx, rdx
je 0x140093d5c
call fcn.1400c4c80
mov dword [rbp - 0x50], 1
lea rax, [0x1401ef308]
mov qword [rbp - 0x4c], rax
lea rax, [0x1400ebed0]
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x44], r14
lea rcx, [rsp + 0x50]
call fcn.14010f540
nop
mov rax, qword [rax]
test rax, rax
je 0x140093db8
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140093db8
mov rax, qword [rax + 8]
test rax, rax
je 0x140093db8
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov ecx, 0x5403
call qword [case.0x14003c8e9.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140093dcb
add rcx, 0x48
call fcn.14007f890
mov rcx, qword [r14 + 0x10f8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rsi, [r14 + 0x1040]
lea rdi, [r14 + 0x60]
mov qword [rbp - 0x78], rdi
mov byte [rbp - 0x70], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [r14 + 0x58], 0
je 0x140093e0a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140093eb9
mov rax, qword [r14 + 0xb0]
cmp qword [r14 + 0x50], rax
ja 0x140093e21
lea rcx, [r14 + 0x40]
call fcn.14007f530
nop
mov ecx, 0x18
call fcn.1401c51ec
mov qword [rbp + 0x60], rax
lea rcx, vtable.ThreadPool::Runnable.0
mov qword [rax], rcx
lea rcx, vtable.ThreadPool::RunnableImpl_class_std::_Binder_struct_std::_Unforced__unsigned_long_int____cdecl___void____ptr64___class_UserActivityTrigger____ptr64__.0
mov qword [rax], rcx
lea rcx, [0x1400f7530]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rsi
mov qword [rsp + 0x58], rax
mov r15d, 4
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x58], r12
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x78]
lea rcx, [r14 + 0x90]
call fcn.140081120
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140093e95
mov rax, qword [rcx]
lea edx, [r15 - 3]
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
and r15d, 0xfffffffb
mov dword [rsp + 0x20], r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbp - 0x70], 0
lea rcx, [r14 + 0x88]
call qword [case.0x1401b9e8b.4]
nop
lea rcx, [r14 + 0xe20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [r14 + 0xe48]
test rcx, rcx
je 0x140093ed8
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [r14 + 0xe20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rcx, [0x14024fce0]
call fcn.140088520
mov rax, qword [0x14024fd30]
test rax, rax
je 0x140093f26
cmp qword [rax], 0
je 0x140093f26
cmp qword [rax + 8], 0
je 0x140093f26
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jmp 0x140093f47
lea rcx, [0x14024fce0]
call fcn.14007f890
mov rbx, r12
mov qword [rsp + 0x30], rbx
mov rax, r12
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x60], xmm0
test rax, rax
je 0x140093f5d
mov ecx, 0xea69
call qword [case.0x14003c8e9.0]
nop
test rbx, rbx
je 0x140093f6e
lea rcx, [0x14024fce0]
call fcn.14007f890
mov rcx, qword [r14 + 0x6c8]
test rcx, rcx
je 0x140093f89
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
mov rbx, qword [r14 + 0x6d8]
test rbx, rbx
je 0x140093fcd
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140093fbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x60], eax
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
mov qword [r14 + 0x6d8], r12
mov rcx, r14
call fcn.1400a09e0
mov rcx, r14
call fcn.140090fd0
mov dword [rbp - 0x30], 1
lea rax, str.State.Features
mov qword [rbp - 0x2c], rax
lea rax, [0x1400ffdc0]
mov qword [rbp - 0x1c], rax
lea rax, [r14 + 0x1310]
mov qword [rbp - 0x24], rax
lea rcx, [rsp + 0x60]
call fcn.14010f540
nop
mov rax, qword [rax]
test rax, rax
je 0x140094040
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140094040
mov rax, qword [rax + 8]
test rax, rax
je 0x140094040
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov ecx, 0x5403
call qword [case.0x14003c8e9.0]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140094053
add rcx, 0x48
call fcn.14007f890
mov rbx, qword [r14 + 0x460]
test rbx, rbx
je 0x14009408a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14003c8e9.0]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov qword [r14 + 0x460], r12
mov rbx, qword [r14 + 0x468]
test rbx, rbx
je 0x1400940c1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14003c8e9.0]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov qword [r14 + 0x468], r12
mov rcx, qword [r14 + 0x6c0]
test rcx, rcx
je 0x1400940d3
call qword [case.0x1401b9e8b.6]
lea rbx, [r14 + 0x488]
mov qword [rbp - 0x10], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rsi, qword [r14 + 0x478]
mov rdi, qword [r14 + 0x470]
cmp rdi, rsi
je 0x140094118
nop dword [rax + rax]
mov rcx, rdi
call fcn.1400c9720
add rdi, 0x10
cmp rdi, rsi
jne 0x140094100
mov rdi, qword [r14 + 0x470]
mov qword [r14 + 0x478], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [r14 + 0x7a0]
mov r8, qword [rbx + 8]
lea rdx, [r14 + 0x7a0]
lea rcx, [r14 + 0x7a0]
call fcn.14008b570
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [r14 + 0x7a8], r12
lea rbx, [r14 + 0x790]
lea rcx, [r14 + 0x7e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx], rbx
je 0x140094191
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rdx + 8], rax
add rcx, 0xfffffffffffffff0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [rbx], rbx
jne 0x140094171
lea rcx, [r14 + 0x7e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rbx, [r14 + 0x428]
mov qword [rbp - 8], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x410]
mov rsi, qword [r14 + 0x418]
cmp rdi, rsi
je 0x1400941f7
nop word [rax + rax]
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, qword [r14 + 0x458]
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
add rdi, 8
cmp rdi, rsi
jne 0x1400941d0
mov rdi, qword [r14 + 0x410]
mov rsi, qword [r14 + 0x418]
cmp rdi, rsi
je 0x140094225
mov rcx, qword [rdi]
test rcx, rcx
je 0x140094215
mov edx, 8
call fcn.140007ea0
add rdi, 8
cmp rdi, rsi
jne 0x140094203
mov rdi, qword [r14 + 0x410]
mov qword [r14 + 0x418], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 0x40]
call fcn.14008e210
lea rbx, [r14 + 0x810]
mov qword [rbp], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [r14 + 0x808], 0
je 0x140094282
nop dword [rax]
mov rcx, qword [r14 + 0x808]
mov rax, qword [rcx + 8]
mov qword [r14 + 0x808], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [r14 + 0x808], 0
jne 0x140094260
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0xd00]
test rcx, rcx
je 0x1400942b3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [r14 + 0xd00]
call qword [case.0x1401b9e8b.6]
mov qword [r14 + 0xd00], r12
mov rsi, qword [r14 + 0xd20]
mov r12, qword [r14 + 0xd28]
xor r13d, r13d
cmp rsi, r12
je 0x14009434d
nop dword [rax]
mov rdi, qword [rsi]
mov qword [rbp + 0x68], rdi
test rdi, rdi
je 0x140094344
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x14009431a
lea rbx, [rcx - 8]
lea r9, [0x1400dfd30]
mov r8, qword [rbx]
mov edx, 0x170
call fcn.1401c524c
imul rdx, qword [rbx], 0x170
add rdx, 8
mov rcx, rbx
call fcn.1400054a0
mov qword [rdi + 0x80], r13
lea rcx, [rdi + 0x50]
call fcn.1400036b0
nop
lea rcx, [rdi + 0x30]
call fcn.1400036b0
nop
lea rcx, [rdi + 0x10]
call fcn.1400036b0
mov edx, 0x88
mov rcx, rdi
call fcn.140007ea0
add rsi, 8
cmp rsi, r12
jne 0x1400942d0
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14009436c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, 0x28
mov rcx, rbx
call fcn.140007ea0
mov qword [r14 + 8], r13
mov rbx, qword [r14 + 0x1218]
test rbx, rbx
je 0x1400943b4
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1400943a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x68], eax
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
mov qword [r14 + 0x1218], r13
mov rcx, qword [r14 + 0x1260]
test rcx, rcx
je 0x1400943cd
mov qword [r14 + 0x1260], r13
call qword [case.0x1401b9e8b.6]
mov rbx, qword [r14 + 0x1170]
test rbx, rbx
je 0x140094411
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x140094401
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x70], eax
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
mov qword [r14 + 0x1170], r13
mov rcx, qword [r14 + 0x11b8]
test rcx, rcx
je 0x14009442b
mov qword [r14 + 0x11b8], r13
call qword [case.0x1401b9e8b.6]
nop
lea rsi, [0x14024ff60]
mov qword [rsp + 0x30], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rbx, qword [0x14024ff98]
test rbx, rbx
je 0x140094466
lock inc dword [rbx + 8]
mov rbx, qword [0x14024ff98]
mov r15d, dword [rsp + 0x20]
mov rdi, qword [0x14024ff90]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
or r15d, 0x40
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and r15d, 0xffffffbf
mov dword [rsp + 0x20], r15d
or r15d, 0x20
mov dword [rsp + 0x20], r15d
test rdi, rdi
je 0x1400944b4
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400944b4
mov ecx, 0x2af9
call qword [case.0x14003c8e9.0]
and r15d, 0xffffffdf
mov dword [rsp + 0x20], r15d
test rbx, rbx
je 0x140094503
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140094503
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140094503
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
lea rcx, [0x14024ff40]
call fcn.14010edc0
lea rcx, vtable.ModuleManager_class_NodOsApi::Mutex__class_NodOsApi::ReadPreferringRWLock_.0
call fcn.14008ae70
lea rcx, [0x140250230]
call fcn.14010edc0
lea rcx, [0x140250290]
call fcn.14010edc0
mov rcx, qword [0x1402574b8]
call fcn.14008ae70
mov rcx, qword [0x1402574b8]
mov qword [0x1402574b8], r13
test rcx, rcx
je 0x140094563
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
lea rcx, [rsp + 0x68]
call fcn.14010f540
nop
mov rax, qword [rax]
test rax, rax
je 0x140094597
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140094597
mov rax, qword [rax + 8]
test rax, rax
je 0x140094597
mov ecx, 0x540d
call qword [case.0x14003c8e9.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400945aa
add rcx, 0x48
call fcn.14007f890
mov rcx, qword [0x1402574b0]
call fcn.14008ae70
mov rcx, qword [0x1402574b0]
mov qword [0x1402574b0], r13
test rcx, rcx
je 0x1400945da
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
lea rcx, [0x1402501d0]
call fcn.14010edc0
xor edx, edx
lea rcx, [0x14024fcd0]
call fcn.14010ec90
lea rax, [0x1400093b0]
mov qword [rsp + 0x70], rax
lea rax, [0x14000a2a0]
mov qword [rsp + 0x78], rax
lea rax, [0x140191ac0]
mov qword [rbp - 0x80], rax
movsxd rax, dword [reloc.WS2_32.dll_closesocket]
mov rax, qword [rsp + rax*8 + 0x70]
call qword [case.0x14003c8e9.0]
mov eax, 3
xchg dword [0x14024fa60], eax
lea rcx, [r14 + 0xeb0]
call fcn.1401121f0
lea rcx, [r14 + 0x1108]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.140010c20
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
cmp dword [rcx + 0x160], 0
jne 0x1400a09c3
call fcn.1400a06b0
movsd xmm0, qword [0x140210ce8]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x10], rax
xor esi, esi
mov qword [rbp - 8], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_d0728821d412932c574eb561b886bf86___void___.0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
mov dword [rsp + 0x20], esi
movq r9, xmm0
movq r8, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rdi + 0xd8]
call fcn.14008d500
movsd xmm0, qword [0x140210cd0]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x10], rax
mov qword [rbp - 8], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_3b967314d5bb5af1c10f9210724ba99b___void___.0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
mov dword [rsp + 0x20], esi
movq r9, xmm0
movq r8, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rdi + 0xd8]
call fcn.14008d500
movsd xmm0, qword [0x140210cd8]
lea rax, [rbp - 0x40]
mov qword [rbp + 0x10], rax
mov qword [rbp - 8], rsi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_244588734baeb88c3336c60eaafb3819___void__class_TimerPool::ThisTimer_.0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x40]
mov qword [rbp - 8], rax
mov dword [rsp + 0x20], esi
movq r9, xmm0
movq r8, xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rdi + 0xd8]
call fcn.14008d650
mov qword [rdi + 0x130], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rdi + 0xd40]
lea ecx, [rsi + 5]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x1400a09b9
nop
test eax, eax
je 0x1400a09b9
cmp eax, 1
jne 0x1400a098d
mov rax, qword [0x1402506f0]
test rax, rax
je 0x1400a0962
mov rcx, qword [0x1402506f8]
call qword [case.0x14003c8e9.0]
mov rcx, qword [0x1402506e8]
test rcx, rcx
je 0x1400a099a
cmp qword [0x1402506d8], 0
je 0x1400a099a
lea r9, [0x1402506d8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [case.0x1401ba071.142]
jmp 0x1400a099a
cmp eax, 2
jne 0x1400a099a
mov rcx, rdi
call fcn.1400f8fc0
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rdi + 0xd40]
lea ecx, [r8 + 5]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x1400a0940
mov dl, 1
mov rcx, rdi
call fcn.1400aa680
mov rcx, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp 0x140093c90