Function at 0x140056a00
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov sil, dl
mov rdi, rcx
lea r15, str.base_stor_vssincworker.hxx
mov qword [rsp + 0x30], r15
lea r12, str.CVssWorkerThread::Terminate
mov qword [rsp + 0x38], r12
lea r13, str.INCWORKH
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x1f7
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor ebx, ebx
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140003840
nop
cmp qword [rdi + 0x10], rbx
je 0x140056c6e
mov byte [rdi + 9], 1
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140007ddd.0]
test sil, sil
je 0x140056b82
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140056b82
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x20a
lea esi, [rbx + 0xb]
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9, qword [rdi + 0x10]
lea r8, str.ResumeThread__p____1__GetLastError____0x_08lx__m_eThreadState___d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400b7b18
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x20d
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.ResumeThread_failed._Error:_0x_08lx._State:__d
jmp 0x140056c4a
or edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x140056c6e
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x219
mov esi, reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9, qword [rdi + 0x10]
lea r8, str.WaitForSingleObject__p_INFINITE___WAIT_FAILED__GetLastError____0x_08lx__m_eThreadState___d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400b7b18
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x21c
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
lea r8, str.WaitForSingleObject_failed._Error:_0x_08lx._State:__d
mov r9d, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
mov dword [rdi + 0x1c], 5
mov ebx, 0x8000ffff
lea rcx, [rbp - 0x20]
call fcn.140003960
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret