Function at 0x1400087d4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x180
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea rsi, str.base_stor_vssmoduleswriters_asrwriter.cxx
mov qword [rsp + 0x40], rsi
lea r14, str.CVssAsrWriterBackup::CreateWriter
mov qword [rsp + 0x48], r14
lea r15, str.WRTASRWC
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2ae
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
xor ebx, ebx
mov dword [rax - 0xb8], 0x1000000
lea edi, [rbx + 0x78]
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140003840
nop
mov dword [rsp + 0x1a0], ebx
cmp qword [0x140154f90], rbx
jne 0x14002a15c
lea rdx, [0x14015452c]
lea ecx, [rbx + 0x20]
call fcn.140020134
mov qword [rsp + 0x1a8], rax
test rax, rax
je 0x14002a170
mov qword [rax + 8], rbx
lea rcx, fcn.140001360
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], ebx
mov qword [0x140154f90], rax
test rax, rax
je 0x14002a178
lea rdx, [rax + 0x10]
call fcn.140008390
mov dword [rsp + 0xf8], eax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2c4
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r8, str.CVssAsrAPIBackup::CreateObject
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140013fdc
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1400068a0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14002a1d8
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x140154fd4]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], ebx
jl 0x14002a24b
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.140003960
mov eax, ebx
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0xf0]
call fcn.140003960
xor eax, eax
jmp 0x14000899f
mov rax, rbx
jmp 0x1400088ac
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2c0
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r9, str.Allocation_of_CVssAsrWriterBackup_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400b8238
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2ca
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.CreateThread_failed_with_error__d
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400b8238
nop
xor ebx, ebx
jmp 0x14000897c
mov rcx, qword [0x140154f90]
test rcx, rcx
je 0x140008989
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x140007ddd.0]
mov qword [0x140154f90], rbx
jmp 0x140008989